Skip to content
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

MPDX-7417 - fix phone numbers - confirm all #992

Merged
merged 2 commits into from
Aug 8, 2024
Merged

Conversation

wjames111
Copy link
Contributor

@wjames111 wjames111 commented Aug 2, 2024

Description

  • Tools - Fix Phone Numbers - Implement Confirm All
  • Jira Ticket #7417

Checklist:

  • I have given my PR a title with the format "MPDX-(JIRA#) (summary sentence max 80 chars)"
  • I have applied the appropriate labels. (Add the label "On Staging" to get the branch automatically merged into staging.)
  • I have requested a review from another person on the project

@wjames111 wjames111 self-assigned this Aug 2, 2024
@wjames111 wjames111 added question Further information is requested On Staging Will be merged to the staging branch by Github Actions Waiting on another PR This PR requires approval of another to be completed Preview Environment Add this label to create an Amplify Preview labels Aug 2, 2024
Copy link
Contributor

github-actions bot commented Aug 2, 2024

Preview branch generated at https://MPDX-7417-confirm-all.d3dytjb8adxkk5.amplifyapp.com

Copy link
Contributor

github-actions bot commented Aug 2, 2024

Bundle sizes [mpdx-react]

Compared against e4b7269

No significant changes found

@wjames111
Copy link
Contributor Author

It looks like the updatePeople mutation doesn't allow for updating a phone number's source. However the confirm all button specifies updating it's source. Wondering if I'm missing something here or if the Schema needs to be updated to allow this attribute to be edited.

Screenshot 2024-08-02 at 3 10 06 PM

@wrandall22
Copy link
Contributor

wrandall22 commented Aug 2, 2024

The logic for the source is a bit counter-intuitive. It doesn't change the source, it uses the source to determine which to set to primary in a bulk save scenario. Selecting primary on individual items only works for the single confirm. I ran into the same when dealing with emails. You can find the logic here

@wjames111 wjames111 removed the question Further information is requested label Aug 2, 2024
@wjames111 wjames111 changed the title MPDX-7417-confirm-all MPDX-7417 - fix phone numbers - confirm all Aug 5, 2024
Copy link
Contributor

@caleballdrin caleballdrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Everything looks good to me.

@wjames111 wjames111 removed the Waiting on another PR This PR requires approval of another to be completed label Aug 7, 2024
@wjames111 wjames111 force-pushed the MPDX-7417-confirm-all branch from c85e483 to 07b5449 Compare August 7, 2024 14:56
Copy link
Contributor Author

@wjames111 wjames111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix phone numbers confirm all

@dr-bizz dr-bizz requested review from caleballdrin and removed request for dr-bizz August 7, 2024 18:34
@wjames111 wjames111 merged commit 70b550e into main Aug 8, 2024
17 of 18 checks passed
@wjames111 wjames111 deleted the MPDX-7417-confirm-all branch August 8, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Staging Will be merged to the staging branch by Github Actions Preview Environment Add this label to create an Amplify Preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants