codeburn/windows/src
Resham Joshi a388c00cd7
feat(windows): ask for a GitHub star once after the third open (#1828)
The Windows tray gets the same star ask as the desktop app (#1826) and the macOS menubar (#1827). The bottom star strip that showed from the first launch now waits until the third time the popover is opened, then shows a small card: Enjoying CodeBurn?, one muted line asking for a star if it has been helping, and Not now and Star on GitHub buttons. No icon, no close cross.

Opens are counted on the codeburn://shown event the tray already emits each time it shows the popover, under codeburn.starNudgeOpens. Either button sets codeburn.starNudgeDone and the card never comes back; hiding the popover without pressing a button sets nothing, so it shows again on the next open. Anyone who already closed the old strip (codeburn.starBannerDismissed) is not asked again. Star on GitHub opens the repo through the opener plugin the strip already used.

The card keeps the strip's slot after the CLI update banner and its tinted background, and takes the spacing, type and buttons of the telemetry consent card. The four strings are in the en and zh-Hans catalogs. StarIcon had no other user and is removed.

Verified with tsc --noEmit, a key parity check across both catalogs, and a scratch run of the show logic against a stubbed localStorage (opens 1 and 2 hidden, 3 and 4 shown, done flag hides, old dismissed key hides). windows/ has no JS test setup, so no test was added. Not run on a Windows machine; cargo test (catalog parity) and the tauri build run in Windows Menubar CI.
2026-11-02 15:50:31 +01:00
..
components feat(windows): ask for a GitHub star once after the third open (#1828) 2026-11-02 15:50:31 +01:00
lib feat(windows): ask for a GitHub star once after the third open (#1828) 2026-11-02 15:50:31 +01:00
settings fix: keep a saved Capacity Dock provider across quota refreshes (#1768) 2026-10-31 03:48:01 +01:00
App.tsx fix(ui): mark estimated headline totals with ~ on every hero (#1722) 2026-10-10 07:05:58 +02:00
dock.css feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
Dock.tsx fix: keep a saved Capacity Dock provider across quota refreshes (#1768) 2026-10-31 03:48:01 +01:00
dockGeometry.ts feat(dock): one Claude ring per config directory, with its own sessions and today (#1570) 2026-09-28 19:06:53 +02:00
main.tsx feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
providerIcons.tsx feat(quota): Command Code quota and ClinePass from the Cline sign-in (#1682) 2026-10-07 23:34:31 +02:00
Settings.tsx feat(quota): Command Code quota and ClinePass from the Cline sign-in (#1682) 2026-10-07 23:34:31 +02:00
styles.css feat(windows): ask for a GitHub star once after the third open (#1828) 2026-11-02 15:50:31 +01:00