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-8184 - Remove zero amount confirmation and logic and replace with a error #1051

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented Sep 10, 2024

Description

In this PR, I remove the zero total amount in the update donations modal and fix some other bugs/ UX issues. MPDX-8184

  1. After talking with Scott at our Stand up, we decided to remove the zero logic which sends the pledge to either asked or receivedand instead add a error message informing the user that they can't create/update a pledge to have a$0` amount.

  2. I added snackbar messages to the graphQL request to give feedback to the user.

  3. I fixed a small issue with the create pledge functionality as it wasn't assigning a currency.

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

…ssage stating pledges cannot be set to zero.

In this commit I also add snackbar to the graphQL request to show the user what is going on and I fixed am issue with the new commitment currency.
@dr-bizz dr-bizz changed the title Remove zero amount confirmation and logic and replace with a error me… MPDX-8184 - Remove zero amount confirmation and logic and replace with a error Sep 10, 2024
Copy link
Contributor

github-actions bot commented Sep 10, 2024

Bundle sizes [mpdx-react]

Compared against a20bb7e

No significant changes found

@dr-bizz dr-bizz requested a review from canac September 11, 2024 14:18
Copy link
Contributor

@canac canac left a comment

Choose a reason for hiding this comment

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

🔥

@dr-bizz dr-bizz merged commit 3cde16b into main Sep 11, 2024
18 checks passed
@dr-bizz dr-bizz deleted the MPDX-8184 branch September 11, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants