Skip to content

Standardize USB-C connector schematic pin labels#2131

Merged
MustafaMulla29 merged 4 commits intomainfrom
fix/pin-sch
Apr 13, 2026
Merged

Standardize USB-C connector schematic pin labels#2131
MustafaMulla29 merged 4 commits intomainfrom
fix/pin-sch

Conversation

@MustafaMulla29
Copy link
Copy Markdown
Contributor

@MustafaMulla29 MustafaMulla29 commented Apr 13, 2026

@seveibar should the SHELL handling be removed?

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 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 13, 2026 6:18pm

Request Review

@MustafaMulla29 MustafaMulla29 requested review from imrishabh18 and seveibar and removed request for seveibar April 13, 2026 07:16
{ label: "SHELL2", aliases: ["MH2", "EH2", "MOUNT2"] },
{ label: "SHELL3", aliases: ["MH3", "EH3", "MOUNT3"] },
{ label: "SHELL4", aliases: ["MH4", "EH4", "MOUNT4"] },
]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is good

* USB-C signal names). Applied as additional per-pin aliases in initPorts
* so they flow to source_port.port_hints and the schematic display.
*/
private _derivedStandardPinLabels: Record<string, string> | null = null
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is an oxymoron, you cannot be both derived and standard, it confuses the direction of information

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.

do not confuse the direction of information. The standard pin labels are not derived.

@seveibar
Copy link
Copy Markdown
Contributor

The code needs to be reoriented to avoid the confusion- it is written as if we use the circuit json to get pin labels. The pin labels do not come from the circuit json, we match the circuit json to standard pin labels

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.

Same comment as before. Why is getStandardPinLabels taking in circuit json- it doesnt make sense. You need to start over

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.

Why arent thr stmbols the same tho?

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.

Thr symbols need to be identical

@seveibar
Copy link
Copy Markdown
Contributor

You can fix in the next pr

@MustafaMulla29 MustafaMulla29 merged commit 73a1606 into main Apr 13, 2026
13 checks passed
@MustafaMulla29 MustafaMulla29 deleted the fix/pin-sch branch April 13, 2026 19:36
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