Conversation
|
@codex review |
|
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a9d7c31de
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9384c944c4
ℹ️ 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".
| } else { | ||
| holdMoneyRequestOnSearch(currentSearchHash, Object.keys(selectedTransactions), comment, allTransactions, allReportActions); | ||
| const transactionIDs = Object.keys(selectedTransactions); | ||
| putTransactionsOnHold(transactionIDs, comment, reportID, ancestors); |
There was a problem hiding this comment.
Use per-item report when bulk-holding search expenses
In the search-wide hold flow (navigateToSearchRHP(ROUTES.TRANSACTION_HOLD_REASON_SEARCH, ...) in src/hooks/useSearchBulkActions.ts), no single parent reportID is guaranteed, but this branch passes one route-level reportID for all selected transactions. putTransactionsOnHold() relies on that reportID to recover each transaction’s existing IOU action/thread; when it is missing or belongs to a different report, it cannot resolve the existing childReportID and proceeds as a new thread path, which can create duplicate transaction threads and re-point the IOU action away from prior thread history for mixed-report selections.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
I'll address this tomorrow
Explanation of Change
Deprecates the Hold/Unhold on search commands in favor of the existing live data commands.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/612352
Tests
Reports > ExpensesX selecteddropdownHoldX selecteddropdown againRemove holdOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
Screen.Recording.2026-03-24.at.4.39.38.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari