-
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-7943 | Add Contacts Drawer to Tools #960
Conversation
Bundle sizes [mpdx-react]Compared against f58d594
|
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.
Good work on this! Just some small changes and 1 issue with the accountListId.
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.
Looks good!
Preview branch generated at https://MPDX-7943-open-contact-in-drawers-on-tools.d3dytjb8adxkk5.amplifyapp.com |
12e22aa
to
613f57a
Compare
Description
This pull request introduces the functionality to display contact details within the Tool pages, preventing the need to redirect to the Contact page. This includes the creation of a Tool Wrapper component and a Tool React hook for streamlined code.
Breakdown
setContactFocus
function for contact display. (Like in the ContactContext).fixMailingAddress
,fixCommitmentInfo
,fixSendNewsletters
,mergeContacts
,fixEmailAddress
,fixPhoneNumbers
, andmergePeople
to use new contact display functionality. I apply these changes in a separate commit to make reviewing easier.fixMailingAddress
.Further edits needed to work
We need additional GraphQL work for the following Tool pages
fixEmailAddressess
,fixPhoneNumbers
&mergePeople
. I have communicated this to Andrew via Slack and commented this in the code.Tests
I have written tests for the
fixMailingAddressess
, but I will not be writing tests for the other pages as it is up to the owners of those pages to write them, which they will most likely be able to copy mine.Code Coverage will fail, but it's okay. I'm making a lot of changes on files which don't currently have tests and the developers in charge of those pages will write tests for those files.
Checklist: