Skip to content

Phone: laptop-like sky density and a roomier layout - #9

Merged
AndrewRobalino merged 2 commits into
mainfrom
feat/mobile-sky
Oct 3, 2026
Merged

AndrewRobalino merged 2 commits into
mainfrom
feat/mobile-sky

Conversation

@AndrewRobalino

@AndrewRobalino AndrewRobalino commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Makes the phone version look like the laptop one and gives it room to breathe.

Sky density. The phone drew all ~6,000 naked-eye stars into a ~260 px chart, about 15x denser than a laptop, so it looked like speckle. The faintest magnitude drawn now scales with the chart area (counts grow x3.1 per magnitude, measured on our catalog), so star density matches a laptop. Phones draw down to about mag 5.9; laptops are unchanged (6.5). The data, positions and Save image are untouched.

Layout (phones only): full-width square chart; Save/Constellations stacked in the corner outside the horizon circle; tighter padding and spacing. Desktop layout unchanged.

The disabled "Explore in 3D" placeholder is removed everywhere until Phase 4 exists.

Tests: frontend 297 passing (density formula + small-chart hit-test + layout intent), lint clean.

Check on a phone before merging: the Cloudflare preview link on this PR.

🤖 Generated with Claude Code

Star dots are fixed-size, so drawing all ~6k naked-eye stars into a
~260 px phone chart packed them ~15x denser than on a laptop (speckle,
no constellations). The drawn magnitude limit now scales with chart area
(renderMagLimit: counts grow x3.1/mag, measured on our catalog), so
density matches a 500 px laptop chart; laptops still draw to 6.5. Data,
positions and Save image are unchanged.

Phones also get a full-width square chart, the Save/Constellations
buttons stacked in the corner outside the horizon circle, the disabled
Explore-in-3D placeholder hidden, and tighter padding/spacing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Deploying skyvault with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8e5a386
Status: ✅  Deploy successful!
Preview URL: https://e1fb14e5.skyvault-25r.pages.dev
Branch Preview URL: https://feat-mobile-sky.skyvault-25r.pages.dev

View logs

It was a disabled "coming soon" button sitting on the sky. Removed with
its component and the Button variant only it used; git history keeps
them for when the 3D mode is built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AndrewRobalino
AndrewRobalino merged commit c9e46b3 into main Oct 3, 2026
3 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