Skip to content

Show text-only and arrow-only solver graphics - #32

Open
ugin-man wants to merge 1 commit into
tscircuit:mainfrom
ugin-man:codex/show-text-only-graphics
Open

Show text-only and arrow-only solver graphics#32
ugin-man wants to merge 1 commit into
tscircuit:mainfrom
ugin-man:codex/show-text-only-graphics

Conversation

@ugin-man

@ugin-man ugin-man commented Sep 7, 2026

Copy link
Copy Markdown

The debugger checks points, lines, rectangles, and circles to decide whether a visualization is empty, but omits the supported texts and arrows arrays. A solver returning only a text annotation or only arrows therefore shows “No Graphics Yet”.

Include both arrays in the emptiness check. Component rendering tests verify that text-only and arrow-only visualizations reach the renderer, while empty graphics still show the placeholder. The tests provide minimal browser APIs needed by the interactive renderer during initial rendering.

Validation: both display regressions fail against the original code. All 25 tests (94 assertions), tsc --noEmit, and bun run build pass with the fix.

Prepared with Codex (Astra) assistance and verified locally.

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

@ugin-man is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant