BillTracker/routes
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
..
about.js v0.28.0 2026-05-15 22:45:38 -05:00
aboutAdmin.js security fixes 2026-05-28 03:59:35 -05:00
admin.js fix: sync_days now reads from DB config, admin UI controls it 2026-05-29 01:33:54 -05:00
analytics.js v0.28.0 2026-05-16 15:38:28 -05:00
auth.js v0.28.0 2026-05-15 22:45:38 -05:00
authOidc.js v0.27.04 2026-05-15 01:36:56 -05:00
bills.js feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
calendar.js v0.28.01 2026-05-16 20:26:09 -05:00
categories.js v0.28.0 2026-05-16 10:34:32 -05:00
dataSources.js feat: 90-day backfill + auto-seed + status page redesign (batch 0.33.8.4) 2026-05-29 19:58:52 -05:00
export.js docs: update engineering reference manual to v0.28.01 2026-05-16 21:41:13 -05:00
import.js chore: version bump to 0.28.01 and update HISTORY format 2026-05-16 21:36:04 -05:00
matches.js feat: manual match/unmatch transactions to bills 2026-05-29 03:02:36 -05:00
monthly-starting-amounts.js fix: starting amounts paid_from_other calculation + pay badge alignment on tracker 2026-05-11 15:00:35 -05:00
notifications.js feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
payments.js chore: version bump to 0.28.01 and update HISTORY format 2026-05-16 21:36:04 -05:00
privacy.js v0.28.0 2026-05-15 22:45:38 -05:00
profile.js feat(tracker): price-change drift detection with amber insight panel 2026-05-30 14:33:55 -05:00
settings.js v0.28.0 2026-05-15 22:45:38 -05:00
snowball.js v0.28.0 2026-05-16 10:34:32 -05:00
status.js feat: 90-day backfill + auto-seed + status page redesign (batch 0.33.8.4) 2026-05-29 19:58:52 -05:00
subscriptions.js feat: SimpleFIN payment backfill button on subscription bills (v0.33.7.2) 2026-05-29 04:19:20 -05:00
summary.js v0.28.0 2026-05-16 10:34:32 -05:00
tracker.js feat(tracker): overdue command center with snooze/skip/pay + sidebar badge 2026-05-30 13:19:09 -05:00
transactions.js feat: advisory non-bill transaction filter system (batch 0.33.8.0) 2026-05-29 18:06:12 -05:00
user.js v0.28.0 2026-05-16 11:42:32 -05:00
version.js security fixes 2026-05-28 03:59:35 -05:00