mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-10 17:14:48 +00:00
Round-2 review follow-ups. - Mixed legacy/live category breakdown: a PR row that combines an expired legacy contribution (even-split, no turn data) with a live per-turn contribution now emits an explicit "Legacy estimate (no per-turn detail)" category carrying the legacy share, so the expansion reconciles to the row cost instead of silently dropping it. A legacy-only row still shows no breakdown. - v5 adoption is now per cached file: one malformed entry is skipped instead of rejecting the whole v5 cache and dropping every valid expired PR session. - The desktop "Other (N more PRs)" line moved to the table footer as a muted, separated summary rather than a sorted row. - Row expansion resets when the PR set changes (period/provider/data), so a stale expansion cannot linger on a row that is gone. - Payload models per row are capped to the top 4 by attributed cost, with a name-ascending tie-break; categories get the same stable tie-break. Tests: mixed live+legacy reconciliation, legacy-only omission, model cap and tie-break, corrupt-plus-valid v5 adoption, and the desktop expansion-reset. |
||
|---|---|---|
| .. | ||
| Compare.test.tsx | ||
| Compare.tsx | ||
| Models.test.tsx | ||
| Models.tsx | ||
| Optimize.test.tsx | ||
| Optimize.tsx | ||
| Overview.test.tsx | ||
| Overview.tsx | ||
| Plans.test.tsx | ||
| Plans.tsx | ||
| PullRequests.test.tsx | ||
| PullRequests.tsx | ||
| Sessions.test.tsx | ||
| Sessions.tsx | ||
| Settings.test.tsx | ||
| Settings.tsx | ||
| Spend.test.tsx | ||
| Spend.tsx | ||