codeburn/app/renderer/lib
Resham Joshi ea78d36ccf
Some checks are pending
Tests / desktop (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
CI / semgrep (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507)
* feat(windows): configure the menu bar and Capacity Dock as a Plugins card

Windows now configures its tray companion from a card on the Plugins page, the
same place macOS does, instead of two switches in the sidebar corner.

- WindowsCompanionCard mirrors the macOS MenuBarCard: Install/Reinstall,
  Update, Open (show the tray popover), Settings (opens the desktop Menu bar
  settings pane), Quit (stop without uninstalling), Uninstall, plus the
  Capacity Dock toggle, a Running dot, the version, and an info popup.
- MenubarCompanion.status() now reports installed/running/version/outdated/
  canInstall, and new discrete install/open/quit/uninstall actions back the
  card. uninstall only forgets the tray once the CLI removal succeeds, and a
  cancelled elevation prompt is treated as a no-op rather than a failure.
- isNewerVersion sorts a dev build below any release, so a staged release still
  lights Update and a dev build never does.
- codeburn menubar --uninstall reads the product code from the install marker
  or the uninstall registry and runs msiexec /x.
- Remove the bespoke sidebar CompanionSwitches and their dead CSS.
- A dev-only CODEBURN_MENUBAR_RESOURCES override lets the tray install run
  without packaging; the CLI still validates the staged path in full.

* feat(desktop): fold the Capacity Dock settings into the Menu bar pane

One tray rail entry instead of two: MenuBarPane and CapacityDockPane render
together in the Menu bar pane with a clear gap between the two cards, so the
card's Settings button opens both. Drops the now-unreachable 'dock' pane value.

* fix(desktop): stop the Spend cost-flow Sankey from re-rendering forever

The label-fit effect measured the already-truncated text, so a capped label
read as short, un-capped, overflowed the cap, and re-capped without end
(Maximum update depth exceeded). It now estimates each label from its full
name via data-name, and caps only tighten per layout, so the measure, cap and
remeasure cycle is guaranteed to settle instead of oscillating.

* feat(desktop): bundle Inter and JetBrains Mono for one UI on every OS

The app used each platform's system font (SF Pro on macOS, Segoe UI on
Windows), so the two looked different. Bundle Inter for text and JetBrains
Mono for figures and lead the --sans and --mono stacks with them, keeping the
per-locale CJK fallbacks, so Windows and macOS render the same faces.

* desktop: gate tray installed state on support; drop strings and channels the sidebar switches left behind
2026-09-19 18:43:27 -07:00
..
budget.ts feat(app): daily budget alert (USD or token cap) 2026-07-16 03:16:07 -07:00
build.ts fix: hydration completeness markers, cold-only splash, honest switching, prefetch 2026-07-16 14:05:11 -07:00
chartAxis.test.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
chartAxis.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
cohortStats.test.ts Wire cohort samples to the real drill-through, scope and serve the new flags 2026-09-12 14:02:01 -07:00
cohortStats.ts Add Compare cohorts mode with population disclosure, samples, and volume band 2026-09-12 14:01:29 -07:00
format.test.ts Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
format.ts desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
generation.test.ts desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485) 2026-09-18 15:09:01 -07:00
generation.ts desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485) 2026-09-18 15:09:01 -07:00
investigation.test.ts fix(app): key investigation chips by identity, not by their label 2026-09-13 06:41:04 -07:00
investigation.ts fix(app): key investigation chips by identity, not by their label 2026-09-13 06:41:04 -07:00
ipc.ts fix(app): no-output watchdog replaces fixed timeouts; graceful kills; cold floor everywhere; orphan serve reaping 2026-08-22 09:22:38 -07:00
menubarProviders.test.ts desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485) 2026-09-18 15:09:01 -07:00
menubarProviders.ts feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
modelSeries.test.ts feat: standardize model capability tiers 2026-08-29 20:22:01 +05:30
modelSeries.ts desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
motion.test.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
motion.ts Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
navHistory.test.ts Add the drill-through investigation state, selection math, and session drawer 2026-09-12 12:22:19 -07:00
navHistory.ts Add the drill-through investigation state, selection math, and session drawer 2026-09-12 12:22:19 -07:00
overviewSnapshot.test.ts perf(desktop): show exact totals while details refresh (#1157) 2026-08-28 13:20:33 -07:00
overviewSnapshot.ts perf(desktop): show exact totals while details refresh (#1157) 2026-08-28 13:20:33 -07:00
pageVisibility.test.ts fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
pageVisibility.ts fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
period.test.ts app,dash: render pre-history days as no data, not a currency zero (#765) 2026-07-20 08:03:24 -07:00
period.ts desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
platform.ts feat(app): Plugins says what it is doing on Windows 2026-09-02 07:03:23 -07:00
projectGroups.test.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
projectGroups.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
projectMatch.ts test(app): move the project-match parity test to the CLI suite 2026-09-12 05:38:52 -07:00
providers.test.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
providers.ts desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
refreshCadence.test.ts fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
refreshCadence.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
reportMemoKey.test.ts perf(desktop): keep every destination useful across restarts (#1163) 2026-08-28 14:51:18 -07:00
reportMemoKey.ts perf(desktop): keep every destination useful across restarts (#1163) 2026-08-28 14:51:18 -07:00
session-count-label.ts desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
spark.test.ts Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
spark.ts Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
streak.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
testMatchMedia.ts polish(app): consistency review nits 2026-07-16 05:11:10 -07:00
toast.ts feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
track.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
types.ts Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00