feat(tui): implement TUI hotkey bindings (tab, shift+tab, ctrl+s, ctrl+n, ctrl+w, ctrl+[, ctrl+]) #10154

Open
opened 2026-04-17 03:59:15 +00:00 by HAL9000 · 0 comments
Owner

Background

The TUI requires a comprehensive set of hotkey bindings for navigation and session management. These bindings must be registered on the MainScreen and work correctly across all sidebar states and session contexts, as specified in ADR-044.

Acceptance Criteria

  • tab / shift+tab cycle focus between UI panels
  • ctrl+n creates a new session tab
  • ctrl+w closes the current session tab
  • ctrl+[ / ctrl+] navigate to previous/next session tab
  • ctrl+s opens the Sessions screen
  • 19 jump to session tab by number
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement TUI hotkey bindings for navigation and session management
  • Branch: feature/v3.7.0/tui-hotkey-bindings
  • Milestone: v3.7.0
  • Ref: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys

Subtasks

  • Register all required hotkey bindings on MainScreen
  • Implement focus cycling with tab / shift+tab
  • Implement session tab navigation hotkeys
  • Implement numeric jump-to-tab hotkeys (1–9)
  • Write unit tests for all hotkey handlers

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background The TUI requires a comprehensive set of hotkey bindings for navigation and session management. These bindings must be registered on the MainScreen and work correctly across all sidebar states and session contexts, as specified in ADR-044. ## Acceptance Criteria - [ ] `tab` / `shift+tab` cycle focus between UI panels - [ ] `ctrl+n` creates a new session tab - [ ] `ctrl+w` closes the current session tab - [ ] `ctrl+[` / `ctrl+]` navigate to previous/next session tab - [ ] `ctrl+s` opens the Sessions screen - [ ] `1`–`9` jump to session tab by number - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement TUI hotkey bindings for navigation and session management` - **Branch**: `feature/v3.7.0/tui-hotkey-bindings` - **Milestone**: v3.7.0 - **Ref**: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys ## Subtasks - [ ] Register all required hotkey bindings on `MainScreen` - [ ] Implement focus cycling with `tab` / `shift+tab` - [ ] Implement session tab navigation hotkeys - [ ] Implement numeric jump-to-tab hotkeys (1–9) - [ ] Write unit tests for all hotkey handlers ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
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#10154
No description provided.