Skip to content

site: fix clipped Agent node, faded diagram boxes, empty Numbers card - #40

Merged
Jimuelle07 merged 2 commits into
mainfrom
fix/site-visual-bugs
Nov 13, 2026
Merged

Jimuelle07 merged 2 commits into
mainfrom
fix/site-visual-bugs

Conversation

@helenaherrero515

@helenaherrero515 helenaherrero515 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Three visual fixes on the landing page.

  • Eclipse (How it works): the Agent node was clamped against the canvas width at z 0, but it sits at z 1.6 where the visible width is smaller, so its ring and label got cut off at the left edge. It now clamps against the width at its own depth.
  • How it works diagram: the boxes (agent, Guardian, allow/hold/block) could look missing while the arrows were drawn. They now fade in by opacity only (no SVG transform), start from 0.4 instead of 0.18, and the scroll build finishes once the diagram is in view.
  • Demo card 06 (Numbers): the card was mostly empty space next to the taller hold-log card. It now shows missed attacks, false blocks and false holds, no defense vs Eclipse, read from docs/results/results.json through the same headline() as the Results section.
  • Eclipse follows the mouse: the globe tilts toward the cursor (up to about 20°) and drifts a little after it, anywhere on the stage, including over the step cards. Mouse only, so touch still scrolls; off under reduced motion.

Checked: npm test (45 pass), npm run build, screenshots at 1920, 1280 and 1024 px wide.

Not included: the uncommitted .github/workflows/site.yml deploy job and site/README.md edits in the working tree.

- Eclipse: clamp the Agent node against the visible width at its own depth (z 1.6), so it no longer crosses the canvas edge.
- How it works diagram: boxes fade in by opacity only (no SVG transform), from a higher floor, and the build finishes once the diagram is in view.
- Demo card 06: show no defense vs Eclipse missed attacks, false blocks and false holds from docs/results/results.json, filling the empty card.
Pointer listener moves from the canvas to the stage, so the step cards no longer block it; mouse only, so touch still scrolls. The globe tilts up to about 20 degrees and drifts a little after the cursor, and settles back when it leaves. Off under reduced motion.
@Jimuelle07
Jimuelle07 merged commit d431f97 into main Nov 13, 2026
1 check passed
Jimuelle07 added a commit that referenced this pull request Nov 13, 2026
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.
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