Skip to content
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

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Draft

Conversation

rushtong
Copy link
Contributor

@rushtong rushtong commented Jan 16, 2025

Addresses

https://broadworkbench.atlassian.net/browse/DT-1144

Summary

  • Updates the support calls to go through Consent instead of directly to Zendesk
  • Adds unit tests for the two components (RequestForm and SupportRequestModal) that make use of support request functionality

Testing

TODO


Have you read Terra's Contributing Guide lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

Comment on lines -77 to -81
export const getFileNameFromHttpResponse = (response) => {
const respHeaders = response.headers;
return respHeaders.get('Content-Disposition').split(';')[1].trim().split('=')[1];
};

Copy link
Contributor Author

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.

Comment on lines -45 to -48
export const sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms));
};

Copy link
Contributor Author

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.

Comment on lines -20 to -21
getGoogleClientId: async () => (await getConfig()).clientId,

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant