feat(tui): implement SessionTabs widget with state indicators and tab navigation #10155

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

Background

The SessionTabs widget displays all open TUI sessions as tabs with state indicators showing whether a session is idle, running, or waiting. This widget is a core part of the MainScreen layout and must support dynamic tab creation, removal, and state updates as sessions change state.

Acceptance Criteria

  • SessionTabs widget implemented showing all open sessions as tabs
  • State indicators displayed: (running), (active), plain (idle)
  • Active tab highlighted with distinct styling
  • Tab creation and removal updates widget reactively
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement SessionTabs widget with state indicators
  • Branch: feature/v3.7.0/tui-session-tabs-widget
  • Milestone: v3.7.0
  • Ref: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys

Subtasks

  • Define SessionTabs widget class with reactive session list
  • Implement state indicator rendering (, ❯, plain)
  • Implement active tab highlighting
  • Implement reactive updates on session state changes
  • Write unit tests for tab rendering and state updates

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 SessionTabs widget displays all open TUI sessions as tabs with state indicators showing whether a session is idle, running, or waiting. This widget is a core part of the MainScreen layout and must support dynamic tab creation, removal, and state updates as sessions change state. ## Acceptance Criteria - [ ] `SessionTabs` widget implemented showing all open sessions as tabs - [ ] State indicators displayed: `⌛` (running), `❯` (active), plain (idle) - [ ] Active tab highlighted with distinct styling - [ ] Tab creation and removal updates widget reactively - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement SessionTabs widget with state indicators` - **Branch**: `feature/v3.7.0/tui-session-tabs-widget` - **Milestone**: v3.7.0 - **Ref**: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys ## Subtasks - [ ] Define `SessionTabs` widget class with reactive session list - [ ] Implement state indicator rendering (⌛, ❯, plain) - [ ] Implement active tab highlighting - [ ] Implement reactive updates on session state changes - [ ] Write unit tests for tab rendering and state updates ## 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#10155
No description provided.