Files
PaperClipAI/ui
DottaandPaperclip 2f23e4f1ca Add issue Documents tab + Open-in-Documents ergonomics (PAP-10569)
UX spec PAP-10520 §6. Inline IssueDocumentsSection plan editing/revision is
unchanged; it gains an "Open in Documents" (ExternalLink) button routing to
/documents/<id>?from=issue:<key> and a 💬N · ✎M feedback summary per doc.

New issue "Documents" tab (next to Chat/Activity/Related work) surfaces every
company document linked to the issue, reusing the library DocumentRow, pinning
the plan to the top, with scoped search and an Add document control (link
existing via picker / create new in Chat). Tab label shows the linked-doc count
plus an open-feedback dot.

Cross-issue document mention chip renders internal /<co>/documents/<id> links
in markdown using the chip-match-document-* tokens, with a hover summary of the
document title, status, and feedback counts.

Feedback counts come from one issue-scoped company-documents query shared by the
inline card and the tab (useIssueLinkedDocuments). Storybook stories added for
UX sign-off.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-07 01:55:08 +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.