Fix optimistic participant isn't removed#67525
Conversation
|
@eVoloshchak 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] |
|
Additional fixes for:
web.2.mp4
web.3.mp4
Sending an invoice doesn't create a DM chat, but only an invoice room and an invoice report, and both reports have a subscript avatar type, so it's not noticeable visually, but if we inspect the onyx data, we can see there are 3 participants, so I still apply the fix for it. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-08-25.at.01.01.09.movAndroid: mWeb ChromeScreen.Recording.2025-08-25.at.00.15.04.moviOS: HybridAppScreen.Recording.2025-08-25.at.00.06.19.moviOS: mWeb SafariScreen.Recording.2025-08-25.at.00.12.35.movMacOS: Chrome / SafariScreen.Recording.2025-08-25.at.00.00.45.movMacOS: DesktopScreen.Recording.2025-08-25.at.00.20.02.mov |
|
@bernhardoj, there's still only one chat created in LHN instead of two €30 split, 2 participants excluding the user, should be 2 chats, €10 each |
Ah, I forgot to link the existing issue for that. Here it is: #62251 This is onyx problem where the |
|
@bernhardoj, thank you for linking that. Do you think we should put this on hold for #62251? |
|
Yeah, we don't need to hold for it since our issue is that the optimistic participants are not removed. |
|
@bernhardoj, looks like this is already resolved on staging (3 avatars problem) Screen.Recording.2025-08-12.at.13.21.34.movCould you double-check please? |
|
You can see the report name still shows multiple names. The avatar is probably because the refactor of the avatar logic. |
dangrous
left a comment
There was a problem hiding this comment.
sorry this took forever! back from OOO now. @bernhardoj can we merge main once more, just to be safe?
|
@dangrous done |
|
✋ 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/dangrous in version: 9.2.9-0 🚀
|
|
🚀 Deployed to staging by https://github.com/dangrous in version: 9.2.11-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.12-4 🚀
|




Explanation of Change
Fixed Issues
$ #66913
PROPOSAL: #66913 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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