Skip to content

chore: GitHub star prompt - #805

Merged
fclairamb merged 10 commits into
mainfrom
feat/todos-2026-11-08
Nov 8, 2026
Merged

fclairamb merged 10 commits into
mainfrom
feat/todos-2026-11-08

Conversation

@fclairamb

@fclairamb fclairamb commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • GitHub star prompt: a "Star on GitHub" link in the dashboard sidebar and a one-time, dismissible prompt card on the dashboard (shown once the onboarding checklist is hidden, the user has an enabled check older than the threshold and nothing is down). Dismissal is stored per user (github-star ui-state), so it holds across devices. Analytics events: github_star_link_clicked, github_star_prompt_shown/clicked/dismissed.
  • Server: SP_APP_STARPROMPT (default on) turns the link, the prompt, the startup log line and the CLI login hint off; exposed as githubStar.enabled in the public config. GET /checks/stats gains oldestEnabledCheckCreatedAt. Text-mode CLI login prints the hint.
  • Docs and en/fr/de/es strings added.

Batch gate: build, lint, Go tests and the full Playwright suite (1007 passed, 0 failed) are green.

Decided by autopilot

  • No open questions in the spec; one audit gap fixed (the prompt gate on the onboarding checklist is now "checklist not visible" instead of "dismissed").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb added autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch labels Nov 8, 2026
…CLI, oldest-check stat

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@codecov

codecov Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.77419% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.21%. Comparing base (0f06336) to head (be95dbb).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
server/internal/app/server.go 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #805      +/-   ##
==========================================
- Coverage   89.23%   89.21%   -0.03%     
==========================================
  Files        1326     1327       +1     
  Lines      135615   135641      +26     
==========================================
- Hits       121017   121010       -7     
- Misses      14589    14622      +33     
  Partials        9        9              
Files with missing lines Coverage Δ
server/internal/config/config.go 94.10% <100.00%> (+<0.01%) ⬆️
server/internal/db/models/check.go 99.20% <ø> (ø)
server/internal/db/postgres/postgres.go 94.88% <100.00%> (+<0.01%) ⬆️
server/internal/db/sqlite/sqlite.go 96.72% <100.00%> (+<0.01%) ⬆️
server/internal/handlers/checks/stats.go 100.00% <100.00%> (ø)
server/internal/handlers/publicconfig/handler.go 95.16% <100.00%> (+0.07%) ⬆️
server/internal/handlers/uistate/service.go 92.00% <100.00%> (+0.33%) ⬆️
server/main.go 70.80% <100.00%> (+0.08%) ⬆️
server/pkg/cli/auth.go 89.04% <100.00%> (+0.10%) ⬆️
server/pkg/cli/starprompt.go 100.00% <100.00%> (ø)
... and 1 more

... and 18 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

fclairamb and others added 5 commits November 8, 2026 02:02
Sidebar link shown everywhere, prompt on the dashboard home after 7 days with an
enabled check and nothing down, persisted in the user-global github-star ui-state.
Switch: SP_APP_STARPROMPT=false.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… is hidden

The checklist reports its visibility via the shared isChecklistVisible
condition instead of the prompt requiring dismissedAt. Adds unit tests for
the analytics events (shown/clicked/dismissed).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@fclairamb
fclairamb marked this pull request as ready for review November 8, 2026 01:29
@fclairamb fclairamb changed the title feat: todos 2026-11-08 feat: GitHub star prompt Nov 8, 2026
@fclairamb fclairamb changed the title feat: GitHub star prompt chore: GitHub star prompt Nov 8, 2026
@fclairamb
fclairamb merged commit aa8cc85 into main Nov 8, 2026
38 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-08 branch November 8, 2026 10:54
fclairamb added a commit that referenced this pull request Nov 8, 2026
Stacked on #805: merge it first.

Fixes dashboard disconnect logging, slow-SQL log collapsing, uptimebar
lag warning, Slack acknowledge via response_url; specs for the rest.

Closes fclairamb/solidping-business#52
Closes fclairamb/solidping-business#53
Closes fclairamb/solidping-business#54
Closes fclairamb/solidping-business#55
Closes fclairamb/solidping-business#56

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant