mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-05 03:51:54 +01:00
Address non-blocking UX-review nits on the Done-reviewing handoff:
- a11y: the disabled "Done reviewing" rail CTA used a non-focusable
<span> as the tooltip trigger, so keyboard/SR users couldn't learn
why it was disabled. Make the Button itself the trigger via
aria-disabled (kept in tab order) instead of the `disabled` attribute,
guard onClick, and keep the dimmed visual via aria-disabled: classes.
- copy: replace the agent-jargon "a real wake" dialog subhead with plain
English ("We'll notify them so they pick the review back up").
- copy: add a clarifying title to the "Just close" ghost button
("Close this dialog without notifying the owner").
Update DocumentReviewRail tests to assert the aria-disabled/inert
behavior and that the handler fires when review can be finished.
Co-Authored-By: Claude Opus 4.8 <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.