Skip to content

Expense - scan failure receipt not display red dot in the request preview #59899

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

Closed
5 of 8 tasks
mitarachim opened this issue Apr 9, 2025 · 25 comments
Closed
5 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@mitarachim
Copy link

mitarachim commented Apr 9, 2025

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v9.1.25-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5903593
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: iPhone 16 pro/ 18.3.2
App Component: Money Requests

Action Performed:

  1. Open app
  2. Go to any workspace chat
  3. Create an expense with scan a failure receipt
  4. Wait scanning completed

Expected Result:

There's a red dot in the request preview

Actual Result:

There isn't red dot in the request preview

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6796921_1744188634733.Qjsu1110_1_.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @youssef-lr
@mitarachim mitarachim added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlocker Indicates it should block deploying the API DeployBlockerCash This issue or pull request should block deployment labels Apr 9, 2025
Copy link

melvin-bot bot commented Apr 9, 2025

Triggered auto assignment to @sonialiap (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 9, 2025

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

Copy link

melvin-bot bot commented Apr 9, 2025

💬 A slack conversation has been started in #expensify-open-source

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

github-actions bot commented Apr 9, 2025

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

@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label Apr 9, 2025
@nkdengineer
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

There isn't red dot in the request preview

What is the root cause of that problem?

The RBR is removed here unexpectedly

What changes do you think we should make in order to solve the problem?

We should add this back here

{shouldShowRBR && (
    <Icon
        src={Expensicons.DotIndicator}
        fill={theme.danger}
    />
)}

{!shouldShowRBR && shouldPromptUserToAddBankAccount && (

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

None

What alternative solutions did you explore? (Optional)

NA

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Copy link

melvin-bot bot commented Apr 9, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Apr 9, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Apr 9, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Apr 9, 2025
Copy link

melvin-bot bot commented Apr 9, 2025

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 11, 2025
@melvin-bot melvin-bot bot changed the title Expense - scan failure receipt not display red dot in the request preview [Due for payment 2025-04-18] Expense - scan failure receipt not display red dot in the request preview Apr 11, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 11, 2025
Copy link

melvin-bot bot commented Apr 11, 2025

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

Copy link

melvin-bot bot commented Apr 11, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.26-10 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 2025-04-18. 🎊

Copy link

melvin-bot bot commented Apr 11, 2025

@youssef-lr @sonialiap @youssef-lr The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@SzymczakJ
Copy link
Contributor

@luacmartins I noticed there is an report preview inconsistency between old state of the app, where we show RBR dot and our new approach.
Previously we would show RBR when there were any type of violations(because we were using hasViolations, hasNoticeTypeViolations and hasWarningTypeViolations) right now we use only hasViolations wchich results in that we don't show review, when for example we have dupes detected.
I want to confirm, if we need to add hasNoticeTypeViolations and hasWarningTypeViolations to violations check everywhere in report preview utils. That would result in showing "Review" on bulked expenses preview even though only one of these exepnses has violations and we can submit in the header.

Screen.Recording.2025-04-11.at.11.44.28.mov

For reference this is the current behaviour, we don't show the "Review", when the violation is of a warning type.

Screen.Recording.2025-04-11.at.11.48.47.mov

@luacmartins
Copy link
Contributor

@SzymczakJ yes, let's update it to also include hasNoticeTypeViolations and hasWarningTypeViolations. That being said, we shouldn't display the review button if the violation has been resolved, e.g. duplicates.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Apr 15, 2025
@jnowakow
Copy link
Contributor

@luacmartins in case of scan violations we should show "Review" or "View" and RBR?

Image

@luacmartins
Copy link
Contributor

Review

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 17, 2025
Copy link

melvin-bot bot commented Apr 18, 2025

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@sonialiap
Copy link
Contributor

@luacmartins Looks like this hasn't been resolved yet, correct?

@luacmartins luacmartins changed the title [Due for payment 2025-04-18] Expense - scan failure receipt not display red dot in the request preview Expense - scan failure receipt not display red dot in the request preview Apr 18, 2025
@luacmartins
Copy link
Contributor

luacmartins commented Apr 18, 2025

No, it hasn't. I updated the title/labels to reflect that.

@luacmartins luacmartins removed the Awaiting Payment Auto-added when associated PR is deployed to production label Apr 18, 2025
Copy link

melvin-bot bot commented Apr 28, 2025

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

Copy link

melvin-bot bot commented Apr 30, 2025

@youssef-lr Still overdue 6 days?! Let's take care of this!

Copy link

melvin-bot bot commented May 2, 2025

@youssef-lr 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@jnowakow
Copy link
Contributor

jnowakow commented May 5, 2025

@luacmartins actually this issue was already resolved by @borys3kk or me in one of follow-ups. This is behaviour from current main:

Image

@luacmartins
Copy link
Contributor

Nice! Let's close this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants