mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
- onSettled now invalidates the ["artifacts"] list queries too, so an unstarred document leaves the Starred tab immediately instead of lingering until the next natural refetch (the tab is a separate list query from the memberships cache). - Rollback on error re-applies only the failed document's prior star on top of the current cache, instead of restoring a whole snapshot that could clobber a concurrent star mutation's optimistic state. - Add hook test asserting the artifacts list is invalidated on settle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@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.