Skip to content

fix(ui): hide catalog actions outside hover and keyboard focus - #185473

Merged
steipete merged 1 commit into
mainfrom
ci/catalog-header-focus-404453
Oct 27, 2026
Merged

steipete merged 1 commit into
mainfrom
ci/catalog-header-focus-404453

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes catalog filter icons remaining visible beside Claude Code and Codex when neither the pointer nor keyboard focus is on the catalog header.

User Impact

Catalog actions follow their intended hover, keyboard-focus, and touch behavior again. The main Filter & sort control stays visible.

Why This Change Was Made

The rule added to keep the main toolbar filter visible also matched the catalog filters. Scope it to the toolbar button and strengthen the existing browser regression to verify the toolbar remains visible while catalog actions hide. Document the interaction.

Evidence

Reproduced the original failure from scheduled run 40445322734 on current main. The exact header-affordance test and the existing touch/grouping test now pass (2 passed, 5 filtered). All existing hover, keyboard-focus, touch, and pointer-event assertions remain.

Targeted UI E2E typecheck (tsrs), typed lint, stylesheet lint, formatting, and independent review all pass.

Before:

Catalog filter icons incorrectly visible

After:

Catalog actions hidden while the main filter stays visible

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 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.

@steipete
steipete marked this pull request as ready for review October 27, 2026 05:00
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XS labels Oct 27, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T05:02:12.929567Z 0013cba Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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. labels Oct 27, 2026
@steipete
steipete enabled auto-merge (squash) October 27, 2026 05:15
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Scope the always-visible filter styling to toolbar buttons so catalog actions retain their existing hover, keyboard-focus, and touch behavior.

Example: Move the mouse away from the Claude Code and Codex catalog headers.

  • Before: Their filter icons remain visible beside the headers.
  • After: Catalog actions hide while the main Active filter remains visible.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A minimal owner-level repair with direct visual evidence, preserved interaction coverage, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after Control UI screenshots show the changed CSS behavior with synthetic catalog content: both catalog filter icons hide while the main Active filter remains visible; reported browser validation additionally covers hover, pointer-away, keyboard focus, and touch.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Catalog filter icons remain visible when their headers have neither hover nor keyboard focus.
Reason: The maintainer-authored change restores an established interaction without altering the visible session-status filter or adding settings.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

✅ Ready for maintainer review

This PR fixes a current sidebar visual regression with a focused selector change; no actionable defects were found.

Priority: P3
Reviewed head: 0013cba9d91a02b032137e09d518e50ac3ab70ef

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI sidebar renders toolbar and catalog buttons with shared filter classes; CSS determines their visibility from pointer, focus, menu, and filter state.

flowchart LR
  A[Sidebar state] --> B[Toolbar button]
  A --> C[Catalog header buttons]
  B --> D[Scoped rail styling]
  C --> E[Existing interaction styling]
  D --> F[Visible sidebar controls]
  E --> F
Loading

Technical review

Best possible solution:

Keep the selector repair and existing interaction coverage, then land when the required checks pass.

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

Current-main CSS forces catalog filter opacity to 1 despite the existing resting-state rule; the supplied before screenshot shows that result, though no target code was executed during this review.

Is this the best way to solve the issue?

The selector qualification is the smallest complete repair: it preserves toolbar visibility and lets the existing catalog interaction owner control catalog actions.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Rail filter visibility keeps the original intent (c99fc67: Expose the existing session-status label in the main toolbar; this PR retains that output and corrects the selector's unintended catalog scope.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Focused introduced change: The introduced diff narrows the selector, extends an existing browser assertion, and documents the interaction; the verified test merge contains the same selector repair. (ui/src/styles/sidebar-rail.css:682, 0013cba9d91a)
  • Current-main failure and existing owner: Fetched main still applies opacity: 1 to every rail .sidebar-session-sort, including catalog actions; layout.css already owns hiding, hover, keyboard focus, open-menu, active-filter, and touch behavior. (ui/src/styles/layout.css:1358, 1faa6f1f9c71)
  • Inspected visual evidence: Both downloaded PR screenshots were inspected: the before image shows Claude Code and Codex filter icons at rest, and the after image hides them while retaining the main Active filter. (0013cba9d91a)
  • Preserved design intent: improve(ui): make the sidebar session status visible #182961 introduced the broad selector to expose session status; fix(ui): clear sidebar hover controls after pointer leaves #121118 established pointer-away hiding with keyboard and touch access. This PR preserves both intentions. (ui/src/styles/sidebar-rail.css:682, c99fc67f56f5)
  • Validation and checkout limits: The reviewed head remains mergeable with a Gateway E2E check in progress and no observed failing check. The checkout stayed clean. An older historical blob was unavailable locally; the relevant selector introduction and linked PR intent were independently verified. (0013cba9d91a)

Likely related people:

  • Peter Steinberger: Raw commit 5ec12b1 adds ui/src/e2e/claude-sessions.e2e.test.ts:260 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5ec12b1330ae; files: ui/src/e2e/claude-sessions.e2e.test.ts)
  • Vyctor H. Brzezowski: Raw commit 12a569d adds ui/src/e2e/claude-sessions.e2e.test.ts:89 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 12a569d369aa; files: ui/src/e2e/claude-sessions.e2e.test.ts)

PR surface

Source 0, Tests +1, Docs +4. Total +5 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 1 0 +1
Docs 1 4 0 +4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 6 1 +5

Labels

Label changes:

  • add P3: This restores intended visual affordances without changing session operations, preferences, or permissions.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This restores intended visual affordances without changing session operations, preferences, or permissions.
  • 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.

Reviewed October 27, 2026, 1:15 AM ET / 05:15 UTC.

@steipete
steipete merged commit f25963e into main Oct 27, 2026
141 of 148 checks passed
@steipete
steipete deleted the ci/catalog-header-focus-404453 branch October 27, 2026 05:19
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

roboclaw-bot added a commit that referenced this pull request Oct 27, 2026
Keep the exact main stylesheet from #185473 and remove the duplicate CSS delta. Preserve the reviewed URL-admission fix. The refreshed candidate passes19 focused title, prepared identity, snapshot/outbox and catalog-hover browser cases plus UI typecheck and targeted lint.

Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 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 ci:full Keep ordinary native-locale CI selection on the next PR run. 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. docs Improvements or additions to documentation size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant