fix-tui-detail

Fix: TUI Detail view UX (collapsible panes, persistent evaluating, eval rendering)

Metadata

Statusdone
Assignedagent-815
Agent identity3184716484e6f0ea08bb13539daf07686ee79d440505f1fdf2de0357707034c3
Created2026-04-27T17:05:16.147050453+00:00
Started2026-04-27T18:40:54.968646855+00:00
Completed2026-04-27T19:02:43.198729449+00:00
Tagstui,detail-view,fix, eval-scheduled
Tokens10775227 in / 39243 out

Description

Description

Address the four issues raised in research-tui-detail-ux:

  1. Persist 'evaluating' status indicator while '.evaluate-X' is running, instead of flashing once. The HUD/status bar should clearly show when a task is under evaluation, and the affected task row should reflect it. (Color/style is the visual differentiation — see implement-tui-visual for related styling work; coordinate if the same code path is touched.)

  2. Surface evaluations consistently in 1:Detail. When a task has any '.evaluate-X' siblings (running, done, or pending), the Detail view shows an Evaluations pane with their state + scores. Never silently omit. If the eval data is missing from the graph (per research finding), surface 'Evaluation pending' or 'No evaluation yet' rather than nothing.

  3. Click pane header to collapse/expand panes in 1:Detail. Each pane has a clickable header bar; clicking toggles collapse. Collapsed state shows just the header line + a hint (▶ vs ▼ chevron or similar). Persist collapsed-state per-pane in TUI session state (probably tui_state.json — coordinate with implement-tui-tab if it lands first).

  4. Description pane fix. Whatever specific problem research identified — likely 'collapsibility' fixes it, but if there's an additional bug (no scroll, sizing, etc.), fix that too.

Implementation guidance:

  • Don't ship a half fix — if collapsibility lands but the eval rendering isn't done, that's still useful, but the research should have found whether they share a code path
  • Keep the visual treatment consistent with the existing TUI palette
  • Mouse + keyboard parity: if click toggles collapse, also bind a key (e.g. 'space' or 'Enter' on focused pane in command mode) to do the same

Validation

  • Failing test first for each issue (4 tests minimum)
  • Live-smoke: launch TUI on the chat-redesign subgraph
    • Click a task with '.evaluate-X' running → Detail shows Evaluations pane with running indicator
    • 'Evaluating' status persists in HUD/status while eval runs (not flashing)
    • Click each pane header in Detail → pane collapses; click again → expands
    • Description pane no longer blocks viewing other panes
    • Collapsed state persists across pane switches within the session
  • cargo build + cargo test pass; no regressions in other TUI tabs

Depends on

Required by

Log