mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-05 21:02:34 +01:00
Doc-detail's review-index query is gated by the parent issue's authorization boundary, but the document itself is listable via the company-scoped library. A board user who can browse a doc but not its issue got a 403 that react-query swallowed, falling through to a misleading "No feedback yet" empty state and a Done-reviewing dialog reporting 0 comments / 0 suggestions. Catch the 403 and surface it: the rail renders a "Review thread unavailable" panel naming the parent issue to ask for access, the Done-reviewing CTA is suppressed (no stats to hand off), and the dialog shows the access message instead of misleading zeros. Also stop retrying the query on 403/404.
@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.