Files
PaperClipAI/ui
Dotta 931e7ac40d Surface review-thread access error instead of silent empty state (PAP-10580)
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.
2026-06-07 03:31:35 +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.