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-07-22] [HOLD for payment 2024-07-17] [Dupe Detection] Merge Duplicates - Review Fields Page #39808

Closed
pecanoro opened this issue Apr 8, 2024 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering NewFeature Something to build that is a new item.

Comments

@pecanoro
Copy link
Contributor

pecanoro commented Apr 8, 2024

Part of the project

Main issue: https://github.com/Expensify/Expensify/issues/307591
Doc section: Surfacing Potential Duplicates
Project: [Wave: Collect Approvers] Dupe Detection

Part of a series of issues:

Feature Description

Context for ReviewDuplicates

  • Review page - /r/:threadReportID/duplicates/review
  • Merchant - /r/:threadReportID/duplicates/review/merchant
  • Category - /r/:threadReportID/duplicates/review/category
  • Tag - /r/:threadReportID/duplicates/review/tag
  • Description - /r/:threadReportID/duplicates/review/description
  • Confirm page - /r/:threadReportID/duplicates/confirm

image

All of these screens will exist in their own navigator so they can be pushed (and later popped off once complete) as a group.

All of this will use an Onyx form key of ONYXKEYS.FORMS.REVIEW_DUPLICATES_FORM so we can store the data selected by the user so far when resolving the duplicates. It also lets us keep track of which transaction to keep and which ones are duplicates when the user clicks on Keep this one.

This key will follow a structure like this:

{
  "review_duplicates_form_<transactionID>": [
    {
        "duplicates": {
<transactionID>: <transactionID>,
	...
  },
        "merchant": "...",
        "tag": ...",
	  "description": ...",
			…
    }
  ]
}

Review Fields Page

It will make use of the new InteractiveStepSubHeader to show the progress in which step we are currently in. As a reminder this component:

  • Receive an array of navigation names, the position will match where it should go when the current step is completed
  • Completed steps will be counted based on the length of the navigation names array

For each of the pages to resolve category, merchant, etc, will have a Title element and a SelectionList element to display the different options.

  • To display the options, we stored the duplicates in ONYXKEYS.FORMS.REVIEW_DUPLICATES_FORM at the beginning of the flow so we can search for the transaction data to display the corresponding fields.
  • onSelectRow we store the selected field in the Onyx key and move to the next field until we have gone through all of them.

Manual Test Steps

TODO

Automated Tests

TODO

Issue OwnerCurrent Issue Owner: @bfitzexpensify
Copy link

melvin-bot bot commented Apr 8, 2024

Copy link

melvin-bot bot commented Apr 8, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

@pecanoro
Copy link
Contributor Author

pecanoro commented Apr 17, 2024

Callstack will be taking this series of tasks

@melvin-bot melvin-bot bot removed the Overdue label Apr 17, 2024
@pecanoro pecanoro changed the title [HOLD][Dupe Detection] Merge Duplicates - Review Fields Page [Dupe Detection] Merge Duplicates - Review Fields Page Apr 17, 2024
@kubabutkiewicz
Copy link
Contributor

Hi, I'm Jakub from Callstack - expert contributor group - and I would like to take a look at this issue.

@kubabutkiewicz
Copy link
Contributor

Hi, just wanted to inform that I will be OOO from 29.04 to 05.05.

@melvin-bot melvin-bot bot added the Overdue label May 6, 2024
@pecanoro
Copy link
Contributor Author

pecanoro commented May 6, 2024

In progress!

@melvin-bot melvin-bot bot removed the Overdue label May 6, 2024
@melvin-bot melvin-bot bot added the Overdue label May 14, 2024
@pecanoro
Copy link
Contributor Author

In progress!

@pecanoro
Copy link
Contributor Author

WIP!

@parasharrajat
Copy link
Member

Yes, It didn't. Thanks

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot changed the title [Dupe Detection] Merge Duplicates - Review Fields Page [HOLD for payment 2024-07-17] [Dupe Detection] Merge Duplicates - Review Fields Page Jul 10, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

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

Copy link

melvin-bot bot commented Jul 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 10, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@parasharrajat] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 15, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-17] [Dupe Detection] Merge Duplicates - Review Fields Page [HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [Dupe Detection] Merge Duplicates - Review Fields Page Jul 15, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 15, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@parasharrajat] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 16, 2024
Copy link

melvin-bot bot commented Jul 22, 2024

Issue is ready for payment but no BZ is assigned. @bfitzexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jul 22, 2024
Copy link

melvin-bot bot commented Jul 22, 2024

Payment Summary

Upwork Job

BugZero Checklist (@bfitzexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@bfitzexpensify
Copy link
Contributor

Payment summary is correct:

@parasharrajat owed $250 via manual request

@melvin-bot melvin-bot bot removed the Overdue label Jul 23, 2024
@pecanoro
Copy link
Contributor Author

@bfitzexpensify When do we close the issue when it's via manual request?

@bfitzexpensify
Copy link
Contributor

Once BZ checklist is complete - or, if we don't need that, then this is ready to close now

@parasharrajat
Copy link
Member

Regression Test Steps

The following steps require you to be in the dupeDetection beta or use a expensifail email.

  1. Create some expanses which are duplicates
  2. Go to one of expenses which are duplicates and click Review duplicates button
  3. Next click on one of the Keep this one button
  4. Now if there are some discrepancies between expenses you should be navigated to screen to review those discrepancies
  5. When there are no discrepancies you wont be navigated further.

Do you agree 👍 or 👎 ?

@bfitzexpensify
Copy link
Contributor

Sounds good to me - proposed those steps be added via https://github.com/Expensify/Expensify/issues/414629.

@github-project-automation github-project-automation bot moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collect Jul 23, 2024
@parasharrajat
Copy link
Member

Payment requested as per #39808 (comment)

@JmillsExpensify
Copy link

$250 approved for @parasharrajat

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 Daily KSv2 Engineering NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Development

No branches or pull requests

6 participants