[CP Staging] fix: loading bar is shown for an extended amount of time when navigating back - #65168
Conversation
|
@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] |
techievivek
left a comment
There was a problem hiding this comment.
Changes looks good to me, just testing it out locally.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2025-06-30.at.6.16.46.PM.movMacOS: Desktop |
techievivek
left a comment
There was a problem hiding this comment.
Added recording for mweb.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…wn-for-extended-time [CP Staging] fix: loading bar is shown for an extended amount of time when navigating back (cherry picked from commit dfdaed1) (cherry-picked to staging by Beamanator)
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.1.72-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.72-10 🚀
|
Explanation of Change
Fixed the issue with long loading bar visibility when switching between Inbox/Reports tab. The issue is that when persistedRequests is undefined or null, coalescing (used in
useLoadingBarVisibilitydoesn't work.Fixed Issues
$#65156
Tests
Offline tests
n/a
QA Steps
Same as Tests.
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))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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Nagranie.z.ekranu.2025-06-26.o.10.36.07.mov
MacOS: Desktop