BillTracker/client
null 5182754e0f feat(tracker): price-change drift detection with amber insight panel
Detects when a bill's recent payments have diverged from its configured
expected amount for 2+ consecutive months and surfaces it in a new
collapsible amber panel on the Tracker page.

- Migration v0.71: adds `drift_snoozed_until` to bills and
  `notify_amount_change` to users
- New `driftService.getDriftReport()`: computes per-bill payment median
  over last 3 months, flags drift above a user-configurable threshold
  (default 5%, minimum $1 delta)
- New `GET /api/bills/drift-report` and `POST /api/bills/:id/snooze-drift`
  routes (registered before `/:id` to avoid routing conflict)
- `runDriftNotifications()` added to daily worker — sends amber digest
  email per user listing all changed bills with old → new amounts
- `notify_amount_change` wired through profile and notifications routes
- `DriftInsightPanel`: collapsible amber panel with per-bill
  strikethrough old → new amount, ±% badge, TrendingUp/TrendingDown
  icons, "Update to $X.XX" (with undo toast) and "Dismiss" (30 days)
  actions; teal palette for price decreases
- `drift_threshold_pct` setting added to SettingsPage Billing Behavior
- "Notify on price changes" toggle added to ProfilePage notifications

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 14:33:55 -05:00
..
components feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
contexts theme correctness 2026-05-28 01:30:40 -05:00
hooks feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
lib feat(tracker): overdue command center with snooze/skip/pay + sidebar badge 2026-05-30 13:19:09 -05:00
pages feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
public/img refactor: component splits, PWA support, CommandPalette 2026-05-28 20:53:22 -05:00
App.jsx revert: compact tracker mode + wider layout, keep S badge + remaining/Done header (batch 0.33.8.7) 2026-05-29 21:16:13 -05:00
api.js feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
index.css fix: GeorgiaDigits font-bleed fix (batch 0.33.8.2) 2026-05-29 18:42:11 -05:00
main.jsx v0.24.3: Session fixes, activity log corrections, UI polish 2026-05-11 13:39:48 -05:00