Add drag-resizable sidebar/chat separator to the web GUI
Desktop-only (>=900px) pointer-drag splitter between the session list and the chat; width clamped (200px..min(480, 50% viewport)) and persisted in localStorage; keyboard arrows + ARIA separator role; hover/focus highlight. README updated. Web assets only; suite unchanged (94 green + 2 ignored), clippy/fmt clean.
This commit is contained in:
1 parent
1e13caa4ed
commit
e29878bb3d
4 files changed
+67
-2
No files matched your search
@@ -92,8 +92,9 @@ under `/assets/...`, embedded via `rust-embed` — no Node, no build step, works
|
||||
offline, same-origin so no CORS). It is a thin client over a **session-aware API**:
|
||||
|
||||
- `GET /` — the chat shell (responsive: an off-canvas session drawer on phones, a
|
||||
persistent sidebar on wide screens; streaming answers with a collapsible
|
||||
"thinking" panel; touch-friendly targets and safe-area insets).
|
||||
persistent sidebar on wide screens with a **drag-resizable separator** between the
|
||||
session list and the chat — width clamped and persisted; streaming answers with a
|
||||
collapsible "thinking" panel; touch-friendly targets and safe-area insets).
|
||||
- `POST /api/sessions`, `GET /api/sessions`, `GET/PATCH/DELETE /api/sessions/{id}`,
|
||||
`GET /api/sessions/{id}/messages` — session CRUD and history.
|
||||
- `POST /api/sessions/{id}/chat` — append a turn; the server loads the stored
|
||||
|
||||
Reference in new issue
Block a user