UAT: TUI block cursor and context menu not implemented — alt+up/down navigation and block actions missing #4402

Open
opened 2026-04-08 12:13:02 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: TUI — Block Cursor and Context Menu

What Was Tested

The spec (§ "Block Cursor and Context Menu") defines a 2-column grid conversation layout with a navigable block cursor and context menu for each message block.

Expected Behavior (from spec)

Block cursor navigation:

  • alt+up — Move cursor to previous block
  • alt+down — Move cursor to next block
  • space — Expand or collapse the focused block (if expandable)
  • enter — Open context menu for the focused block
  • escape — Clear cursor selection, return focus to prompt
  • Click on block — Position cursor on clicked block

Context menu (opened with enter on focused block):

  • c — Copy to clipboard (Markdown source for ActorResponse, plain text for others)
  • p — Copy to prompt (inserts block text into prompt TextArea)
  • e — Export as Markdown (to .md file in current working directory)
  • v — Export as SVG (renders to SVG, opens in browser)
  • m — Maximize / restore block (for ActorThought, ToolCall, DiffView)
  • r — Retry (ActorResponse only — re-sends preceding user prompt)
  • d — Show raw data (A2A message data for debugging)

Visual indicator: gutter indicator in the cursor column for the focused block.

Actual Behavior

The conversation area in src/cleveragents/tui/app.py is a single _Static widget:

yield _Static("CleverAgents TUI", id="conversation")

There is no 2-column grid layout, no block cursor, no alt+up/alt+down navigation, no context menu, and no block actions. The conversation is a single text widget that gets replaced entirely on each interaction.

Code Location

  • src/cleveragents/tui/app.py — single _Static widget for conversation
  • No block cursor or context menu implementation
  • Spec reference: §"Block Cursor and Context Menu" (line ~29862 in docs/specification.md)

Impact

Users cannot:

  • Navigate between conversation blocks with keyboard
  • Copy message content to clipboard
  • Export messages as Markdown or SVG
  • Retry actor responses
  • Expand/collapse tool call blocks via keyboard

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report **Feature Area:** TUI — Block Cursor and Context Menu ### What Was Tested The spec (§ "Block Cursor and Context Menu") defines a 2-column grid conversation layout with a navigable block cursor and context menu for each message block. ### Expected Behavior (from spec) **Block cursor navigation:** - `alt+up` — Move cursor to previous block - `alt+down` — Move cursor to next block - `space` — Expand or collapse the focused block (if expandable) - `enter` — Open context menu for the focused block - `escape` — Clear cursor selection, return focus to prompt - Click on block — Position cursor on clicked block **Context menu (opened with `enter` on focused block):** - `c` — Copy to clipboard (Markdown source for ActorResponse, plain text for others) - `p` — Copy to prompt (inserts block text into prompt TextArea) - `e` — Export as Markdown (to `.md` file in current working directory) - `v` — Export as SVG (renders to SVG, opens in browser) - `m` — Maximize / restore block (for ActorThought, ToolCall, DiffView) - `r` — Retry (ActorResponse only — re-sends preceding user prompt) - `d` — Show raw data (A2A message data for debugging) **Visual indicator:** `▌` gutter indicator in the cursor column for the focused block. ### Actual Behavior The conversation area in `src/cleveragents/tui/app.py` is a single `_Static` widget: ```python yield _Static("CleverAgents TUI", id="conversation") ``` There is no 2-column grid layout, no block cursor, no `alt+up`/`alt+down` navigation, no context menu, and no block actions. The conversation is a single text widget that gets replaced entirely on each interaction. ### Code Location - `src/cleveragents/tui/app.py` — single `_Static` widget for conversation - No block cursor or context menu implementation - Spec reference: §"Block Cursor and Context Menu" (line ~29862 in docs/specification.md) ### Impact Users cannot: - Navigate between conversation blocks with keyboard - Copy message content to clipboard - Export messages as Markdown or SVG - Retry actor responses - Expand/collapse tool call blocks via keyboard --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.7.0 milestone 2026-04-08 17:42:37 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#4402
No description provided.