codeburn/app/renderer/components
Resham Joshi 04d0b65327
feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638)
* feat(cursor): show the cursor.com sync in the apps, with an off switch

status --format menubar-json gains an additive cursorSync block (enabled,
state, lastSuccessAt, and a fixed errorCode/error on failure), read from
the sync sidecar, the config and the Cursor app's login. It never syncs,
never makes a request and never carries the token, the account hash or
server text. It is absent when Cursor is not signed in and has never
synced, and it is attached after the snapshot and per-device payloads.

With the Cursor provider selected, the desktop overview, the macOS menu
bar and the Windows tray show one line under the total: "Synced from
cursor.com 12 min ago", or the error in a muted warning colour. A
"Sync Cursor usage from cursor.com" switch writes config cursorSync:
Settings > Providers > Cursor on the desktop, the Cursor settings pane
on macOS and Windows. Desktop and mac strings are in all six locales;
the tray stays English until its localization lands.

* fix(cursor): guard config writes, show the env override in the switches

The tray's shared config writer now refuses to write over a config.json
that does not parse or is not an object (it used to replace it with an
empty map plus the one key), which also protects the currency, budget
and Claude config directory writers. The desktop writer rejects null
and array configs the same way.

With CODEBURN_CURSOR_SYNC=0 set, the desktop, mac and tray switches show
"Turned off by CODEBURN_CURSOR_SYNC=0" and are disabled. A failed mac
save now says so under the switch. The tray hero note uses the warning
ink and maps errorCode to its own messages.
2026-10-05 17:11: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 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
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 desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07: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 feat(app): window chrome, sidebar nav, and Overview smoke view 2026-07-10 15:17:11 -07:00
icons.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +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 desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Panel.tsx polish(app): spacing scale, unified insets, shared banner classes, scrollbar cues 2026-07-16 04:02:21 -07: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 desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07: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 Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07: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 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +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 desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
UpdateBanner.test.tsx feat(app): update-available notifications 2026-07-17 04:58:13 -07:00
UpdateBanner.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07: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 desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Window.tsx feat(app): window chrome, sidebar nav, and Overview smoke view 2026-07-10 15:17:11 -07:00