Skip to content

Conversation

@Asymtode712
Copy link
Contributor

PR Description

This PR adds voltage and frequency display to voltage source schematic symbols.

Changes Done

  • Added _getSchematicSymbolDisplayValue() method to VoltageSource.ts to display voltage and frequency values
  • Utilized formatSiUnit() for proper SI prefix formatting (e.g., "5V 60Hz", "3.3V 1kHz")
  • Added voltage-source-display-rotations.test.tsx test covering all rotation angles (0°, 90°, 180°, 270°)
image

closes #1735

@vercel
Copy link

vercel bot commented Dec 10, 2025

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

Project Deployment Preview Comments Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview Comment Dec 10, 2025 5:52pm

@seveibar seveibar merged commit c7c085e into tscircuit:main Dec 10, 2025
12 checks passed
@tscircuitbot
Copy link
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

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


1 similar comment
@tscircuitbot
Copy link
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

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


@Asymtode712 Asymtode712 deleted the VoltageFeat branch December 11, 2025 03:51
@tscircuitbot
Copy link
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.

display voltage and frequency on voltage sources

3 participants