Skip to content

Support standard=usb_c for connector using parts-engine#2090

Merged
MustafaMulla29 merged 16 commits intomainfrom
feat/usb_c
Apr 2, 2026
Merged

Support standard=usb_c for connector using parts-engine#2090
MustafaMulla29 merged 16 commits intomainfrom
feat/usb_c

Conversation

@MustafaMulla29
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 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 2, 2026 6:49am

Request Review

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.

Good start!!!!

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 pretty good, this is not an easy PR, but you're doing pretty good, let's just polish it up we're close

circuitJson,
)
this.addAll(fpComponents)
this._markDirty("InitializePortsFromChildren")
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.

do you have to mark this dirty? That is for revisiting a render method

}

updateInitializePortsFromChildren(): void {
this.initPorts()
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.

i suspect you don't need this because there's no need to mark this phase dirty because of the render order

Copy link
Copy Markdown
Contributor Author

@MustafaMulla29 MustafaMulla29 Apr 2, 2026

Choose a reason for hiding this comment

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

Tests are failing if I remove this, I think if we remove this, then it requires a broader changes in other files

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 looks good, just see my comment on the dirty phase marking, we don't want to mark it dirty unless we have to

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 an ok start (rename the render phase before merge!!!) but you need to standard the pinLabels in the next PR, whenever using usb_c the user should expect to have the same pinLabels/connections

@MustafaMulla29 MustafaMulla29 merged commit b98ce3d into main Apr 2, 2026
14 of 15 checks passed
@MustafaMulla29 MustafaMulla29 deleted the feat/usb_c branch April 2, 2026 06:55
@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐⭐
Impact: Major

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

3 participants