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. |
||
|---|---|---|
| .. | ||
| Compare.test.tsx | ||
| Compare.tsx | ||
| InstallFlow.tsx | ||
| Models.test.tsx | ||
| Models.tsx | ||
| Optimize.test.tsx | ||
| Optimize.tsx | ||
| Overview.test.tsx | ||
| Overview.tsx | ||
| PeriodCompare.test.tsx | ||
| PeriodCompare.tsx | ||
| Plans.test.tsx | ||
| Plans.tsx | ||
| PluginDetails.tsx | ||
| Plugins.module.css | ||
| Plugins.test.tsx | ||
| Plugins.tsx | ||
| PullRequests.test.tsx | ||
| PullRequests.tsx | ||
| Sessions.test.tsx | ||
| Sessions.tsx | ||
| Settings.test.tsx | ||
| Settings.tsx | ||
| SettingsSharing.tsx | ||
| SettingsTray.test.tsx | ||
| SettingsTray.tsx | ||
| Spend.test.tsx | ||
| Spend.tsx | ||