Skip to content

feat(web): promote Segments to default server-load style, cull bake-off candidates#41

Merged
DanielGGordon merged 2 commits into
mainfrom
t3code/host-stats-promote-segments
Jul 23, 2026
Merged

feat(web): promote Segments to default server-load style, cull bake-off candidates#41
DanielGGordon merged 2 commits into
mainfrom
t3code/host-stats-promote-segments

Conversation

@DanielGGordon

Copy link
Copy Markdown
Owner

What

Follow-up to #39: segments (the gpt-5.6-sol LED-meter design) won the bake-off and is now the default server-load readout style.

  • DEFAULT_SIDEBAR_HOST_STATS_STYLE"segments" — any device that never touched the picker gets the new look as soon as it enables Server load.
  • The six losing variant components are deleted; the picker now offers just Segments and Classic (plain text).
  • Retired style ids remain decodable in the settings schema (rendered as segments), so a device that stored e.g. rings during the bake-off keeps all its settings rather than failing the whole-settings decode back to defaults.
  • docs/host-stats-variants/ (2.7MB of comparison PNGs) is removed; the merged feat(web): server-load readout redesign — 7 switchable style candidates #39 body now pins its images to the merge-commit SHA so its visual record survives branch deletion.

Verified on an isolated instance: fresh device + Server load on → Segments renders with no picker interaction; picker shows exactly the two surviving options. Typecheck, lint, web tests (1326), and the desktop settings round-trip all pass.

🤖 Generated with Claude Code

The gpt-5.6-sol "segments" LED-meter design won the PR #39 bake-off.

- DEFAULT_SIDEBAR_HOST_STATS_STYLE -> "segments"
- Remove the six losing variant components; picker now offers only
  Segments and Classic (plain text)
- Retired style ids stay decodable in the settings schema and render as
  segments, so devices that stored a bake-off value keep their settings
  instead of failing the whole-settings decode back to defaults
- Drop docs/host-stats-variants (2.7MB of comparison screenshots); the
  merged PR #39 body now pins its images to the merge commit SHA

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jul 23, 2026
Feedback on the segments default: the footer row was project-row height
with the readout floating small and low.

- Footer row is now h-18 on desktop — 1.5x the 48px project rows
- Settings button squished to its content width and stretched to the
  full row height
- The readout card fills the remaining width and the full height, so
  its top edge aligns with the row; bigger cells (h-2.5) and 13px
  values at the larger size
- Mobile keeps the original compact row

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@DanielGGordon
DanielGGordon merged commit 67fd944 into main Jul 23, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant