-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2022-06-13] [$250] mWeb - Chat - Drawer does not close after tapping download file #8942
Comments
Triggered auto assignment to @yuwenmemon ( |
Proposal App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 46 to 54 in a2f8cf9
onPress: (closePopover, {reportAction}) => {
const message = _.last(lodashGet(reportAction, 'message', [{}]));
const html = lodashGet(message, 'html', '');
const attachmentDetails = getAttachmentDetails(html);
const {originalFileName} = attachmentDetails;
let {sourceURL} = attachmentDetails;
sourceURL = addEncryptedAuthTokenToURL(sourceURL);
fileDownload(sourceURL, originalFileName);
+ if (closePopover) {
+ hideContextMenu(true, ReportActionComposeFocusManager.focus);
+ }
}, |
@yuwenmemon Huh... This is 4 days overdue. Who can take care of this? |
@yuwenmemon Eep! 4 days overdue now. Issues have feelings too... |
Triggered auto assignment to @stephanieelliott ( |
Posted to Upwork: https://www.upwork.com/jobs/~01a4a5d881f891960a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @neil-marcellini ( |
Heads up, @neil-marcellini and @rushatgabhane we have a proposal for this already here. |
Proposal: we can call App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 46 to 54 in 56213d0
onPress: (closePopover, {reportAction}) => {
const message = _.last(lodashGet(reportAction, 'message', [{}]));
const html = lodashGet(message, 'html', '');
const attachmentDetails = getAttachmentDetails(html);
const {originalFileName} = attachmentDetails;
let {sourceURL} = attachmentDetails;
sourceURL = addEncryptedAuthTokenToURL(sourceURL);
- fileDownload(sourceURL, originalFileName);
+ fileDownload(sourceURL, originalFileName)
+ .finally(()=> hideContextMenu(true, ReportActionComposeFocusManager.focus));
|
🎀 👀 🎀 C+ reviewed P. S. @sobitneupane do we really need to check this condition? |
I agree with @rushatgabhane that @sobitneupane has a good proposal. Personally I think we should check |
@sobitneupane Thanks for your explanation. I will assign you to this issue and I look forward to reviewing your PR. |
📣 @sobitneupane You have been assigned to this job by @neil-marcellini! |
Hey @sobitneupane, can you apply to the job on Upwork when you get a chance? https://www.upwork.com/jobs/~01a4a5d881f891960a |
Applied. |
PR is under review now. |
PR is on staging |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.71-2 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 2022-06-13. 🎊 |
All paid, thank you! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Drawer is closing after tapping download file.
Actual Result:
Drawer not closing after tapping download file. Drawer closes for other options but not for the download one
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.57.12
Reproducible in staging?: Yes
Reproducible in production?: No 9new feature)
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20220511-100037_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: