Skip to content

Add click-to-inspect object labels for canvas rendering - #110

Merged
seveibar merged 3 commits into
mainfrom
codex/add-object-label-dialog
Apr 14, 2026
Merged

Add click-to-inspect object labels for canvas rendering#110
seveibar merged 3 commits into
mainfrom
codex/add-object-label-dialog

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Summary

  • hide canvas labels by default, including inline arrow labels, unless explicitly enabled
  • add an Enable Object Interation debug toggle that opens a dialog when a labeled canvas object is clicked
  • add shared canvas hit-testing for points, lines, arrows, polygons, circles, rects, and infinite lines
  • cover the new hit-testing behavior with targeted tests

Testing

  • bun test
  • bun run build

@vercel

vercel Bot commented Apr 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
graphics-debug Ready Ready Preview, Comment Apr 13, 2026 5:58pm

Request Review

@seveibar
seveibar marked this pull request as ready for review April 13, 2026 17:30
@seveibar
seveibar merged commit bcf6d4d into main Apr 14, 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