-
Notifications
You must be signed in to change notification settings - Fork 3k
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
iOS/Android - App returns to account settings instead of workspace list after deleting workspace #54458
base: main
Are you sure you want to change the base?
iOS/Android - App returns to account settings instead of workspace list after deleting workspace #54458
Conversation
@ishpaul777 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@WojtekBoman please fix lint check failing and add unit tests if possible 🙇 |
Bug: Workspace not switched to 'everything" when deleting workspace and navigating to search page Screen.Recording.2024-12-25.at.12.56.50.AM.mov |
Explanation of Change
Originally, after removing the active workspace, the
navigateWithSwitchPolicyID
method was called, as a result, a new settings screen was pushed without the selected policyID (following the rule that the last bottom tab screen stores the ID of the active policy). To fix this error, instead of pushing a new settings screen, params of the current settings screen are modified.Fixed Issues
$ #53352
PROPOSAL: #53352 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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
Screen.Recording.2024-12-23.at.09.28.13.mov
Android: mWeb Chrome
Screen.Recording.2024-12-23.at.09.32.40.mov
iOS: Native
Screen.Recording.2024-12-23.at.09.01.06.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-12-23.at.09.11.07.mp4
MacOS: Desktop
Screen.Recording.2024-12-23.at.09.21.28.mp4