Skip to content

Visual improvements: quieter threads, label fit, theme toggle - #3

Merged
RobinpZA merged 3 commits into
mainfrom
visual-improvements
Nov 12, 2026
Merged

RobinpZA merged 3 commits into
mainfrom
visual-improvements

Conversation

@RobinpZA

Copy link
Copy Markdown
Owner

What changed

  • Zoomed-in view: relationship threads are faint and brighten when a feature or its "Works with" row is hovered or focused. Related labels hide when they would overlap; only the selected label is always kept.
  • Zoom fit: the focus zoom is chosen from the real label widths so labels end inside the free area (desktop only; phones keep the map large).
  • Selected star: halo and solid ring in the constellation colour.
  • Theme toggle: button beside the plan filter, remembered in localStorage (constellate-theme), applied before first paint. color-scheme is set per theme so native dropdowns and scrollbars follow.
  • Hint: moves to the bottom-right corner between 721 and 1200px wide so it no longer covers the footer.
  • Details panel: one licence pill with alternatives as plain text; "Works with" lists same-service features first, then by service.
  • Controls: pressed states, a themed select arrow, radius tokens.
  • Version 0.3.0; theme toggle ticked on the roadmap.

Checked

  • npm test: 24 of 24 pass. npm run validate: 0 errors, 0 warnings.
  • Viewed at 1280, 1150, 1000, 800 and 375px wide, dark and light: no overlapping labels, hint clear of the footer.
  • Page renders all 11 constellations when opened from the file system (headless Edge).

Known limits

  • At 800px wide with the panel open, four labels still run off the edge (420px is left for the map).
  • Not checked: Firefox, a private window with storage blocked, first paint on a slow connection.
  • A theme change in another open tab only shows after a reload.

Merging deploys to the live site.

🤖 Generated with Claude Code

@RobinpZA
RobinpZA merged commit 137233b into main Nov 12, 2026
1 check passed
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.

1 participant