codeburn/app/renderer/components
Resham Joshi 8fb478904e
feat: group a deleted sibling clone with its repository by folder name (#1692)
* feat(app): transient project selector in the desktop top bar

Scopes every report to one project path for the current session through
the same narrowing the VS Code workspace scope uses. The saved project
filter is never written; a restart is back on all projects.

* fix(app): let the name pickers ellipsize before the top bar overflows

* fix: key the daily project split per real path, not per label

A project label can span several paths: every Claude session started from the
home folder shares -Users-<name>, while its cwd puts it in a different project.
The day rollup keyed by label kept the first path it saw, so a rooted
--project headline took the whole label bucket on some days and missed it on
others. Key per (label, path), read old label-keyed days unchanged, bump the
daily cache to v68.

* fix(app): list only selectable, non-zero projects in the top bar picker

Rows with no session cwd (the Cursor and Grok Bot imports, provider label
fallbacks) report their label as the path, so the picker offered names the
bridge refuses and dash-to-slash guesses like eywa/lab. Keep only absolute
paths, and drop rows whose lifetime cost rounds to $0.00. The old test that
rooted a slashless Codex path is replaced: Codex now records the absolute cwd,
and a slashless path is always the label fallback.

* fix(app): show a toast when a project pick is refused

The pick was dropped silently. Also pin that an encoded -Users-... label
never reaches the picker list.

* feat: group projects by git repository

Clones and worktrees that share an origin remote are one project in every
project list (report JSON, By Project, the top bar picker, the terminal
dashboard), with the checkouts listed under the row. A --project path inside
a checkout scopes to the whole repository; --exact-project keeps the old
single-folder match. The origin is learned while the folder exists, kept in
git-origins.json and on each day's project entry (daily cache v69), so a
deleted scratch clone stays in its repository. The report JSON project list
now comes from the durable day set, so a row costs what selecting it reports.

* fix: a picked project row selects that row exactly

The top bar pick sends =<path>: a checkout in a repository still selects the
whole repository, and a plain folder selects itself without the folders under
it, which are rows of their own. So the picker row and the headline it opens
are the same set. Typed --project paths keep their prefix match. Days adopted
from an older cache learn the origin of every checkout that still exists, and
lookups outside a parse are saved on exit.

* fix: key the status snapshot on --exact-project

* feat: one Temporary folders row for scratch folders outside a repository

Every project path under a temp root (os.tmpdir(), /tmp, /var/folders and
their /private spellings) that is not a checkout of a known repository folds
into one row, in the report JSON, By Project, the terminal dashboard, the top
bar picker and the Settings Projects pane. Its pattern @temp selects or hides
all of them. The Projects pane leaves out rows that round to $0.00 unless a
saved pattern names them, and a saved pattern naming any checkout of a
repository row now names the whole row in the renderer too.

* feat: group a deleted sibling folder with its repository by folder name

A deleted folder with no recorded origin, named <checkout>-<suffix> or
<checkout>_<suffix> next to exactly one repository's checkout, joins that
repository row. The checkout entry carries matchedByFolderName and the Spend
drill-down labels it. Existing folders and names two repositories could claim
are left alone.

* feat: the longest checkout name wins a folder-name match

A deleted folder that fits several sibling checkouts joins the one with the
longest name; it is skipped only when the longest fits belong to two
repositories. The report project type declares matchedByFolderName.

* fix(claude): attribute each call to the project of its own cwd

* test: fold the temp roots the tests set, compare checkout ids as identities (Windows)

* test: compare folder-name checkout ids as identities (Windows)

* fix(claude): keep subfolder cwds in their project, count and show a split session once

* fix: an exclude path hides that checkout only, repository rows count a session once

* feat: mark folder-name matches in the CLI report and the project picker

* fix(claude): a deleted subfolder stays its own project
2026-10-08 06:54:41 +02:00
..
AboutModal.test.tsx fix(windows): Store installs get no GitHub update offer, and codeburn menubar opens the Store copy by its app id (#1520) (#1549) 2026-09-24 19:51:04 +02:00
AboutModal.tsx feat(app,windows): one-click updates for the desktop app and the Windows tray (#1685) 2026-10-08 05:06:55 +02:00
ActivityHeatmap.test.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
ActivityHeatmap.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
AnchoredSurface.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
BranchBreakdown.test.tsx Add Spend By branch lens (renderer -> IPC -> branch-json report) 2026-09-12 13:09:00 -07:00
BranchBreakdown.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ChartTip.tsx Compare periods: lead sentence, three tiles, day bars, top movers (#1446) 2026-09-15 23:12:12 +02:00
CliErrorPanel.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ConnectAffordance.tsx 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
CursorSyncLine.test.tsx feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
CursorSyncLine.tsx feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
Dropdown.tsx feat: group a deleted sibling clone with its repository by folder name (#1692) 2026-10-08 06:54:41 +02:00
EmptyState.tsx polish(app): spacing scale, unified insets, shared banner classes, scrollbar cues 2026-07-16 04:02:21 -07:00
ErrorBoundary.test.tsx feat(app): error boundary so a crashing screen shows the error, not a blank 2026-07-11 14:33:16 -07:00
ErrorBoundary.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
FilterChips.test.tsx fix(app): key investigation chips by identity, not by their label 2026-09-13 06:41:04 -07:00
FilterChips.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
FlameMark.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
Hint.tsx
icons.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
IdeScopePicker.tsx feat: CodeBurn for VS Code (#1670) 2026-10-07 16:46:23 +02:00
ListRow.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
Onboarding.test.tsx 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
Onboarding.tsx feat: CodeBurn for VS Code (#1670) 2026-10-07 16:46:23 +02:00
Panel.tsx polish(app): spacing scale, unified insets, shared banner classes, scrollbar cues 2026-07-16 04:02:21 -07:00
ProjectScopePicker.test.tsx feat: group a deleted sibling clone with its repository by folder name (#1692) 2026-10-08 06:54:41 +02:00
ProjectScopePicker.tsx feat: group a deleted sibling clone with its repository by folder name (#1692) 2026-10-08 06:54:41 +02:00
ProviderLogo.test.tsx fix(app): provider logos key on internal ids + monogram fallback 2026-07-16 09:27:46 -07:00
ProviderLogo.tsx chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
ProviderPop.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Punchcard.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
RangeCalendar.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
RootDeepProjectLabels.test.tsx fix(usage): preserve project identity and qualify incomplete session counts 2026-09-07 22:02:54 +05:30
Sankey.tsx Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
SegTabs.tsx polish(app): shared empty states, type ladder, AA contrast, honest affordances, a11y semantics 2026-07-16 02:27:41 -07:00
SessionDrawer.tsx feat(sessions): fold subagent sessions into their parent row (#1690) 2026-10-08 06:27:58 +02:00
Sidebar.test.tsx Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
Sidebar.tsx feat: CodeBurn for VS Code (#1670) 2026-10-07 16:46:23 +02:00
Skeleton.test.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
Skeleton.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
Splash.test.tsx fix: hydration completeness markers, cold-only splash, honest switching, prefetch 2026-07-16 14:05:11 -07:00
Splash.tsx feat: CodeBurn for VS Code (#1670) 2026-10-07 16:46:23 +02:00
StackedBars.test.tsx Classify GLM-5.3 and Flash spend tiers (#1598) 2026-10-02 10:47:05 +02:00
StackedBars.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
StaleBanner.test.tsx fix(app): accuracy batch A — provider scoping, honest chart axes, range threading, stale-error banner 2026-07-16 01:14:41 -07:00
StaleBanner.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Stat.tsx polish(app): shared empty states, type ladder, AA contrast, honest affordances, a11y semantics 2026-07-16 02:27:41 -07:00
TeamRegistry.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ToastHost.test.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
ToastHost.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
TopBar.tsx feat: CodeBurn for VS Code (#1670) 2026-10-07 16:46:23 +02:00
UpdateBanner.test.tsx feat(app,windows): one-click updates for the desktop app and the Windows tray (#1685) 2026-10-08 05:06:55 +02:00
UpdateBanner.tsx feat(app,windows): one-click updates for the desktop app and the Windows tray (#1685) 2026-10-08 05:06:55 +02:00
Usd.test.tsx desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485) 2026-09-18 15:09:01 -07:00
Usd.tsx feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
Window.tsx