-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix: 26339 Workspace - Unable to remove error reported member #26975
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
Conversation
|
@jjcoffee I created the PR. Some notes:
|
src/libs/actions/Policy.js
Outdated
| function clearAddMemberError(policyID, accountID) { | ||
| Onyx.merge(`${ONYXKEYS.COLLECTION.POLICY_MEMBERS}${policyID}`, { | ||
| Onyx.set(`${ONYXKEYS.PERSONAL_DETAILS_LIST}`, { | ||
| ...allPersonalDetails, |
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.
Unsure why this change is here?
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.
We also need to remove invalid user in PERSONAL_DETAILS_LIST. That why I want to use Onyx.set here to set the new personalDetails
Reviewer Checklist
Screenshots/VideosWebchrome-desktop-2023-09-26_16.22.54.mp4Mobile Web - Chromeandroid-chrome.mp4Mobile Web - Safariios-safari-2023-09-11_14.38.33.mp4Desktopmac-desktop-2023-09-11_14.46.17.mp4iOSios-native-2023-09-11_14.43.03.mp4Androidandroid-native.mp4 |
|
@tienifr The testing steps are a bit unclear, can you just copy them from the issue and maybe add an example of an invalid number to add? |
|
@tienifr Also it looks like you're missing a vid for Android. |
|
@tienifr Can you merge main and retest (per this comment on Slack)? Also still missing that video for Android 😄 |
|
@jjcoffee I've merged with |
@tienifr I don't think we need this step? |
|
That's right. Updated |
|
@tienifr Can you revert the workaround for deleting the Onyx data, as we're gonna hold on this PR Expensify/react-native-onyx#333 |
|
updated |
|
@tienifr Sweet! I'll retest later today. |
|
@tienifr Can you update the test steps to include a new failing number? The current one is valid. I used |
|
@jjcoffee Thanks for pointing that out, I updated |
jjcoffee
left a comment
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.
Tests well!
dangrous
left a comment
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.
easy enough!
|
✋ 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/dangrous in version: 1.3.75-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
|
🚀 Deployed to staging by https://github.com/dangrous in version: 1.3.76-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
Details
Fixed Issues
$ #26339
PROPOSAL: #26339 (comment)
Tests
Offline tests
Same as above
QA Steps
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)/** 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)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
Web
Screen.Recording.2023-09-07.at.22.38.32.mov
Mobile Web - Chrome
374610762_9949966298407927_3944890432015582513_n.mp4
Mobile Web - Safari
374592903_6648663498560589_1011807065365875651_n.mp4
Desktop
Screen.Recording.2023-09-07.at.22.05.18.mov
iOS
Screen.Recording.2023-09-07.at.22.58.04.mov
Android
Screen.Recording.2023-09-11.at.16.53.00.mov