fix-tui-detail-2

Fix: TUI detail view iteration nav — display, click handlers, info bar density

Metadata

Statusdone
Assignedagent-1130
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-29T16:53:30.497307446+00:00
Started2026-04-29T16:58:03.126084636+00:00
Completed2026-04-29T17:17:45.265979240+00:00
Tagsbug,tui,ux,detail-view, eval-scheduled
Tokens13160167 in / 50797 out
Eval score0.90
└ blocking impact0.85
└ completeness0.95
└ constraint fidelity0.55
└ coordination overhead0.90
└ correctness0.95
└ downstream usability0.85
└ efficiency0.80
└ intent fidelity0.82
└ style adherence0.90

Description

Description

User report: the detail view's iteration navigation has multiple problems stacked together. Filing as one task because they share a code region.

User quote: 'There's still no way to click on the detail view and switch between iterations. It seems to show the first iteration as iteration 2 of 2, which you can't flip back and forth between them without using the keyboard. It would be nice to have these little triangular symbols that are meant to be that, but they don't seem to work. we look into that a bit and they could be made, like the region you can click on can be made a little, it can be made multi-character perhaps, like by making that whole bar and show things about the iteration. Right now it's just a blank line, it's kind of crap'

Specific issues

1. Iteration label is off-by-one or otherwise wrong

Detail view shows 'iteration 2 of 2' when displaying what is actually the FIRST iteration. Either:

  • Display indexing is 1-based but should be 0-based (or vice versa)
  • The label is showing total count + current with the wrong field
  • The 'current' iteration default is wrong on view-open

Investigate the actual iteration-label rendering and confirm which value should appear.

2. Triangular nav buttons (◀ ▶) don't respond to clicks

The detail view shows triangular symbols presumably meant as prev/next iteration controls. Clicking them does nothing — only keyboard navigation (arrows / hjkl?) works. Find the click handler binding for these symbols and wire it up.

3. Click region is too narrow

Even if the triangles' click handler is fixed, a single-character click target is small and easy to miss with mouse precision. Expand the clickable region:

  • Either make the triangles render with surrounding padding (e.g., and as 3-character wide click zones)
  • OR make the entire iteration-bar segments left-of-label and right-of-label clickable as prev/next zones

4. Iteration bar is sparse / 'kind of crap'

The bar is currently mostly blank with just the iteration label in the middle. Use the space to show iteration context:

  • Iteration number + total: ◀ Iteration 1 of 2 ▶
  • Iteration started/finished timestamps
  • Iteration's outcome (done / failed / abandoned / converged)
  • Maybe duration (how long the iteration ran)
  • For cycle tasks: which cycle iteration this is

Goal: when the user looks at the bar, they should know which iteration they're on, what its state is, and how to navigate without guessing.

Validation

  • Iteration label correctly identifies the displayed iteration (1-based or 0-based — pick and document)
  • Clicking the left triangle navigates to the previous iteration (or wraps / disables at iteration 1, depending on design — pick and document)
  • Clicking the right triangle navigates to the next iteration (or wraps / disables at last iteration)
  • Click target for each triangle is at least 3 cells wide so mouse precision isn't required
  • Iteration bar shows: iteration number/total, started/finished timestamps, outcome status. Specific layout up to the implementer but it should be visibly informative, not blank
  • Keyboard nav still works as it did before — don't regress that path
  • Live smoke: actually open the TUI on a task with multiple iterations (cycle task), navigate via mouse AND keyboard, confirm both work and the bar shows useful info. Record observation in task log.
  • cargo build + cargo test pass
  • cargo install --path . was run before claiming done

Depends on

Required by

Log