fix: Tags - App freezes on import tags page when download backup is cancelled.#75374
Conversation
…ancelled. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
| downloadMultiLevelTagsCSV( | ||
| policyID, | ||
| () => { | ||
| setIsDownloadFailureModalVisible(true); |
There was a problem hiding this comment.
Oh I thought we only needed to wrap this callback with close to prevent overlap modal right 🤔 ?
There was a problem hiding this comment.
I think you're right here, we should only wrap the state update callback for better UX. Thanks for catching that. Updated
| if (isUserCancelled(error)) { | ||
| return; | ||
| } |
There was a problem hiding this comment.
Let's leave a comment here to explain. Thanks 😄
JmillsExpensify
left a comment
There was a problem hiding this comment.
No review required from a product perspective. Unsubscribing.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-11-19.at.22.51.12.movAndroid: mWeb ChromeScreen.Recording.2025-11-19.at.22.53.40.moviOS: HybridAppScreen.Recording.2025-11-19.at.22.38.05.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariScreen.Recording.2025-11-19.at.22.31.53.movMacOS: DesktopScreen.Recording.2025-11-19.at.22.47.52.mov |
|
@Krishna2323 Could you merge main again? Some tests are failing |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|
Explanation of Change
Fixed Issues
$ #74656
PROPOSAL: #74656 (comment)
Tests
Offline tests
QA Steps
Same as tests
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4