-
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: Scan- After uploading a corrupted file, user needs to dismiss error from 2 reports #38397
Conversation
…ror from 2 reports
…upted-file,-user-needs-to-dismiss-error-from-2-reports
…upted-file,-user-needs-to-dismiss-error-from-2-reports
@rayane-djouah screencasts for iOS are missing. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-2.webmAndroid: mWeb Chromeandroid-1.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-18.at.17.39.10.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-18.at.17.37.08.mp4MacOS: Chrome / SafariScreen.Recording.2024-03-18.at.15.14.56.movMacOS: DesktopScreen.Recording.2024-03-18.at.18.30.33.mov |
Adding some points that aren't raised from this PR but just mentioning what I have noticed.
Main Screen.Recording.2024-03-19.at.19.14.55.movThis PR Screen.Recording.2024-03-18.at.15.13.36.mov |
…upted-file,-user-needs-to-dismiss-error-from-2-reports
@rayane-djouah Please add these and then I will approve. |
Sorry for the delay, I'm having some issues with my ios simulator, I will add them as soon as I fix it. |
Np, I have added it in my review so you can add it later once your simulator issue gets fixed. |
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!
Works well. Screen.Recording.2024-03-18.at.15.23.47.mov |
Looks good otherwise |
Co-authored-by: Monil Bhavsar <[email protected]>
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.
Thanks!
✋ 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/MonilBhavsar in version: 1.4.56-0 🚀
|
@rayane-djouah @Pujan92 we've got regression issue here #38845 |
@MonilBhavsar I don't think that issue is a regression from this PR because we haven't touched any conditional iou rendering part, we have only fixed the error messages. |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.56-8 🚀
|
Details
Fixed Issues
$ #37502
PROPOSAL: #37502 (comment)
Tests
Log in in the app
Start the Request money, "Scan" receipt flow
Upload a corrupted file, example: , you can use an online tool to corrupt a file (example: https://corrupt-a-file.net/)
Verify that after the upload fails the user sees a RBR in iou report preview
Verify that the error message explaining that the file was not uploaded is displayed only in the iou action that correspond to the receipt request.
Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
We can not upload a corrupted file:Recording.2024-03-16.012842.mp4
Android: mWeb Chrome
Recording.2024-03-16.004318.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Recording.2024-03-16.001830.mp4
MacOS: Desktop
Recording.2024-03-16.003658.mp4