mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-23 21:39:13 +00:00
From the third launch of the desktop app on, once the splash has gone, a small centered dialog asks to star CodeBurn on GitHub. It shows the GitHub mark the About window already uses, the heading "Enjoying CodeBurn?", one muted line, "If it has been helping you, a star on GitHub would mean a lot. It keeps the project free and open.", a primary Star on GitHub button that opens the repository through the existing open-external bridge, and Not now. Either button marks it done and it never shows again. Escape or a click outside the dialog only closes it for this start, so it comes back next launch, as does ignoring it. Launches are counted in the renderer's localStorage (codeburn.launchCount), where the other shell settings already live, and the done flag is codeburn.starNudgeDone. Nothing checks whether a star was given. The VS Code extension host does not show it; the sidebar there already has its own star line. The dialog reuses the About modal's backdrop, panel and animation classes and the app's button styles, with three CSS rules for its width, heading and button row. Splash gets an optional onDone callback so the dialog opens only after the fade-out. Strings are in all six catalogues because the catalogue test requires it; the five translations have not been reviewed by a native speaker. No telemetry event was added, so the measure is the star count on GitHub itself. Typecheck clean. StarNudge test 8 passed, catalog test 8, App test 72, Splash test 7. Screenshot taken from the renderer served through demo-bridge with the launch counter set to three. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| hooks | ||
| i18n | ||
| lib | ||
| public | ||
| sections | ||
| styles | ||
| test | ||
| vscode | ||
| App.renderChurn.test.tsx | ||
| App.test.tsx | ||
| App.tsx | ||
| index.html | ||
| main.tsx | ||
| vite-env.d.ts | ||