Files
PaperClipAI/ui
Priya RamanandPaperclip 834f33c31b test(ui): flush passive effects with React act in CompanySkills tests
The local act helper wrapped flushSync, which flushes render work but
not passive effects. The install dialog seeds its state in a useEffect,
so tests added a setTimeout(0) hop to give it a chance to run. A
setTimeout callback and React's own scheduler task queue in a
different order each run, so the hop sometimes lost the race and the
test read stale state.

Delegate the helper to React's own act, which flushes passive effects
before it resolves, and remove the now-unneeded timing hops.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-05 08:07:54 +00:00
..

@paperclipai/ui

Published static assets for the Paperclip board UI.

What gets published

The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.

Storybook

Storybook config, stories, and fixtures live under ui/storybook/.

pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.