Part of the Manual Expense Merging in NewDot project
Main issue: https://github.com/Expensify/Expensify/issues/496985
Doc section: https://docs.google.com/document/d/1RXJyOVsX2AgKWNViLSxNm3PH2bSnJCuo6K_jcOxUGuo/edit?tab=t.0#bookmark=id.d4udct66dw0x
Project:
Feature Description
Implement the frontend section of the design doc allowing manually merging two expenses from the expense view, report view, and the Reports page.
Manual Test Steps
https://docs.google.com/document/d/1bQM6A13GZsrzsx7H9Q6wmbbf-1cwcu2qBM1HXpWABzw/edit?tab=t.0#heading=h.x1tkdmajx2wc
Automated Tests
- Add tests for making the API call and verifying optimistic data have been set properly. Mock data for
MERGE_TRANSACTION{transactionID} key, mock the API call and then verify:
- Original transaction is updated
- If single expense report, the report was deleted
- Other transaction is deleted
- Violations of original transaction are deleted
- Update test of ReportSecondaryActionUtilsTest by adding test cases of:
- Merging two cash expenses: merge option should show up
- Merging two card expenses: merge option should not show up
- Merging cash/card expenses: merge option should show up
Issue Owner
Current Issue Owner: @alexpensify
Issue Owner
Current Issue Owner: @alexpensify
Part of the Manual Expense Merging in NewDot project
Main issue: https://github.com/Expensify/Expensify/issues/496985
Doc section: https://docs.google.com/document/d/1RXJyOVsX2AgKWNViLSxNm3PH2bSnJCuo6K_jcOxUGuo/edit?tab=t.0#bookmark=id.d4udct66dw0x
Project:
Feature Description
Implement the frontend section of the design doc allowing manually merging two expenses from the expense view, report view, and the Reports page.
Manual Test Steps
https://docs.google.com/document/d/1bQM6A13GZsrzsx7H9Q6wmbbf-1cwcu2qBM1HXpWABzw/edit?tab=t.0#heading=h.x1tkdmajx2wc
Automated Tests
MERGE_TRANSACTION{transactionID}key, mock the API call and then verify:Issue Owner
Current Issue Owner: @alexpensifyIssue Owner
Current Issue Owner: @alexpensify