-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
squash
…f the emails is causing the most issues why they aren't updating. The new email gets added but replaces the last email.
Preview branch generated at https://MPDX-7418-fix-email-addresses-confirm.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against e4b7269 No significant changes found |
073e57a
to
ad84715
Compare
78a9153
to
27c2f63
Compare
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.
I made some small edits, but it all looks great
<Box | ||
data-testid={`starIcon-${id}-${index}`} | ||
onClick={() => handleChangePrimary(id, index)} | ||
> |
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.
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.
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.
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.
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: