Skip to content

Agent chat: no background band behind the header tools in the tab row - #29618

Merged
teamleaderleo merged 2 commits into
feat-cmux-nextfrom
fix/chat-tab-row-no-band
Oct 31, 2026
Merged

teamleaderleo merged 2 commits into
feat-cmux-nextfrom
fix/chat-tab-row-no-band

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Leo, 2026-10-31 19:25Z: "and we STILL havne't removed the f***ign background????" and "well the more important thing is that i literally said that stuff like 15+ hours ago"

Leo, 2026-10-31 05:00Z (the original ask): "AND THE FING BACKGROUND ON THIS FING BUILD ON THESE BUTTONS STILL ISN'T F***ING REMOVESD"

What the background is

The chat shares its pane's tab row (chrome.tabs.rowTools, on by default). Since #25638 the shell leaves that row transparent (.acpmux-shell[data-tab-row] paints transparent for the row's height) so the native strip shows behind the title and tools. But the agent chat runs in Chromium by default (agent.chromium), and a Chromium page is an opaque child window. What shows through the transparent row is the document's root surface, not the native strip. In Leo's screenshot that is a flat darker band behind the title, Session Info and Changes, ending where the pane's own fill (the native toolbar and the pane below) begins.

#28962 removed the pressed-button plates. That was a different fill, so this band stayed.

Change (removal only)

  • Delete the .acpmux-shell[data-tab-row] transparent-row gradient. The shell's own background: var(--agent-page-bg) now runs to the top, so the row behind the header tools has the same fill as the pane under it and the native toolbar beside it.
  • Delete the test that pinned the transparent row. No other rule, control, spacing or card changes.

Supersedes the approach in #28116 (HOLD: making html transparent does nothing in an opaque Chromium window).

Risk: low. A WebKit chat now paints the pane fill under the native tab strip instead of leaving it clear. That is the same fill as the rest of the pane.

Agent session: agent session

🤖 Generated with Claude Code


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


Summary by cubic

Removes the transparent tab-row band in the agent chat so the header tools now sit on the same fill as the rest of the pane.

In Chromium the chat is an opaque child window, so the transparent row showed the document's root surface instead of the native strip, producing a darker band behind the title, Session Info, and Changes. Deleting the gradient lets the pane's own background run to the top, and removes the test that pinned the transparent row.

Risk is low; a WebKit chat now paints the pane's fill under the native tab strip instead of leaving it clear.

Written for commit 9ac76e1. Summary will update on new commits.

View guided diff Turn on auto-fix

…fill

Remove the transparent tab-row band from the chat shell. A Chromium chat is an
opaque child window, so the transparent row showed the document's root surface
behind the title and tools, a darker band than the pane and the native toolbar.

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

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · session

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

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

Review d4d3e38: 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=pr29618 -f ref=fix/chat-tab-row-no-band -f platform=macos -f backend_mode=local

Gallery before/after for 9ac76e1: 16 states rendered, 0 images differ, 1673 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 41240024271 -R manaflow-ai/cmux -n gallery-advisory-29618-9ac76e144be36cf1a03d03167c5ab6c775e6e31f (then read gallery-review.json)

States
State Theme Status Diff Picked by
agent-pane.access-offer/turn-no-credits Apple System Colors Light unchanged 0% own styles.css
agent-pane.access-offer/turn-no-credits Apple System Colors unchanged 0% own styles.css
agent-pane.access-offer/turn-low-credits Apple System Colors Light unchanged 0% own styles.css
agent-pane.access-offer/turn-low-credits Apple System Colors unchanged 0% own styles.css
agent-pane.access-offer/turn-no-offer Apple System Colors Light unchanged 0% own styles.css
agent-pane.access-offer/turn-no-offer Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/environment Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/environment Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/sources Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/sources Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/directory Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/directory Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/keyboard Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/keyboard Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/browse-error Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/browse-error Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-list/page-failed Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-list/page-failed Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-list/page-recovered Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-list/page-recovered Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-list/page-empty Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-list/page-empty Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-loading/first-page Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-loading/first-page Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-loading/indexing Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-loading/indexing Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-loading/loaded Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-loading/loaded Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-loading/empty Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-loading/empty Apple System Colors unchanged 0% own styles.css
agent-pane.all-chats-loading/failed Apple System Colors Light unchanged 0% own styles.css
agent-pane.all-chats-loading/failed Apple System Colors unchanged 0% own styles.css

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

Passes: CI passes on 9ac76e144b.

CI passes on 9ac76e144b (run 41241282080 attempt 1).

Written by scripts/ci/classify_failures.py (ci-failure-attribution.yml); signatures are its SIGNATURES table. A machine verdict is the runner's fault, not this PR's; yours means the failing file is one this PR changes, also red on main that main's latest full suite fails the same way, seen on other PRs that it failed on another pull request's run lately.

web and size checks: green

Shipped in:

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent): SHIP at d4d3e38

No blocking findings. Deletions only; the shell's base background: var(--agent-page-bg) now covers the tab row, the test file stays valid, no other check pins the transparent row, and native tabs stay above the web view (PaneContentView adds the strip after contentHost; Chromium keeps its nativeRects holes).

Follow-ups:

  • [follow-up] WebKit chat in a see-through or image-background window: check the row behind the tabs still matches the rest of the strip.
  • [follow-up] The comment on html:has(.acpmux-shell[data-tab-row]) in webviews/src/styles.css is now stale.

@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@cmux-bot cmux-bot Bot removed the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@blacksmith-sh

blacksmith-sh Bot commented Oct 31, 2026

Copy link
Copy Markdown

Found 2 test failures on Blacksmith runners:

Failures

Test View Logs
test/pane-english.test.ts/pane-english.test View Logs
test/pane-english.test.ts/pane-english.test View Logs

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

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent): SHIP at 9ac76e1

Delta from d4d3e38 is a clean merge of feat-cmux-next with no hand edits; the diff against base is still the same 34 deletions. summary-scroll-steady.test.ts (new on base, #29282, red once under WebKit at the old head and green on base) measures scrollTop, the card's rect and opacity. It never reads the shell's background, and removing a background paint moves no layout. Nothing newly merged asserts the transparent tab row. No findings.

@cmux-bot cmux-bot Bot removed the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@teamleaderleo
teamleaderleo merged commit 7f26639 into feat-cmux-next Oct 31, 2026
229 of 233 checks passed
@teamleaderleo
teamleaderleo deleted the fix/chat-tab-row-no-band branch October 31, 2026 21:54
teamleaderleo added a commit that referenced this pull request Nov 1, 2026
…9920)

* Agent chat: the header title is plain text; its actions live in ⋮

Leo, 2026-11-01: "? 4:55pm still background on the top right still the weird
situation why is there a dropdown of this"

The title was a ChatMenu trigger (#25661) whose :hover and [data-popup-open]
states filled it with --acpmux-menu-hover, the pill in his capture. #29618
removed the tab row's band in styles.css, a different element, so the pill
stayed. The title is now a span with no fill in any state and no menu;
a double-click renames (pane.action renameTab, as ⌘R does).

The title menu's rows stay reachable from ⋮: Rename, Fork, Archive and New
terminal / New browser / New window were already there; Move to machine
(header/chatRows.ts moveMachineRow) and Delete (deleteChatRow) join it, guarded
against a chat switch while the menu is open, as the title menu was.

Red on base, green here:
  bun test src/agent-session/acpmux/header/ThreadTitle.test.tsx src/agent-session/acpmux/header/chatRows.test.ts
  base: 4 fail / 9 pass; head: 13 pass

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

* design-surfaces: map the chat header to design/chat-header.md

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

* release notes: a plain chat title

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

* release notes: the plain title is an improvement (What's New keeps it)

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

* chatRows: Move to machine's children are ChatMenuChild rows (type check)

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

* header.css: the plain title follows its row, no fixed 360px cap (chip-fixed-width)

The title's ellipsis and its max-width now sit in one rule, so the pane's
fixed-width lint read min(44vw,360px) as a fixed truncation. 44vw alone
keeps the row-relative cap.

  bun test test/chip-fixed-width.test.ts: red at 0448491, green here.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 9ac76e14 Deployed Oct 31, 2026 by teamleaderleo via wait for same-key tree publisher #91373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant