[CP Staging] Fix report from another workspace persists after switching workspace#44714
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeswitchAndroid.mp4Android: mWeb ChromeswitchAndroidmWeb.mp4iOS: NativeswitcheriOS.mp4iOS: mWeb SafariswitcheriOSmWeb.mp4MacOS: Chrome / SafariswitcherChrome.mp4MacOS: DesktopswitcherDesktop.mp4 |
|
Edit: Sorry, I had this issue with my High Traffic Account when that PR was merged as well. Tested with another account. It works well. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…stays-after-switching-ws Fix report from another workspace persists after switching workspace (cherry picked from commit bedfeac)
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.3-6 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
When switching WS, the chat from other WS still shows. This PR fix it.
Fixed Issues
$ #44619
PROPOSAL: #44619 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: have at least 2 workspaces
(web/desktop)
(android/iOS/mWeb)
can't switch WS while a report is shown, so just make sure the WS switching still works
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4