-
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
[$250] Dupe detection - "Keep this one" button appears when there is a paid expense #48366
Comments
Triggered auto assignment to @marcochavezf ( |
Triggered auto assignment to @VictoriaExpensify ( |
👋 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:
|
Dupe detection is under beta |
Job added to Upwork: https://www.upwork.com/jobs/~01647e38725804bb80 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
@marcochavezf Could you please update the actual result and expected result? They are same. |
Edited by proposal-police: This proposal was edited at 2024-08-30 22:12:14 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Dupe detection - "Keep this one" button appears when there is a paid expense What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
const shouldShowKeepButton = !!(allDuplicates.length && allDuplicates.length === duplicates.length);
// OR
const shouldShowKeepButton = !!(allDuplicates.length && duplicates.length && allDuplicates.length === duplicates.length); What alternative solutions did you explore? (Optional)
Result |
Proposal Updated
|
Each transaction seems to have its own IMO we should proceed with the primary solution suggested by @Krishna2323. 🎀 👀 🎀 C+ Reviewed |
Current assignee @marcochavezf is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue."Keep this one" button appears for all expenses in Review duplicates flow when there is a paid expense. What is the root cause of that problem?
With (1), we are using: App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 136 in 6659109
With (2), we are using:
hence the "Keep this one" button appear in case of B and C. What changes do you think we should make in order to solve the problem?
<DuplicateTransactionsList hasSettledOrApprovedTransaction={hasSettledOrApprovedTransaction} transactions={transactions} />
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 447 in 6659109
will be: {isReviewDuplicateTransactionPage && !isSettled && !isApproved && !hasSettledOrApprovedTransaction && ( What alternative solutions did you explore? (Optional) |
@marcochavezf, friendly bump for assignment if you agree with the C+ decision here. |
@c3024 Can you check my comment? cc @marcochavezf |
@marcochavezf, @VictoriaExpensify, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Hey guys, thanks for the patience here. I agree with @c3024's decision, assigning @Krishna2323 🚀 @dominictb thanks for bringing this up, if we find out that we'd need to include part of your proposal in the final PR, we can make a partial payment :) |
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@c3024, PR ready for review ^ |
Bump @c3024 - can you please review @Krishna2323 PR? |
I already reviewed the PR. It was merged and deployed to staging 5 days ago. |
@VictoriaExpensify, PR is merged and deployed to staging 5 days ago :) |
PR deployed to production on 11-Sep. Automation failed here and on the PR. I think this should be on HOLD for payment till 18-Sep or 19-Sep. |
@VictoriaExpensify, gentle bump for payment. Automation failed here. |
@VictoriaExpensify, friendly bump for payment 🫠 |
Regression test proposal
|
Contributor: @Krishna2323 paid $250 via Upwork Test case created, thx @c3024 and @Krishna2323 |
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.27-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
**Issue reported by:**Applause Internal Team
Action Performed:
Expected Result:
"Keep this one" button should not appear for all expenses in Review duplicates flow when there is a paid expense.
Actual Result:
"Keep this one" button appears for all expenses in Review duplicates flow when there is a paid expense.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6588098_1725045313385.20240831_025446.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: