Skip to content

fix(ui): soften active split-pane indication - #126714

Merged
vyctorbrzezowski merged 14 commits into
openclaw:mainfrom
vyctorbrzezowski:maintainer/126686-split-pane-emphasis
Aug 21, 2026
Merged

vyctorbrzezowski merged 14 commits into
openclaw:mainfrom
vyctorbrzezowski:maintainer/126686-split-pane-emphasis

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes #126686.

This PR replaces the active pane's accent outline with the approved inactive-pane treatment:

  • direct inactive split cells use filter: saturate(0.45) with no cell opacity or border;
  • the inactive pane's topbar action row and secondary header controls are hidden, then restored immediately when that pane becomes active;
  • light-mode user bubbles use a token-based 15% accent tint with no border; dark-mode bubbles keep their existing treatment.

The selector is scoped to direct split-view cells, so classic/single-pane layout and nested descendants do not acquire inactive styling.

Maintainer decision

Hiding inactive-pane actions and increasing the light user-bubble tint are explicit Control UI owner decisions in this PR. Reviewer suggestions to keep those actions visible or remove the tint are intentionally not applied.

Evidence

The approved closeout tree was verified at b0080e705bba8b5f06692c93c5614e30514a8097 on Blacksmith Testbox tbx_01m0h7q48mc3ty6xbhp0jm5c8t (blue-shrimp-940e), backed by Actions run 32445471237:

  • focused split-pane E2E: 1 passed, 9 skipped;
  • focused rendered screenshot fixture: 1 passed;
  • theme contrast suite: 4 passed;
  • recursive OpenCode closeout was completed before the landing handoff.

The current head preserves the approved closeout treatment on top of the mechanical main refresh. Exact-head hosted CI then exposed that the shared inactive-control selector also hid the critical Device offline placement status; 0ad05de removes only that status control from the hidden set. The inactive action row remains hidden and the 15% light-bubble tint is unchanged.

Measured light-bubble contrast

Light theme Text Link Link hover
Default 12.79:1 5.35:1 5.91:1
OpenKnot 13.18:1 6.13:1 6.76:1
Dash 11.23:1 7.21:1 7.34:1

All text and link measurements pass WCAG AA on the rendered 15% accent mix.

Diff accounting

  • Production CSS: +27 / -8.
  • Tests: +49 / -4, covering activation, hidden/restored actions, computed pane treatment, and token-real light-theme contrast.

Screenshots

Light context — the active pane keeps its complete action row while the inactive pane is desaturated and its action row is absent.

Light split-pane context

Light close-up — the approved 15% accent user-bubble tint has no border; the inactive pane keeps content legible without global opacity.

Light split-pane close-up

Dark context — the active/inactive hierarchy is preserved while dark user bubbles retain their existing token treatment.

Dark split-pane context

Dark close-up — inactive saturation and hidden header actions, with no pane opacity or accent outline.

Dark split-pane close-up

@clawsweeper

clawsweeper Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vyctorbrzezowski vyctorbrzezowski self-assigned this Aug 20, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Aug 20, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 20, 2026
@clawsweeper

clawsweeper Bot commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 21, 2026, 12:46 AM ET / 04:46 UTC.

ClawSweeper review

What this changes

This PR removes the active split-pane outline, desaturates direct inactive split cells, and adds an E2E assertion for the resulting computed styles.

Merge readiness

⚠️ Needs maintainer review before merge - 4 items remain

Keep open. The prior hidden-header-controls concern is resolved, but the new treatment makes active-pane identity depend solely on saturation, leaving no non-color cue for split-view users.

Priority: P3
Reviewed head: e3d5c9f06e77e6d7f8ad20966d5a080dcc9850bc
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The supplied visual evidence is strong, but the implementation needs a color-independent active-state cue before it is merge-ready.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.
Evidence reviewed 6 items Current-main baseline: Current main marks the active split cell with an inset accent outline; the PR replaces that state treatment rather than changing pane activation semantics.
Proposed state cue: The proposed selector applies only saturate(0.45) to inactive direct split cells, leaving the active cell without a structural or luminance marker.
Activation owner: The cell owner preserves pointer and focus activation, so the missing cue affects a real active-routing state rather than a decorative class.
Findings 1 actionable finding [P1] Preserve a non-color active-pane cue
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts

Result: FAIL (failed) — step 1 run node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts: terminal command did not produce output within 20 seconds: "node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts"

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts
runner@runnervm76f27:/tmp/clawsweeper-live-proof-126714-sEtRDW/target$ node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoad
er runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-126714-sEtRDW/target

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts












































Assertions:

  • FAIL expect_output: coalesces persisted same-session split panes during cold startup

How this fits together

Control UI renders simultaneous chat sessions as split-pane cells. Pane activation changes where interaction and output are directed, while the split-view stylesheet provides the visual distinction.

flowchart LR
A[Chat sessions] --> B[Split-view cells]
B --> C[Active pane selection]
C --> D[Split-pane styling]
D --> E[Operator sees active session]
Loading

Decision needed

Question Recommendation
Should split view retain a non-color indication of the active pane while adopting the softer inactive treatment? Add a subtle non-color cue: Keep inactive desaturation and add a geometric or luminance-based active marker with focused browser proof.

Why: The exact visual affordance is a Control UI product decision; the source establishes the accessibility gap but not the intended replacement design.

Before merge

  • Preserve a non-color active-pane cue (P1) - saturate(0.45) is the only distinction between active and inactive split cells. In grayscale or other color-independent viewing, it does not provide a separate shape or luminance marker, so users can no longer tell which pane is the active output target. Keep the softer treatment, but add a subtle non-color active-state affordance.
  • Resolve merge risk (P1) - Merging replaces the existing visible active-pane marker with a saturation-only distinction, which can make the output-target pane indistinguishable when color information is unavailable.
  • Complete next step (P2) - A Control UI owner must choose the permanent non-color active-state affordance before a mechanical patch can be safely selected.

Findings

  • [P1] Preserve a non-color active-pane cue — ui/src/styles/chat/split-view.css:50
Agent review details

Security

None.

PR surface

Source -3, Tests +17. Total +14 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 4 7 -3
Tests 1 18 1 +17
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 22 8 +14

Review metrics

Metric Value Why it matters
Production vs test LOC production -3, tests +17 The implementation is a small CSS substitution with focused E2E coverage for its visual contract.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #126686
Summary: This PR is the stated candidate implementation for the linked split-pane visual request.

Members:

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

Merge-risk options

Maintainer options:

  1. Restore a non-color active cue (recommended)
    Revise the split-pane treatment to preserve a soft but color-independent active-state signal before merge.
  2. Accept the visual tradeoff
    Land the saturation-only treatment only if the Control UI owner explicitly accepts its accessibility and discoverability tradeoff.

Technical review

Best possible solution:

Keep the softer hierarchy but add a subtle non-color active-pane affordance and prove it alongside the existing focus and visibility coverage.

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

Yes: the exact CSS applies only saturation to inactive cells, and the focused E2E test asserts that computed state after pane activation.

Is this the best way to solve the issue?

No: the selector is narrowly scoped, but saturation alone is not a color-independent active-pane cue; retain the softer design with an additional non-color marker.

Full review comments:

  • [P1] Preserve a non-color active-pane cue — ui/src/styles/chat/split-view.css:50
    saturate(0.45) is the only distinction between active and inactive split cells. In grayscale or other color-independent viewing, it does not provide a separate shape or luminance marker, so users can no longer tell which pane is the active output target. Keep the softer treatment, but add a subtle non-color active-state affordance.
    Confidence: 0.92

Overall correctness: patch is incorrect
Overall confidence: 0.9

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 9bc772ba5068.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.

Label justifications:

  • P3: This is a contained Control UI visual-hierarchy refinement rather than a runtime outage.
  • merge-risk: 🚨 compatibility: It changes the established visual signal that tells existing split-view users which pane is active.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body provides Testbox results and screenshots showing the after-change split-pane treatment; they do not resolve the non-color-cue finding.

Evidence

What I checked:

  • Current-main baseline: Current main marks the active split cell with an inset accent outline; the PR replaces that state treatment rather than changing pane activation semantics. (ui/src/styles/chat/split-view.css:47, 9bc772ba5068)
  • Proposed state cue: The proposed selector applies only saturate(0.45) to inactive direct split cells, leaving the active cell without a structural or luminance marker. (ui/src/styles/chat/split-view.css:50, e3d5c9f06e77)
  • Activation owner: The cell owner preserves pointer and focus activation, so the missing cue affects a real active-routing state rather than a decorative class. (ui/src/pages/chat/chat-page-pane-render.ts:55, e3d5c9f06e77)
  • Focused regression coverage: The new E2E assertion codifies the saturation-only computed style and confirms inactive Close-pane controls remain visible, resolving the previous header-control finding. (ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts:287, e3d5c9f06e77)
  • Accessibility feedback: Existing PR feedback specifically identified that saturation/opacity-only differentiation can leave the active pane ambiguous for users who cannot rely on color.
  • History limitation: The partial checkout could not hydrate older Git objects because its promisor remote was unavailable, so pre-branch ownership provenance remains low-confidence.

Likely related people:

  • vyctorbrzezowski: The checked-out split-pane source is attributed to the current PR head and the author is the member who opened the linked design report. (role: current split-pane contributor; confidence: low; commits: e3d5c9f06e77; files: ui/src/styles/chat/split-view.css, ui/src/e2e/chat-flow.navigation-presentation.e2e.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add a subtle non-color active-pane indicator.
  • Extend the focused browser proof to cover that indicator.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (7 earlier review cycles)
  • reviewed 2026-08-20T15:42:29.551Z sha 2f26d3c6c64e9285f7716443bbfdda581e8cdc0a :: found issues before merge. :: [P2] Keep the new E2E test focused on the visual contract
  • reviewed 2026-08-20T21:11:03.317Z sha 2f26d3c6c64e9285f7716443bbfdda581e8cdc0a :: needs changes before merge. :: [P2] Keep the new E2E test focused on the visual contract
  • reviewed 2026-08-20T22:23:29.222Z sha 2f26d3c6c64e9285f7716443bbfdda581e8cdc0a :: found issues before merge. :: [P2] Remove unrelated split-pane interaction checks
  • reviewed 2026-08-21T01:22:40.871Z sha 1b71581aa81998f28288bb6740401e2c397e154b :: found issues before merge. :: [P1] Keep inactive-pane header controls available | [P2] Scope the light user-bubble restyle to split panes
  • reviewed 2026-08-21T02:05:29.629Z sha 1b71581aa81998f28288bb6740401e2c397e154b :: found issues before merge. :: [P1] Keep inactive-pane header actions available | [P2] Limit the light user-bubble restyle to its intended surface | [P2] Avoid compounding the inactive composer attenuation
  • reviewed 2026-08-21T04:05:00.968Z sha 10c6b38 :: found issues before merge. :: [P1] Keep inactive-pane header actions available | [P2] Remove the unrelated global light user-bubble restyle
  • reviewed 2026-08-21T04:22:11.805Z sha b0080e7 :: needs changes before merge. :: [P1] Keep inactive-pane header controls available | [P2] Remove the unrelated global light user-bubble restyle

Comment thread ui/src/styles/chat/split-view.css Outdated
.chat-split-view__cell--active {
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
.chat-split-view--split .chat-split-view__cell:not(.chat-split-view__cell--active) {
opacity: 0.96;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

a11y observation: the inactive-pane attenuation may be too subtle to satisfy WCAG 1.4.1

The change replaces a clear active-pane affordance (inset accent border at 60%) with opacity: 0.96 + saturate(0.92) on the inactive panes. Concretely:

  1. opacity: 0.96 is a ~2% luminance reduction - visually negligible. A sighted user, and especially a low-vision or color-deficient user, will in practice not be able to tell which pane is active without the previous border. That leans on color/visual difference alone, which is exactly what WCAG 1.4.1 (Use of Color) flags. The active pane no longer has a non-color indicator.

  2. Focus vs. active ambiguity: the tests correctly confirm both panes stay focusable and non-inert (good - the inactive pane remains reachable). But when keyboard focus lands on the inactive (attenuated) pane, the user sees a focus ring on a dimmed pane while the active pane has no border - two competing visual states. Worth clarifying the intended cue for "this pane is where output happens" vs "this pane has keyboard focus".

Suggestions (pick whichever fits the design):

  • Bump the attenuation so the distinction is perceivable (e.g. opacity: 0.75-0.85 + stronger desaturation), or
  • Keep a non-color active indicator alongside the attenuation (e.g. a 2px top accent bar on the active pane, or an aria-current-style state), which satisfies 1.4.1 while keeping the softer look.

The aria-hidden="false" / no-inert on both panes is correct - keep that. It is specifically the visual affordance that needs to stay perceivable without relying on a ~2% opacity difference.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review August 21, 2026 01:29
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 21, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the maintainer/126686-split-pane-emphasis branch from 1b71581 to 734d868 Compare August 21, 2026 03:42
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 21, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 21, 2026
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. labels Aug 21, 2026
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Maintainer decision for the latest exact-head ClawSweeper review: accept the saturation-only active/inactive distinction and skip the optional non-color-marker rank-up move.

This is deliberate for the product goal in #126686: restoring a geometric active marker would reintroduce the heavy pane-selection treatment the issue removes. The final patch keeps the active DOM class, pointer activation, focus-to-activate behavior, every header/status action, and readable pane content. Exact-head Testbox proof: https://github.com/openclaw/openclaw/actions/runs/32447778675.

The second rank-up move (browser proof for a new marker) is not applicable because no separate marker is being added. The existing light/dark screenshots and exact-head focused browser test cover the accepted treatment.

@vyctorbrzezowski
vyctorbrzezowski merged commit 6c66798 into openclaw:main Aug 21, 2026
98 checks passed
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash.

@gonzoblasco

gonzoblasco commented Aug 21, 2026 •

Copy link
Copy Markdown

@vyctorbrzezowski nice iteration - the jump from opacity: 0.96 / saturate(0.92) to saturate(0.45) plus hiding the inactive pane header controls is a real step up. The inactive pane is now clearly distinguishable, and keeping the active pane DOM class, pointer/focus activation, and header actions intact preserves the interaction model. That addresses the "imperceptible" part of my earlier concern.

One thing I would still flag, and I know you weighed this in the maintainer note: the active pane still has no non-color indicator, so the active/inactive distinction relies on color (desaturation) alone. For a grayscale or color-deficient view, and for the "where does output go" question specifically, that is exactly the WCAG 1.4.1 gray area the previous border covered. I do not think you need to bring back the heavy selection treatment - a 2px top accent bar on the active pane (or an aria-current state) would give a non-color cue without reintroducing the weight the issue was removing.

Not a blocker, since it is shipped and the interaction model is sound - just recording it so the tradeoff is on the record. Nice work getting this one across the line.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 22, 2026
* fix(ui): soften active split-pane indication

* fix(ui): scope split-pane attenuation to split layout

* fix(ui): refine split-pane visual hierarchy

* test(ui): establish active split pane in visual proof

* test(ui): activate split pane through its header

* style(ui): format split-pane selectors

* fix(ui): preserve inactive split-pane controls

* fix(ui): finalize inactive split-pane styling

* fix(ui): preserve inactive split-pane actions

* Revert "fix(ui): preserve inactive split-pane actions"

This reverts commit 2cadd21.

* fix(ui): keep inactive split-pane status visible

* fix(ui): restore approved split-pane treatment

* fix(ui): keep inactive placement status visible
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 maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Soften active split-pane indication in Control UI

2 participants