Fix: Original expense remains after splitting expense offline in Reports#87130
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@hoangzinh 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] |
|
@hoangzinh, gentle bump. thanks. |
|
@ShridharGoel are you available to review this PR? |
|
Looks like the split expenses are not showing up while offline, can you have a look? Screen.Recording.2026-04-06.at.9.36.14.PM.mov |
|
@ShridharGoel I wasn't able to reproduce the issue you mentioned. Screen.Recording.2026-04-06.at.1.36.12.PM.mov |
|
It was happening because of the filter (same behaviour as on prod). |
Reviewer Checklist
Screenshots/VideosVideoScreen.Recording.2026-04-07.at.2.18.31.AM.mov |
|
🚧 @luacmartins 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! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…-offline-original-remains Fix: Original expense remains after splitting expense offline in Reports (cherry picked from commit c811537) (cherry-picked to staging by luacmartins)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.52-9 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a small internal bug fix that normalizes a route string (strips a leading |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.52-9 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.53-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes required. This PR is a small internal code fix that normalizes a route string (strips a leading |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.3.53-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.53-7 🚀
|
Explanation of Change
Previously, the app could fail to recognize Search as the previous screen if the route included a leading
/. With this change, that route is normalized first, so Search-origin flows are detected more reliably and the page keeps the correct Search-related behavior.Fixed Issues
$ #87015
PROPOSAL: #87015 (comment)
Tests
Offline tests
Same as Tests.
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
Android: Native
Screen.Recording.2026-04-04.at.3.08.34.PM.mov
Android: mWeb Chrome
Screen.Recording.2026-04-04.at.2.49.13.PM.mov
iOS: Native
Screen.Recording.2026-04-04.at.2.41.45.PM.mov
iOS: mWeb Safari
Screen.Recording.2026-04-04.at.2.44.42.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2026-04-04.at.2.34.31.PM.mov