Skip to content

fix: highlight same-net schematic traces on hover#199

Open
sandliu wants to merge 1 commit into
tscircuit:mainfrom
sandliu:fix/1130-trace-net-hover-highlight
Open

fix: highlight same-net schematic traces on hover#199
sandliu wants to merge 1 commit into
tscircuit:mainfrom
sandliu:fix/1130-trace-net-hover-highlight

Conversation

@sandliu
Copy link
Copy Markdown

@sandliu sandliu commented May 13, 2026

Fixes tscircuit/tscircuit#1130.

Summary

  • add useTraceNetHoverHighlight hook in SchematicViewer
  • when hovering any rendered schematic trace, apply highlight to all traces sharing the same data-subcircuit-connectivity-map-key
  • preserve existing styles and only add a small class-based hover style for trace groups

Verification

  • npx --yes -p typescript@5.6.3 tsc --noEmit
  • npm run format:check

Manual behavior verified by code-path inspection in the existing schematic trace rendering flow.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 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 13, 2026 8:10am

Request Review

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.

Change of color on hover for traces are missing

1 participant