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

Update banner and compliance page copy #1172

Merged
merged 5 commits into from
Jun 26, 2024
Merged

Update banner and compliance page copy #1172

merged 5 commits into from
Jun 26, 2024

Conversation

daniellemaxwell
Copy link
Collaborator

@daniellemaxwell daniellemaxwell commented Jun 25, 2024

Scope of changes

  • Updates Envoy banner copy.
  • Adds details about integrating TRISA with Envoy to the Integrate & Comply page.
  • Checks for an error config before attempting to set the retry value.

Note: .po files and a snapshot have also been updated. These do not require a review as they are automatically generated.

Comply page Figma design

Type of change

  • bug fix
  • new feature
  • documentation
  • other (describe)

Acceptance criteria

https://www.awesomescreenshot.com/video/28968107?key=40bfeefbc59f8d9919841e6957404e18

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have updated the dependencies list
  • I have recompiled and included new protocol buffers to reflect changes I made
  • I have added new test fixtures as needed to support added tests
  • Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
  • I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

  • Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

@@ -14,8 +14,8 @@ const LandingBanner = () => {
<AlertIcon/>
<AlertDescription fontWeight={'semibold'}>
<Link href="https://calendar.app.google/FBg7GTmgDfeMbUMT9" isExternal>
<Trans id="Schedule a demo to learn about TRISA's open source self-hosted solution for cost-effective Travel Rule compliance.">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The id isn't required to extract the text to a .po file for translation, so it has been remove here and in the other component file.

</Line>
<Line title={t`3rd Party Travel Rule Providers`}>
<UnorderedList color={'#1F4CED'}>
<Box pt={4}>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This differs from the Figma design as the table component extended outside the container even with a max width set. I attempted a grid with 3 columns, but then ran into an issue with some of the text inside a grid item aligning in the center although a text align style had not been applied.

const originalRequest = error?.config;
originalRequest._retry = originalRequest?._retry || 0;
//
if (originalRequest) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will hopefully resolve an undefined error since adding optional chaining (?.) didn't work.

Copy link
Collaborator

@pdamodaran pdamodaran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @daniellemaxwell!

@daniellemaxwell daniellemaxwell merged commit e38daa9 into main Jun 26, 2024
15 checks passed
@daniellemaxwell daniellemaxwell deleted the sc-26082 branch June 26, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants