Skip to content

Fix global objectLimit handling in InteractiveGraphics#215

Open
SkinnyFatBoy05 wants to merge 1 commit into
tscircuit:mainfrom
SkinnyFatBoy05:fix-object-limit-global
Open

Fix global objectLimit handling in InteractiveGraphics#215
SkinnyFatBoy05 wants to merge 1 commit into
tscircuit:mainfrom
SkinnyFatBoy05:fix-object-limit-global

Conversation

@SkinnyFatBoy05
Copy link
Copy Markdown

/claim #42

Summary

  • apply objectLimit once across all filtered InteractiveGraphics object buckets instead of once per bucket
  • keep the warning based on the pre-limit filtered object count
  • add focused coverage for the global limiter behavior

Verification

  • npx.cmd bun test tests/applyObjectLimitToBuckets.test.ts
  • npx.cmd bun test
  • npx.cmd biome check site/components/InteractiveGraphics/InteractiveGraphics.tsx site/components/InteractiveGraphics/applyObjectLimitToBuckets.ts tests/applyObjectLimitToBuckets.test.ts
  • .\node_modules\.bin\tsc.exe --noEmit
  • npx.cmd bun run build

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 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 15, 2026 4:23am

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.

1 participant