Skip to content

site: survive missing WebGL; globe acts out the three steps - #41

Merged
Jimuelle07 merged 3 commits into
mainfrom
fix/site-webgl-globe
Nov 13, 2026
Merged

Jimuelle07 merged 3 commits into
mainfrom
fix/site-webgl-globe

Conversation

@Jimuelle07

Copy link
Copy Markdown
Owner

Two landing-page fixes, both already live via a manual wrangler pages deploy.

WebGL crash. With graphics acceleration off (or a blocklisted GPU), new WebGLRenderer threw inside R3F's layout effect and, with no error boundary, React unmounted the whole root: blank page. SceneBoundary in App.jsx now catches it (and a failed lazy chunk load) and shows the existing .globe-wait placeholder.

Globe. The scroll-driven sun/moon eclipse didn't say anything. The scene now acts out the three step cards on the hero console's sample payments: the payment travels Agent → Guardian, the Guardian asks the Checker, the verdict chip appears (allow / hold / block, with reason), then allow goes on to the Payee, hold circles the Guardian in escrow, block flares the corona and bounces back. The matching step card highlights. Reduced motion: static diagram. globeProgress ScrollTrigger removed.

Verification: npm test 45/45, npm run build incl. prerender; Chromium with getContext('webgl*') → null renders the full page with the placeholder; screenshots at 1440 / 390 / 360 px of allow, hold, block phases.

- SceneBoundary around the lazy Eclipse scene: a missing WebGL context or a
  failed chunk load now shows the static placeholder instead of unmounting
  the whole page (blank screen with graphics acceleration off).
- Eclipse scene rewritten: the hero's sample payments travel Agent ->
  Guardian -> Checker verdict -> Payee / escrow ring / bounce-back, and the
  matching step card lights up. Scroll-driven eclipse removed.
Eclipse.jsx: keep the step-synced scene; carry over #40's mouse-only,
stage-wide pointer tracking. #40's Agent-node clamp is not needed: nodes
sit at z 0 and the scene scales to fit.
@Jimuelle07
Jimuelle07 merged commit 956de76 into main Nov 13, 2026
1 check passed
@Jimuelle07
Jimuelle07 deleted the fix/site-webgl-globe branch November 14, 2026 06:02
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