-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Navigation] Settings - The last visited screen in the settings tab is not saved after refresh #59331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f954fc8
to
d9765e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good job 🎸
9321cec
to
46924e1
Compare
Reviewer Checklist
Screenshots/VideosAndroid: Native59331-android-native.movAndroid: mWeb Chrome59331-android-web.moviOS: Native59331-ios-native.moviOS: mWeb Safari59331-ios-safari.movMacOS: Chrome / Safari59331-mac-chrome.movMacOS: Desktop59331-mac-desktop.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
✋ 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.27-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.28-15 🚀
|
Explanation of Change
This change introduces logic to persist and restore the last visited screen within the Settings tab for web users (desktop app included).
My changes were integrated into the existing navigation flow that handles redirection to the appropriate Settings tab. In addition to this, I extended the existing type definitions by adding specific types for Workspace screens, ensuring improved type safety and clarity throughout the navigation logic.
Fixed Issues
$#56806
PROPOSAL:
Tests
Offline tests
QA Steps
On web/desktop app
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Not applicable.Android: mWeb Chrome
android-web.mov
iOS: Native
Screen.Recording.2025-04-09.at.09.31.40.mov
Not applicable, recording attached to show it still works as before.
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
macos-web.mov
MacOS: Desktop
macos-desktop.mov