Fix duplicate indicator on paid reports and error when bulk-duplicating non-reimbursable expenses#88442
Conversation
…ng non-reimbursable expenses Signed-off-by: krishna2323 <belivethatkg@gmail.com>
… behavioral impact Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@codex review |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
Codex Review: Didn't find any major issues. Swish! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
…separate PR Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0ae3e2b873
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
Code Review The changes look correct. A few notes: Split logic in
One minor nit: The blank line added in No blocking issues found. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
#88257 is sill reproducible Screen.Recording.2026-04-22.at.7.39.38.PM.mov |
Don't forget this when try to reproduce. Issue is not reproducible for reimbursable expenses. |
|
payload:
response:
@JS00001 can you please check in backend why this request failed? |
|
This happens if: |
|
ok @Krishna2323 I think the new duplicated expense is still being added to the existing report instead of new one. |
…actly Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@codex review |
|
@situchan issue fixed |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f89d22c7d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <<<<<<< krishna2323/issue/84281-followups-2 | ||
| import {isInstantSubmitEnabled, isSubmitAndClose} from '@libs/PolicyUtils'; | ||
| ======= | ||
| import {isPolicyAccessible} from '@libs/PolicyUtils'; | ||
| >>>>>>> main |
There was a problem hiding this comment.
Remove unresolved merge-conflict markers
The import block still contains raw conflict markers (<<<<<<<, =======, >>>>>>>), which makes this file invalid TypeScript and will fail parsing in lint/build/test pipelines immediately. This is a release-blocking regression because any environment that compiles src/libs/actions/IOU/Duplicate.ts cannot run.
Useful? React with 👍 / 👎.
| import {getExistingTransactionID} from '@libs/IOUUtils'; | ||
| import * as NumberUtils from '@libs/NumberUtils'; | ||
| import Parser from '@libs/Parser'; | ||
| <<<<<<< krishna2323/issue/84281-followups-2 |
Made-with: Cursor
5f89d22 to
b865982
Compare


Explanation of Change
Fixed Issues
$ #88257
$ #88300
PROPOSAL:
Tests
Test 1
Precondition:
Test 2
Offline tests
QA Steps
Same as tests
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Monosnap.screencast.2026-04-22.00-53-40.mp4
Monosnap.screencast.2026-04-22.01-09-01.mp4