-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Save the last visited path for the Accounts pages #62344
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
Save the last visited path for the Accounts pages #62344
Conversation
…rkspaceTabScreen -> lastVisitedTabPathUtils / update imports / add handling of saved path in NavigationTabBar
…nctions / update types
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 🎸 Nice job!
@dukenv0307 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] |
Code looks good. I'll complete the checklists soon |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-05-21.at.23.42.18.movAndroid: mWeb ChromeScreen.Recording.2025-05-21.at.23.40.19.moviOS: HybridAppScreen.Recording.2025-05-21.at.23.42.07.moviOS: mWeb SafariScreen.Recording.2025-05-21.at.23.39.08.movMacOS: Chrome / SafariScreen.Recording.2025-05-21.at.23.38.19.mp4MacOS: DesktopScreen.Recording.2025-05-21.at.23.43.00.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
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.
Looks good to me, 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.48-0 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.48-0 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.49-5 🚀
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.1.50-0 🚀
|
cc @WojtekBoman
Explanation of Change
These changes mainly affect web and desktop as only on these platforms we have screen to persist (They use wide layout).
This PR reintroduces functionality for saving the last visited screen within the account tab. Key changes include:
SESSION_STORAGE_KEYS
to improve clarity and maintainability.Fixed Issues
$ #62320
PROPOSAL:
Tests
Testcase 1:
Testcase 2:
Offline tests
same as tests
QA Steps
same as tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
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
android-native-settings.mov
Android: mWeb Chrome
android-mweb-settings.mov
iOS: Native
ios-native-settings.mov
iOS: mWeb Safari
ios-mweb-settings.mov
MacOS: Chrome / Safari
macos-web-settings.mov
MacOS: Desktop
macos-desktop-settings.mov