-
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
[HOLD for payment 2024-08-05] [$250] Web - Attachment - Downloads can be requested continuously while the file is still loading #43546
Comments
Triggered auto assignment to @anmurali ( |
We think this issue might be related to the #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.The user is able to trigger a download when the file is already downloading. What is the root cause of that problem?In the Context menu, we do not display the Download button based on the download state. The file can be downloaded, and the download link will still appear on the context menu. App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 495 to 501 in edec897
What changes do you think we should make in order to solve the problem?In
We can use the same
In App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 495 to 501 in edec897
What alternative solutions did you explore? |
@anmurali Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~015a422bd93974d7e4 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The download button in the right-click menu is not disabled and the user can click continuously and download repeatedly. What is the root cause of that problem?In
It will show the loading icon if the attachment is downloading, it will also do not allow further download trigger
However, we don't have any implementation to disable the
What changes do you think we should make in order to solve the problem?Add implementation to disable the
(
Result: Screen.Recording.2024-06-19.at.2.34.45.PM.movWhat alternative solutions did you explore? (Optional)Other UXs can be suggested: Changing the action menu text to The problem could exist in similar case such as mini context menu, ... can be fixed like described. |
@devguest07 can you please share demo video after applying your solution? |
If I understand correctly, @devguest07 suggested to hide Download button, while @nkdengineer suggested to disable Download button. @Expensify/design which pattern is correct? hide or disable? |
Hmm I would think we would replace the icon in the right click menu's Download row with a loading spinner as well. That being said, this is an edge-case, I doubt real users are going to be doing this action. |
Yeah I'd say disable + replace icon with loading spinner. But I also agree with that this is an edge-case. |
@situchan Looks like everyone agrees to go with my suggestion, I think we're good to move forward here
|
That being said, if we do decide to keep this one open, let's lower the bug bounty because it's such an edge case that not a single customer has ever reported yet. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@nkdengineer's proposal looks good based on expected behavior we discussed. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@madmax330 @anmurali @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.13-4 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 2024-08-05. 🎊 For reference, here are some details about the assignees on this 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:
|
This issue has not been updated in over 15 days. @madmax330, @anmurali, @situchan, @nkdengineer eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@madmax330, @anmurali, @situchan, @nkdengineer Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Waiting for payment |
@madmax330, @anmurali, @situchan, @nkdengineer 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@situchan can you please propose a regression test and otherwise complete the BZ checklist first? |
This is not regression but improvement. |
@madmax330, @anmurali, @situchan, @nkdengineer Huh... This is 4 days overdue. Who can take care of this? |
@madmax330, @anmurali, @situchan, @nkdengineer 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@madmax330, @anmurali, @situchan, @nkdengineer Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
@madmax330, @anmurali, @situchan, @nkdengineer 12 days overdue now... This issue's end is nigh! |
Paid. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.82-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): nhut.nguyenminh.it+dt002@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
When the file is being downloaded, the download button inside the right-click menu must also be disabled to avoid users being able to click repeatedly to download the file.
Actual Result:
When clicking download, the download button will change to a loading button and the user cannot click on it, however, the download button in the right-click menu is not disabled and the user can click continuously and download repeatedly.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6474921_1715180171795.Untitled_Project.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: