codeburn/app/renderer
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
..
assets brand: restore binary 0101 flame across all surfaces 2026-07-17 14:14:40 -07:00
components feat(desktop): Compare periods screen with contribution drill-down 2026-09-12 13:43:24 -07:00
hooks perf(desktop): keep every destination useful across restarts (#1163) 2026-08-28 14:51:18 -07:00
lib Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
public Wire drill-through into the desktop app: entries, chips, contributions, drawer, history 2026-09-12 12:22:19 -07:00
sections Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
styles Add Compare cohorts mode with population disclosure, samples, and volume band 2026-09-12 14:01:29 -07:00
test fix(usage): preserve project identity and qualify incomplete session counts 2026-09-07 22:02:54 +05:30
App.test.tsx feat(desktop): Compare periods screen with contribution drill-down 2026-09-12 13:43:24 -07:00
App.tsx Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
index.html harden(app): Electron security + spawn efficiency batch 2026-07-16 01:57:44 -07:00
main.tsx fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
vite-env.d.ts feat(app): scaffold Electron+Vite package and codeburn CLI spawn 2026-07-10 15:16:55 -07:00