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

[HOLD for Payment 2024-09-26][$250] [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list #49091

Closed
6 tasks done
IuliiaHerets opened this issue Sep 12, 2024 · 20 comments
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

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 12, 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: 9.0.33-1
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Issue was found when executing this PR: #48275
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • User B has only one workspace.
  1. Go to staging.new.expensify.com
  2. {User A] Send an invoice to User B.
  3. [User B] Pay the invoice using Pay as a business option.
  4. [User A] Go offline.
  5. [User A] Send another invoice to User B in the same invoice room.
  6. [User B] Delete the workspace.
  7. [User A] Go online.
  8. [User A] Click on the invoice preview that has RBR.
  9. [User A] Go to Search > Chats.
  10. [User A] Click Filters.
  11. [User A] Click In.

Expected Result:

The invoice report with error should not have RBR next to the checkbox in "In" list.

Actual Result:

The invoice report with error has RBR next to the checkbox in "In" list.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6601030_1726147500150.20240912_212055.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021834357041213588001
  • Upwork Job ID: 1834357041213588001
  • Last Price Increase: 2024-09-12
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @stephanieelliott
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

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

Copy link

melvin-bot bot commented Sep 12, 2024

Triggered auto assignment to @stephanieelliott (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.

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

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-control

@luacmartins luacmartins changed the title Search - Chats - Report with error shows RBR next to checkbox in "In" list [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list Sep 12, 2024
@luacmartins
Copy link
Contributor

I can take this one since it's part of Search

@luacmartins
Copy link
Contributor

@Kicu @289Adam289 if you're interested in working on a fix

@luacmartins
Copy link
Contributor

I'm gonna demote this to NAB since it's a small issue

@luacmartins luacmartins added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Sep 12, 2024
@dominictb
Copy link
Contributor

Proposal

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

  • The invoice report with error has RBR next to the checkbox in "In" list.

What is the root cause of that problem?

  • The option data can have brickRoadIndicator because of:

    result.brickRoadIndicator = !isEmptyObject(result.allReportErrors) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '';

  • Then in BaseListItem component, we display danger icon if brickRoadIndicator is true:

    {!item.isSelected && !!item.brickRoadIndicator && (
    <View style={[styles.alignItemsCenter, styles.justifyContentCenter]}>
    <Icon
    src={Expensicons.DotIndicator}
    fill={item.brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.INFO ? theme.iconSuccessFill : theme.danger}

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

                    {!item.isSelected && !!item.brickRoadIndicator && shouldDisplayRBR && (

What alternative solutions did you explore? (Optional)

@luacmartins
Copy link
Contributor

@dominictb you're proposal looks good

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

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

@melvin-bot melvin-bot bot changed the title [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list [$250] [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list Sep 12, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

Current assignee @rayane-djouah is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Sep 14, 2024
@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 19, 2024
@luacmartins luacmartins moved this from Polish to Done in [#whatsnext] #expense Sep 19, 2024
@rayane-djouah
Copy link
Contributor

Note

The production deploy automation failed: This should be on [HOLD for Payment 2024-09-26] according to #49427 production deploy checklist, confirmed in #49199 (comment)

cc @stephanieelliott

@luacmartins luacmartins changed the title [$250] [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list [HOLD for Payment 2024-09-26][$250] [Search v2.2] - Chats - Report with error shows RBR next to checkbox in "In" list Sep 24, 2024
@luacmartins luacmartins added Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 and removed Reviewing Has a PR in review Weekly KSv2 labels Sep 24, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2024
Copy link

melvin-bot bot commented Sep 27, 2024

@luacmartins, @stephanieelliott, @rayane-djouah, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@dominictb
Copy link
Contributor

@strepanier03 Good to pay.

@stephanieelliott
Copy link
Contributor

Summarizing payment on this issue:

Upwork job is here: https://www.upwork.com/jobs/~021834357041213588001

@melvin-bot melvin-bot bot removed the Overdue label Sep 30, 2024
@dominictb
Copy link
Contributor

@stephanieelliott Accepted

@rayane-djouah
Copy link
Contributor

@stephanieelliott - Accepted!

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Daily KSv2 labels Sep 30, 2024
@rayane-djouah
Copy link
Contributor

@stephanieelliott kind reminder

Copy link

melvin-bot bot commented Oct 3, 2024

@luacmartins, @stephanieelliott, @rayane-djouah, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@stephanieelliott
Copy link
Contributor

All paid, thank you!

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
Archived in project
Development

No branches or pull requests

6 participants