Skip to content

Highlight same-net traces on hover#208

Open
ChandraDvitiyah wants to merge 1 commit into
tscircuit:mainfrom
ChandraDvitiyah:fix-same-net-trace-hover
Open

Highlight same-net traces on hover#208
ChandraDvitiyah wants to merge 1 commit into
tscircuit:mainfrom
ChandraDvitiyah:fix-same-net-trace-hover

Conversation

@ChandraDvitiyah
Copy link
Copy Markdown

Summary

  • add hover handling for schematic traces using existing rendered data-schematic-trace-id metadata
  • group schematic traces by their source trace connectivity key so every same-net segment highlights together
  • restore original trace strokes on pointer out/leave and skip invisible hit-target paths

Fixes tscircuit/tscircuit#1130

/claim tscircuit/tscircuit#1130

Testing

  • npm run format:check
  • npx tsc --noEmit
  • npx tsup --config tsup-webworker.config.ts
  • npx tsup-node ./lib/index.ts --dts --format esm --sourcemap

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 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 21, 2026 7:39am

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