Conversation
|
🚧 @mountiny 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! 🧪🧪
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@ZhenjaHorbach 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-01-16.16.25.44.movAndroid: mWeb Chrome2026-01-16.16.27.20.moviOS: HybridApp2026-01-16.16.25.44.moviOS: mWeb Safari2026-01-16.16.27.20.movMacOS: Chrome / Safari2026-01-16.16.23.19.mov |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
LGTM! |
|
@mjasikowski 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] |
[CP Staging] Fix the preExistingReportID (cherry picked from commit 3e042bf) (cherry-picked to staging by mountiny)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.3.3-6 🚀
|
|
@mountiny CP is pass on Web and iOS for QA team, build 9.3.3-6 1768583431478.ScreenRecording_01-16-2026_11-52-31_1.mp41768582230991.Recording__1279.mp4 |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.3-8 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.3.4-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.4-6 🚀
|
Explanation of Change
This PR fixes an infinite loading issue when opening a secondary login chat page.
Root Cause:
PR #77657 ("Super wide RHP") changed how
handlePreexistingReportdetermines if the user is viewing an optimistic report. It switched from usingNavigation.getActiveRoute()tonavigationRef.getCurrentRoute()?.path.The problem is that
getCurrentRoute()?.pathcan beundefinedduring first navigation (this is even documented in the codebase). When the path isundefined:isOptimisticReportFocusedevaluates toundefined(falsy)preexistingReportIDis completely skippedreportIDreportIDfail, causing infinite loadingFix:
Use
Navigation.getActiveRoute()which reliably builds the path from navigation state usinggetPathFromState(), instead of relying on the potentially undefined.pathproperty. We still usegetCurrentRoute()for accessingparamsandscreenNameasgetActiveRoute()only returns the path string.Fixed Issues
$ #79731
PROPOSAL:
Tests
Offline tests
QA Steps
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari