Skip to content

Add Show Warnings toggle to schematic context menu - #272

Merged
seveibar merged 1 commit into
mainfrom
feat/context-menu-warnings
Sep 12, 2026
Merged

Add Show Warnings toggle to schematic context menu#272
seveibar merged 1 commit into
mainfrom
feat/context-menu-warnings

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Adds a Show Warnings checkbox to the schematic right-click menu. Warnings start hidden; toggling the item immediately shows or hides yellow warning outlines and text callouts from the supplied circuit JSON. The menu stays open and supports mouse and keyboard activation.

Passes the toggle state to shouldDrawWarnings and updates circuit-to-svg to ^0.0.416, which includes the schematic warning renderer.

Validation: all 28 tests pass, including an integration test that opens the viewer context menu and shows/hides rendered warnings with mouse and keyboard. Type checking, build, formatting, and git diff --check pass.

@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
schematic-viewer Ready Ready Preview Sep 12, 2026 8:38pm UTC

Request Review

@seveibar
seveibar merged commit d1dd3c0 into main Sep 12, 2026
4 checks passed
@tscircuitbot

Copy link
Copy Markdown

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.

2 participants