Skip to content

Legibility: team ring on every ship + hull name on the label - #16

Merged
goetchstone merged 1 commit into
mainfrom
ui/ship-legibility
Jul 31, 2026
Merged

Legibility: team ring on every ship + hull name on the label#16
goetchstone merged 1 commit into
mainfrom
ui/ship-legibility

Conversation

@goetchstone

Copy link
Copy Markdown
Owner

Owner-reported: can't tell which ship is which or what team at a glance. Adds an always-on team-coloured ring under every unit (selection ring still layers on top) and puts the hull's properName under the captain's name. 1,249 tests green.

🤖 Generated with Claude Code

Owner: "I need to be able to tell what ship is what ship and what team
they are on easily." Neither read was carried:

- TEAM was conveyed by hull tint alone, and a tinted hull at speed in a
  brawl is not a friend/foe cue. Every unit now sits on a team-coloured
  ring (filled disc + rim) on the water plane, drawn always — not only
  when selected. The white selection ring layers on top, so "selected"
  stays distinct from "whose". Redrawn only when selection/team/radius
  change (the existing ring signature, now team-keyed), so it costs
  nothing per frame.
- WHICH SHIP was never shown: the floating label carried only the
  captain's name. It now reads captain over hull, using ShipSpec
  .properName (Juggernaut, Leviathian, The Black Pearl...) — the per-hull
  name, since the generic class is shared by several hulls and cannot
  discriminate them. Missing properName degrades to the name alone.

1,249 tests green; lint clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@goetchstone
goetchstone merged commit 8d79b5d into main Jul 31, 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