-
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
[Due payment][$500] IOU - Receipt image is not downloaded in offline mode. #31442
Comments
Job added to Upwork: https://www.upwork.com/jobs/~017cd9958133b7f343 |
Triggered auto assignment to @kadiealexander ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Local attachment is not downloaded in desktop, opens new tab in web What is the root cause of that problem?App/src/libs/fileDownload/index.js Lines 14 to 18 in 6ea4539
Local image url starts with What changes do you think we should make in order to solve the problem?If url starts with
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Receipt image is not downloaded in offline mode What is the root cause of that problem?The bug is introduced in this PR #25556 which opens a new tab when the App/src/libs/fileDownload/index.js Line 14 in 1ddd581
What changes do you think we should make in order to solve the problem?We shouldn't do that for the local file, we can add a check to not open a new tab for the local file URL by using the same check here.
App/src/components/Attachments/AttachmentCarousel/extractAttachmentsFromReport.js Line 57 in 1ddd581
App/src/libs/fileDownload/index.js Line 14 in 1ddd581
What alternative solutions did you explore? (Optional) |
Thanks for proposals. Both proposals look good. |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @mkhutornyi 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR was deployed to production on Nov 22. @kadiealexander this is ready for payment |
Sorry for missing this one team! |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payouts due:
Upwork job is here. |
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Note
Reproduced on Desktop. Web, mWeb - the image opens in a new tab. Android - the application is crashing. iOS - "Hmm... it's not here"
Expected Result:
When you attempt to download the receipt image, you should see a window asking you to save it and select a folder on your computer
Actual Result:
Nothing happens when you try to download the image of the receipt
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6279124_1700142064112.Recording__734.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: