Skip to content

Fix object limit after filtering#222

Open
ChandraDvitiyah wants to merge 1 commit into
tscircuit:mainfrom
ChandraDvitiyah:fix-object-limit-after-filters
Open

Fix object limit after filtering#222
ChandraDvitiyah wants to merge 1 commit into
tscircuit:mainfrom
ChandraDvitiyah:fix-object-limit-after-filters

Conversation

@ChandraDvitiyah
Copy link
Copy Markdown

Summary

  • apply objectLimit once across the full post-filtered render set instead of per object type
  • compute the received object count before limiting so the warning reflects the real filtered total
  • handle objectLimit={0} and keep the limit warning visible even when step controls are hidden

Fixes #42

Testing

  • npm run format:check
  • npm run build

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 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 21, 2026 7:25am

Request Review

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.

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

1 participant