-
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
Fix: User is able to leave public room when user is not logged in #44560
Conversation
@situchan Can you help review this PR? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: Nativeios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
ios/Podfile.lock
Outdated
@@ -1243,7 +1243,13 @@ PODS: | |||
- react-native-config (1.5.0): |
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.
undo changes in this file. not relevant
@situchan I resolved all your comments |
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.
To clarify, now we're showing Join
button instead of Leave
button in public room for anonymous user.
@MonilBhavsar Can you check C+'s comment above? |
Hmm, that's a good point and I agree with that. Let's hear from @Expensify/design team |
Yeah I'm partial to wanting one over the other, but is the I'm sure @shawnborton know the appropriate behaviour here, but to me I think the bottom banner should be the only one if you're not logged in. |
Agree 👍 |
@truph01 @situchan is there any specific reason for adding these lines - https://github.com/Expensify/App/pull/44560/files#diff-577fcc5f3a5e4930916ff310e61c38edfa093792fe3ab55b9a30d2aecd8811dbR6855-R6857 If we remove it, we'll have the current behavior i.e. only having the bottom banner |
I think that makes sense to me too, but I think you should bring that discussion to Slack quickly to make sure we're all aligned there. That being said, that seems like a different project from the issue at hand though, right? As in, that would be a separate follow up enhancement that doesn't necessarily relate to this PR? |
This PR made these changes:
@truph01 I think you unnecessarily added "new feature" in this PR. Let's remove it. |
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.
@truph01 kind bump ^
@situchan I updated PR |
Correct. We have reverted back the change that was unnecessary and now are only left with bottom banner, as before. Looks like we're all good here cc @shawnborton @dubielzyk-expensify |
✋ 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/MonilBhavsar in version: 9.0.7-3 🚀
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
Details
Fixed Issues
$ #43404
PROPOSAL: #43404 (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 methodSTYLE.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 and/or tagged@Expensify/design
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
Screen.Recording.2024-06-28.at.01.10.00.mov
Android: mWeb Chrome
Screen.Recording.2024-06-28.at.01.03.29.mov
iOS: Native
Screen.Recording.2024-06-28.at.01.10.55.mov
iOS: mWeb Safari
Screen.Recording.2024-06-28.at.01.01.55.mov
MacOS: Chrome / Safari
Screen.Recording.2024-06-28.at.00.54.57.mov
MacOS: Desktop
Screen.Recording.2024-06-28.at.00.59.30.mov