mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-30 19:36:01 +00:00
|
Some checks are pending
CI / semgrep (push) Waiting to run
Part 1 (src): expose two add-only, optional aggregations on the menubar payload's `current`, computed on the unscoped all-provider path from the surviving-session parse (carried history cannot contribute, as expected). - current.pullRequests: aggregateByPr rows (top 20 by cost) plus the multi-link-safe distinctCost/distinctSessions. Rows are by-reference, so they are never summed. - current.byBranch: new aggregateByBranch, per-branch spend (top 15 by cost) that carries each session's last-seen git branch forward across its turns. The cache stores a turn's branch only when it changes, so the parser now resolves the branch at reconstruction (before the date slice) and records SessionSummary.everHadBranch from the full transcript. That lets the report keep a branch-bearing session's pre-branch spend in an explicit null row even when the range clipped the anchor turn, while a provider that never captures a branch still contributes nothing. Part 2 (app): new "Pull requests" sidebar entry between Sessions and Spend (shortcuts reflow to number 8 for Plans). It renders the pullRequests rows as a refined table with the PR label linking out via openExternal, cost, sessions, calls and an active-date span, plus a footnote stating the distinct total and the by-reference attribution. A quiet explanatory line shows when no PR links exist, never a fake table. Tests: aggregateByBranch unit tests (carry-forward, null bucket, clipped anchor, by-reference session counts) and the Pull requests component tests (table, external link, footnote, both empty states). Nav-reflow assertions in Sidebar and App tests updated. Co-authored-by: reviewer <review@local> |
||
|---|---|---|
| .. | ||
| AboutModal.test.tsx | ||
| AboutModal.tsx | ||
| ActivityHeatmap.test.tsx | ||
| ActivityHeatmap.tsx | ||
| CliErrorPanel.tsx | ||
| ConnectAffordance.tsx | ||
| Dropdown.tsx | ||
| EmptyState.tsx | ||
| ErrorBoundary.test.tsx | ||
| ErrorBoundary.tsx | ||
| FlameMark.tsx | ||
| Hint.tsx | ||
| ListRow.tsx | ||
| Onboarding.test.tsx | ||
| Onboarding.tsx | ||
| Panel.tsx | ||
| ProviderLogo.test.tsx | ||
| ProviderLogo.tsx | ||
| ProviderPop.tsx | ||
| RangeCalendar.tsx | ||
| Sankey.tsx | ||
| SegTabs.tsx | ||
| Sidebar.test.tsx | ||
| Sidebar.tsx | ||
| Skeleton.test.tsx | ||
| Skeleton.tsx | ||
| Splash.test.tsx | ||
| Splash.tsx | ||
| StackedBars.test.tsx | ||
| StackedBars.tsx | ||
| StaleBanner.test.tsx | ||
| StaleBanner.tsx | ||
| Stat.tsx | ||
| ToastHost.test.tsx | ||
| ToastHost.tsx | ||
| TopBar.tsx | ||
| UpdateBanner.test.tsx | ||
| UpdateBanner.tsx | ||
| Window.tsx | ||