mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
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. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| locales | ||
| src | ||
| wix | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||