Skip to content

Fix USB-C connector pin-label normalization and schematic render lifecycle#2095

Open
MustafaMulla29 wants to merge 2 commits intomainfrom
fix/ubsc-pins
Open

Fix USB-C connector pin-label normalization and schematic render lifecycle#2095
MustafaMulla29 wants to merge 2 commits intomainfrom
fix/ubsc-pins

Conversation

@MustafaMulla29
Copy link
Copy Markdown
Contributor

No description provided.

…cycle; add fixture-based tests including custom pinLabels
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

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

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview, Comment Apr 3, 2026 3:35am

Request Review

@MustafaMulla29 MustafaMulla29 requested a review from seveibar April 2, 2026 19:26
Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you shouldn't canonicalize the pin numbers, just the labels

and you can ignore the shell.

Basically, don't change anything except add aliases to existing pins

Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really complex! i don't think you need this much complexity tbh, you just need to add the aliases by having a common set of mappings, you don't need to remap pin numbers, which aren't expected to be consistent. However, i ALWAYS expect DM and DP (data minus and data positive) and CC1, GND1, GND2 etc.

@MustafaMulla29 MustafaMulla29 changed the title Fix USB-C connector pin-label normalization and schematic render lifecycle, add fixture-based tests including custom pinLabels Fix USB-C connector pin-label normalization and schematic render lifecycle Apr 3, 2026
@MustafaMulla29 MustafaMulla29 requested a review from seveibar April 3, 2026 03:37
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