Skip to content

[HOLD FOR PAYMENT 8-27-2024] [$250] Duplicate Review - Description selector is not displayed when reviewing duplicates #47120

Description

@isagoico

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: v9.0.18-6
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/3106469

Issue reported by: Applause - Internal team
Slack conversation: N/A

Action Performed:

  1. Navigate to a workspace chat
  2. Create 2 duplicate expenses each with a different description
  3. Navigate to one of the duplicates
  4. Click on Review Duplicate
  5. Click on "keep this one" on any

Expected Result:

The description selector should display for the user to select which description to keep

Actual Result:

Final confirmation is displayed in the review duplicates flow

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

duplicate.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0179eedf51d4e3a1bd
  • Upwork Job ID: 1821950383873413098
  • Last Price Increase: 2024-08-09
  • Automatic offers:
    • c3024 | Reviewer | 103528468
    • dominictb | Contributor | 103528469
Issue OwnerCurrent Issue Owner: @nkuoch

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 8, 2024
  2. melvin-bot commented on Aug 8, 2024

    @melvin-bot

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

  3. dominictb commented on Aug 9, 2024

    @dominictb
    Contributor

    Proposal

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

    Final confirmation is displayed in the review duplicates flow

    What is the root cause of that problem?

    We don't not add the description field to change if the description is not empty:

    if (allCommentsAreEqual || allCommentsExist || allCommentsAreEmpty) {

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

    We can remove allCommentsExist.

  4. trjExpensify commented on Aug 9, 2024

    @trjExpensify
    Contributor
  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Aug 9, 2024
  6. melvin-bot commented on Aug 9, 2024

    @melvin-bot
  7. changed the title [-]Duplicate Review - Description selector is not displayed when reviewing duplicates[/-] [+][$250] Duplicate Review - Description selector is not displayed when reviewing duplicates[/+] on Aug 9, 2024
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Aug 9, 2024
  9. melvin-bot commented on Aug 9, 2024

    @melvin-bot

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

  10. JmillsExpensify commented on Aug 9, 2024

    @JmillsExpensify
    Contributor

    @c3024 thoughts on the proposals so far?

  11. 17 remaining items

  12. melvin-bot commented on Aug 14, 2024

    @melvin-bot

    📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job
    Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
    Keep in mind: Code of Conduct | Contributing 📖

  13. dominictb commented on Aug 15, 2024

    @dominictb
    Contributor

    PR #47513 is ready

  14. alexpensify commented on Aug 22, 2024

    @alexpensify
    Contributor

    This was merged two days ago, waiting for automation here.

  15. changed the title [-][$250] Duplicate Review - Description selector is not displayed when reviewing duplicates[/-] [+][HOLD FOR PAYMENT 8-27-2024] [$250] Duplicate Review - Description selector is not displayed when reviewing duplicates[/+] on Aug 23, 2024
  16. slafortune commented on Aug 27, 2024

    @slafortune
    Contributor

    @c3024 can you please complete the checklist?
    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:

    • [@c3024 ] The PR that introduced the bug has been identified. Link to the PR:
    • [@c3024 ] 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:
    • [@c3024 ] 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:
    • [@c3024 ] Determine if we should create a regression test for this bug.
    • [@c3024 ] 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.
    • [@slafortune ] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  17. slafortune commented on Aug 27, 2024

    @slafortune
    Contributor
  18. c3024 commented on Aug 29, 2024

    @c3024
    Contributor
    • [@c3024 ] The PR that introduced the bug has been identified. Link to the PR: Feat/Dupe detection review fields #42503
    • [@c3024 ] 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: 6de32f9#r146001502
    • [@c3024 ] 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: No discussion was started because this could not have been identified earlier.
    • [@c3024 ] Determine if we should create a regression test for this bug. Yes
    • [@c3024 ] 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. Navigate to a workspace chat
    2. Create 2 duplicate expenses with all fields except description as same for the expenses
    3. Navigate to one of the duplicates
    4. Click on Review Duplicate
    5. Click on "Keep this one" on one of the expenses
    6. The description selector should display for the user to select which description to retain
  19. slafortune commented on Aug 30, 2024

    @slafortune
    Contributor
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 productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions