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

@ -198,6 +198,12 @@ shown in bold, the rest in short paragraphs, and a walk-through of the choices b
The practice score in the quiz header is now a plain "x/y correct" with no percentage or colour.
Tests: `tests/rationale.test.ts`.
Share-link visitors get the same side-drawer assistant as the owner instead of the small popup:
same header, empty state with suggestions, messages and composer, plus "New chat"; a full-screen
sheet on phones. The drawer is resizable for both (drag the edge, 340-760 px, double-click to
reset, remembered per browser). Checked in the browser at 1440, 1100 and 375 px wide, with a live
answer streamed on a share link.
Tests: `tests/revision5.test.ts`. Live check on the rev1 copy with DeepSeek flash: a visitor's
10-card set was written, named ("Heparin, Furosemide, and Dosage Calculations"), saved and
listed once with the New tag; cards were single facts with no hints. The rev1 copy's 401 was its