-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix can't open the workspace after closing the workspace not found (unaccessible) page #35980
Fix can't open the workspace after closing the workspace not found (unaccessible) page #35980
Conversation
@shubham1206agra 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] |
@bernhardoj Please apply the same changes in |
So, I added the fix to all workspace pages that navigate back to SETTINGS_WORKSPACES, but I left this one App/src/pages/ReimbursementAccount/ReimbursementAccountPage.js Lines 442 to 456 in 342da2e
because the bank account page is valid, but has an error, such as the currency is not USD. I think we should just go back without any fall back route, but I keep it as it is for now. |
@bernhardoj Please check why test are failing. |
@shubham1206agra error gone |
Whoops, wrong pressed |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-02-22.at.10.56.53.AM.moviOS: NativeiOS: mWeb SafariScreen.Recording.2024-02-22.at.10.52.43.AM.movMacOS: Chrome / SafariScreen.Recording.2024-02-22.at.10.49.25.AM.movMacOS: DesktopScreen.Recording.2024-02-22.at.11.05.06.AM.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.
Nice job!
Need to resolve some conflicts and then we can merge. |
@blimpich conflicts solved |
✋ 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/blimpich in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
We can't open the workspace because the bottom tab navigator state is the same workspace that we are trying to open, so it does nothing.
Fixed Issues
$ #35690
PROPOSAL: #35690 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
staging.new.expensify.com/workspace/{policyID}/members
policyID = workspace/policy ID that you are only a member, not admin
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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-02-07.at.14.40.06.mov
Android: mWeb Chrome
Screen.Recording.2024-02-07.at.14.36.44.mov
iOS: Native
Screen.Recording.2024-02-07.at.14.35.05.mov
iOS: mWeb Safari
Screen.Recording.2024-02-07.at.14.29.44.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-07.at.14.28.20.mov
MacOS: Desktop
Screen.Recording.2024-02-07.at.14.33.47.1.mov