Skip to content

feat(output): add Rich theme of status roles and marks - #7606

Merged
dan-petty merged 1 commit into
mainfrom
feat/4748-rich-theme-status-roles
Nov 28, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/4748-rich-theme-status-roles

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Centralize terminal status and severity styling into one Rich theme, replace emoji string comparisons in status logic with typed enums, default syntax highlighting to ansi_dark, and add token-driven Textual themes.

  • Added src/devops_cli/design/roles.ini, grafana_color, and textual_theme.
  • Loaded roles.ini via Theme.read with highlight=False in get_console() and added StatusRole / format_status (✓ OK, ! Warn, ✗ Fail, i Info).
  • Unified SEV_COLOR_MAP across scalars.py, scan.py, commands/review.py, and review/report.py, and switched status checks to SecurityStatus.
  • Changed DEFAULT_SYNTAX_THEME to ansi_dark, added output.syntax_theme and ui.theme settings, registered devops-dark/devops-light, and added UI status dot words.

Closes #4748
Change: openspec/changes/archive/2026-11-28-4748-rich-theme-status-roles/

@dan-petty dan-petty added type/feature Type feature: a new function scope/output Output formats of commands: JSON, YAML and tables labels Nov 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 16:42
@dan-petty
dan-petty merged commit 82a82f6 into main Nov 28, 2026
29 checks passed
@dan-petty
dan-petty deleted the feat/4748-rich-theme-status-roles branch November 28, 2026 17:19
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.237.0](v0.236.0...v0.237.0)
(2026-11-28)


### Features

* **design:** render report charts from tokens
([#4758](#4758))
([#7608](#7608))
([fdf16f7](fdf16f7))
* **monitoring:** export outdated dependencies from Renovate
([#4911](#4911))
([#7603](#7603))
([130a7aa](130a7aa))
* **monitoring:** show soft-cap and fix-check results
([#4868](#4868))
([#7607](#7607))
([9c9ea7e](9c9ea7e))
* **output:** add Rich theme of status roles and marks
([#7606](#7606))
([82a82f6](82a82f6))
* **telemetry:** rank usage errors by proposal class
([#7609](#7609))
([dd569fd](dd569fd)),
closes [#4840](#4840)


### Bug Fixes

* **ci:** refuse other commits on release branch
([#7220](#7220))
([#7610](#7610))
([5866f42](5866f42))
* **k8s:** wire mcp-server cluster tool settings
([#7348](#7348))
([#7605](#7605))
([76f326b](76f326b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/output Output formats of commands: JSON, YAML and tables type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(output): add one Rich theme of status roles and marks

1 participant