You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Performance] Pre-render Search under RHP for instant post-submit navigation on mobile #88295
This issue documents the performance work shipped in #87404 (merged 2026-04-13).
Problem
On narrow (mobile) layouts, navigating to Search after submitting an expense from the IOU confirmation screen could take several hundred milliseconds to over a second, which made the submit-to-Search transition feel slow.
Solution (shipped)
After a short delay on the confirmation screen, pre-insert the Search fullscreen route underneath the RHP (REPLACE_FULLSCREEN_UNDER_RHP) so Search can mount while the user finishes details.
Fast path: If pre-insert completed before submit, dismiss the RHP immediately to reveal the already-mounted Search (createTransaction runs on the next frame).
Slow path: If the user submits before pre-insert completes, fall back to the existing navigation path.
Cleanup: If the user leaves without submitting, remove the pre-inserted route (REMOVE_FULLSCREEN_UNDER_RHP).
Supporting changes included deferred write channel reservation, SearchPageNarrow focus gating and overlay transition for static-to-interactive Search, RightModalNavigator adjustments when pre-insert is active, and related Search/telemetry updates described in the PR.
Review feedback called out that a spinner may still appear on submit in some cases and that telemetry spans should be monitored post-deploy to confirm real-world gains.
changed the title [-][Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/-][+][Due for payment 2026-04-23] [Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/+]on Apr 19, 2026
changed the title [-][Due for payment 2026-04-23] [Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/-][+][Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/+]on Apr 22, 2026
Activity
melvin-bot commentedon Apr 19, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)[-][Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/-][+][Due for payment 2026-04-23] [Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/+][-][Due for payment 2026-04-23] [Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/-][+][Performance] Pre-render Search under RHP for instant post-submit navigation on mobile[/+]mallenexpensify commentedon Apr 22, 2026
Please comment and tag me if/when payment is due, thx
melvin-bot commentedon Apr 27, 2026
@mallenexpensify, @ShridharGoel, @mountiny, @JakubKorytko Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Apr 29, 2026
@mallenexpensify, @ShridharGoel, @mountiny, @JakubKorytko 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
ShridharGoel commentedon May 2, 2026
@mallenexpensify This should be due for payment
mallenexpensify commentedon May 4, 2026
Payment Summary
Contributor+: @ShridharGoel due $250 via NewDot
I'm assuming it's for review of
garrettmknight commentedon May 5, 2026
$250 approved for @ShridharGoel