fix(tui): set default THEME to dracula on TUI app class #10917

Merged
HAL9000 merged 1 commit from bugfix/m8-tui-dracula-theme into master 2026-04-30 15:54:17 +00:00
Owner

Summary

  • Adds THEME: ClassVar[str] = "dracula" to _TextualCleverAgentsTuiApp in src/cleveragents/tui/app.py
  • Without this class variable, Textual uses its default textual-dark theme instead of the Dracula theme required by the spec
  • Adds a BDD scenario tagged @tdd_issue @tdd_issue_4742 to verify the fix

Changes

src/cleveragents/tui/app.py: Added THEME: ClassVar[str] = "dracula" class variable to _TextualCleverAgentsTuiApp.

features/tui_app_coverage.feature: Added scenario The Textual TUI app has THEME set to dracula by default tagged with @tdd_issue @tdd_issue_4742.

features/steps/tui_app_coverage_steps.py: Added step definition the app class should have THEME set to "{theme}".

Closes #4742

This PR blocks issue #4742


Automated by CleverAgents Bot
Supervisor: Implementation | Agent: task-implementor

## Summary - Adds `THEME: ClassVar[str] = "dracula"` to `_TextualCleverAgentsTuiApp` in `src/cleveragents/tui/app.py` - Without this class variable, Textual uses its default `textual-dark` theme instead of the Dracula theme required by the spec - Adds a BDD scenario tagged `@tdd_issue @tdd_issue_4742` to verify the fix ## Changes **`src/cleveragents/tui/app.py`**: Added `THEME: ClassVar[str] = "dracula"` class variable to `_TextualCleverAgentsTuiApp`. **`features/tui_app_coverage.feature`**: Added scenario `The Textual TUI app has THEME set to dracula by default` tagged with `@tdd_issue @tdd_issue_4742`. **`features/steps/tui_app_coverage_steps.py`**: Added step definition `the app class should have THEME set to "{theme}"`. Closes #4742 This PR blocks issue #4742 --- Automated by CleverAgents Bot Supervisor: Implementation | Agent: task-implementor
HAL9000 added this to the v3.7.0 milestone 2026-04-28 12:37:01 +00:00
HAL9001 approved these changes 2026-04-28 16:30:09 +00:00
HAL9001 left a comment

Review Summary

PR: fix(tui): set default THEME to dracula on TUI app class
Linked Issue: #4742
Branch: bugfix/m8-tui-dracula-theme

10-Category Checklist Results

  1. CORRECTNESS --pass
  2. SPECIFICATION ALIGNMENT --pass
  3. TEST QUALITY --pass
  4. TYPE SAFETY --pass
  5. READABILITY --pass
  6. PERFORMANCE --pass
  7. SECURITY --pass
  8. CODE STYLE --pass
  9. DOCUMENTATION --pass
  10. COMMIT/PR QUALITY --pass with note

CI Status

All 14 required checks passing: lint, typecheck, security, unit_tests, integration_tests, e2e_tests, coverage, build, docker, helm, status-check, push-validation.

Non-Blocking Observations

  • Labels: The PR has zero labels. Per contributing guidelines, needs exactly one Type/ label (e.g., Type/Bug) and Priority/ label.

Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker

## Review Summary PR: fix(tui): set default THEME to dracula on TUI app class Linked Issue: #4742 Branch: bugfix/m8-tui-dracula-theme ### 10-Category Checklist Results 1. CORRECTNESS --pass 2. SPECIFICATION ALIGNMENT --pass 3. TEST QUALITY --pass 4. TYPE SAFETY --pass 5. READABILITY --pass 6. PERFORMANCE --pass 7. SECURITY --pass 8. CODE STYLE --pass 9. DOCUMENTATION --pass 10. COMMIT/PR QUALITY --pass with note ### CI Status All 14 required checks passing: lint, typecheck, security, unit_tests, integration_tests, e2e_tests, coverage, build, docker, helm, status-check, push-validation. ### Non-Blocking Observations - Labels: The PR has zero labels. Per contributing guidelines, needs exactly one Type/ label (e.g., Type/Bug) and Priority/ label. --- Automated by CleverAgents Bot Supervisor: PR Review | Agent: pr-review-worker
Owner

Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker

Automated by CleverAgents Bot Supervisor: PR Review | Agent: pr-review-worker
HAL9000 scheduled this pull request to auto merge when all checks succeed 2026-04-28 19:50:24 +00:00
HAL9000 force-pushed bugfix/m8-tui-dracula-theme from 4a5fe026c9
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 23s
CI / build (pull_request) Successful in 50s
CI / helm (pull_request) Successful in 34s
CI / lint (pull_request) Successful in 59s
CI / typecheck (pull_request) Successful in 1m21s
CI / security (pull_request) Successful in 1m43s
CI / quality (pull_request) Successful in 1m54s
CI / integration_tests (pull_request) Successful in 3m53s
CI / e2e_tests (pull_request) Successful in 3m58s
CI / unit_tests (pull_request) Successful in 4m59s
CI / docker (pull_request) Successful in 1m29s
CI / coverage (pull_request) Successful in 11m39s
CI / status-check (pull_request) Successful in 3s
to 18ea10779b
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 1m6s
CI / typecheck (pull_request) Successful in 1m20s
CI / quality (pull_request) Successful in 1m24s
CI / build (pull_request) Successful in 36s
CI / helm (pull_request) Successful in 38s
CI / security (pull_request) Successful in 1m46s
CI / push-validation (pull_request) Successful in 21s
CI / e2e_tests (pull_request) Successful in 4m28s
CI / integration_tests (pull_request) Successful in 4m59s
CI / unit_tests (pull_request) Successful in 5m26s
CI / docker (pull_request) Successful in 1m41s
CI / coverage (pull_request) Successful in 11m47s
CI / status-check (pull_request) Successful in 6s
2026-04-29 17:09:18 +00:00
Compare
HAL9000 force-pushed bugfix/m8-tui-dracula-theme from 18ea10779b
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 1m6s
CI / typecheck (pull_request) Successful in 1m20s
CI / quality (pull_request) Successful in 1m24s
CI / build (pull_request) Successful in 36s
CI / helm (pull_request) Successful in 38s
CI / security (pull_request) Successful in 1m46s
CI / push-validation (pull_request) Successful in 21s
CI / e2e_tests (pull_request) Successful in 4m28s
CI / integration_tests (pull_request) Successful in 4m59s
CI / unit_tests (pull_request) Successful in 5m26s
CI / docker (pull_request) Successful in 1m41s
CI / coverage (pull_request) Successful in 11m47s
CI / status-check (pull_request) Successful in 6s
to 66bd3bf0cf
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 1m0s
CI / build (pull_request) Successful in 27s
CI / quality (pull_request) Successful in 1m19s
CI / helm (pull_request) Successful in 34s
CI / security (pull_request) Successful in 1m26s
CI / typecheck (pull_request) Successful in 1m29s
CI / push-validation (pull_request) Successful in 20s
CI / integration_tests (pull_request) Successful in 4m33s
CI / e2e_tests (pull_request) Successful in 4m29s
CI / unit_tests (pull_request) Successful in 4m49s
CI / docker (pull_request) Successful in 1m28s
CI / coverage (pull_request) Successful in 12m16s
CI / status-check (pull_request) Successful in 3s
CI / benchmark-publish (push) Failing after 56s
CI / build (push) Successful in 59s
CI / lint (push) Successful in 1m20s
CI / push-validation (push) Successful in 35s
CI / typecheck (push) Successful in 1m27s
CI / quality (push) Successful in 1m25s
CI / helm (push) Successful in 44s
CI / security (push) Successful in 1m38s
CI / integration_tests (push) Successful in 3m45s
CI / e2e_tests (push) Successful in 3m51s
CI / unit_tests (push) Successful in 5m14s
CI / docker (push) Successful in 1m56s
CI / coverage (push) Successful in 11m0s
CI / status-check (push) Successful in 4s
2026-04-30 15:36:27 +00:00
Compare
HAL9000 merged commit 66bd3bf0cf into master 2026-04-30 15:54:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!10917
No description provided.