Skip to content

feat(webui): restructure Chat as a workspace with scoped controls #3522

Done

Description

@inureyes

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.tsx becomes 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.
  • Discarding a non-empty draft asks first.

Acceptance criteria

  • chat.spec.ts, chat-real.spec.ts and the router harness are updated in this PR.
  • The harness's .chat-turn .chat-status selector, and the "Message", "Send", "Stop", "New conversation" and "Model for next turn" names, are either kept or changed together in webui/tests/router-real.harness.ts and src/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 Drawer import is left in features/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.

Activity

  1. added
    type:enhancement
    priority:medium
    status:ready
    on Nov 28, 2026
  2. added
    status:in-progress
    status:review
    status:done
    and removed
    status:ready
    status:in-progress
    status:review
    on Nov 28, 2026
  3. added a commit that references this issue on Nov 29, 2026
    d6185cd
  4. added this to the 0.9 milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumstatus:donetype:enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions