Skip to content

refactor(ui): align TUI and web information colors - #1244

Merged
jonathanung merged 1 commit into
mainfrom
worktree-1237-info-colors
Aug 17, 2026
Merged

jonathanung merged 1 commit into
mainfrom
worktree-1237-info-colors

Conversation

@jonathanung

Copy link
Copy Markdown
Owner

Summary

  • Align working / needs-you / error / success / danger and user vs tool labels so TUI AgentState and web Status / pulse / tool rows use the same roles.
  • Selected and hover rows use a purple inset rule plus --raised fill and --highlight text (no glow).
  • Add the information-color table to docs/theme.md. Permission/question wins over busy on the web header pulse, matching TUI agentState.

Issue

Fixes #1237

Tier

B

Verification

  • gofmt on touched Go
  • make web-check
  • env -u AWS_PAGER make test && make vet && make build
  • smoke: skipped (no keybind, protocol, or cmd/engine/session/auth changes)
  • note: TestCollectForwardedEnv fails when host AWS_PAGER is set; unrelated env leak, green after env -u AWS_PAGER

Map working / needs-you / error / success / danger and user vs tool
labels to the same roles on both surfaces. Selected rows use a purple
rule plus highlight fill, not glow. Document the contract in
docs/theme.md.

Fixes #1237
Copilot AI lite review requested due to automatic review settings August 17, 2026 00:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@jonathanung jonathanung left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review pass 1 on a2a313c

Verdict: approve (0 blocking, 0 should-fix)

Reviewed gh pr diff 1244 plus Status/App/theme CSS callers. Working / needs-you / error / success / danger / user / tool / selected now share roles; permission wins over busy on the header pulse; docs table present. No keybind or protocol changes.

Blocking

none

Should-fix

none

Nits

  • web/src/ui/Status.tsx liveStatusKind({ failed }) and .pulse.failed are unused in App header. Web has no sessionErrored field; failed tools already use --signal. Deferred: no product signal to wire.
  • Team.tsx StatusBadge kind=\"idle\" for read-only now inherits Success (ready). Pre-existing kind stretch; not a live-session chrome path.

Merge checklist may proceed for this SHA only.

@jonathanung

Copy link
Copy Markdown
Owner Author

Review pass 1 (head a2a313c31cf069ff2ab7d72e971d9969eb94b54c) — clean

0 blocking, 0 should-fix (nits deferred above). Merge checklist may proceed for this SHA only.

@jonathanung
jonathanung merged commit a1b7895 into main Aug 17, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(ui): align TUI and web information colors

2 participants