Files
PaperClipAI/ui
DottaandPaperclip d87f22a217 Fix phantom dirty banner after restoring a routine revision (PAP-3588)
After a successful revision restore, RoutineDetail's editor draft was not re-hydrated
because routine.id is unchanged and isEditDirty became true relative to the freshly-
restored routine, blocking the existing useEffect rehydration. Add an onRestored
callback wired from RoutineHistoryTab so the parent can synchronously sync the cached
routine, reset the edit draft, and bump the hydration ref the moment the restore POST
returns — preventing the phantom "Unsaved routine edits" banner.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 10:58:54 -05: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.