-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Fix for - Unable to leave public room #33053
[CP Staging] Fix for - Unable to leave public room #33053
Conversation
Does this need a C+ review? |
Assigning @situchan for review as this solves another issue we have been triaging. |
skeleton shows briefly before leaving room. I think it's expected skeleton.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movweb-offline.movMacOS: Desktopdesktop.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.
Ready to CP
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Cherry-picking now |
…-room Fix for - Unable to leave public room (cherry picked from commit a64e3cd)
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.12-2 🚀
|
Details
This originated from TS migration PR.
reportId
was added tooptimisticData
inReport.leaveRoom
function. Turns out it made users unable to leave a public room.An easy fix would be to remove
reportID
fromoptimisticData
, but TS complains asreportID
is a required prop. More robust approach is to changeOnyx.METHOD.SET
toOnyx.METHOD.MERGE
and setreportID
tonull
. AS it is implemented in this PR.Fixed Issues
$ #33010
#33009
PROPOSAL: N/A
Tests
Note that user is able to leave the room
Offline tests
N/A
QA Steps
Same as tests
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)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
anroid.webm
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2023-12-14.at.11.40.08.mov
MacOS: Desktop
desktop.mov