Repository navigation
Conversation
|
@codex review |
|
@MelvinBot review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ReviewThe PR looks good, and I found no blocking issues. The migration keeps the old behavior: all four wrappers mount in the same commit as I have two optional notes:
What I checked
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
useDeferNonEssentials onto NavigationDeferredMount
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8d6f7ef73
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f0eaef0d2
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ 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". |
Also, since your review the wait starts on report focus (Codex caught that on narrow the report mounts under the RHP before the dismiss starts) - please re-review. |
Re-reviewThe focus change looks correct, and I found no blocking issues. Both of your answers make sense to me, and the focus gate also settles my first note. Focus gate.
On wide, the report is focused at mount, so the behavior is the same as before. Note 1 (remounts) is resolved. On focus,
So no wrapper can start a second wait. That is better than hoisting the flag. Note 2 (non-urgent mount). Agreed. The composer is still a placeholder in that window, so the side-by-side run settles it. Blur after focus. I agree with your reply to Codex. Once the wait starts, a blur no longer cancels it, unlike the old hook. But the handlers then mount the same way they do on the non-deferred path, so it isn't a regression. The new test covers the unfocused mount, the start of the wait on focus, and the latch on blur. All CI checks pass except |
|
@mkhutornyi 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: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-11-02.at.2.14.07.PM.mov |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0eb5d1ffe0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
🤖 Web test steps verification results: I found no regressions. Create expense opened the destination report with a working composer on wide and narrow layouts, and normal report navigation was unaffected. I couldn't test picking a different existing report, because this free test account hits the Collect-plan paywall. I also couldn't read the browser console.
Code review: no regressions, with two minor differences from the old hook
These cases behave the same as before: focus never arriving, a route param changing on a reused screen, |
|
@MelvinBot are the Reassure test failures related to or caused by this PR? |
|
No. The Reassure failure looks like a flaky test, not something this PR caused. Re-running Evidence
|
|
PR doesn’t need product input as a performance refactor PR. Unassigning and unsubscribing myself. |
mountiny
left a comment
There was a problem hiding this comment.
Changes look good to me, thank you!
|
🚧 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.5.31-0 🚀
|
|
No help site update needed — this performance refactor changes internal rendering timing without adding a feature, changing user steps, or making existing article text incorrect. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.5.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀
Bundle Size Analysis (Sentry): |





Explanation of Change
Moves
ReportScreen's inlineuseDeferNonEssentialshook ontoNavigationDeferredMount. The newReportNonEssentialsDeferredMountreads the dismiss-and-open-report condition once at mount and wraps the composer, receipt panel and invisible handlers. TransitionTracker's own timeouts replace the hook's safety timeout. Removes the open-migration note from DEFER_AFTER_PAINT.md.Fixed Issues
$ #88596
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Wide.mp4
Narrow.mp4