Skip to content

fix(ui): align sidebar avatar and search with navigation controls - #170688

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/fix-sidebar-alignment
Oct 13, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/fix-sidebar-alignment

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes the misaligned agent avatar and search control in the new navigation sidebar: they sit left of the other rail controls, and the avatar sits below the adjacent owner selector.

User Impact

The rail reads as one centered column, with its desktop avatar aligned to the owner header. Existing touch targets, mobile drawer spacing, and native titlebar clearance are preserved.

Why This Change Was Made

The rail's direct children inherited stretch alignment while the grouped controls centered themselves. Centering those children and correcting the desktop top inset removes the offset without changing navigation behavior.

Reported by @vincentkoc.

Work sessions

Evidence

  • Chromium reproduced the original 3.5px horizontal offset. The repaired controls all measured centered; the avatar and owner selector also share their vertical centerline.
  • The production-bundle E2E run passed all 5 tests across the mouse/touch regression and existing rail pin interactions (36.89s). After CI exposed a Node/Element typing mismatch in the optional capture cleanup, the corrected owning regression passed 2/2 again (4.154s test time; 52.63s including bundle build).
  • The matching core E2E TypeScript project and UI typecheck passed, along with scoped lint/stylelint, formatting, and diff checks. Independent review confirmed the working-tree correction; its index-only finding was resolved by staging that exact fix.
  • Proof uses synthetic data in the actual UI at 1280×800. The matched before frame restores only the two changed CSS declarations; no live Gateway or deployment was involved.

Before

Before: avatar and search sit left of the rail centerline

After

After: rail controls and avatar header align

Center the rail controls and match the desktop avatar to the owner toolbar. Preserve mobile drawer and native titlebar clearance.

Co-authored-by: vincentkoc <[email protected]>
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 13, 2026 05:40
@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

Fix the core test-types gate by removing the temporary style through the Node parent contract. The corrected capture regression and its typecheck pass.

Co-authored-by: vincentkoc <[email protected]>
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 13, 2026 05:56
@roboclaw-bot
roboclaw-bot merged commit b2ac9ac into main Oct 13, 2026
68 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/fix-sidebar-alignment branch October 13, 2026 05:58
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…enclaw#170688)

* fix(ui): align sidebar rail controls with the owner header

Center the rail controls and match the desktop avatar to the owner toolbar. Preserve mobile drawer and native titlebar clearance.

Co-authored-by: vincentkoc <[email protected]>

* test(ui): use Node-compatible sidebar capture cleanup

Fix the core test-types gate by removing the temporary style through the Node parent contract. The corrected capture regression and its typecheck pass.

Co-authored-by: vincentkoc <[email protected]>

---------

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant