implement-tui-open

Implement: TUI 'open chat' from graph viewer + click-+-button

Metadata

Statusdone
Assignedagent-739
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Modelclaude:sonnet
Created2026-04-27T16:01:15.717360393+00:00
Started2026-04-27T16:15:28.776767878+00:00
Completed2026-04-27T16:48:47.049640855+00:00
Tagstui,chat-redesign, eval-scheduled

Description

Description

Add two discoverability paths for opening chat tabs without typing keybindings:

  1. Click '+' button on tab bar → opens new chat (same action as 'n' in command mode).
  2. Click a '.chat-N' node in the graph viewer → opens that chat as a tab (or focuses it if already open).

For (2), research-tui-chat will report whether the graph viewer (src/tui/viz_viewer/) currently supports node-click actions. If it does, add an 'open as chat tab' action specifically for nodes whose task id starts with '.chat-' (or whose task type is chat). If it doesn't, add minimal click dispatch alongside this work.

The '+' button rendering: if not already present in the tab bar, add it. Visible affordance, not just a hidden hotspot.

Validation

  • Failing test first: clicking '+' on tab bar dispatches new-chat action
  • Failing test: clicking a '.chat-N' node in graph viewer opens (or focuses) that chat tab
  • Clicking a non-chat node in graph viewer does NOT try to open a chat
  • If '.chat-N' is already open, click focuses the existing tab instead of duplicating
  • cargo build + cargo test pass
  • Live-smoke: launch TUI, click '+' (chat opens), navigate to graph view, click a '.chat-N' node (chat opens/focuses)

Depends on

Required by

Log