Skip to content

fix(universe): beyond the Local Group scale a galaxy is named, not a star or a galaxy inside it - #1349

Merged
alowpoly merged 2 commits into
mainfrom
fix/galaxy-names-over-stars
Oct 5, 2026
Merged

alowpoly merged 2 commits into
mainfrom
fix/galaxy-names-over-stars

Conversation

@alowpoly

@alowpoly alowpoly commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Zooming out through the Local Group, M 31, M 33, NGC 300 and NGC 253 had no caption: a featured star inside each outranks a galaxy and held its circle. Between galaxies the id decided, so the LMC was named over the Milky Way and M110 over M 31. Now, more than 300 kpc from the camera, a star, black hole or galaxy within the circle of a galaxy that holds it is not a caption candidate. The rule is withinHolder in world-context-planner.ts, stated in universe-labels.md.

Proves the change: captions while wheeling out of /local-group/ from 5.3 to 20 Mly (10 steps), headless Chrome. Before: a dev server whose renderer matches main. After: this branch's build.

Caption Before After
M 31 0 of 10 10 of 10
M 33 0 of 10 9 of 10
Milky Way 2 of 10 10 of 10
Star names per step 2 to 4 0

The new case in world-context-planner.test.ts fails without the rule. On /virgo-cluster/ five star captions become their galaxies'; /m31/ and /m87/ keep theirs.

Clean: renderer tests (774), prepared-world-context.test.ts (115), renderer typechecks, eslint.

Limits: dots are decided as before; the M87* dot test leaves M87 unnamed, since a named M87 covers its dot. Not run on other engines, the iPad or rendered-page suites. No image.

PR rules: titles, PDS4 provenance and ISO plain language.

@alowpoly
alowpoly enabled auto-merge October 5, 2026 19:00
@alowpoly
alowpoly merged commit 41bfbe8 into main Oct 5, 2026
20 checks 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