codeburn/windows/src-tauri
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
..
capabilities feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
icons
locales feat(windows): ask for a GitHub star once after the third open (#1828) 2026-11-02 15:50:31 +01:00
src Windows tray: fall back past a broken managed CLI to Volta and PATH installs (#1753) 2026-10-13 10:10:38 +02:00
wix fix(windows): private key files, a real log, and a clean uninstall 2026-09-02 15:16:06 -07:00
build.rs
Cargo.lock chore: release 0.9.27 (#1746) 2026-10-11 09:37:44 +02:00
Cargo.toml chore: release 0.9.27 (#1746) 2026-10-11 09:37:44 +02:00
tauri.conf.json chore: release 0.9.27 (#1746) 2026-10-11 09:37:44 +02:00