Skip to content

Commit c1dc5d8

Browse files
wesmclaude
andauthored
Color-code Addressed column in TUI (#204)
## Summary - Color-code the Addressed column values in the TUI job list table - `true` renders in cyan (`tuiAddressedStyle`), matching the `[ADDRESSED]` badge in the review detail screen - `false` renders in yellow (`tuiQueuedStyle`), signaling "needs attention" without alarm - No color applied when the row is selected, consistent with Status and P/F columns Closes #199 ## Test plan - [x] `go build ./...` passes - [x] `go test ./...` passes - [x] Visual check in TUI: `true` is cyan, `false` is yellow, selected rows are unstyled <img width="856" height="514" alt="image" src="https://github.com/user-attachments/assets/46f5a388-e91b-4e95-9b35-adf3dc8c9eae" /> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 444b095 commit c1dc5d8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cmd/roborev/tui.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3345,9 +3345,17 @@ func (m tuiModel) renderJobLine(job storage.ReviewJob, selected bool, idWidth in
33453345
addr := ""
33463346
if job.Addressed != nil {
33473347
if *job.Addressed {
3348-
addr = "true"
3348+
if selected {
3349+
addr = "true"
3350+
} else {
3351+
addr = tuiAddressedStyle.Render("true")
3352+
}
33493353
} else {
3350-
addr = "false"
3354+
if selected {
3355+
addr = "false"
3356+
} else {
3357+
addr = tuiQueuedStyle.Render("false")
3358+
}
33513359
}
33523360
}
33533361

0 commit comments

Comments
 (0)