-
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-09-06] [$125] Action menu - Download option is missing from action menu #47149
Comments
Triggered auto assignment to @twisterdotcom ( |
Edited by proposal-police: This proposal was edited at 2024-08-09 13:29:28 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Action menu - Download option is missing from action menu What is the root cause of that problem?Download is included in App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 596 to 602 in 9812479
What changes do you think we should make in order to solve the problem?Remove What alternative solutions did you explore? (Optional)If we want to hide the download option for anonymous users then we should also do the same in In const disabledActions = useMemo(() => (!ReportUtils.canWriteInReport(report) ? RestrictedReadOnlyContextMenuActions : []), [report]);
allowDownload={!(disabledActions as ContextMenuActionWithIcon[])?.find((item) => item.textTranslateKey === 'common.download')}
// OR
allowDownload={ReportUtils.canWriteInReport(report)}
The same needs to be done in
App/src/components/AnchorForAttachmentsOnly/BaseAnchorForAttachmentsOnly.tsx Lines 47 to 53 in 88e7e8d
|
|
Job added to Upwork: https://www.upwork.com/jobs/~018493448a5422f7d5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk ( |
Man that room takes a minute to load |
Making this just $125 because this doesn't actually prevent the behaviour though (ie, you can still download from the big attachment modal) and public rooms are not well used yet,s o not a huge company priority. |
Upwork job price has been updated to $125 |
I tested the proposed solution, and removing 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@yuwenmemon, @twisterdotcom, @brunovjk Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@yuwenmemon, friendly bump #47149 (comment) |
Ah, apologies, I was OOO - thanks for the ping! Assigned 🙂 |
📣 @brunovjk 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@yuwenmemon, can you please confirm the behaviour? |
Hey @yuwenmemon :D have you had a chance to look at the alternative solution here? I believe the main solution will work fine, but I wanted to hear your thoughts. Thanks. |
Agreed with @twisterdotcom |
Will raise the PR today. |
Note The production deploy automation failed: This should be on [HOLD for Payment 2024-09-06] according to #48035 prod deploy checklist, confirmed in https://expensify.slack.com/archives/C01GTK53T8Q/p1725051480370659?thread_ts=1725050431.962859&cid=C01GTK53T8Q. cc: @twisterdotcom |
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment Summary:
|
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: v9.0.18-7
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4836901
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
) as an anonymous user
Expected Result:
There should be an option to download the attachment.
Actual Result:
Option to download attachment is missing from action menu.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6566483_1723193410070.Recording_2024-08-09_100836_3.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Krishna2323The text was updated successfully, but these errors were encountered: