Repository navigation
site: survive missing WebGL; globe acts out the three steps - #41
Merged
Merged
Conversation
… and docs/third-party.md
- 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.
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.
Two landing-page fixes, both already live via a manual
wrangler pages deploy.WebGL crash. With graphics acceleration off (or a blocklisted GPU),
new WebGLRendererthrew inside R3F's layout effect and, with no error boundary, React unmounted the whole root: blank page.SceneBoundaryinApp.jsxnow catches it (and a failed lazy chunk load) and shows the existing.globe-waitplaceholder.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.
globeProgressScrollTrigger removed.Verification:
npm test45/45,npm run buildincl. prerender; Chromium withgetContext('webgl*')→ null renders the full page with the placeholder; screenshots at 1440 / 390 / 360 px of allow, hold, block phases.