-
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
Fix: Prevent clearing server error on blur #26225
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
283119d
to
2395e9b
Compare
@eVoloshchak PR is ready for review! Please have a look. I'll complete the screenshots in my morning. Ty. |
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Little bump @eVoloshchak |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-01.at.20.06.35.movMobile Web - Chromescreen-20230901-201922.mp4Mobile Web - SafariScreen.Recording.2023-09-01.at.20.16.05.movDesktopScreen.Recording.2023-09-01.at.20.04.44.moviOSUnable to test plaid flow on native platforms, so triggering a different network error instead Screen.Recording.2023-09-01.at.20.43.56.movAndroidUnable to test plaid flow on native platforms, so triggering a different network error insteadScreen.Recording.2023-09-01.at.20.41.20.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.
LGTM
@hungvu193 Can you please follow the instructions from here https://expensify.slack.com/archives/C01GTK53T8Q/p1694405959277169, i.e. update the PR with the latest main and re-test it? Thanks |
Sure |
Tested @techievivek Screen.Recording.2023-09-11.at.14.40.27.mov |
2c132e7
to
354abb4
Compare
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.
✋ 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 https://github.com/techievivek in version: 1.3.68-0 🚀
|
The error message doesn't clear when switching the tabs or take the focus away, but it gets cleared when the page is refreshed. We already have a bug #21838 and it is partially fixed. Attaching the video for reference Recording.6221.mp4 |
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.68-17 🚀
|
Details
Fix: Prevent clearing server error on blur
Fixed Issues
$ #21838
PROPOSAL: #21838 (comment)
Tests
Offline tests
This bug is not related to offline mode.
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting 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)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screen.Recording.2023-06-29.at.07.18.43.mov
Mobile Web - Chrome
Screen.Recording.2023-08-30.at.10.52.30.mov
Mobile Web - Safari
safari.mov
Desktop
Screen.Recording.2023-08-29.at.23.01.17.mov
iOS
Screen.Recording.2023-08-30.at.10.44.58.mov
Android
Screen.Recording.2023-08-30.at.10.52.30.mov