tui-iteration-selector

TUI: iteration selector triangles not clickable — must use keyboard to switch iteration

Metadata

Statusdone
Assignedagent-48
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-26T16:47:34.157367371+00:00
Started2026-04-26T16:48:08.233538556+00:00
Completed2026-04-26T17:10:20.307413572+00:00
Tagseval-scheduled
Eval score0.80
└ blocking impact0.82
└ completeness0.75
└ coordination overhead0.85
└ correctness0.82
└ downstream usability0.80
└ efficiency0.80
└ intent fidelity0.73
└ style adherence0.85

Description

Description

User reports: 'we are unable to select which iteration using the mouse. only with keyboard. we should be able to click on the triangles in the tui that are associated with the iteration to switch iteration.'

Pattern: somewhere in the TUI (probably the chat tab or task viewer for cycle/iteration tasks) there are visual triangle markers indicating cycle iterations. They respond to keyboard nav (arrow keys?) but NOT to mouse click. Should be clickable to jump directly to that iteration's view.

Spec

  • Identify the iteration triangle widget (grep for the unicode triangle char ▼ ▲ ◀ ▶ in src/tui — or check viz_viewer/state.rs for cycle iteration UI)
  • Wire mouse click handler so clicking a triangle switches to that iteration view
  • Existing keyboard nav stays — this is additive, not replacement
  • Hover state (if feasible) to indicate clickability

Files likely to touch

  • src/tui/viz_viewer/state.rs (mouse event routing, iteration selector state)
  • src/tui/mod.rs or wherever iteration UI is rendered
  • src/commands/tui_pty.rs (mouse event capture)

Validation

  • Failing test first: test_iteration_triangle_click_switches_iteration
  • Implementation makes test pass
  • cargo build + cargo test pass with no regressions
  • Manual smoke (live):
    • Open wg tui on a task with cycle iterations
    • Click a triangle marker → view switches to that iteration
    • Keyboard nav (arrow keys / j/k) still works as before

Depends on

Required by

Log