Skip to content

Standards map: full names on every node, a highlight that follows where the pointer rests - #102

Merged
jbspeakr merged 3 commits into
mainfrom
claude/project-thread-ucm3mg
Nov 12, 2026
Merged

jbspeakr merged 3 commits into
mainfrom
claude/project-thread-ucm3mg

Conversation

@jbspeakr

Copy link
Copy Markdown
Collaborator

Requested by Jan · project thread

What this changes

Follow-up to the standards map feedback (whitespace, hover flicker, intro animation), checked against main after #76, #80 and #96. The intro draw is already gone (#76), and the drawing already runs at full width (#80). This PR fixes what is still wrong:

  • Hover flicker. The highlight held through gaps, but it still switched on every node the pointer passed over. A sweep across the map re-dimmed about 110 elements and moved the card around ~20 times. Now there is hover intent: the highlight and the card move only when the pointer rests on a node (90 ms within 4 px), and they lift when it rests off the nodes for 240 ms. A sweep changes nothing. Keyboard focus is still immediate. The card also fades in now instead of popping in.
  • Truncated names. Seven nodes cut their names short ("JSON Web Token (JWT) Profile for OAuth 2.0…" appeared twice, and the two could not be told apart). A name now wraps onto a third line, and the layout makes that node taller (nodeHeight). Only RFC 7523, at 89 characters, still ends in an ellipsis. The drawing is ~60 px taller.
  • Band labels struck through. A line running through the gap above a band crossed out the body's name ("IETF OAuth", "Vendor", "OpenID Foundation"). The label's rim is wider now, so the line breaks around the name.

Code checklist

  • pnpm check passes (340 unit tests, including a new nodeHeight test).
  • Pages still read fully without JavaScript; the island only got smaller in logic.
  • Both themes checked. The screenshot baselines for the standards map change on purpose. Locally, the phone baselines also differ, which comes from my Chromium build and not the change (the drawing is hidden on phones). Please refresh them with the refresh-screenshots label.

New e2e test: a pointer sweeping across the map does not change the card or dim the map. The existing gap and hover tests pass unchanged.


Generated by Claude Code

…re the pointer rests

- A node's name wraps onto a third line instead of being cut short; only the longest
  title (RFC 7523) still ends in an ellipsis. The layout gives such a node the extra height.
- Hover intent: the neighbourhood highlight and the card move only once the pointer rests
  on a node, and lift once it rests off the nodes, so sweeping across the map no longer
  re-dims the drawing and throws the card about on every node it passes.
- The card fades in instead of popping.
- Band labels keep a wider rim of the plate, so a line through the gap no longer strikes
  through the body's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0175HbppRub9Vqxf4ZELogBK
@jbspeakr jbspeakr added the refresh-screenshots Regenerate Playwright screenshot baselines with CI's Chromium and commit them to the PR branch label Nov 12, 2026 — with Claude
@jbspeakr jbspeakr self-assigned this Nov 12, 2026
Generated by the screenshots workflow for #102.
@github-actions github-actions Bot removed the refresh-screenshots Regenerate Playwright screenshot baselines with CI's Chromium and commit them to the PR branch label Nov 12, 2026
@jbspeakr
jbspeakr merged commit 20e3005 into main Nov 12, 2026
2 checks passed
@jbspeakr
jbspeakr deleted the claude/project-thread-ucm3mg branch November 12, 2026 12:34
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