-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-06-20] [HOLD for payment 2024-06-18] [$500][Dupe Detection] Surfacing Potential Duplicates #32607
Comments
@pecanoro, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
@MelvinBot Well Melvin, we are prioritizing this again, so reopening! |
Triggered auto assignment to @MitchExpensify ( |
Will this ultimately be internal or external @pecanoro ? |
@MitchExpensify Ideally external, but I am trying to wrap up the back-end first. |
Job added to Upwork: https://www.upwork.com/jobs/~016dc734e5d5fc1a3f |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-06-20. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
Reminder set to pay, do we need BZ steps here @akinwale ? |
@MitchExpensify Yes, we do. I'll post them shortly. Also, please note the PR was initially deployed to production 2024-06-11, so the correct payment due date should be 2024-06-18. |
Regression Test Steps
Do we agree 👍 or 👎? |
@MitchExpensify Ready for payment 👍 |
Paid and contracts ended! |
Part of the project
Main issue: https://github.com/Expensify/Expensify/issues/307591
Doc section: Surfacing Potential Duplicates
Project: [Wave: Collect Approvers] Dupe Detection
UI
Feature Description
Update the comment type here since this can be a single string or a full array containing different transactions NVPs. In this case, it looks like this:
The HOLD doc implemented the logic to display the HOLD notification for each expense. You can see the details here. However, we need to make the following changes to update the HOLD notification in case it is duplicated.
Add a new function called
TransactionUtils.isDuplicate(transactionID, checkDismissed)
that will check if there is an existing duplicate violation for the given transactionID and has been dismissed:Listen to the transactionViolations_* Onyx key. Remember the key looks like this:
Check if the duplicatedTransaction key is set in the above Onyx key for the transaction and return true only if the following condition is not met:
Add a new condition to
ReportUtils.isOnHold
to see if the transaction is a duplicate by calling TransactionUtils.isDuplicate(transactionID, true).In
components/ReportActionItem/MoneyRequestView.js
in the View for the HOLD banner:Check if the transaction has any duplicates by checking the corresponding Onyx key transactionViolations_*. If so, replace the
props.translate('iou.requestOnHold')
forprops.translate('iou.requestDuplicate')
that contains the message defined in the screenshot at the beginning of the issue (asked me for the Spanish translations).If there are duplicates, add a new
<Button>
to review duplicates. Don't navigate anywhere for now but eventually it will do the following:Navigate the user to the route for a new page ReviewDuplicate
Pass the threadReportID of the transaction in the route to the new page.
Manual Test Steps
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @MitchExpensifyThe text was updated successfully, but these errors were encountered: