Skip to content

Retake the dashboard screenshots with light and dark versions - #37

Merged
koenpunt merged 1 commit into
masterfrom
claude/project-thread-k8risy
Nov 1, 2026
Merged

koenpunt merged 1 commit into
masterfrom
claude/project-thread-k8risy

Conversation

@koenpunt

Copy link
Copy Markdown
Contributor

Requested by Koen · project thread

Before: the landing page, the auto-deploy solution page and guides 3, 6, 7, 8 and 10 showed dashboard screenshots from 2019, light only.

After: they show the current dashboard (Primer 22), in light or dark to match the reader's system color mode. A small Light / Dark switch above each screenshot lets the reader pick; the choice applies to every screenshot on the site and is remembered in the browser.

Why

The dashboard was restyled and gained dark mode, so the old screenshots no longer matched what people see after signing in. Showing the dark version on a dark site also looks less jarring.

How

  • Replaced deploy-list, deploy-show, deploy-locked, promote-button and deploy-analytics with new light versions and added *-dark.png next to each. They were taken from a local dashboard with demo data for a made-up repository, at the same 1600 × 1000 size as before.
  • Highlights get an optional dark_image; screenshots render as <picture class="screenshot"> with a dark <source> for prefers-color-scheme: dark, so they work without JavaScript.
  • assets/screenshots.js adds the switch and overrides the dark source's media query when the reader picks a theme.
  • The locking guide now describes the "Environment locks" menu, and its image alt text describes the image.

Not changed: pr-deploy.png, promoted-check.png and deploy-slack.png show GitHub or Slack, not the dashboard.

Checked with make build && make test, and in Chromium in both color modes: the switch swaps the images, and the choice carries over between pages.


Generated by Claude Code

The five dashboard screenshots on the landing page, solution pages and
guides are replaced with ones of the current dashboard (Primer 22), each
with a dark version. A screenshot follows the reader's system color mode,
and a Light / Dark switch above it lets them pick; the choice applies to
every screenshot and is remembered. The locking guide now describes the
Environment locks menu.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TE7JNLZLd4WFUvgYyHLM3Q
@koenpunt koenpunt self-assigned this Oct 20, 2026
@koenpunt
koenpunt merged commit 30c609f into master Nov 1, 2026
2 checks passed
@koenpunt
koenpunt deleted the claude/project-thread-k8risy branch November 1, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants