-
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: text disappear before modal closure #27635
Conversation
Reviewer Checklist
Screenshots/VideosWebchrome-desktop-2023-09-18_17.38.01.mp4Mobile Web - Chromeandroid-chrome.mp4Mobile Web - Safariios-native-2023-09-18_16.45.33.mp4Desktopmac-desktop-2023-09-18_16.23.10.mp4iOSios-native-2023-09-18_16.48.43.mp4Androidandroid-native.mp4 |
@dukenv0307 Please clarify the third test step |
Just noting here too that I've tested on iOS native by selecting a tiny PNG (<240 bytes) from the gallery, but no file size validation seemed to run. I don't think that's related to the changes here and think adding validation would be OOS for this PR. Since there's no validation running for native, I've just done a basic test of taking a photo/scan and submitting it. |
I uploaded an invalid text file like this, but not sure how to upload this file in native 😄 Please let me know if any concerns. |
@dukenv0307 For native can you just make a recording showing the normal flow (take a picture to scan)? This just validates that nothing in your changes breaks native behaviour. Also can you update the test steps according to this comment. Thanks! |
@jjcoffee I just updated the records for native and verified that everything works well |
@dukenv0307 Great, thanks! Can you also update the test steps according to #27635 (comment). |
@jjcoffee Updated. |
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!
✋ 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/johnmlee101 in version: 1.3.72-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.72-11 🚀
|
Details
Text disappears before modal closure when scanning an invalid file
Fixed Issues
$ #27274
PROPOSAL: #27274 (comment)
Tests
Offline tests
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
web.mov
Mobile Web - Chrome
chrome.mov
Mobile Web - Safari
safari.mov
Desktop
desktop.3.mp4
iOS
Screen.Recording.2023-09-19.at.16.44.09.1.mp4
Android
Screen.Recording.2023-09-19.at.17.50.49.mov