codeburn/app/electron
iamtoruk b85c175a96 fix(compare-periods): real drill-through, project scope, clean date errors
Rebase fixes on top of #1296.

- App.tsx shipped a stub inspectRange calling a setCustomRange that no longer
  exists after #1316. Replaced with the real navigation: commitNav to Sessions
  with the clicked side's range AND projectFilters/modelFilters for the
  contribution key, so the drill-through lands on the population the row
  describes instead of the whole range.
- getPeriodCompare and getPeriodCompareSessions carried no projectArgs(), so a
  saved project filter did not scope either fetch (#1307). Added, and the
  "scopes every fetch" main-process test now covers both channels.
- compare-periods --format sessions ignored --project/--exclude, so a drill-down
  could surface a session from a hidden project. It now filters like the report.
- A bad --from-a/--to-a printed a raw stack trace: parseDateRangeFlags throws
  and the null check could never fire. Wrapped in the same try/catch every other
  date-flag command uses.
- Totals card now says inline how much daily history has no session detail
  behind it. On a machine with aged-off sources the detail-only total is far
  below report/status for the same range; the Coverage card alone was three
  cards away from the number it qualifies.
2026-09-12 13:43:41 -07:00
..
quota fix(windows): make the cross-process lock test poll, not spin, so it passes on Windows 2026-09-03 11:28:01 -07:00
cli-win32-reap.test.ts fix: bound the serve drain, reap orphans on Windows, and de-flake the grace test 2026-08-22 10:36:58 -07:00
cli-win32-tree-kill.test.ts fix(app): actually kill the CLI process tree on Windows 2026-09-02 22:10:37 -07:00
cli.test.ts perf(app): serve the JSON report from the resident child 2026-09-12 05:38:52 -07:00
cli.ts perf(app): serve the JSON report from the resident child 2026-09-12 05:38:52 -07:00
main.test.ts fix(compare-periods): real drill-through, project scope, clean date errors 2026-09-12 13:43:41 -07:00
main.ts fix(compare-periods): real drill-through, project scope, clean date errors 2026-09-12 13:43:41 -07:00
menubar.test.ts fix(app): remember a pending restart across a desktop app restart 2026-09-03 04:52:31 -07:00
menubar.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
preload.ts feat(desktop): typed IPC channels for period comparison 2026-09-12 13:43:24 -07:00
telemetry.test.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
telemetry.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
tray-settings-atomic.test.ts fix(windows): wait out a reader when replacing a preference file 2026-09-03 11:10:33 -07:00
tray-settings-lock.test.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
tray-settings.test.ts fix(app): typed IPC patches, the staged-msi flag, and honest consent copy 2026-09-03 03:06:13 -07:00
tray-settings.ts fix(windows): wait out a reader when replacing a preference file 2026-09-03 11:10:33 -07:00
updates.test.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00
updates.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00