-
Notifications
You must be signed in to change notification settings - Fork 3k
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] All - Approvers - Resolve Duplicates - No system message after merging duplicate expenses #54516
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Edited by proposal-police: This proposal was edited at 2025-01-05 01:25:59 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.All - Approvers - Resolve Duplicates - No system message after merging duplicate expenses What is the root cause of that problem?In this issue, we use the mergeDuplicates function to merge resolve duplicates. However, we have not implemented a system message to merge duplicate expenses. Line 8544 in 918488a
What changes do you think we should make in order to solve the problem?We can use the Lines 8799 to 8803 in 918488a
Example: const transactionThreadReportID = params.reportID ? getIOUActionForTransactions([params.transactionID], params.reportID).at(0)?.childReportID : undefined;
const optimisticReportAction = ReportUtils.buildOptimisticDismissedViolationReportAction({
reason: 'manual',
violationName: CONST.VIOLATIONS.DUPLICATED_TRANSACTION,
});
const optimisticReportActionData: OnyxUpdate = {
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${transactionThreadReportID}`,
value: {
[optimisticReportAction.reportActionID]: optimisticReportAction,
},
};
.....
parameters = {
...params,
dismissedViolationReportActionID: optimisticReportAction.reportActionID,
} Additionally, we need backend support is for a new parameter POChttps://github.com/user-attachments/assets/66d74dc2-6153-4e66-b969-6f4a6dbb03a4What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can write IOUTest for What alternative solutions did you explore? (Optional)N/A |
@laurenreidexpensify Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~021873696879344029076 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
@getusha have you had a chance to review proposal? thanks! |
@laurenreidexpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Reviewing |
Proposal updated: Requires backend support |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Looks like this is a new future. @linhvovan29546's proposal looks good to me. 🎀 👀 🎀 C+ Reviewed. |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@youssef-lr @laurenreidexpensify @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@youssef-lr bump thanks |
@youssef-lr bump thanks! |
@linhvovan29546 ah I see. In this case yeah we need a backend PR fixing this. @laurenreidexpensify I'm unable to work on this at the moment so I think we need to find a volunteer. I'm finishing my workload to go OOO. |
@garrettmknight @dylanexpensify just a heads up we need a volunteer for this one - would we consider this a hot pick? |
Yeah, sounds like it @laurenreidexpensify! |
@deetergp I wonder if this will be touched by the project you're working on now? |
@dylanexpensify It might… Are we expecting this system message because it is a message that we get in OldDot that we are not getting in NewDot? |
Hi @deetergp this #54516 (comment) might help clarify things for you |
@deetergp any ideas ^^? |
@laurenreidexpensify @dylanexpensify This is not one that will be covered by my project — I believe it would be a brand new system message. |
We need an internal PR to fix this, so removing external. Dylan has been posting in #expense for visibility |
@laurenreidexpensify, @getusha, @linhvovan29546 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@laurenreidexpensify, @getusha, @linhvovan29546 Eep! 4 days overdue now. Issues have feelings too... |
Still waiting for an internal engineer to pick up |
Still waiting on internal pick up |
bumping this in today's weekly update |
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: 9.0.78-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5369780
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: MacOS 14.7.1 / Safari, Chrome, Desktop. iPhone 15 pro / 18.2, Pixel 5 / Android 14
App Component: Chat Report View
Action Performed:
Precondition:
Steps:
Expected Result:
Verify a system message is added that reads: “resolved the duplicate”
Actual Result:
No system message “resolved the duplicate” added after merging duplicate expenses
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6701675_1735025357613.iOS-resolve-dupes-merge-no-system-message-after-merge.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @youssef-lrThe text was updated successfully, but these errors were encountered: