-
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 workspace switcher creating new workspace #36162
Conversation
There's conflict |
Bump @esh-g to fix the conflict so this review can proceed |
@situchan Fixed the conflict. Be sure to tag if any conflict occurs in future! Thanks |
I am getting unexpected bug. After click +, switcher doesn't get dismissed with this console error: Screen.Recording.2024-02-23.at.9.56.47.PM.mov@esh-g do you experience the same? |
@situchan I don't seem to be getting this issue Screen.Recording.2024-02-23.at.9.34.56.PM.mov |
ok just tried again. works now but still console error shows. This happens on main so out of scope |
Yes, I see the error as well... Seems like because of #36397 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromemchrome.moviOS: NativeiOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktop |
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.
✋ 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/amyevans in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
@@ -218,6 +218,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) { | |||
accessible={false} | |||
role={CONST.ROLE.BUTTON} | |||
onPress={() => { | |||
Navigation.goBack(); |
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.
Adding the goBack function to the + press event caused an issue #46383 where, on Android and mobile web devices, the LHN briefly appears before navigating to the workspaces page.
Details
Fixed Issues
$ #35680
PROPOSAL: #35680 (comment)
Tests
Offline tests
QA Steps
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
Android: mWeb Chrome
Screen.Recording.2024-02-08.at.10.02.34.PM.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-02-11.at.7.09.56.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-08.at.9.50.03.PM.mov
MacOS: Desktop