feat(board): align TUI card colors with web board status palette#3521
Merged
Conversation
Introduces a statusColor helper so border and status line share one source of truth: starting=blue, running=orange, waiting=green, paused=white, error=red. Assisted-By: Claude
Assisted-By: Claude
docker-agent
reviewed
Jul 8, 2026
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
The PR cleanly introduces a statusColor helper to centralize status-to-color mapping and aligns the TUI card colors with the web board's semantic palette. The implementation is consistent with the PR description, the test covers all named statuses plus the unknown-status fallback, and no bugs were found in the changed code.
Diff stats: 2 files changed, 106 diff lines reviewed.
rumpl
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The TUI board was using arbitrary colors that didn't correspond to the web board's status conventions, and the starting/running colors were swapped from what they should be. Paused cards were also shown in orange rather than a neutral color.
This change introduces a
statusColorhelper as a single source of truth for status-to-color mapping in the card renderer. Card borders and status lines now use the same semantic palette as the web board:starting/loading/attachingrender in blue (info),runningin orange (warning),waitingin green (success),pausedin white, anderrorin red. The project accent badge color and the primary highlight border on selected cards are unaffected.A table-driven test pins the full
statusColorcontract, including the unknown-status fallback, so future changes to the mapping can't silently regress.