Sub-issue of #94595.
Source plan: fabioh8010 comment.
Goal
Remove the deprecated 3rd dependencies argument from Money Request views, confirmation, and expense flows.
Scope (8 files)
ReportActionItem/MoneyRequestView (RESTRUCTURE)
ReportActionItem/MoneyRequestReceiptView
MoneyRequestConfirmationList/sections/ReportField
MoneyRequestConfirmationList/sections/InvoiceSenderField (RESTRUCTURE)
pages/AddExistingExpense
pages/iou/SplitExpenseEditPage
pages/RejectExpenseReportPage
KYCWall/BaseKYCWall (USECALLBACK — React Compiler bailout)
Change types
RESTRUCTURE (MoneyRequestView, InvoiceSenderField); USECALLBACK (BaseKYCWall).
Risk
Highest-touch UI batch.
Dependencies
Blocked by PR 1 (ESLint guard) merged.
Tests / QA
Open MoneyRequestView (edit fields), receipt view, split-expense edit, reject-expense page, invoice sender field, report field selector; verify amounts/participants/policies. Confirm BaseKYCWall stays compiler-bailout.
Acceptance criteria
npm run fmt on changed files
npm run lint-changed — seatbelt count for rulesdir/no-useonyx-dependencies-arg must drop (never increase)
npm run typecheck stays green
npm run react-compiler-compliance-check check <files> — USECALLBACK/bailout files must not gain new failures vs main
- Relevant
npm run test for touched areas
- Manual smoke test per batch QA steps — no stale data, infinite re-renders, or JS console errors
Issue Owner
Current Issue Owner: @hoangzinh
Sub-issue of #94595.
Source plan: fabioh8010 comment.
Goal
Remove the deprecated 3rd
dependenciesargument from Money Request views, confirmation, and expense flows.Scope (8 files)
ReportActionItem/MoneyRequestView(RESTRUCTURE)ReportActionItem/MoneyRequestReceiptViewMoneyRequestConfirmationList/sections/ReportFieldMoneyRequestConfirmationList/sections/InvoiceSenderField(RESTRUCTURE)pages/AddExistingExpensepages/iou/SplitExpenseEditPagepages/RejectExpenseReportPageKYCWall/BaseKYCWall(USECALLBACK — React Compiler bailout)Change types
RESTRUCTURE (
MoneyRequestView,InvoiceSenderField); USECALLBACK (BaseKYCWall).Risk
Highest-touch UI batch.
Dependencies
Blocked by PR 1 (ESLint guard) merged.
Tests / QA
Open MoneyRequestView (edit fields), receipt view, split-expense edit, reject-expense page, invoice sender field, report field selector; verify amounts/participants/policies. Confirm BaseKYCWall stays compiler-bailout.
Acceptance criteria
npm run fmton changed filesnpm run lint-changed— seatbelt count forrulesdir/no-useonyx-dependencies-argmust drop (never increase)npm run typecheckstays greennpm run react-compiler-compliance-check check <files>— USECALLBACK/bailout files must not gain new failures vsmainnpm run testfor touched areasIssue Owner
Current Issue Owner: @hoangzinh