-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 bug with Removed member can be clicked #40758
Fix bug with Removed member can be clicked #40758
Conversation
@jjcoffee |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-04-23_15.51.57.mp4Android: mWeb Chromeandroid-chrome-2024-04-23_15.54.43.mp4iOS: Nativeios-app-2024-04-23_15.42.11.mp4iOS: mWeb Safariios-safari-2024-04-23_15.44.29.mp4MacOS: Chrome / Safaridesktop-chrome-2024-04-23_15.46.03.mp4MacOS: Desktopdesktop-app-2024-04-23_15.48.01.mp4 |
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.
LGTM! Thanks for fixing on rooms too! 🚀
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.
LGTM thanks!
✋ 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/marcaaron in version: 1.4.65-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.65-5 🚀
|
@@ -204,7 +204,7 @@ function RoomMembersPage({report, session, policies}: RoomMembersPageProps) { | |||
keyForList: String(accountID), | |||
accountID, | |||
isSelected: selectedMembers.includes(accountID), | |||
isDisabled: accountID === session?.accountID, | |||
isDisabled: accountID === session?.accountID || pendingChatMember?.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, |
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.
It doesn't make sense to remove or make admin of optimistically invited member
- [$250] Group chat-Member invited, made admin & removed in offline is showed on returning online. #47686
- [Payment due 2024-09-24][$250] Android - Room - For new user, invited member is shown with email but removed user shown as hidden #48577
To fix these, we added || details?.isOptimisticPersonalDetail
condition to both places.
Details
Group chat - Removed member can be clicked on when removed offline
Fixed Issues
$ #40442
PROPOSAL: #40442 (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
android_ziyxlrrc.mp4
Android: mWeb Chrome
android_ziyxlrrc.mp4
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web_OrtUHUIC.mp4
MacOS: Desktop
desktop_TeFHvxPe.mp4