Skip to content
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

[PAID] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images #40751

Closed
4 of 6 tasks
izarutskaya opened this issue Apr 23, 2024 · 52 comments
Closed
4 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 23, 2024

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.64-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4503776
Email or phone of affected tester (no customers): applausetester+vd_ios042224@applause.expensifail.com,
applausetester+vd_web042224@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Pre-requisite: the user must be an employee of a Workspace.

  1. Go to Workspace chat.
  2. Create 2 money request with the "Scan" option, select any 2 images.
  3. Create a 3rd money request with the "Scan" option, but using a PDF file.
  4. Verify that the report preview image of the PDF file is shown larger than those with image format.

Expected Result:

The preview of the PDF file should be the same as the image formats.

Actual Result:

The preview of the PDF file is larger than the image formats.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6458164_1713831667557!IMG_E4007

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017d201aaa419b0fee
  • Upwork Job ID: 1782700594939478016
  • Last Price Increase: 2024-05-14
  • Automatic offers:
    • jjcoffee | Reviewer | 0
Issue OwnerCurrent Issue Owner: @strepanier03
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @madmax330 (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 23, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@strepanier03 I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@izarutskaya
Copy link
Author

Production

IMG_3226

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Job added to Upwork: https://www.upwork.com/jobs/~017d201aaa419b0fee

@melvin-bot melvin-bot bot changed the title Scan - Scan expense preview created with PDF file is shown larger than with images [$250] Scan - Scan expense preview created with PDF file is shown larger than with images Apr 23, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (External)

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 23, 2024
@mountiny
Copy link
Contributor

Making this external and removing a blocker, this is not blocking users from using the app

@jjcoffee
Copy link
Contributor

@ZhenjaHorbach Thanks, but it seems unlikely given that PR was deployed to production a month ago.

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Apr 23, 2024

@ZhenjaHorbach Thanks, but it seems unlikely given that PR was deployed to production a month ago.

Sorry
I didn't notice the date)

@melvin-bot melvin-bot bot added the Overdue label Apr 25, 2024
@madmax330
Copy link
Contributor

waiting on proposals

@melvin-bot melvin-bot bot removed the Overdue label Apr 26, 2024
@mvtglobally
Copy link

Issue not reproducible during KI retests. (Second week)

@dominictb
Copy link
Contributor

Melvin chill out :) I'm on other high priority issue. Will come back to this issue in maybe 1-2 days.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels May 22, 2024
@jjcoffee
Copy link
Contributor

PR is up! I will be reviewing tomorrow.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 4, 2024
@melvin-bot melvin-bot bot changed the title [Help Wanted] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images [HOLD for payment 2024-06-11] [Help Wanted] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images Jun 4, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 4, 2024
Copy link

melvin-bot bot commented Jun 4, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jun 4, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.78-5 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-06-11. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jun 4, 2024

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:

  • [@jjcoffee] The PR that introduced the bug has been identified. Link to the PR:
  • [@jjcoffee] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@jjcoffee] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@jjcoffee] Determine if we should create a regression test for this bug.
  • [@jjcoffee] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 10, 2024
@strepanier03
Copy link
Contributor

@dominictb - can you link me your upwork profile so I can hire you to the job?

@jjcoffee - Feel free to do the checklist when you can and I'll move this forward then.

Thanks all!

@jjcoffee
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: N/A - I couldn't find any specific point where the behaviour was introduced
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
  • Determine if we should create a regression test for this bug. Yes
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

  1. Create 2 money requests with the "Scan" option, using any image.
  2. Create a 3rd money request with the "Scan" option, but using an A4 PDF file.
  3. Verify that the report preview thumbnails are all of the same size, especially the preview of the PDF file.

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot added the Overdue label Jun 14, 2024
@strepanier03 strepanier03 changed the title [HOLD for payment 2024-06-11] [Help Wanted] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images [HOLD for payment 2024-06-11] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images Jun 14, 2024
@strepanier03
Copy link
Contributor

@dominictb - I've hired you to a job here, I'll check tomorrow to pay it out.

@jjcoffee - I've paid your contract in Upwork and closed it.

Thank you both!

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jun 14, 2024
Copy link

melvin-bot bot commented Jun 17, 2024

@madmax330, @strepanier03, @jjcoffee, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@strepanier03
Copy link
Contributor

Okay, job paid and contract closed. Closing this out thanks all!

@melvin-bot melvin-bot bot removed Overdue labels Jun 19, 2024
@strepanier03 strepanier03 changed the title [HOLD for payment 2024-06-11] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images [PAID] [$250] Scan - Scan expense preview created with PDF file is shown larger than with images Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Archived in project
Development

No branches or pull requests

8 participants