Skip to content

Agent pane header: an open toggle keeps its filled square under the pointer (fix-forward #32687) - #32703

Merged
teamleaderleo merged 1 commit into
feat-cmux-nextfrom
lane/header-icons-on-fill
Nov 3, 2026
Merged

teamleaderleo merged 1 commit into
feat-cmux-nextfrom
lane/header-icons-on-fill

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Fix-forward for #32687, which landed at 70642c1 one commit short: webviews/test/chat-header-tab-row-surface.test.ts is red on base in 4 pressed-hover cases.

Leo (2026-11-02): "FOR THE FING STUPID BACKGROUND ON THE FING TOP RIGHT ICONS TO BE REMOVED". His reference fills only the toggled-on button.

The hover pill rule (.acpmux-header-tools .acpmux-header-tool:not(:disabled):hover, specificity 0,4,0) beat the on fill (...:is([aria-pressed=true],[data-popup-open]), 0,3,0). So a toggle whose panel is open, or a ⋯ whose menu is open, showed the hover pill instead of the filled square while the pointer was on it. The on selectors now carry :not(:disabled): they are as specific as the hover rule and come after it.

Observed / Not run

  • Observed: on 70642c1, cmux-ci ran bun test test/chat-header-tab-row-surface.test.ts: 28 pass, 4 fail (all pressed-hover; run 41548703069). The same command on this head is running now; its result will be posted here.
  • Not run: a Mac capture (this VM has no fleet client).

Changelog

none

Agent session: agent session

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the agent pane header so an open toggle keeps its filled square under the pointer instead of swapping it for the hover pill.

The "on" selectors were less specific than the hover rule, so hovering a toggle whose panel or menu was open showed the pill background. The "on" selectors now include :not(:disabled), matching the hover rule's specificity and coming after it in the stylesheet, so the filled square stays visible while hovered.

Written for commit 7f4d35e. Summary will update on new commits.

View guided diff Turn on auto-fix

@cursor

cursor Bot commented Nov 3, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 7f4d35e: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr32703 -f ref=lane/header-icons-on-fill -f platform=macos -f backend_mode=local

Gallery before/after for 7f4d35e: 16 states rendered, 0 images differ, 1114 more touched states not rendered. Images are in the run's artifact, not on this public PR; the independent review of this head reads them on its own, so the PR needs no hand-made screenshots of these states.

gh run download 41550007269 -R manaflow-ai/cmux -n gallery-advisory-32703-7f4d35e576012b83b48c1ce26653a9e637d94d00 (then read gallery-review.json)

States
State Theme Status Diff Picked by
agent-pane.header-action-stability/idle Apple System Colors Light unchanged 0% own header.css
agent-pane.header-action-stability/idle Apple System Colors unchanged 0% own header.css
agent-pane.header-action-stability/busy Apple System Colors Light unchanged 0% own header.css
agent-pane.header-action-stability/busy Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/native-row-off Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/native-row-off Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/native-row-tools Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/native-row-tools Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/unified-compact Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/unified-compact Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/unified-roomy Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/unified-roomy Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/unified-tight Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/unified-tight Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/idle Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/idle Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/panels-open Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/panels-open Apple System Colors unchanged 0% own header.css
agent-pane.header-tools/panel-open Apple System Colors Light unchanged 0% own header.css
agent-pane.header-tools/panel-open Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/empty Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/empty Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/transcript Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/transcript Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/waiting Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/waiting Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/long Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/long Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/floating Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/floating Apple System Colors unchanged 0% own header.css
agent-pane.quick-surface/compact-streaming Apple System Colors Light unchanged 0% own header.css
agent-pane.quick-surface/compact-streaming Apple System Colors unchanged 0% own header.css

Pick other states with a Gallery: entry.id, entry.id/variant line in the PR body.

Shipped in:

@teamleaderleo teamleaderleo added the risk:low Risk tier (docs/ci/risk-tiers.md) label Nov 3, 2026
@github-actions github-actions Bot added risk:normal Risk tier (docs/ci/risk-tiers.md) and removed risk:low Risk tier (docs/ci/risk-tiers.md) labels Nov 3, 2026
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

cmux-ci at 7f4d35e: bun test test/chat-header-tab-row-surface.test.ts: 32 pass, 0 fail (run 41550157838). On #32687's merged head 70642c1 it was 28 pass, 4 fail, all pressed-hover (run 41548703069).

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent claude-opus-5-5 medium): SHIP at 7f4d35e. All three on selectors are now 0,4,0 and come after the hover rule, so an open toggle or open menu keeps its fill under the pointer. Rest, focus-visible and disabled show no fill. Follow-ups: none.

@teamleaderleo teamleaderleo added the leo-named-fix An obvious fix to something Leo named: lands on push, review runs in parallel label Nov 3, 2026
@teamleaderleo
teamleaderleo merged commit 9f12377 into feat-cmux-next Nov 3, 2026
222 of 236 checks passed
@teamleaderleo
teamleaderleo deleted the lane/header-icons-on-fill branch November 3, 2026 00:20
teamleaderleo added a commit that referenced this pull request Nov 3, 2026
…t accepts its form

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-7a7568197607c3cdfb81

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 7f4d35e5 Deployed Nov 3, 2026 by teamleaderleo via wait for same-key tree publisher #103048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

leo-named-fix An obvious fix to something Leo named: lands on push, review runs in parallel risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant