codeburn/app/renderer/lib
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
..
budget.ts
build.ts
cohortStats.test.ts Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
cohortStats.ts Add Compare cohorts mode with population disclosure, samples, and volume band 2026-09-12 14:01:29 -07:00
format.test.ts
format.ts perf(desktop): show exact totals while details refresh (#1157) 2026-08-28 13:20:33 -07:00
investigation.test.ts Fix drill-through provider, day and model attribution 2026-09-12 12:22:19 -07:00
investigation.ts Fix drill-through provider, day and model attribution 2026-09-12 12:22:19 -07:00
ipc.ts
modelSeries.test.ts feat: standardize model capability tiers 2026-08-29 20:22:01 +05:30
modelSeries.ts feat: standardize model capability tiers 2026-08-29 20:22:01 +05:30
motion.test.tsx
motion.ts
navHistory.test.ts Add the drill-through investigation state, selection math, and session drawer 2026-09-12 12:22:19 -07:00
navHistory.ts Add the drill-through investigation state, selection math, and session drawer 2026-09-12 12:22:19 -07:00
overviewSnapshot.test.ts perf(desktop): show exact totals while details refresh (#1157) 2026-08-28 13:20:33 -07:00
overviewSnapshot.ts perf(desktop): show exact totals while details refresh (#1157) 2026-08-28 13:20:33 -07:00
pageVisibility.test.ts
pageVisibility.ts
period.test.ts
period.ts fix(desktop): thread PR-tab period through App 2026-08-22 23:46:46 +05:30
platform.ts feat(app): Plugins says what it is doing on Windows 2026-09-02 07:03:23 -07:00
projectMatch.ts test(app): move the project-match parity test to the CLI suite 2026-09-12 05:38:52 -07:00
providers.ts feat(app): Kimi Code live quota on the Plans page (#1136) 2026-08-24 12:28:32 -07:00
refreshCadence.test.ts
refreshCadence.tsx
reportMemoKey.test.ts perf(desktop): keep every destination useful across restarts (#1163) 2026-08-28 14:51:18 -07:00
reportMemoKey.ts perf(desktop): keep every destination useful across restarts (#1163) 2026-08-28 14:51:18 -07:00
session-count-label.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
testMatchMedia.ts
toast.ts
track.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
types.ts Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00