Skip to content

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

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
1 of 6 tasks
isagoico opened this issue Aug 8, 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. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@isagoico
Copy link

isagoico commented Aug 8, 2024

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.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
@isagoico isagoico added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 8, 2024
Copy link

melvin-bot bot commented Aug 8, 2024

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.

@dominictb
Copy link
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.

@trjExpensify
Copy link
Contributor

CC: @pecanoro @kubabutkiewicz for vis!

@trjExpensify trjExpensify moved this to Polish in #expensify-bugs Aug 9, 2024
@trjExpensify trjExpensify added the External Added to denote the issue can be worked on by a contributor label Aug 9, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

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

@melvin-bot melvin-bot bot changed the title Duplicate Review - Description selector is not displayed when reviewing duplicates [$250] Duplicate Review - Description selector is not displayed when reviewing duplicates Aug 9, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 9, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

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

@JmillsExpensify
Copy link

@c3024 thoughts on the proposals so far?

@c3024
Copy link
Contributor

c3024 commented Aug 9, 2024

@dominictb 's proposal here looks good!

🎀 👀 🎀 C+ Reviewed

Copy link

melvin-bot bot commented Aug 9, 2024

Triggered auto assignment to @nkuoch, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@JmillsExpensify
Copy link

@nkuoch Thoughts on @dominictb's proposal?

@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

@nkuoch, @slafortune, @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@slafortune
Copy link
Contributor

Adding BZ again - I'll be out until 8/21

@slafortune slafortune removed the Bug Something is broken. Auto assigns a BugZero manager. label Aug 13, 2024
@slafortune slafortune removed their assignment Aug 13, 2024
@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@slafortune slafortune added the Bug Something is broken. Auto assigns a BugZero manager. label Aug 13, 2024
Copy link

melvin-bot bot commented Aug 13, 2024

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

@slafortune slafortune self-assigned this Aug 13, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 14, 2024
Copy link

melvin-bot bot commented Aug 14, 2024

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

Offer link
Upwork job

Copy link

melvin-bot bot commented Aug 14, 2024

📣 @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 📖

@dominictb
Copy link
Contributor

PR #47513 is ready

@alexpensify
Copy link
Contributor

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

@slafortune slafortune 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 Aug 23, 2024
@mallenexpensify mallenexpensify added the Awaiting Payment Auto-added when associated PR is deployed to production label Aug 23, 2024
@slafortune
Copy link
Contributor

slafortune commented Aug 27, 2024

@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:

@slafortune
Copy link
Contributor

@dominictb - Paid

@c3024
Copy link
Contributor

c3024 commented Aug 29, 2024

  • [@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

@slafortune
Copy link
Contributor

@c3024 Paid

@github-project-automation github-project-automation bot moved this from Polish to Done in #expensify-bugs Aug 30, 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. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
Archived in project
Development

No branches or pull requests

9 participants