-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: persist bridge state through ToS click #29366
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [cc56cad]
Page Load Metrics (1587 ± 108 ms)
Bundle size diffs
|
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.
If you close the pop up or click the link in the middle of a quote fetch (with enough balance) does it abort the fetching loop in the background worker?
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.
Can you add this behavior to the e2e test scenarios doc so it's not missed when qa is testing? Would be good to also add something about the hardware confirmations too
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.
It doesn't work for me. The bridge state gets reset.
@micaelae the ToS link only exists as part of the quote card, which only displays after the quotes have completed fetching |
Builds ready [6510e14]
Page Load Metrics (1746 ± 50 ms)
Bundle size diffs
|
Builds ready [ee39ed1]
Page Load Metrics (1783 ± 86 ms)
Bundle size diffs
|
Builds ready [dd7b471]
Page Load Metrics (1682 ± 59 ms)
Bundle size diffs
|
Description
Currently, clicking on Terms takes you to an external page and resets your bridge progress. We want to follow the same UX as swaps, where if the user clicks on the ToS link, the extension will close, but when the user reopens the extension, they remain on the bridge page.
Acceptance Criteria:
When clicking on the ToS link, the extension closes. But when the user re-opens the extension, they see the bridge page with tokens inputted (but not amounts)
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist