-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DT-1144: Update Support Destination URLs #2768
base: develop
Are you sure you want to change the base?
Conversation
export const getFileNameFromHttpResponse = (response) => { | ||
const respHeaders = response.headers; | ||
return respHeaders.get('Content-Disposition').split(';')[1].trim().split('=')[1]; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by fix: unused method.
export const sleep = (ms) => { | ||
return new Promise(resolve => setTimeout(resolve, ms)); | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by fix: unused method.
getGoogleClientId: async () => (await getConfig()).clientId, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by fix: unused method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! 👍
subject: subject, | ||
// BEWARE changing the following ids or values! If you change them then you must thoroughly test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the purpose of these fields?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good!
Addresses
https://broadworkbench.atlassian.net/browse/DT-1144
Summary
RequestForm
andSupportRequestModal
) that make use of support request functionality.SupportRequestsPage
component to the file name,RequestForm
, for consistencyTesting
To test locally, this needs to be run against a local running consent with the following config setting:
Visit the Contact Us form on any page, and the Request a New Role from the user profile page. These are the two places where we invoke the new support urls.
Have you read Terra's Contributing Guide lately? If not, do that first.