Skip to content

fix: render failed status-dot as a dotted ring (was a 4-dash flower)#283

Merged
sahil-noon merged 1 commit into
mainfrom
azure-stork
Jun 16, 2026
Merged

fix: render failed status-dot as a dotted ring (was a 4-dash flower)#283
sahil-noon merged 1 commit into
mainfrom
azure-stork

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Summary

The failed StatusDot rendered as a pink "flower" in the sidebar instead of the intended dashed ring from the design doc. Root cause: a CSS dashed border on a 7px circle fits only ~4 dashes (the browser controls the count), so they read as flower petals — and the 4px red center overflowed the thin ring. CSS gives no control over dash count, so this switches to a dotted border on a slightly larger 9px footprint, which renders as a clean bead ring at the dense sidebar size.

Changes

  • status-dot.tsx — failed branch: 1.8px dashed @ 7px → 1.2px dotted @ 9px; red center 4px → 3px (now fits the ring's ~6.6px inner hole). The failed dot is the one deliberate exception to the uniform 7px DOT_SIZE; comments updated to document why.
  • status-dot.test.tsx / window-row.test.tsx — 4 assertions + names/comments: "dashed""dotted".
  • docs/site/status-dot.md — spec language "dashed ring" → "dotted ring"; the CSS detail row now documents dotted 1.2px @ 9px.
  • docs/img/status-dot-matrix.svg — all 5 failed cells + legend: dashed stroke-dasharray="3 2" → round-capped dotted (stroke-linecap="round" stroke-dasharray="0.1 3").

Verification

  • just check (tsc --noEmit) — clean
  • Full frontend Vitest suite — 790/790 pass
  • Frontend-only change (no Go touched)

🤖 Generated with Claude Code

The failed StatusDot used a CSS dashed border on a 7px circle, which fits
only ~4 dashes — they read as flower petals, not the intended fine dashed
ring, and the 4px red center overflowed the thin ring. Switch to a dotted
border on a slightly larger 9px footprint with a 1.2px stroke and a 3px red
center (the one shape that breaks the uniform 7px DOT_SIZE). Update the
status-dot doc + matrix SVG to match.
@sahil-noon sahil-noon marked this pull request as ready for review June 16, 2026 08:26
@sahil-noon sahil-noon merged commit 91283bd into main Jun 16, 2026
5 checks passed
@sahil-noon sahil-noon deleted the azure-stork branch June 16, 2026 08:26
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