-
Notifications
You must be signed in to change notification settings - Fork 1
MPDX-8449 - deleteAppealContact mutation FE fixes #1313
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
base: main
Are you sure you want to change the base?
Conversation
Bundle sizes [mpdx-react]Compared against 43fe02b No significant changes found |
Preview branch generated at https://MPDX-8449-delete-appeal-contact.d3dytjb8adxkk5.amplifyapp.com |
6f7af0b
to
d1e792b
Compare
Not exactly sure why typescript check is failing or why test chunk is failing. All the tests passed locally. |
@wjames111 TypeScript is failing as the code hasn't been pushed to the API production. These tests hit the production API. This explains how those 2 tests are failing. Also, I added code, as I need to code. Been looking at emails and in meetings for too long |
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.
Amazing work on this! Both failing tests are due to the API code is not in production.
The functionality works so well, and this really improves performance.
Thank you for taking this off my plate.
You will need to connect with the backend team to plan for when you both merge the PRs into production. I recommend Monday next week.
Sound good, I'll do that. Thanks @dr-bizz ! |
Description
Currently, on the
deleteAppealContact
mutation, we have to pass in the Appeal's Contact's ID, which is a join table id. Could we change this, so we just have to pass in the contact's ID and the appeal ID?Currently, we have to loop through all the appeal contacts to find the appeal contact which is associated with the contact the user wants to delete.
This is causing some issues. We can fix those issues, but we think it's best that the FE just sends the contact ID and appeal ID, and the server tracks down the correct Appeal Contact.
Related task:
Helpscout ticket:
Jira Ticket here
Checklist: