Skip to content

fix(ui): align session surfaces and lighten subagent icons - #178964

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/light-session-controls-contrast
Oct 21, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/light-session-controls-contrast

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Closes #178961

What Problem This Solves

Light-mode working indicators use dark bot tiles, while Sharing/Public and selected session controls use different background colors.

User Impact

Subagents use light tiles and clear, matching glyph colors in the working indicator and Details. Sharing/Public at rest, open Details, and open Panels share the same surface in each theme. Closed Details and Panels stay transparent.

Why This Change Was Made

Shared theme tokens own the selected control surface and the light subagent palette. The existing dark bot palette, pill surface, control dimensions, corner shapes, status indicators, and behavior are preserved. Dark-mode Details now uses the same selected surface as Sharing/Public and Panels.

Evidence

  • Eight existing tests across the activity-pill and Details components pass; UI types, focused JSX/CSS lint, formatting, and git diff --check pass.
  • pnpm ui:build passes. Its informational startup-JavaScript size advisory remains 321.2 KiB against 317.5 KiB.
  • Independent Codex reviews: no P0–P2 findings in the visual revision or its final integration with the inherited fixture repairs.
  • Real synthetic-session captures verify the working pill alongside Details, the 15-working stack, preserved dimensions and dark bot colors, and exact selected-surface equality in Claw/Knot light and dark. No page errors.
  • Current-head CI run passed all 62 jobs. Relevant E2E shard wall times (whole jobs, including setup): checks-ui-e2e (2/9) 301s, checks-ui-e2e (8/9) 310s, checks-ui-e2e (7/9) 308s.
  • CI exposed three inherited E2E fixture assumptions. The fixtures now target the accessible loading status, show an empty destination explicitly, and use an ordinary categorized session. All four affected cases pass in reused owner validation; no tests were added. Measured case times: group return 1.37 s, native links 20.09 s, mobile light/dark 4.87/4.88 s. The mixed initial run took 90.49 s (group/link passed; other cases were still failing); the final mobile verification took 31.45 s (3/3 cases passed).
  • Risk and coverage: presentation-only change with no new tests or runtime state. The global max-lines check previously reported existing suppressions in three unchanged TypeScript files (chat-message.test.tsx, config-page-state.ts, sessions-page-state.ts); no suppressions were changed.
Working indicators and Details: before and after
State Before After
Claw light: pill and Details pill-before-claw-light-details-context.png pill-after-claw-light-details-context.png
Knot light: pill and Details pill-before-knot-light-details-context.png pill-after-knot-light-details-context.png
Claw light: working icon pill-before-claw-light-pill.png pill-after-claw-light-pill.png
Knot light: working icon pill-before-knot-light-pill.png pill-after-knot-light-pill.png
Dark working icon pill-before-claw-dark-pill.png pill-after-claw-dark-pill.png
15 working subagents pill-before-claw-light-many-pill.png pill-after-claw-light-many-pill.png
Desktop Details Before Desktop Details surface-after-desktop-light-details-context.png
Desktop Subagents crop Before Desktop Subagents crop surface-after-desktop-light-details-subagents.png
One background for resting Sharing and active Details/Panels
Theme Sharing/Public at rest Details active Panels active
Claw light surface-after-desktop-light-public.png surface-after-desktop-light-details.png surface-after-desktop-light-panels.png
Claw dark surface-after-desktop-dark-public.png surface-after-desktop-dark-details.png surface-after-desktop-dark-panels.png
Knot light surface-after-knot-light-public.png surface-after-knot-light-details.png surface-after-knot-light-panels.png
Knot dark surface-after-knot-dark-public.png surface-after-knot-dark-details.png surface-after-knot-dark-panels.png

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 21, 2026 02:44
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR unifies selected session-control surfaces and gives light-theme subagent icons lighter tiles with clearer glyph colors.

Example: Open a Claw light-theme session with one working subagent.

  • Before: The working pill uses a dark bot tile, and neighboring session controls use inconsistent surfaces.
  • After: The working pill matches the lighter Details avatar treatment, while resting Sharing and active Details/Panels share one surface.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused visual scope, directly inspected before/after proof, and no actionable correctness or security finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected Control UI screenshots with synthetic session content exercise working pills, populated Details, stacked working avatars, and desktop control states in Claw/Knot light and dark; they show the changed colors and matching selected surfaces.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Light-theme bot tiles draw more attention than their glyphs, and neighboring session controls communicate their states inconsistently.
Reason: The session UI feature contributor is a repository member and has explicitly chosen this focused visual direction; the patch preserves existing interaction owners and geometry.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it provides focused, maintainer-directed visual polish with matching screenshots and no actionable findings.

Priority: P3
Reviewed head: 85d551b9abf8eb56b93d35c447a90b5008752b6a

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI renders session facts and control state through existing Solid components; shared theme tokens and component styles determine their visible appearance.

flowchart LR
  A[Session facts] --> B[Existing UI owners]
  B --> C[Activity pills]
  B --> D[Session Details]
  B --> E[Header controls]
  F[Shared theme tokens] --> C
  F --> D
  F --> E
Loading

Technical review

Best possible solution:

Use the existing theme and component owners to share selected surfaces and light avatar colors while preserving control geometry, status indicators, and dark bot colors.

Do we have a high-confidence way to reproduce the issue?

Current-main CSS establishes the inconsistent surfaces and theme-independent avatar colors, and the supplied before screenshots show their visible effect.

Is this the best way to solve the issue?

The patch is a small, complete presentation change using existing owners; every hunk supports the requested treatment without introducing parallel state or rendering machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against fbc99b8c03f5.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned introduced change: The introduced diff changes presentation through existing stylesheet owners and inline avatar hue properties; it adds no state, navigation, or execution path. (85d551b9abf8)
  • Current main still has the reported styling: Fetched main retains the elevated Sharing surface and theme-independent Details avatar colors; its seven affected files match the merge-base versions. (ui/src/styles/chat/split-view.css:788, fbc99b8c03f5)
  • Inspected visual proof: Prepared before/after screenshots show matching light bot treatments in Claw and Knot. Additional linked captures were inspected directly: desktop selected surfaces match across both themes and modes, dark working icons remain unchanged, and the 15-working stack uses light tiles. (85d551b9abf8)
  • Owner-directed scope and linked report: The MEMBER-authored PR implements Control UI light mode has inconsistent session controls and faint subagent icons #178961 and explicitly explains the selected-surface treatment, transparent closed controls, and preserved dark bot palette.
  • Feature history: Merged session-header, sharing, activity-pill, and Details work identifies Vyctor H. Brzezowski as the central feature contributor; Peter Steinberger's palette and contrast history supports secondary theme routing. (ui/src/pages/chat/components/chat-details-subagents.tsx:46, 4a65c3a4d6b0)
  • Exact-head workflow state: Live GitHub reports the reviewed head as mergeable and ready for review; its CI gate remains pending, with UI and lint checks still running and no observed failed product check. (85d551b9abf8)

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 4a65c3a adds ui/src/pages/chat/components/chat-details-subagents.tsx:46 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4a65c3a4d6b0; files: ui/src/pages/chat/components/chat-details-subagents.tsx)
  • Peter Steinberger: Raw commit 4b6a978 adds ui/src/styles/base.css:28 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 4b6a9785c9b0; files: ui/src/styles/base.css)

PR surface

Source +33. Total +33 across 7 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 7 48 15 +33
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 48 15 +33

Root-cause cluster

Relationship: same_root_cause
Canonical: #178961
Summary: This PR implements the session-control and subagent-icon treatment requested by the linked issue.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P3: This is localized visual polish with no blocked session action or demonstrated runtime regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-21T03:00:50.815Z sha ad112b5 :: needs maintainer review before merge. :: none

Reviewed October 21, 2026, 12:59 AM ET / 04:59 UTC (Revision 2).

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as draft October 21, 2026 03:17
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 21, 2026 03:29
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as draft October 21, 2026 03:38
@vyctorbrzezowski vyctorbrzezowski changed the title fix(ui): clarify light-theme session controls and subagent icons fix(ui): align session surfaces and lighten subagent icons Oct 21, 2026
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 21, 2026 04:51
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/light-session-controls-contrast branch from 85d551b to 0ce831c Compare October 21, 2026 05:11
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) October 21, 2026 05:16
@vyctorbrzezowski
vyctorbrzezowski merged commit e5a09cf into main Oct 21, 2026
92 of 93 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/light-session-controls-contrast branch October 21, 2026 05:20
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
…178964)

* fix(ui): clarify light-theme session controls and subagent icons

* fix(ui): keep idle toggles clear and strengthen Sharing surface

* fix(ui): share selected surfaces and lighten working avatars

* test(ui): align sidebar fixtures with current presentation
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control UI light mode has inconsistent session controls and faint subagent icons

1 participant