BillTracker/client/pages
null d53a64b604 feat(data): "Erase my data" danger zone (Batch 5)
New services/userDataService.js eraseUserData() permanently wipes a user's
financial + imported data in one transaction (child → parent order for FK
safety): bills (+ cascading payments/monthly_bill_state/bill_history_ranges),
transactions/accounts/data_sources, categories/groups, templates, snowball,
spending rules/budgets, merchant rules, imports, and per-user hint tables. It
PRESERVES the account, sessions, 2FA/WebAuthn, login history and preferences —
this resets your data, not your account — then re-seeds default categories and
writes an audit row to import_history.

- POST /api/user/erase-data — rate-limited (demoDataLimiter), requires a
  type-to-confirm token ("ERASE"), structured errors.
- UI: EraseDataSection danger-zone card (Export & backups pane) — red-accented,
  "download a backup first" nudge, type-to-confirm AlertDialog, toasts; on
  success DataPage reloads all state.

Tests: tests/eraseUserData.test.js — wipes user A only, preserves user B +
account + session, re-seeds categories, audited. Server 139 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 15:21:07 -05:00
..
AboutPage.jsx chore(cleanup): remove legacy/public HTML files, retire /legacy route, update docs and About page 2026-06-11 23:50:27 -05:00
AdminPage.jsx fix(admin): admin/profile routes and services 2026-06-07 21:18:02 -05:00
AnalyticsPage.jsx refactor(client): single source of truth for money formatting (IMP-CODE-01) 2026-07-03 12:46:22 -05:00
BankTransactionsPage.jsx feat(data): two-pane shell + connection hero + deep-linking (Batch 1) 2026-07-03 15:02:36 -05:00
BillsPage.jsx feat(bills): "Recently deleted" restore view for the 30-day window (IMP-UX-01) 2026-07-03 12:56:45 -05:00
CalendarPage.jsx fix(ui): calendar settings improvements 2026-06-07 16:52:50 -05:00
CategoriesPage.jsx fix(qa): resolve a11y nested-interactive on Categories & Snowball rows 2026-07-02 21:02:15 -05:00
DataPage.jsx feat(data): "Erase my data" danger zone (Batch 5) 2026-07-03 15:21:07 -05:00
HealthPage.jsx style: global readability/theme pass 2026-05-28 23:18:14 -05:00
LoginPage.jsx feat: TOTP 2FA for login & profile setup flow 2026-06-04 04:10:14 -05:00
NotFoundPage.jsx feat: merge pipeline workflow into bill-tracker (batch v0.36.0) 2026-06-03 20:28:37 -05:00
PayoffPage.jsx refactor(client): single source of truth for money formatting (IMP-CODE-01) 2026-07-03 12:46:22 -05:00
PrivacyPage.jsx v0.28.0 2026-05-15 22:45:38 -05:00
ProfilePage.jsx feat(settings): auto-save preferences with live save status (batch 0.39.0) 2026-06-12 02:08:42 -05:00
ReleaseNotesPage.jsx v0.28.0 2026-05-15 22:45:38 -05:00
RoadmapPage.jsx feat: framer-motion page transitions and UI polish 2026-06-07 15:14:09 -05:00
SettingsPage.jsx feat(settings): auto-save preferences with live save status (batch 0.39.0) 2026-06-12 02:08:42 -05:00
SnowballPage.jsx refactor(client): single source of truth for money formatting (IMP-CODE-01) 2026-07-03 12:46:22 -05:00
SpendingPage.jsx refactor(client): single source of truth for money formatting (IMP-CODE-01) 2026-07-03 12:46:22 -05:00
StatusPage.jsx fix(qa): version check is opt-out-able (QA-B16-01) 2026-07-03 10:05:37 -05:00
SubscriptionCatalogPage.jsx feat: dedicated subscription catalog page, evidence badges, price display in recommendations 2026-06-06 20:44:54 -05:00
SubscriptionsPage.jsx refactor(client): single source of truth for money formatting (IMP-CODE-01) 2026-07-03 12:46:22 -05:00
SummaryPage.jsx feat: framer-motion page transitions and UI polish 2026-06-07 15:14:09 -05:00
TrackerPage.jsx fix(qa): seed demo data amounts, bill amount validation, negative USD format, a11y aria-labels, Playwright E2E setup (batch 0.41.0 QA) 2026-07-02 20:36:09 -05:00