-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Don't clear error for failure data #12579
Conversation
LGTM 🎉 All you @srikarparsi C+ reviewed 🎀👀🎀
|
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.
everything looks good to me! The comment at first glance was a little confusing to me because of the double negative in the first sentence. I wrote a suggestion above but if you think the way you had it is better, then I am ready to merge. Just a matter of preference :)
Co-authored-by: Srikar Parsi <[email protected]>
Thanks @srikarparsi , I agree that your wording is better. Updated the comment with your suggestion! |
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 to me!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @srikarparsi in version: 1.2.27-0 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
Details
Clear error only in optimistic data, otherwise, in case of failure, we end up clearing the error that came from the server
Fixed Issues
$ #12567
Tests
Have a user with 2 bank accounts
/settings/payments
in new dotX
QA Steps
Have a user with 2 bank accounts
/settings/payments
in new dotX
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Screen.Recording.2022-11-08.at.6.04.39.PM.mov
Mobile Web - Chrome
Screen.Recording.2022-11-08.at.6.11.35.PM.mov
Mobile Web - Safari
Screen.Recording.2022-11-08.at.6.06.45.PM.mov
Desktop
Screen.Recording.2022-11-08.at.6.02.21.PM.mov
iOS
Screen.Recording.2022-11-08.at.6.05.57.PM.mov
Android
Screen.Recording.2022-11-08.at.6.10.47.PM.mov