Skip to content

[HOLD for payment 2022-06-13] [$250] mWeb - Chat - Drawer does not close after tapping download file #8942

Closed

Description

@kbecciv

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:

  1. Go https://staging.new.expensify.com/
  2. Log in with any account
  3. Find the chat where you can download the file
  4. Hold the finger on any type of file (mp4, png., mov)
  5. Tap download

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?

  • Mobile Web

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

Activity

  1. melvin-bot commented on May 11, 2022

    @melvin-bot

    Triggered auto assignment to @yuwenmemon (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. sobitneupane commented on May 12, 2022

    @sobitneupane
    Contributor

    Proposal
    This issue is occurring in web as well. Addition of following lines of code should solve the issue.

    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);
    },

            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);
    +          }
            },
  3. melvin-bot commented on May 16, 2022

    @melvin-bot

    @yuwenmemon Huh... This is 4 days overdue. Who can take care of this?

  4. melvin-bot commented on May 16, 2022

    @melvin-bot

    @yuwenmemon Eep! 4 days overdue now. Issues have feelings too...

  5. added
    External
    on May 18, 2022
  6. removed their assignment
    on May 18, 2022
  7. melvin-bot commented on May 18, 2022

    @melvin-bot

    Triggered auto assignment to @stephanieelliott (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  8. stephanieelliott commented on May 20, 2022

    @stephanieelliott
    Contributor
  9. 21 remaining items

  10. changed the title [-][$250] mWeb - Chat - Drawer not closing after tapping download file[/-] [+][$250] mWeb - Chat - Drawer does not close after tapping download file[/+] on May 28, 2022
  11. neil-marcellini commented on May 31, 2022

    @neil-marcellini
    Contributor

    PR is under review now.

  12. stephanieelliott commented on Jun 3, 2022

    @stephanieelliott
    Contributor

    PR is on staging

  13. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Jun 6, 2022
  14. changed the title [-][$250] mWeb - Chat - Drawer does not close after tapping download file[/-] [+][HOLD for payment 2022-06-13] [$250] mWeb - Chat - Drawer does not close after tapping download file[/+] on Jun 6, 2022
  15. melvin-bot commented on Jun 6, 2022

    @melvin-bot

    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. 🎊

  16. added
    Daily
    and removed
    Weekly
    on Jun 12, 2022
  17. stephanieelliott commented on Jun 16, 2022

    @stephanieelliott
    Contributor

    All paid, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyEngineeringExternalReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions