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 |
getusha
left a comment
There was a problem hiding this comment.
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 |
flodnv
left a comment
There was a problem hiding this comment.
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 🚀
|
| return; | ||
| } | ||
| } | ||
| const pendingChatMember = report?.pendingChatMembers?.find((member) => member.accountID === accountID.toString()); |
There was a problem hiding this comment.
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
pendingVisibleChatMembersto 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
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