codeburn/app/renderer/lib
Marc Reynolds 61581edb18
feat(dashboard): add combined-device scope to desktop app and menubar badge
Fixes #795: the desktop Dashboard showed only local-device cost while the
menubar and web GUI aggregated across paired devices.

Desktop app:
- Add a Local/Combined Scope setting (Settings > General), mirroring the
  macOS menubar. Combined passes `--scope combined` to the CLI, forces the
  provider filter to all, and persists to localStorage.
- Overview hero shows the paired-device aggregate (cost/calls/sessions) with
  a "Combined · N devices" caption and per-device breakdown when Combined is
  selected; detailed panels remain local (the combined payload carries totals
  only).

Menubar:
- The badge figure now reflects Combined scope instead of always showing the
  local total: refreshMenubarBadge fetches the combined payload for the badge
  period and the badge renders the cross-device aggregate, falling back to
  local when no combined payload is available.
2026-07-31 15:12:29 -06:00
..
budget.ts
build.ts
format.test.ts
format.ts
ipc.ts
modelSeries.ts
motion.test.tsx
motion.ts
pageVisibility.test.ts
pageVisibility.ts
period.test.ts
period.ts
refreshCadence.test.ts
refreshCadence.tsx
testMatchMedia.ts
toast.ts
types.ts