[Split #94595] Batch E - Remove useOnyx deps from MR views and confirmation#95619
Conversation
…nd confirmation Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
|
# Conflicts: # config/eslint/eslint.seatbelt.tsv
|
|
Steps:- KYCWall
videokyc_payment.mp4- InvoiceSenderField
videoinvoice_sender.mp4- ReportField
videoreport_field.mp4- MoneyRequestReceiptView, MoneyRequestView
videotr_view.mp4- AddExistingExpense
videoadd_existing_expense.mp4- RejectExpenseReportPage
videoreject.mp4- SplitExpenseEditPage
videosplit_edit.mp4 |
|
@hoangzinh 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] |
# Conflicts: # config/eslint/eslint.seatbelt.tsv
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-07-21.at.18.36.57.mp4 |
|
No product review needed |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 mountiny 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.42-0 🚀
|
|
🤖 I reviewed the changes in this PR against the help site content under No help site changes are required. This PR is an internal, non-user-facing refactor: Batch E of the There is no change to any user-facing feature, UI label, button, tab, setting, workflow, or product behavior — the PR description itself notes "No intended behavior change." The help articles document how users interact with features (money requests, split expenses, invoices, etc.), and none of that surface area is affected here. Since no documentation updates are warranted, I did not create a draft docs PR. |
Explanation of Change
Part of the
useOnyxdependencies-argument removal (#94595), Batch E of the split: Money Request views, confirmation & expense flows. Drops the deprecated 3rduseOnyxargument; selectors kept stable (inline/compiler-memoized,useCallbackin the React-Compiler-bailout file BaseKYCWall). Includes small selector refactors in MoneyRequestView and InvoiceSenderField to keep selector identity stable. No intended behavior change. Themainwrapper still accepts the arg, so this batch is independent.Fixed Issues
$ #95578
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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.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