mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 09:41:04 +01:00
The takeover model collapses the app <Sidebar/> to its 64px rail and renders the contextual nav in a fixed 240px SecondarySidebar. Its SidebarNavItem children read the *global* useSidebar().collapsed (true during takeover), so they rendered icon-only with their label clipped to w-0/text-transparent — leaving the settings nav unreadable unless the user pinned the sidebar expanded. Add a SidebarNavExpandedProvider context that forces the full-label presentation regardless of the global rail collapse, and have SecondarySidebar wrap its children in it (the pane is always wide enough for labels). Covered by a SidebarNavItem unit test and an e2e assertion that the secondary-pane labels render at full width in the default collapsed state. 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.