[CP Staging] fix: Invoice report loading infinitely#90323
Conversation
|
@ShridharGoel 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] |
|
I am trying to reproduce this issue first on main #90287 but i am not able to reproduce it following the steps Screen.Recording.2026-05-12.at.14.02.22.movBut I was able to reproduce the other blocker #90293 and the change does fixes it Before Screen.Recording.2026-05-12.at.14.15.38.movAfter Screen.Recording.2026-05-12.at.14.14.53.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-12.at.14.44.43.movScreen.Recording.2026-05-12.at.14.47.40.movAndroid: mWeb ChromeScreen.Recording.2026-05-12.at.14.52.49.movScreen.Recording.2026-05-12.at.14.53.26.moviOS: HybridAppScreen.Recording.2026-05-12.at.14.23.00.movScreen.Recording.2026-05-12.at.14.24.22.moviOS: mWeb SafariScreen.Recording.2026-05-12.at.14.26.01.movScreen.Recording.2026-05-12.at.14.27.11.movMacOS: Chrome / SafariScreen.Recording.2026-05-12.at.14.16.43.movScreen.Recording.2026-05-12.at.14.50.20.mov |
abzokhattab
left a comment
There was a problem hiding this comment.
LGTM .. both issues were fixed
|
thanks for the fix!! |
…-loading-infinitely-while-offline [CP Staging] fix: Invoice report loading infinitely (cherry picked from commit 6389ba3) (cherry-picked to staging by Beamanator)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.70-3 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a technical bug fix that adjusts offline loading logic in |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.72-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are needed for this PR. The change is an internal bug fix to |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.72-1 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.73-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.73-0 🚀
Bundle Size Analysis (Sentry): |

@rlinoz
Explanation of Change
Fixes an issue where reports would not load while offline after #90072 has been merged.
Fixed Issues
$ #90293
$ #90287
PROPOSAL:
Tests
Expense details loading infitely
Prerequisite: Account has at least one workspace.
Invoice report loading infinitely
Precondition:
Invoice is enabled.
Go to staging.new.expensify.com
Go offline.
Open FAB > Send invoice.
Send invoice to any user.
Open the invoice report.
Offline tests
The above tests are for offline behavior.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as in Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
MacOS: Chrome / Safari
Screen.Recording.2026-05-12.at.11.12.59.mov
Screen.Recording.2026-05-12.at.11.33.20.mov