-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Implement core "Duplicate report" action logic. #83896
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
Merged
Valforte
merged 37 commits into
Expensify:main
from
Krishna2323:krishna2323/issue/82153
Mar 20, 2026
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
48f6c11
Implement core "Duplicate report" action logic.
Krishna2323 ae47408
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 c280547
Implement duplicate report action with proper transaction routing
Krishna2323 7bafa0f
fix ESLint.
Krishna2323 5a45141
Fix duplicate report preview, remove navigation, and suppress multipl…
Krishna2323 bdd2c7d
Rename DUPLICATE to DUPLICATE_EXPENSE and add duplicate report UI fee…
Krishna2323 e2eebe2
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 5715b18
Return iouReport from createDistanceRequest and submitPerDiemExpense …
Krishna2323 67c0c1d
address codex review.
Krishna2323 596552b
add more tests.
Krishna2323 3c85160
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 9fa3dce
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 b2a8595
fix tests.
Krishna2323 58e368e
Merge branch 'Expensify:main' into krishna2323/issue/82153
Krishna2323 2713647
fix split distance transaction case.
Krishna2323 213517b
minor fix.
Krishna2323 80a7aa7
add more tests.
Krishna2323 4d21ec2
fix: pass existingIOUReport through distance and per-diem expense cre…
Krishna2323 aaf3f2a
Merge branch 'Expensify:main' into krishna2323/issue/82153
Krishna2323 972a418
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 f6a99b2
fix prettier.
Krishna2323 efc1b0d
refactor: extract shared helpers from duplicateExpenseTransaction and…
Krishna2323 649b74b
fix: ensure positive amounts and clear stale currency fields when dup…
Krishna2323 88923cd
fix: add eligibility guards and hide duplicate report when no target …
Krishna2323 98a482f
fix: defer duplicate report action to prevent popover menu from closi…
Krishna2323 a240a75
fix: correct cross-workspace detection and update test for missing ta…
Krishna2323 1a1a67a
fix: pass parentChatReport from UI and align report duplication with …
Krishna2323 af7e206
update translations.
Krishna2323 1fcc680
Merge remote-tracking branch 'origin/main' into krishna2323/issue/82153
Krishna2323 a778643
Merge remote-tracking branch 'upstream/main' into krishna2323/issue/8…
Krishna2323 7681dd2
Merge branch 'main' into krishna2323/issue/82153
Krishna2323 38cb70a
Merge branch 'Expensify:main' into krishna2323/issue/82153
Krishna2323 f9d54ba
Close popover after duplicate report animation completes
Krishna2323 b191499
Fix popover auto-closing on reopen after duplicate report action
Krishna2323 5e049e5
Use source report's workspace for duplicate report instead of default
Krishna2323 9611b6b
pass sourceReport from UI
Krishna2323 6485987
fix tests.
Krishna2323 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we need to clean up this effect? Otherwise, we have this issue
Screen.Recording.2026-03-18.at.13.29.37.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.