feat(tui): implement PersonaBar widget with tab-key cycling and preset support #10161

Open
opened 2026-04-17 04:02:55 +00:00 by HAL9000 · 0 comments
Owner

Background

The PersonaBar widget is the visible representation of the current persona in the TUI. It displays the persona icon, name, and current preset, and responds to the tab key to cycle through available personas and ctrl+t to cycle through presets within the current persona.

Acceptance Criteria

  • PersonaBar widget displays current persona icon, name, and active preset
  • tab key cycles to next persona via PersonaRegistry.cycle_persona()
  • ctrl+t cycles through presets within the current persona
  • Widget updates reactively when persona or preset changes
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement PersonaBar widget with tab-key cycling and preset support
  • Branch: feature/v3.7.0/tui-persona-bar-widget
  • Milestone: v3.7.0
  • Ref: #5304 EPIC: TUI Persona System — YAML-Based Actor Configuration & Presets (v3.7.0)

Subtasks

  • Define PersonaBar widget class with reactive persona state
  • Implement persona display (icon, name, preset)
  • Implement tab key handler calling PersonaRegistry.cycle_persona()
  • Implement ctrl+t preset cycling within current persona
  • Write unit tests for widget rendering and key 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 PersonaBar widget is the visible representation of the current persona in the TUI. It displays the persona icon, name, and current preset, and responds to the `tab` key to cycle through available personas and `ctrl+t` to cycle through presets within the current persona. ## Acceptance Criteria - [ ] `PersonaBar` widget displays current persona icon, name, and active preset - [ ] `tab` key cycles to next persona via `PersonaRegistry.cycle_persona()` - [ ] `ctrl+t` cycles through presets within the current persona - [ ] Widget updates reactively when persona or preset changes - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement PersonaBar widget with tab-key cycling and preset support` - **Branch**: `feature/v3.7.0/tui-persona-bar-widget` - **Milestone**: v3.7.0 - **Ref**: #5304 EPIC: TUI Persona System — YAML-Based Actor Configuration & Presets (v3.7.0) ## Subtasks - [ ] Define `PersonaBar` widget class with reactive persona state - [ ] Implement persona display (icon, name, preset) - [ ] Implement `tab` key handler calling `PersonaRegistry.cycle_persona()` - [ ] Implement `ctrl+t` preset cycling within current persona - [ ] Write unit tests for widget rendering and key 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#10161
No description provided.