fix: 58957 Preserve SearchFullscreenNavigator state#62211
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp62211_android_web.movAndroid: mWeb Chrome62211_android_web.moviOS: HybridApp62211_ios_native.moviOS: mWeb Safari62211_ios_web.movMacOS: Chrome / Safari62211_web_chrome.movMacOS: Desktop62211_web_desktop.mov |
brunovjk
left a comment
There was a problem hiding this comment.
LGTM. The changes successfully resolved the initial issue, but I noticed a slight delay when clicking the back button:
62211_web_chrome_delay.mov
@MrMuzyk do you notice this in your tests as well? I couldn't tell if it's "normal" or if it was introduced by this PR, nor if we should/can do something about it.
I didnt notice anything like that in my testing. Even on my recordings from web and desktop you can see that navigate back happens instantly so not sure if it's related to my changes and we should worry about this |
|
Hmm, I'm actually also seeing the delay on pressing the back button. I also see this in the console:
@MrMuzyk, do you think you could try merging main to see if that fixes it? |
…7-report-view-not-being-preserved-when-navigating-away
|
I've merged main and checked again. On my end it looks near instant and Im not getting any console warnings. Can you check again? nodelayonback.mp4 |
srikarparsi
left a comment
There was a problem hiding this comment.
Yeah, it looks like merging main fixed this, I no longer feel a delay or see the console error. Thanks!
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.1.48-0 🚀
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.1.48-0 🚀
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.1.49-5 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.1.50-0 🚀
|

Explanation of Change
State of SearchFullscreenNavigator is now preserved between component remounts thanks to
getInitialStateFixed Issues
$ #58957
PROPOSAL:
Tests
Offline tests
QA Steps
Precondition:
Log in with Expensifail account.
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
58957-android.mp4
Android: mWeb Chrome
58957-android-web.mp4
iOS: Native
58957-ios.mp4
iOS: mWeb Safari
58957-ios-web.mp4
MacOS: Chrome / Safari
58957-web.mp4
MacOS: Desktop
58957-desktop.mp4