Skip to content

Highlight connected schematic traces on hover#215

Open
cuongdodhct-a11y wants to merge 1 commit into
tscircuit:mainfrom
cuongdodhct-a11y:fix-highlight-connected-traces
Open

Highlight connected schematic traces on hover#215
cuongdodhct-a11y wants to merge 1 commit into
tscircuit:mainfrom
cuongdodhct-a11y:fix-highlight-connected-traces

Conversation

@cuongdodhct-a11y
Copy link
Copy Markdown

Fixes tscircuit/tscircuit#1130

/claim tscircuit/tscircuit#1130

Summary

  • map schematic trace groups back to their source trace ids from Circuit JSON
  • add hover listeners that apply the same highlight class to every schematic trace sharing a source trace
  • preserve the existing trace hover visual treatment while extending it across connected traces

Verification

  • npx bun run build
  • npx biome check lib/components/SchematicViewer.tsx
  • npx bun test (reports no test files in this repo)
  • preview server: npx bun run start -- --host 127.0.0.1 --port 5005, confirmed Cosmos and Vite renderer return HTTP 200

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

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

Project Deployment Actions Updated (UTC)
schematic-viewer Ready Ready Preview, Comment May 26, 2026 6:55am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change of color on hover for traces are missing

1 participant