[Ideal nav] Fix getAlreadyOpenedSettingsScreen#46885
Conversation
luacmartins
left a comment
There was a problem hiding this comment.
LGTM. Gonna get a C+ assigned to review this PR.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-08-06.at.23.59.10.movAndroid: mWeb ChromeScreen.Recording.2024-08-06.at.23.56.28.moviOS: NativeScreen.Recording.2024-08-06.at.23.58.53.moviOS: mWeb SafariScreen.Recording.2024-08-06.at.23.57.47.movMacOS: Chrome / SafariScreen.Recording.2024-08-06.at.23.53.30.movMacOS: DesktopScreen.Recording.2024-08-06.at.23.55.57.mov |
|
Agree with the solution. For further details, this issue was previously addressed in this PR. At that time, the UI design was different, with the settings page being the workspace settings page, necessitating the addition of policyID as a parameter. However, now that the settings page is the account settings page, the |
DylanDylann
left a comment
There was a problem hiding this comment.
The change looks good. Also test on mobile to ensure that there are no regression
|
🎯 @DylanDylann, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #46906. |
|
I also see we have the same bug in the Search page Screen.Recording.2024-08-06.at.23.58.33.mov |
Great catch! I will work tomorrow to make it work there as well. |
|
✋ 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/luacmartins in version: 9.0.18-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀
|
Details
We found a bug. If the user opens a settings page, it should be remembered if the user goes to another tab and back to the settings tab.
NOTE: Changes visible only for the web/desktop
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
web.mp4
MacOS: Desktop
desktop.mp4