feat(tui): implement MainScreen with Dracula theme and 3 sidebar states #10153

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

Background

The TUI MainScreen is the primary interface for CleverAgents users. It must implement the Dracula color theme, support three sidebar states (hidden/visible/fullscreen), and use a custom layout with Throbber, SessionTabs, and Flash bar components rather than Textual's generic Header/Footer widgets, as defined in ADR-044.

Acceptance Criteria

  • MainScreen class implemented as a Textual Screen with Dracula theme (THEME class variable)
  • Three sidebar states implemented: hidden, visible, fullscreen
  • Custom layout includes Throbber, SessionTabs, and Flash bar (no generic Header/Footer)
  • Sidebar toggle works via F2 hotkey
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement MainScreen with Dracula theme and 3 sidebar states
  • Branch: feature/v3.7.0/tui-main-screen
  • Milestone: v3.7.0
  • Ref: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys

Subtasks

  • Define MainScreen class with Dracula THEME class variable
  • Implement 3-state sidebar with hidden/visible/fullscreen modes
  • Implement custom layout with Throbber, SessionTabs, Flash bar
  • Implement F2 hotkey for sidebar toggle
  • Write unit tests for sidebar state transitions

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 MainScreen is the primary interface for CleverAgents users. It must implement the Dracula color theme, support three sidebar states (hidden/visible/fullscreen), and use a custom layout with Throbber, SessionTabs, and Flash bar components rather than Textual's generic Header/Footer widgets, as defined in ADR-044. ## Acceptance Criteria - [ ] `MainScreen` class implemented as a Textual `Screen` with Dracula theme (`THEME` class variable) - [ ] Three sidebar states implemented: hidden, visible, fullscreen - [ ] Custom layout includes Throbber, SessionTabs, and Flash bar (no generic Header/Footer) - [ ] Sidebar toggle works via `F2` hotkey - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement MainScreen with Dracula theme and 3 sidebar states` - **Branch**: `feature/v3.7.0/tui-main-screen` - **Milestone**: v3.7.0 - **Ref**: #4963 EPIC: TUI Core Layout & Navigation — MainScreen, Sidebar, Hotkeys ## Subtasks - [ ] Define `MainScreen` class with Dracula `THEME` class variable - [ ] Implement 3-state sidebar with hidden/visible/fullscreen modes - [ ] Implement custom layout with Throbber, SessionTabs, Flash bar - [ ] Implement `F2` hotkey for sidebar toggle - [ ] Write unit tests for sidebar state transitions ## 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#10153
No description provided.