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

[$500] [MEDIUM] Scan Receipt - After edit a request while scanning, red dot disappears, scanning resumes #36930

Closed
6 tasks
lanitochka17 opened this issue Feb 20, 2024 · 15 comments
Assignees
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 20, 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: 1.4.43.0
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/4327869
Email or phone of affected tester (no customers): stela.utest+29@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

Precondition: There is workspace set up with 1 employee

  1. Log in in the app as employee
  2. Start the request money flow > "Scan" receipt as the employee
  3. Upload a blurry receipt
  4. Complete the money request flow
  5. While the receipt is scanning - navigate to the request conversation
  6. Click on the three dot overflow menu
  7. Manually edit the merchant field
  8. Leave the amount field showing an error
  9. Navigate to the report conversation

Expected Result:

“Scan in progress” message is no longer displayed, a red dot appears in the preview, in the LHN, the workspace chat has a red dot in LHN

Actual Result:

After edit a request while the receipt is scanning, when navigating back to the workspace chat, the red dot disappears and scanning resumes

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

Add any screenshot/video evidence

Bug6385924_1708448581885.keepsscanning.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0197730d9217c1aabc
  • Upwork Job ID: 1759995216592060416
  • Last Price Increase: 2024-02-20
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 20, 2024
@melvin-bot melvin-bot bot changed the title Scan Receipt - After edit a request while scanning, red dot disappears, scanning resumes [$500] Scan Receipt - After edit a request while scanning, red dot disappears, scanning resumes Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0197730d9217c1aabc

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 20, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 20, 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.

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @hayata-suenaga (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

Production:

Bug6385924_1708448581868.prod.mp4

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave5
CC @dylanexpensify

@hayata-suenaga
Copy link
Contributor

asking here
and here

@greg-schroeder greg-schroeder changed the title [$500] Scan Receipt - After edit a request while scanning, red dot disappears, scanning resumes [$500] [MEDIUM] Scan Receipt - After edit a request while scanning, red dot disappears, scanning resumes Feb 20, 2024
@hayata-suenaga
Copy link
Contributor

hayata-suenaga commented Feb 20, 2024

const isScanning = hasReceipt && TransactionUtils.isReceiptBeingScanned(transaction);

function isReceiptBeingScanned(transaction: OnyxEntry<Transaction>): boolean {

@hayata-suenaga
Copy link
Contributor

For the deployer:

I'm having a little bit of trouble figuring out the root cause of this regression. I'm asking for help in this thread.

@hayata-suenaga
Copy link
Contributor

we can figure this out with contributors first to make sure that the error is coming from the backend

and then we can have wider discussion on what has recently been changed. I already brought the discussion to the Wave 6 Slack channel that is handling the Smart Scan.

By the way, this regression doesn't prevent the user from using the app. I'll remove the deploy blocker and change the priority to daily 🙇

@hayata-suenaga hayata-suenaga added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 21, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 23, 2024
@hayata-suenaga
Copy link
Contributor

bumping in the slack

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 23, 2024
@jacobkim9881
Copy link
Contributor

I can not reproduce it.

@hayata-suenaga
Copy link
Contributor

hayata-suenaga commented Feb 26, 2024

@melvin-bot melvin-bot bot removed the Overdue label Feb 26, 2024
@kbecciv
Copy link

kbecciv commented Feb 26, 2024

Issue is no longer reproducible

github.mp4

@hayata-suenaga
Copy link
Contributor

The QA team confirmed that the issue is no longer reproducible. Closing this issue 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
No open projects
Development

No branches or pull requests

5 participants