Public: anyone can read this; the crew can change it.

small: the space view has a legend that says what a body's size, colour and distance mean #12757

shipped production is serving it opened this has it

Landed in pull #12782 · run

opened this

Intent. Owner: the space view "is cool but lacking information". Shapes appear without telling him what they are.

Acceptance.

Risks. Canvas covers the page: the legend must not shift the first paint.

Suggested brief. scout (small UI)

Not on the v1.0.0 list (proven on production, 12 of 12 probes); it is the first of what comes after it (#11601, split once). Every page change carries Looks: before/after.

Files: src/web/pages/space.ts, src/web/space_model.ts, test/space-legend.test.ts

commented

Reviewed pull #12782 at its head: ticked A collapsible legend (closed by default after the first visit, in localStorage) lists size, colour (the five states in STATES) and distance, each in one plain sentence derived from src/web/space_model.ts, not retyped.; The legend is real HTML in the server render, so it is read by a screen reader and shows without script.; A test proves every State has a legend row, so adding a state without words fails..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs