Skip to content

feat(ui): stack the Team agent header identity - #193160

Merged
Patrick-Erichsen merged 5 commits into
mainfrom
feat/team-agent-stacked-header
Nov 5, 2026
Merged

Patrick-Erichsen merged 5 commits into
mainfrom
feat/team-agent-stacked-header

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Team-mode top agent control uses a horizontal pill instead of the requested avatar-above-name layout.

User Impact

Users see a centered avatar above a compact, vertically padded name chip with a 2px gap. Clicking the control or activating it from the keyboard still opens that agent’s settings.

Why This Change Was Made

Stack the existing avatar and name inside the same native button, remove the expanding gear and its hover geometry, and keep the existing accessible label, identity renderer, and agent-settings navigation.

Evidence

Before:
Team-mode agent header before

After:
Team-mode agent header after

These are inspected, synthetic Chromium browser-harness captures of the production header component. Dark/light desktop and narrow fallback-header layouts were captured. Narrow harness coverage is not live-Gateway or production mobile-host verification.

  • 56 focused header unit/browser tests pass, including long-name containment, inset centering, hover stability, avatar click and Enter activation. The new stacked-layout regression failed on the original pill implementation.
  • Formatting, scoped stylesheet lint, and diff checks pass.
  • UI production build completes. The original hosted comparison failed on a 320 B increase in new-route JavaScript gzip, entirely from generated asset-name changes (new-route JavaScript is byte-identical after filename-hash normalization). Removing redundant header font/cursor declarations already supplied globally reduces the measured increase to 153 B, within the existing 192 B allowance; gzip CSS is 156 B smaller and raw CSS is 631 B smaller than the same baseline. This paired local measurement uses the exact tested merge/base with independent frozen installs; final-head hosted CI remains authoritative. No budgets changed.
  • The repaired stylesheet passes scoped stylelint and all 16 affected Chromium browser tests. The test-line ratchet passes without changing its baseline.
  • Hosted run 41967767736 passed performance and test-line budgets at head 8042552; its only remaining failures were six stale new-session copy/locator expectations in unchanged owners. A separate test-only repair commit aligns those expectations and subsequently reached folder placeholders with the existing English copy. All 31 affected Chromium E2E tests now pass across four owning files; no assertions, retries, skips, runtime behavior, or budgets were weakened. Test times: boot-module boundaries 98.775s (18 tests; existing standalone source/bundle module-boundary coverage), move 14.645s (6), picker 1.031s (1), projects/places 7.294s (6). Hosted run 41969642271 then passed all leaf checks except the test-line ratchet: wrapping the longer label added two physical lines against an already-over-ceiling main. The final correction removes only two blank lines, keeping the entire copy repair line-neutral without changing assertions or budgets. Local ratchet, formatting and diff checks pass; the executable test tokens are unchanged, so the existing E2E results remain valid. Latest-head hosted CI remains authoritative; CI seconds are pending. The older responsive-width observation did not recur in that final pre-repair run.
  • Changed-file checks pass the controller/i18n and other completed guards. Local declaration/type checks refuse the shared dependency links outside this worktree; the aggregate command hit its two-minute deadline. These are not reported as passing typechecks; hosted CI is the broad gate.
  • Fresh independent static review of the complete three-file snapshot against base c8094c112b45a3b7ab378af7668be0f60cafd0cd (diff SHA-256 fbc12f680af971a6da6679bb22044ff73e1d156ae5dd42c5d415155b6e174191) found no actionable regressions. Subsequent test-budget trimming and redundant CSS deletion were lead-reviewed; the mechanical test-only repair was also lead-reviewed against unchanged copy owners; current diff SHA-256 is b3d76c5bf8f2921eaa0a17a5478503809b645b79deaca3ffd884d07adf7a8352. Hosted ClawSweeper is advisory; no local autoreview pass was run.

The change removes the obsolete expanding-settings markup and CSS without introducing state or new components. No live Gateway, deployment, or release was changed.

@clawsweeper

clawsweeper Bot commented Nov 5, 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.

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 5, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 9edb1d3 into main Nov 5, 2026
99 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the feat/team-agent-stacked-header branch November 5, 2026 05:04
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 6, 2026
* feat(ui): stack the Team agent header identity

* test(ui): keep header layout coverage within line budget

* perf(ui): reuse global header button styling

* test(ui): align placement expectations with device copy

* test(ui): keep placement copy repair line-neutral
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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant