Repository navigation
fix(ui): soften active split-pane indication - #126714
vyctorbrzezowski merged 14 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 21, 2026, 12:46 AM ET / 04:46 UTC. ClawSweeper reviewWhat this changesThis PR removes the active split-pane outline, desaturates direct inactive split cells, and adds an E2E assertion for the resulting computed styles. Merge readinessKeep 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 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherControl 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]
Decision needed
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
Findings
Agent review detailsSecurityNone. PR surfaceSource -3, Tests +17. Total +14 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest 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:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9bc772ba5068. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
| .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; |
There was a problem hiding this comment.
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:
-
opacity: 0.96is 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 oncolor/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. -
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.
1b71581 to
734d868
Compare
This reverts commit 2cadd21.
|
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. |
|
Merged via squash.
|
|
@vyctorbrzezowski nice iteration - the jump from 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 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. |
* 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
Summary
Fixes #126686.
This PR replaces the active pane's accent outline with the approved inactive-pane treatment:
filter: saturate(0.45)with no cell opacity or border;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
b0080e705bba8b5f06692c93c5614e30514a8097on Blacksmith Testboxtbx_01m0h7q48mc3ty6xbhp0jm5c8t(blue-shrimp-940e), backed by Actions run 32445471237:The current head preserves the approved closeout treatment on top of the mechanical
mainrefresh. Exact-head hosted CI then exposed that the shared inactive-control selector also hid the criticalDevice offlineplacement status;0ad05deremoves 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
All text and link measurements pass WCAG AA on the rendered 15% accent mix.
Diff accounting
Screenshots
Light context — the active pane keeps its complete action row while the inactive pane is desaturated and its action row is absent.
Light close-up — the approved 15% accent user-bubble tint has no border; the inactive pane keeps content legible without global opacity.
Dark context — the active/inactive hierarchy is preserved while dark user bubbles retain their existing token treatment.
Dark close-up — inactive saturation and hidden header actions, with no pane opacity or accent outline.