-
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-8123 & MPDX-8125 Add Pledges, Commitments and donations flows view #1020
MPDX-8123 & MPDX-8125 Add Pledges, Commitments and donations flows view #1020
Conversation
Bundle sizes [mpdx-react]Compared against c09143f
|
When you delete a commitment, the edit/delete buttons are still there in the flows view. Then if you click edit, I get an error message about the pledge not being found. Is that a bug you want to fix in this PR? Screen.Recording.2024-08-30.at.9.51.43.AM.mov |
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've got a few refactoring suggestions, but great work with this! I like how you're breaking logic out into separate components and hooks. 🔥
src/components/Tool/Appeal/Flow/ContactFlowRow/ContactFlowRow.test.tsx
Outdated
Show resolved
Hide resolved
src/components/Tool/Appeal/Shared/AmountAndFrequency/AmountAndFrequency.tsx
Outdated
Show resolved
Hide resolved
This fix deserves its own PR. |
Added it as a task here- MPDX-8137 |
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.
Love it!
Thanks for making a new ticket for the bug fix.
… useMemo and Making hook take one object instead of 3 arguments
72e9bc3
to
aad2fc4
Compare
Description
This PR introduces enhancements to the flows view by adding support for pledges, commitments, and donations. The changes include cleaning up the flows view and centralizing logic into a reusable hook.
Changes
ContactFlowRow
componentContactRow
pledges functionality into a custom hook used in both the list and flows view.contactFlowsRow
component and hook.Please explain a bullet-point summary of the changes.
List any PRs that this PR is dependent on and any Jira tickets that this PR is related to.
Checklist: