codeburn/app/electron
iamtoruk 029843c13d Wire cohort samples to the real drill-through, scope and serve the new flags
Rebased on main, which since gained #1307, #1316 and #1319.

- Delete app/renderer/lib/sampleNavigation.ts. It was a placeholder for a
  registry that never landed: #1316 ships drill-through as an onInvestigate
  callback prop plus NavState. The sample rows now call it, threaded from
  App.tsx through Compare, and open the owning session for real.
- Give a CohortObservation the provider/project/session triple the sessions
  report keys rows by (inferSessionProvider, session.project || project.project),
  so a sample resolves to exactly one session row. Without it a cohort sample
  could not build sessionRowKey at all.
- Carry projectArgs() on both cohort spawns, per #1307. The saved project
  filter now scopes the facet query and the report; --project-id still narrows
  within it. Extended the scopes-every-fetch test to cover both.
- Allow --from, --to, --category and --project-id on compare in SERVE_OPTIONS.
  Verified over stdio: before, every cohort request but the bare facet query
  came back "command not served" and fell back to a spawn.
- Catch the invalid-date throw on compare like report does, instead of an
  unhandled UsageQueryError stack trace.
- Drop the unrelated CODEBURN_USER_DATA_DIR hunk in bootstrap().
2026-09-12 14:02:01 -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 Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
main.ts Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -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 Add Compare cohorts mode with population disclosure, samples, and volume band 2026-09-12 14:01:29 -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