mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
After a failed preview or import, editing the package URL, source mode, target, or collision strategy cleared the preview but left the mutation error state behind, so the persistent error panel kept describing a superseded request (and a stale import error could resurface under a fresh preview). Route all configuration changes through a shared reset that also clears both mutations, and cover the reset in the component tests.
@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.