Files
ServerKit/frontend/src/contexts
Juan DenisandClaude Opus 4.8 6a0d57587a refactor(frontend): Phase 3 §6.6 — add ConfirmProvider (app-level confirm dialog)
Per docs/plans/FRONTEND_UX_TAILWIND_CLEANUP_PLAN.md §6.6. Adds a single
app-level <ConfirmDialog> via ConfirmProvider (wraps the dashboard). useConfirm
is now context-aware: with the provider present, confirm() routes to the one
dialog and the legacy confirmState/handleConfirm/handleCancel become inert
no-ops (so the 39 pages' own <ConfirmDialog> render closed/harmless until
removed). Falls back to local state outside a provider so nothing breaks.

Backward-compatible checkpoint; the per-page dialog removal follows.

Verified: npm run build passes; 0 lint errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 02:46:33 -04:00
..