Skip to content

tui: Agent effort menu needs option spacing and wrapped descriptions #791

Closed

Description

@agenteinstinct1-max

Problem

The Agent effort menu packs options too closely and clips the Thorough description instead of wrapping it. Verified source at accepted 50d6a232bacf1e280ca576fcbf10f25efa3d74fa: packages/tui/src/component/dialog-agent-effort.tsx, using the shared DialogSelect.

Scope and acceptance

  • Add breathing room between options and wrap descriptions without clipping.
  • Preserve current labels, exact descriptions, colors, selected-row treatment and footer.
  • Keep the layout change scoped to this menu, using an opt-in if a shared component needs changes. Other pickers must not change accidentally.
  • Verify narrow and wide terminal sizes with actual rendered pixels and relevant regression tests.

Final acceptance

Implemented by merged PR #801 at 8aa2669. The merged tree matches reviewed source 0690a9c. Independent post-merge acceptance at the exact merged commit confirms all criteria above: menu-only opt-in spacing and wrapping, unchanged copy/colors/highlight/footer, unchanged default picker behavior, narrow and wide rendered captures.

Post-merge execution: focused menu twice, each 38 pass / 1 existing opt-in skip / 235 assertions; opt-in four-frame capture 1 pass; full TUI at original 30000 ms budget 826 pass / 5 existing skips / 0 fail / 3868 assertions; 17 uncached serial workspace typechecks pass. Four JSON and four PNG capture files were regenerated byte-identically to the reviewed committed assets. Private original session images were not published.

Source-head CI had all five required checks green before the guarded squash. Post-merge tip typecheck is green; no post-merge unit-CI claim. Earlier Windows failure cause remains unproven, not explained by this acceptance.

Acceptance: https://arena.ai/agent/01a199ef-fb1b-77ed-a177-b06a4db0d3ef
Merged PR: #801

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions