Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ and this project adheres to Semantic Calendar Versioning with format YYYY.MM.DD.

## [Unreleased]

### Fixed
- **TUI Compatibility**: Fixed stylesheet error with Textual 6.x
- Added missing `$panel` CSS variable to both classic and turbo TUI themes
- Resolves "reference to undefined variable '$panel'" error when starting TUI with `-t classic` or `-t turbo` options
- Maps `panel` to `surface` color for consistent UI appearance

### Changed
- **Bot Messages**: Updated task start confirmation to use proper British Army Voice Procedure
- Changed "Roger that!" to "Roger!" (single word affirmative as per military radio protocol)
Expand Down
1 change: 1 addition & 0 deletions chatrixcd/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,7 @@ def get_css_variables(self) -> Dict[str, str]:
'text': theme['text'],
'text-muted': theme['text-muted'],
'foreground': theme['text'], # Alias for Textual 6.x compatibility
'panel': theme['surface'], # Panel color for Textual 6.x compatibility
}

def compose(self) -> ComposeResult:
Expand Down
1 change: 1 addition & 0 deletions chatrixcd/tui_turbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ def get_css_variables(self) -> Dict[str, str]:
'text': theme['text'],
'text-muted': theme['text-muted'],
'foreground': theme['text'], # Alias for Textual 6.x compatibility
'panel': theme['surface'], # Panel color for Textual 6.x compatibility
}

def compose(self) -> ComposeResult:
Expand Down
Loading