fix(universe): a moons view relaxes the dimming of orbits outside its family as the camera pulls back - #1348
Merged
Merged
Conversation
… family as the camera pulls back
alowpoly
enabled auto-merge
October 5, 2026 17:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a moons view selected (for example the Earth–Moon system), every orbit outside the family stayed at 25% at every camera distance. Zooming out from Earth or the Moon selects that view on its own at about 560,000 km, so the planets' orbits stayed dim across the Solar System. The dimming now eases away between half and twice the host's distance from its star, as it already did on a body's page; up close nothing changes. The rule is
outsideFamilyOrbitOpacityin context-presentation-policy.ts, stated in universe-labels.md.Proves the change: the stroke opacity of the planets' orbits while zooming out of
/earth/and/jupiter/, read in headless Chrome at 1440 × 900. A planet's normal value is 0.65. Before: a dev server whose policy and planner files matchmain; css.earth reads the same for Earth. After: this branch's own build.world-context-system-selection.test.tsnow expects Jupiter's moons view, 6.7 AU out, to show Saturn's and Jupiter's orbits at the page's eased value (0.797);maingives 0.25 there.Clean: renderer
world-contextand policy tests (86),site/test/prepared-world-context.test.ts(115),pnpm typecheck:renderer, eslint on the changed files.Limits: not run on other browser engines, the iPad or the rendered-page suites. No image; the evidence is the measured opacity.
PR rules: titles, PDS4 provenance and ISO plain language.