-
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
fix: missing deadline in swaps stx status screen #25779
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. |
Quality Gate passedIssues Measures |
Builds ready [190ac46]
Page Load Metrics (74 ± 14 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #25779 +/- ##
===========================================
- Coverage 69.96% 69.96% -0.00%
===========================================
Files 1405 1405
Lines 49000 49003 +3
Branches 13699 13701 +2
===========================================
Hits 34282 34282
- Misses 14718 14721 +3 ☔ View full report in Codecov by Sentry. |
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.
Thanks for adding the fallback! One thing: this PR adds a fallback for the deadline, but it should use a value from backend in the first place. Can you check if the value from backend is being used?
@@ -247,6 +247,7 @@ | |||
"swapsQuoteRefreshTime": 60000, | |||
"swapsQuotePrefetchingRefreshTime": 60000, | |||
"swapsStxBatchStatusRefreshTime": 10000, | |||
"swapsStxStatusDeadline": "number", |
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.
Why is this a "number" string and not some exact number like other fallback values?
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.
The value wasn't being set up correctly in the test, but it is now 👍
Builds ready [596e722]
Page Load Metrics (72 ± 6 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [af3c138]
Page Load Metrics (78 ± 8 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@dan437 You were right - the fallback rather than the value from the PR was used. I pushed some updates and that is no longer the case. |
Quality Gate passedIssues Measures |
Builds ready [84ac8b4]
Page Load Metrics (66 ± 7 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
This PR fixes an issue where the STX status screen for a swap was showing a 0:00 for the timer.
Related issues
Related to: #25063
Manual testing steps
Screenshots/Recordings
Before
Screen.Recording.2024-07-10.at.2.41.53.PM.mov
After
Screen.Recording.2024-07-11.at.1.28.53.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist