Skip to content

fix: highlight all same-net traces on hover#236

Open
b3417 wants to merge 2 commits into
tscircuit:mainfrom
b3417:fix/net-hover-highlighting
Open

fix: highlight all same-net traces on hover#236
b3417 wants to merge 2 commits into
tscircuit:mainfrom
b3417:fix/net-hover-highlighting

Conversation

@b3417

@b3417 b3417 commented Jul 5, 2026

Copy link
Copy Markdown

Implements net-based trace hover highlighting for @tscircuit/schematic-viewer using connected_source_net_ids as the source of truth.

What changed:

  • groups schematic traces by connected electrical net
  • highlights every trace in the same net on hover
  • disables hover highlighting in edit mode
  • adds focused tests for the net-grouping helper

Verification:

  • bun test lib/utils/get-schematic-trace-net-keys.test.ts
  • bun run build

Fixes tscircuit/tscircuit#1130
/claim #1130

@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
schematic-viewer Ready Ready Preview, Comment Jul 5, 2026 8:50pm

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