-
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/34671: Grey out pending member in report #35883
Conversation
Crash when trying to open details of announce room while it is loading. Screen.Recording.2024-02-07.at.1.48.13.PM.mov |
Some places the invited member is not grayed out. Screen.Recording.2024-02-07.at.1.52.02.PM.mov |
@DylanDylann bump on the above. |
I am checking |
@getusha For your crash app bug. I also can reproduce on the staging so It isn't caused by my change bug.mov |
For this bug, I missed updating |
Please help to review the code change and test. I will upload the full screenshots soon, |
@getusha Updated full videos |
@DylanDylann Thanks, testing... |
@getusha Updated |
@getusha I tested again so carefully on mWeb(Chrome) and Android and I didn't see any bug. Could you help to clear the ONYX (log out) and test again? |
@getusha Merged main and resolved conflict |
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.
Just few minor comments @DylanDylann
Co-authored-by: Getabalew Tesfaye <75031127+getusha@users.noreply.github.com>
Co-authored-by: Getabalew Tesfaye <75031127+getusha@users.noreply.github.com>
@getusha Updated |
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.
Did we test a pending admin in the #admins room?
Do you mean the case that we create workspace offline and we expect the admin member in the admin room to be greyed out? |
@DylanDylann yes |
Sweet, thanks! Can you please update tests/QA steps in the PR description accordingly? 🙇 |
Updated. 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 production by https://github.com/luacmartins in version: 1.4.50-5 🚀
|
@@ -183,6 +183,7 @@ function RoomMembersPage({report, session, policies}: RoomMembersPageProps) { | |||
return; | |||
} | |||
} | |||
const pendingChatMember = report?.pendingChatMembers?.find((member) => member.accountID === accountID.toString()); |
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.
Hi coming from #38821 ✋
The issue is the deleted member offline didn't get strikethrough because we didn't get the last pendingChatMembers
.
Details
Introduce new field called
pendingVisibleChatMembers
to grey out pending member in reportFixed Issues
$ #34671
PROPOSAL: #34671 (comment)
Tests
Flow 1:
Flow 2:
Offline tests
Same above
QA Steps
Same above
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)Design
label 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
pen-and.mp4
Android: mWeb Chrome
pen-ch.mp4
iOS: Native
pen-ios.mp4
iOS: mWeb Safari
pending-safari.mp4
MacOS: Chrome / Safari
grey-web.mp4
MacOS: Desktop
pending-desktop.mp4