Skip to content

[Due for payment 2026-02-23] Refactor ConfirmModal usage to useConfirmModal in workspace settings pages #76690

@roryabraham

Description

@roryabraham

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:

WorkspaceTagsPage.tsx
ImportTagsOptionsPage.tsx
WorkspaceViewTagsPage.tsx
TagSettingsPage.tsx
WorkspaceTaxesPage.tsx
WorkspaceEditTaxPage.tsx
WorkspaceCategoriesPage.tsx
CategorySettingsPage.tsx
WorkspacePerDiemPage.tsx
WorkspacePerDiemDetailsPage.tsx
PolicyDistanceRatesPage.tsx
PolicyDistanceRateDetailsPage.tsx
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @NicMendonca

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions