Skip to content

Fix global objectLimit behavior#118

Open
vegapunk9527 wants to merge 1 commit into
tscircuit:mainfrom
vegapunk9527:codex/global-object-limit-after-filters
Open

Fix global objectLimit behavior#118
vegapunk9527 wants to merge 1 commit into
tscircuit:mainfrom
vegapunk9527:codex/global-object-limit-after-filters

Conversation

@vegapunk9527
Copy link
Copy Markdown

Fixes #42
/claim #42

Summary

  • applies objectLimit globally after layer/step/viewport filtering instead of per object type
  • reports the pre-limit filtered object count in the toolbar warning
  • adds focused coverage for global group limiting behavior

Verification

  • npx --yes bun test
  • npx --yes bun run build
  • npx --yes biome check site/components/InteractiveGraphics/InteractiveGraphics.tsx tests/limit-object-groups.test.ts
  • npx --yes tsc --noEmit
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

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

Project Deployment Actions Updated (UTC)
graphics-debug Ready Ready Preview, Comment May 11, 2026 11:00am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option objectLimit that limits the number of objects displayed (after filters) on InteractiveGraphics

1 participant