Skip to content

[HOLD for payment 2022-06-16] [HOLD for payment 2022-06-15] [$500] Uploading an image causes the thumbnail to resize 3 times  #8590

Closed

Description

@mvtglobally

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. Open any chat
  2. Upload a larger file to share

Expected Result:

Thumbnail should load once uploaded, or if it's a large file it should display a spinner until it's uploaded.

Actual Result:

If you share an image, the uploading thumbnail resizes 3 times. Then it finalizes the upload.

Workaround:

Just wait for the file to upload but it's a jarring experience.

Platform:

Where is this issue occurring?

  • Web

Version Number: 1.1.52-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

If you click + > add attachment in a DM, and then select this attachment:
image - 2022-04-11T013155 286

You'll notice it changes to this momentarily:
image - 2022-04-11T013153 923

And then this:
image - 2022-04-11T013152 050

Upwork job URL: https://www.upwork.com/jobs/~01ca59e5811fecf4d5
Issue reported by: @cead22
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1649352167230159

View all open jobs on GitHub

Activity

  1. melvin-bot commented on Apr 11, 2022

    @melvin-bot

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

  2. removed their assignment
    on Apr 11, 2022
  3. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Apr 11, 2022
  4. melvin-bot commented on Apr 11, 2022

    @melvin-bot

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

  5. changed the title [-] when sharing an image the thumbnail resizes 3 times [/-] [+]Uploading an image causes the thumbnail to resize 3 times [/+] on Apr 11, 2022
  6. melvin-bot commented on Apr 11, 2022

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (Exported)

  7. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Apr 11, 2022
  8. 116 remaining items

  9. melvin-bot commented on Jun 9, 2022

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.74-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-16. 🎊

  10. changed the title [-][HOLD for payment 2022-06-15] [$500] Uploading an image causes the thumbnail to resize 3 times [/-] [+][HOLD for payment 2022-06-16] [HOLD for payment 2022-06-15] [$500] Uploading an image causes the thumbnail to resize 3 times [/+] on Jun 9, 2022
  11. michaelhaxhiu commented on Jun 16, 2022

    @michaelhaxhiu
    Contributor

    Ok so payment is due today. I'm seeing a regression here and so the payout structure would be:

  12. michaelhaxhiu commented on Jun 16, 2022

    @michaelhaxhiu
    Contributor

    Awaiting confirmation from Chirag for this, as I'm alittle unsure about this regression 👆

  13. chiragsalian commented on Jun 16, 2022

    @chiragsalian
    Contributor

    I don't feel a penalty for this regression is required for C+ because the PR was testing thumbnail loading and not really the attachment modal. So QA finding a regression with attachment modal would have been very hard to catch in the normal PR and hence i don't feel there should be a penalty for the C+.
    (P.S i also tested the PR on different devices and would not have thought to test the attachment modal the way QA did)

  14. michaelhaxhiu commented on Jun 16, 2022

    @michaelhaxhiu
    Contributor

    Got it, so it seems you are saying this was out of scope of C+ responsibility.

    Did we make the necessary changes to our process to ensure we don't miss this testing step again?

  15. chiragsalian commented on Jun 16, 2022

    @chiragsalian
    Contributor

    I feel like the issue caught by QA was out of the scope of the C+ responsibility since its quite the edge case.

    Also technically even QA tested and cleared the PR without realizing any issue with it and later found the regression issue. Most likely from their checklist of complete app testing steps.

    Did we make the necessary changes to our process to ensure we don't miss this testing step again?

    I'm not sure what can be done differently other than expecting our C+ to do the same regression testing as QA but this list is huge and not worth it for the C+ to go over so im unsure. Maybe we can recommend people to test a bit more beyond the PR's expectation. Not sure but thats a discussion for slack.

  16. michaelhaxhiu commented on Jun 16, 2022

    @michaelhaxhiu
    Contributor

    Got it! Thanks for the context.

    In that case, it seems like the feedback is for QA so they don't miss it next time. Sometimes our regressions are QAs fault, I think that's going to happen from time to time!

  17. michaelhaxhiu commented on Jun 16, 2022

    @michaelhaxhiu
    Contributor

    @allroundexperts is paid.

    @Santhosh-Sellavel can you apply for this upwork job? the OG link expired

  18. Santhosh-Sellavel commented on Jun 17, 2022

    @Santhosh-Sellavel
    Collaborator

    @michaelhaxhiu Applied for the job!

  19. michaelhaxhiu commented on Jun 17, 2022

    @michaelhaxhiu
    Contributor

    All are paid.

  20. allroundexperts commented on Oct 11, 2022

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions