-
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-7955 - Add edit appeal functionality #986
Conversation
Bundle sizes [mpdx-react]Compared against 6642dc6
|
Preview branch generated at https://MPDX-7955-add-header-info-functionality.d3dytjb8adxkk5.amplifyapp.com |
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. That is cool how you have it dynamically load on mouse hover.
|
||
const EditAppealSchema: yup.SchemaOf<EditAppealFormikSchema> = yup.object({ | ||
name: yup.string().required('Please enter a name'), | ||
amount: yup.number().required('Please enter a goal'), |
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.
Maybe we could force the goal amount to be a positive number? Not necessary though.
089ef36
to
199afc8
Compare
c2648a2
to
0d73ade
Compare
Description
In this PR, I added a modal that allows the user to edit the appeal's name and goal.
I've also added tests to the appeal.
Checklist: