Archive ws chat optimsitically when removing member from ws#57269
Conversation
|
@hoangzinh 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 we probably need to fix a case where a member is removed/added offline, the WS chat is not optimistically unmarked archived. Screen.Recording.2025-02-23.at.10.54.28.mov |
|
Oh, I didn't think of that case. Updated! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-23.at.22.28.36.android.movAndroid: mWeb ChromeScreen.Recording.2025-02-23.at.22.24.45.android.chrome.moviOS: NativeScreen.Recording.2025-02-24.at.17.27.38.moviOS: mWeb SafariScreen.Recording.2025-02-24.at.17.20.48.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2025-02-23.at.22.16.35.web.movMacOS: DesktopScreen.Recording.2025-02-23.at.22.19.29.desktop.mov |
Beamanator
left a comment
There was a problem hiding this comment.
Code for removing a member offline looks great!
But it looks like we didn't add tests (manual or automated) for adding the member back, i think it would be great to add both, for the "add the member back while offline", yeah? 🙏
|
Updated |
4d733e3 to
ade06fe
Compare
|
Thanks!! |
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.1.7-1 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.7-2 🚀
|
Explanation of Change
Fixed Issues
$ #56961
PROPOSAL: #56961 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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