Skip to content

Polish: agent panel P3s from the UX review #830

Closed

Description

@EVWorth

Severity: P3.

Checklist

  • Confirm before ending a session. On ?mock=connected, start Claude Agent, send a message, and click End (it sits next to the close X) while the turn runs. The session is killed and the transcript disappears at once, with no confirmation and no "session ended" note.
    • Cause: src/components/agent/AgentPanel.tsx:226-233 calls stop() directly. agentSessionStore.ts start() then clears the transcript.
    • Fix: confirm when a turn is running. Keep the old transcript visible under a "Session ended" divider until a new session starts.
  • Use one name for the Claude harness. The panel says "Start Claude Agent" (the harness label from list_harnesses), while Tools → Agents… → Connect a harness says "Claude Code".
    • Cause: src/stores/agentStore.ts:238 hard-codes "Claude Code".
    • Fix: use one product name in both places, taken from the backend harness label.
  • Move the misplaced DDL-unlock comment. The comment about production schema changes sits above the redaction input, not the checkbox it describes.
    • Cause: src/components/settings/AgentSettingsDialog.tsx:120-124.
    • Fix: move it down to the checkbox block at :143.

Part of #783.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions