[Payment due @huult] [CP Staging] Revert "Fix: Filter ineligible reports in useOutstandingReports hook"#88439
Conversation
|
@Beamanator 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8a8846d5ff
ℹ️ 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".
| result.push(...reports); | ||
| } | ||
| return filterEligibleReports(result); | ||
| return result; |
There was a problem hiding this comment.
Filter ineligible reports from move-expense destinations
Returning result directly here reintroduces reports that isReportIneligibleForMoveExpenses() marks as invalid (instant-submit + submit-and-close workspaces with only non-reimbursable transactions). In this state, those reports can be shown as selectable move targets in the report picker, but moving expenses into them fails server-side (403), so users hit a broken flow after selecting an option that should have been excluded; the same unfiltered return was also reintroduced in the selected-policy branch below.
Useful? React with 👍 / 👎.
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-04-21.at.21.59.29.mp4 |
huult
left a comment
There was a problem hiding this comment.
I verified and reverted the fixes for the 2 issues above.
|
🎯 @huult, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
🚧 @Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.3.62-0 🚀
Bundle Size Analysis (Sentry): |
|
@grgia @Beamanator NO QA steps and a revert PR, OK to checkoff this one? |
Reverts #84832
$ #88424
$ #88425