-
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
Show Received on pledge modal to avoid confusion #1170
Conversation
Preview branch generated at https://add-received-option-to-avoid-confusion.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against 7fe882a No significant changes found |
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'm curious about the flaky test fix, but the pledge modal fix looks good.
|
||
const { findByText } = render( | ||
<ThemeProvider theme={theme}> | ||
<TestRouter router={router}> | ||
<GqlMockedProvider<{ UserOption: UserOptionQuery }> mocks={mocks}> | ||
<ContactsWrapper> | ||
<> | ||
<Component /> | ||
<ContactsContext.Provider |
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.
Do you know why this helps? ContactsWrapper
already wraps its children in <ContactsContext.Provider>
.
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.
My guess is that the viewMode
was getting set randomly, but I could be wrong. I figured if I controlled all the properties, I would know for sure it would pass.
Description
I have added the "Received" option back to the pledge modal. Looking back at previous messages, it looks like users can try to put the contact into "Received." Most of the time, the server will override their choice, but not always.
Putting it back this way will make it simpler for users until we overhaul the appeals Committed->Given process.
Test:
Checklist: