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-7418 - Fix Email Addresses - Confirm Button #981

Merged
merged 15 commits into from
Aug 7, 2024

Conversation

wrandall22
Copy link
Contributor

Description

Jira
Implements the single Confirm button for Fix Email Addresses. While testing, I found that the primary switching was not working when all emails were primary, so I fixed that as well.

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

@wrandall22 wrandall22 added the Preview Environment Add this label to create an Amplify Preview label Jul 24, 2024
Copy link
Contributor

Copy link
Contributor

github-actions bot commented Jul 24, 2024

Bundle sizes [mpdx-react]

Compared against e4b7269

No significant changes found

@wrandall22 wrandall22 force-pushed the MPDX-7418-fix-email-addresses-confirm branch from 073e57a to ad84715 Compare July 24, 2024 13:25
@wrandall22 wrandall22 added the Waiting on another PR This PR requires approval of another to be completed label Jul 25, 2024
@wrandall22 wrandall22 force-pushed the MPDX-7418-fix-email-addresses-confirm branch from 78a9153 to 27c2f63 Compare July 26, 2024 20:24
@dr-bizz dr-bizz self-requested a review August 2, 2024 15:36
Base automatically changed from MPDX-7936-Delete-Button-API-Call to main August 7, 2024 14:19
Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

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

I made some small edits, but it all looks great

Comment on lines +299 to +302
<Box
data-testid={`starIcon-${id}-${index}`}
onClick={() => handleChangePrimary(id, index)}
>
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently you're not making a GraphQL call for just updating the primary? Will that come in a later PR?

If not, We should note that we should come back and do that. Curreently there isn't a graphQL endpoint for this, s it will need to be made or made via proxy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This gets handled in the confirm itself, primary is part of the payload that gets mutated. If I'm reading the Angular code correctly, it does this as well. The changes in the UI to primary are in memory until clicking the Confirm button.

@dr-bizz dr-bizz self-requested a review August 7, 2024 20:32
@dr-bizz dr-bizz enabled auto-merge (squash) August 7, 2024 20:32
@dr-bizz dr-bizz merged commit 9908aa2 into main Aug 7, 2024
18 checks passed
@dr-bizz dr-bizz deleted the MPDX-7418-fix-email-addresses-confirm branch August 7, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Preview Environment Add this label to create an Amplify Preview Waiting on another PR This PR requires approval of another to be completed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants