-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Due for payment 2026-03-24] [$250] Refactor ConfirmModal usage to useConfirmModal in IOU, Money Request, and Search pages #76694
Copy link
Copy link
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
Description
Coming from #68799 (comment)...
Problem
When every component mounts its own ConfirmModal in the component tree, it creates component bloat, memory overhead from multiple modal instances, and repetitive boilerplate code that makes the application harder to maintain.
Solution
Refactor ConfirmModal usage to useConfirmModal in the following files:
IOURequestStepConfirmation.tsx
IOURequestStepSubrate.tsx
IOURequestStepWaypoint.tsx
IOURequestStepScan/ReceiptView/index.tsx
DiscardChangesConfirmation/index.tsx
DiscardChangesConfirmation/index.native.tsx
SplitExpensePage.tsx
SearchPage.tsx
EmptySearchView.tsx
Search/index.tsx
useDeleteSavedSearch.tsx
MoneyRequestHeader.tsx
MoneyRequestReceiptView.tsx
MoneyRequestReportActionsList.tsx
MoneyRequestReportPreviewContent.tsx
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021996470697521719315
- Upwork Job ID: 1996470697521719315
- Last Price Increase: 2025-12-04
Issue Owner
Current Issue Owner: @Reactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
Type
Projects
Status
Done