Skip to content

feat(onboarding): populated island + live arc orbit on the signed-out landing#72

Merged
rezailmi merged 1 commit into
mainfrom
feat/landing-showcase-arc-orbit
May 25, 2026
Merged

feat(onboarding): populated island + live arc orbit on the signed-out landing#72
rezailmi merged 1 commit into
mainfrom
feat/landing-showcase-arc-orbit

Conversation

@wondopamine
Copy link
Copy Markdown
Collaborator

Summary

Signed-out visitors land on /onboarding behind the EdupassLogin surface. Previously it was a sparse mailbox-and-telescope island that read as "is this thing on?" rather than "look what you can grow." This PR fixes two things together:

  • Populated showcase island. New landingShowcase prop on EngineHost (default false, so production onboarding is untouched) calls view.flowers.showAll() + view.tree.showAll() + view.butterflies.showAll() once the engine boots. Cleanup re-hides them so the sign-in transition lands cleanly on the intentional empty stage. Wired from _app.tsx's signed-out branch only.
  • Live arc orbit. The orbit was meant to start via camera.startLandingOrbit, but _app.tsx was passing camera={null} and the JSX-bare reducedMotion prop (which evaluates to true) into EdupassLogin — so the orbit was a no-op regardless of the preset. SignedOutOnboarding now pulls the live engine through useEngine(), hands EdupassLogin the real view.camera, and resolves prefers-reduced-motion via a media-query hook. The login-orbit preset bumps from 1°/s → 3°/s (~120 s per rotation — unmistakable sweep without dizziness), drops pitch 35° → 28° for a more horizon-level framing, and trims distance 33.9 → 32 so the populated island fills more of the frame.

Test plan

  • Sign out, open /onboarding: see flowers + tree + butterflies on the island (not just mailbox + telescope).
  • Watch the camera: the island rotates continuously and the orbit anchors on the island center.
  • Sign in with Edupass or demo: the populated flora cleans up and the empty onboarding stage takes over, so the first-flower bloom still reads as a fresh event.
  • System-level prefers-reduced-motion honored — orbit does not start when reduced motion is on.
  • If you've tuned login-orbit via the dev camera HUD before, clear localStorage.removeItem('studentSpace.cameraTuner.overrides') to drop your override and see the new defaults.

🤖 Generated with Claude Code

… landing

Signed-out visitors land on /onboarding behind the EdupassLogin surface
— previously a sparse mailbox-and-telescope island that read as "is
this thing on?" instead of "look what you can grow." Two pieces here:

A new `landingShowcase` prop on EngineHost (defaulting false so the
production onboarding ceremony is untouched) calls view.flowers.showAll
+ view.tree.showAll + view.butterflies.showAll once the engine is
ready, and the cleanup re-hides them so the sign-in transition lands
cleanly on the intentional empty stage. Wired from _app.tsx's signed-
out branch.

Camera was meant to slowly orbit the island via
camera.startLandingOrbit, but _app.tsx was passing `camera={null}` and
the JSX-bare `reducedMotion` prop (which evaluates to true) into
EdupassLogin — so the orbit never started, regardless of the preset.
SignedOutOnboarding now pulls the live engine through useEngine(),
hands EdupassLogin the real `view.camera`, and resolves
prefers-reduced-motion through a media-query hook instead of a
hardcoded true. The login-orbit preset bumps from 1°/s to 3°/s (~120s
per rotation, the speed where the sweep is unmistakable but never
dizzying), drops pitch from 35° to 28° for a more horizon-level
framing, and trims distance from 33.9 to 32 so the populated island
fills more of the frame.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sensemaking-agents Ready Ready Preview, Comment May 25, 2026 12:39am

@rezailmi rezailmi merged commit 2285686 into main May 25, 2026
4 checks passed
@rezailmi rezailmi deleted the feat/landing-showcase-arc-orbit branch May 25, 2026 00:49
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.

2 participants