-
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
[$1000] Attachment downloaded when user clicked outside the attachment button #19717
Comments
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Attachment downloaded when user clicked outside the attachment button What is the root cause of that problem?Currently, the Pressable component of Attachment reportAction is spread whole row => we can click anywhere in the row to trigger onPress to download attachment What changes do you think we should make in order to solve the problem?Instead of set styles.alignItemsStart here, we should set |
This is kind of a duplicate of #19017 (Same RCA), I think both of these can be fixed together. My proposal - #19017 (comment). |
@therealsujitk I don't think so. The expectation of #19017 would like to be able to press in whole IOU preview. But this issue would like to be able to press only in the attachment button, not the whole. |
@hoangzinh I believe in both cases the entire light green portion ONLY should be clickable. The same issue also exists for displayable attachments such as images and PDFs. |
I reproduced this - and I tend to agree it looks like the same root cause as #19017 |
I'm asking the team to confirm |
ProposalPlease re-state the problem that we are trying to solve in this issue.We can click outside of attachment box to download it. What is the root cause of that problem?This is a regression of #17496 which we previously set App/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js Lines 81 to 82 in 619a529
App/src/components/AnchorForAttachmentsOnly/BaseAnchorForAttachmentsOnly.js Lines 48 to 49 in 619a529
This also happens with ImageRenderer. What changes do you think we should make in order to solve the problem?Wrap the Pressable with View and move the |
Okay, keeping this separate! Applying External accordingly |
Job added to Upwork: https://www.upwork.com/jobs/~01e0f07bfc53f77442 |
Triggered auto assignment to @arielgreen ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @grgia ( |
@thesahindia thoughts on the proposals here and here? |
and my proposal here too #19717 (comment) 🤣 |
Ah yes, sorry @hoangzinh |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.38-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-17. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
Okay so we're finally ready for this one I believe! |
@grgia @youssef-lr Per my comment here, a LOT happened with this issue... Can anyone weigh in on the best way to pay this out? I'm honestly not sure because so many things went wrong here. There aren't really clear guidelines when so many things went awry and so many people were involved 😅 Discussed here a bit: https://expensify.slack.com/archives/C01SKUP7QR0/p1689717716471599 |
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new. |
Current assignee @thesahindia is eligible for the External assigner, not assigning anyone new. |
Hmm, I need to create a new upwork job I guess. Doing. |
Sent offers to @bernhardoj @kerupuksambel. Given there were two regressions the 50% penalty was applied twice @thesahindia you'll handle payment via newdot! Payments due: @kerupuksambel - $250: Issue Reporter |
Payments are complete, waiting for checklist @thesahindia |
Bump on the above @thesahindia :) |
No need for a discussion. We don't need any change.
We don't need a test case
N/A |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Attachment file shouldn't be downloaded since the user clicked outside the button
Actual Result:
Attachment file downloaded and could potentially caused confusion
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.19-2
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
Notes/Photos/Videos: Any additional supporting documentation
Recording.784.mp4
Download.Click.mp4
Expensify/Expensify Issue URL:
Issue reported by: @kerupuksambel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684984471329289
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: