Skip to content

Add schematic symbol props#751

Merged
seveibar merged 4 commits into
mainfrom
agent/add-schematic-symbol-props
Jul 23, 2026
Merged

Add schematic symbol props#751
seveibar merged 4 commits into
mainfrom
agent/add-schematic-symbol-props

Conversation

@MustafaMulla29

@MustafaMulla29 MustafaMulla29 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add SchematicSymbolProps and the schematicSymbolProps parser
  • keep the element schematic-only with an explicit, minimal prop surface
  • add required name and symbolName
  • support optional displayName and connections
  • reject an empty connections map when that prop is supplied
  • make chipRef optional, matching schematicbox
  • support schX, schY, schRotation, schSectionName, and schSheetName
  • export the new props and regenerate documentation

The schema intentionally does not extend commonComponentProps, avoiding unrelated PCB, footprint, supplier, and CAD props.

This is a props-only API change; it does not require a circuit-json schema change.

Validation

  • bun test (377 passed)
  • bun run typecheck
  • bun run build
  • bun run format:check
  • bun run check-circular-deps

@MustafaMulla29
MustafaMulla29 marked this pull request as ready for review July 23, 2026 18:04
@MustafaMulla29
MustafaMulla29 requested a review from seveibar July 23, 2026 18:04
@seveibar
seveibar merged commit 42c8bb7 into main Jul 23, 2026
5 checks passed
@seveibar
seveibar deleted the agent/add-schematic-symbol-props branch July 23, 2026 23:57
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

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