Perf: Limit previous Search screens mounted#65575
Conversation
| /** | ||
| * This is a custom state hook that is used to render the last two search routes in the stack. | ||
| * For native platforms, we render the last two routes to allow users to return by swiping left. | ||
| */ |
There was a problem hiding this comment.
NAB: To me, we should indicate in this file that this hook is used only for SearchFullscreenNavigator. I know it can be inferred from the package where this file is, but other than that we don't have this information in the comment or hook name.
There was a problem hiding this comment.
I like that, thanks! ✅
|
On of the tests in job 3 failed. I've checked that locally and it passed. @mountiny could we re-run this suite? Thanks! |
|
@eVoloshchak 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] |
|
@eVoloshchak PR is ready to be reviewed 🙏 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-07-08.at.16.03.13.movAndroid: mWeb ChromeScreen.Recording.2025-07-08.at.16.04.01.moviOS: HybridAppScreen.Recording.2025-07-08.at.15.58.22.moviOS: mWeb SafariScreen.Recording.2025-07-08.at.15.59.46.movMacOS: Chrome / SafariScreen.Recording.2025-07-08.at.15.52.30.movMacOS: DesktopScreen.Recording.2025-07-08.at.16.04.39.mov |
|
Test steps are working well, don't see any regressions NAVIGATION.md needs to be edited as well, I think, as it mentions
|
Thanks for spotting this! Updated ✅ |
|
Thanks @eVoloshchak! Tests are passing, all comments addressed, recordings added ✅ I think we are ready to lift off, @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. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.78-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.78-4 🚀
|

Explanation of Change
Fixed Issues
$ #65582
PROPOSAL: https://expensify.slack.com/archives/C05LX9D6E07/p1751863693154849
Tests
Reportstab from bottom tabsReportsfromExpensesinExplore panelChatsfromExpensesStatusfilter tounreadReportsare visibleIf none of this steps resulted in any bugs/visual regressions we should be fine 👍
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))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.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4