mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
New sidebar section 'periods' (Compare periods, shortcut 9) rendering sections/PeriodCompare.tsx: preset last-7-complete-days vs prior 7 or two custom calendars with a swap control; range meta shows both spans, the duration delta and any overlap; totals, normalized per-day and per-100-calls tables (denominators printed, zero denominators render as em dash); project and model contribution lenses with New/Gone badges and click-to-inspect session drill-down joined across A and B; coverage block for unpriced models and aggregate-only carried history. A/B selection, lens and view persist in localStorage so returning to the screen keeps the selection. Navigation adapter until the goal-8 navigation lands: onInspectRange opens the existing Sessions section scoped to the requested range via the app's custom-range state; the Overview entry card links here. Renderer styling follows the existing panel/table conventions. Includes component tests (fixture report, New/Gone labels, per-100-calls recomputation with zero-call sides, persistence across remounts, lens switching) and user documentation at docs/compare-periods.md. |
||
|---|---|---|
| .. | ||
| design | ||
| providers | ||
| release-acceptance | ||
| sync | ||
| architecture.md | ||
| by-branch.md | ||
| compare-periods.md | ||
| drill-through.md | ||
| optimize.md | ||