[HOLD] Fix resetNavigationState to properly reset rootState key after logout#59164
Closed
WojtekBoman wants to merge 1 commit intoExpensify:mainfrom
Closed
Conversation
Closed
8 tasks
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeWhatsApp.Video.2025-03-27.at.12.25.46.AM.mp4Android: mWeb ChromeWhatsApp.Video.2025-03-26.at.11.59.52.PM.mp4iOS: NativeScreenRecording_03-27-2025.00-18-00_1.movScreenRecording_03-27-2025.00-18-50_1.MP4iOS: mWeb SafariScreen.Recording.2025-03-26.at.11.35.30.PM.movMacOS: Chrome / SafariScreen.Recording.2025-03-26.at.11.31.01.PM.movMacOS: DesktopScreen.Recording.2025-03-27.at.12.02.39.AM.mov |
Contributor
|
🚧 @cristipaval has triggered a test app build. You can view the workflow run here. |
Contributor
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Contributor
|
Thanks @ishpaul777! I'm not merging this yet, I am waiting to see if we can fix the other deploy blocker introduced by the offending PR |
Contributor
|
Added a hold to not accidentally merge this. It would complicate things if we wanted to revert the offending PR. |
Contributor
|
I'm closing this one. We ended up reverting the offending PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
This PR fixes
rootStatekey reset after logging out.Because keys were not reset correctly after logging out, the last report before logging out was opened after logging in.
The login flow after being fixed:
Screen.Recording.2025-03-26.at.15.58.22.mov
Screen.Recording.2025-03-26.at.15.46.18.mov
Fixed Issues
$ #59128
PROPOSAL:
Tests
Offline tests
QA Steps
Same as tests
Bug 1:
Bug 2:
Verify that after completing steps 1 and 2 the correct report is opened.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop