Repository navigation
Done
Labels
priority:mediumMedium prioritystatus:doneCompletedtype:enhancementNew features, capabilities, or significant additions
Milestone
Description
Part of #3526. Depends on #3520.
Goal
Restructure Chat (webui/src/features/chat/) as a workspace, with every control placed by the scope it acts on.
Scope
Layout
- Chat is a workspace screen: the conversation list and the message pane scroll on their own, and the page never scrolls.
- At 960 px and below, one pane shows at a time.
Controls by scope
- Conversation-scoped tools (parameters, privacy):
- icon-only buttons in the header;
- each shows a dot when its value differs from the default.
- Composer:
- the per-turn input and the model picker live in the composer;
- the existing image attach moves into a
+menu.
- Per-message actions, as one action bar:
- copy and overflow on every turn;
- "edit and regenerate" on user turns (this exists today);
- regenerate on assistant turns (new behavior: re-run that turn with the same history).
- Conversation navigation lives in the conversation list.
Other changes
settings-drawer.tsxbecomes a parameters dialog on the dialog primitive.- Copy: "Conversation" replaces "chat" and "session" wherever the UI means a thread.
- Rendering:
- markdown, code and reasoning stay on the WebUI's own components (
markdown.tsx,code-highlight.tsx); - they are restyled to the type scale and the code surface;
- no rendering package is added.
- markdown, code and reasoning stay on the WebUI's own components (
- Discarding a non-empty draft asks first.
Acceptance criteria
-
chat.spec.ts,chat-real.spec.tsand the router harness are updated in this PR. - The harness's
.chat-turn .chat-statusselector, and the "Message", "Send", "Stop", "New conversation" and "Model for next turn" names, are either kept or changed together inwebui/tests/router-real.harness.tsandsrc/server/router_webui_playwright_harness_tests.rs. - Against the real binary:
- a streamed reply with markdown and code renders;
- stop works mid-stream;
- regenerate works on an assistant turn;
- a parameter change is reflected on the next turn.
- IME composition and 200% zoom still pass.
- No
Drawerimport is left infeatures/chat/. - Strings are in English and Korean, plus the fixture.
- All gates listed in epic: rebuild the bundled WebUI on a dense, task-first design grammar #3526 pass.
Metadata
Metadata
Assignees
Labels
priority:mediumMedium prioritystatus:doneCompletedtype:enhancementNew features, capabilities, or significant additions
Activity
feat(webui): restructure Chat as a workspace with scoped controls (la…