Resizable assistant drawer, and the same drawer on share links
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 29s

- The assistant drawer can be resized by dragging its left edge (or with the
  arrow keys), from 340 to 760 px, always leaving the page 420 px; double-click
  resets it. The width is remembered in the browser.
- Share-link visitors get the same side-drawer assistant as the owner instead
  of the small popup, with a New chat button; a full-screen sheet on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-16 12:22:04 -07:00
parent 517278be71
commit e0bc7b580e
6 changed files with 263 additions and 71 deletions

View file

@ -276,7 +276,13 @@ Each share link has two switches, both off by default:
share), so a link cannot be used to run arbitrary prompts.
- **Ask about this material**: a chat that answers from the shared item (or, for a shared
class or folder, the item being viewed, the list of materials and passages from its
documents). It cannot read the rest of the library and saves nothing.
documents). It cannot read the rest of the library and saves nothing. It opens in the
same side drawer as the owner's assistant (a full-screen sheet on phones).
The assistant drawer (`web/src/ui/SideDrawer.tsx`, used for the owner and on share links) can be
resized by dragging its left edge, or with the arrow keys when the edge is focused. It goes from
340 to 760 px and always leaves the page at least 420 px. Double-click the edge to reset it to
440 px. The width is remembered in the browser (`sd.drawer.width`).
Neither has library tools; MCP servers join only when allowed on share links. Both use the
owner's models and keys and show only when an AI model is configured.