nexus/ui
Nexus Dev 4ff707bdcb fix(nexus): use flex layout for assistant chat thread container
Phase 9 used `h-[calc(100vh-320px)] min-h-[320px]` on the thread
wrapper because `@tanstack/react-virtual` needs an explicit height
for its virtual scroll root. The calc was brittle — any change to
TopStrip or input bar sizing broke the math and let the thread
overflow or collapse below 320px.

Phase 16a replaces the calc with a pure flex chain:

- PersonalAssistant forks its root column: when a conversation is
  active it renders a `flex-1 min-h-0` child that centers the
  message list at max-w-[760px] and delegates scroll to the list's
  own internal virtual scroller. When no conversation is active the
  old `overflow-auto` wrapper remains so the greeting and empty
  state still scroll.
- ChatMessageList's root becomes `flex min-h-0 flex-1 flex-col`,
  and its inner scroll div becomes `flex-1 min-h-0 overflow-auto`.
  The virtualizer now measures the actual flex-derived height,
  which tracks input-bar size changes automatically.

Tests: src/components/frame/ + src/components/assistant/ +
ChatMessageList.test — 109 passed (6 todo).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 15:58:17 +00:00
..
public feat(nexus): design system phase 1 tokens and inter font 2026-04-10 17:19:56 +00:00
src fix(nexus): use flex layout for assistant chat thread container 2026-04-11 15:58:17 +00:00
components.json Overhaul UI with shadcn components and new pages 2026-02-17 09:07:32 -06:00
index.html feat(nexus): design system phase 1 tokens and inter font 2026-04-10 17:19:56 +00:00
package.json feat: Phase 41 — Diagrams, Icons & Theme Engine (Mermaid, SVG icons, OKLCH palettes) 2026-04-05 09:56:37 +00:00
README.md Publish @paperclipai/ui from release automation 2026-03-26 11:13:11 -05:00
tsconfig.json Fix atomic markdown mention deletion 2026-03-23 16:57:27 -05:00
vite.config.ts fix(nexus): auto-bootstrap invite and vite onnxruntime middleware 2026-04-10 16:50:28 +00:00
vitest.config.ts feat: Phase 41 — Diagrams, Icons & Theme Engine (Mermaid, SVG icons, OKLCH palettes) 2026-04-05 09:56:37 +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.

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.