Workspace - Error message for invalid phone number invite disappears fast#12746
Conversation
|
@jasperhuangg @eVoloshchak One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
jasperhuangg
left a comment
There was a problem hiding this comment.
few small comment tweaks but looks good, still need to test
Co-authored-by: Jasper Huang <jasperhuangg@gmail.com>
Co-authored-by: Jasper Huang <jasperhuangg@gmail.com>
|
I have read the CLA Document and I hereby sign the CLA |
|
@jasperhuangg You accidentally deleted an extra line and I didn't catch that. Fixed now |
eVoloshchak
left a comment
There was a problem hiding this comment.
The code looks good, starting to test
Let's call this variable member, so it's more obvious what it is
Co-authored-by: Eugene <copyreading@gmail.com>
Co-authored-by: Eugene <copyreading@gmail.com>
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2022-11-16.at.17.35.04.movMobile Web - Chrome22-11-16-17-42-36.mp4Mobile Web - SafariScreen.Recording.2022-11-16.at.17.38.52.movDesktopScreen.Recording.2022-11-16.at.17.36.14.moviOSScreen.Recording.2022-11-16.at.17.37.25.movAndroid22-11-16-17-40-41.mp4 |
eVoloshchak
left a comment
There was a problem hiding this comment.
LGTM!
cc: @jasperhuangg
|
✋ 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 @jasperhuangg in version: 1.2.29-0 🚀
|
|
🚀 Deployed to production by @AndrewGable in version: 1.2.29-7 🚀
|
|
@jasperhuangg @eVoloshchak
We should pass every member except those who have |
|
The issue happen when trying to remove a user that was rejected. |
|
Never mind, we chose the right approach. |
|
FYI: I believe this PR caused this bug: #15267 |
Details
Error message for invalid phone number invite disappears fast
On src/pages/workspace/WorkspaceMembersPage.js
clientMemberEmails should be filtered to only pass valid members, failure to do so will remove all non-exisiting members that should be displayed (e.g. non-exisiting members that should report an error) this is due to the merge from Onyx.
Every valid member has the "role" property, thus the filter is based on that property.
Fixed Issues
$ #12265
PROPOSAL: #12265 (comment)
Tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
Web
web.mp4
Mobile Web - Chrome
mweb-chrome.mp4
Mobile Web - Safari
mweb-safari.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4