Skip to content

improve(ui): pin sidebar nav above a scrollable session list#100742

Merged
steipete merged 1 commit into
mainfrom
claude/zealous-wiles-6028cc
Jul 6, 2026
Merged

improve(ui): pin sidebar nav above a scrollable session list#100742
steipete merged 1 commit into
mainfrom
claude/zealous-wiles-6028cc

Conversation

@steipete

@steipete steipete commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

In the Control UI web sidebar, the session list rendered above the navigation items (Overview, Workboard, Agents, More), and the navigation was the scrolling region below it. With a long session list the primary navigation sat below the fold, and the sessions area was capped to a fixed height (min(42vh, 400px)) instead of using the available sidebar height.

Why This Change Was Made

The sidebar now renders navigation first and keeps it pinned (non-scrolling) at the top, while the session list owns the remaining sidebar height and scrolls internally. The recent-session list's fixed height cap is removed since the flex layout now bounds it naturally, and the mobile drawer uses the same pinned-nav layout. A 60% height cap on the nav keeps sessions reachable if an expanded More section outgrows a short window.

User Impact

Navigation items (Overview, Workboard, Agents, More) are always visible at the top of the sidebar. Sessions get the rest of the sidebar height and scroll on their own, so tall windows show more sessions instead of stopping at 400px.

Evidence

Control UI e2e (mock gateway) on Blacksmith Testbox: pnpm test ui/src/e2e/sidebar-customization.e2e.test.ts ui/src/e2e/session-management.e2e.test.ts — 2 files, 3 tests passed. Path-scoped pnpm check:changed gates on the same box passed (format/lint/guards, exit 0). Codex autoreview: clean, no actionable findings.

Before (sessions above nav, nav scrolled away) → after (nav pinned, sessions scrollable below):

Before After
before after

Default pinned state (Overview only) after the change:

after default

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Jul 6, 2026
@steipete steipete force-pushed the claude/zealous-wiles-6028cc branch from 9e2b450 to 5de2b8f Compare July 6, 2026 08:16
Nav routes (Overview, Workboard, Agents, More) now render first and stay
pinned; the session list owns the remaining sidebar height and scrolls
internally instead of being capped at min(42vh, 400px). Mobile drawer
matches the pinned-nav layout.
@steipete steipete force-pushed the claude/zealous-wiles-6028cc branch from 5de2b8f to b8dd9fc Compare July 6, 2026 08:31
@clawsweeper

clawsweeper Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: improve(ui): pin sidebar nav above a scrollable session list This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete steipete merged commit aa0b5b1 into main Jul 6, 2026
71 checks passed
@steipete steipete deleted the claude/zealous-wiles-6028cc branch July 6, 2026 09:08
@steipete

steipete commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 7, 2026
…w#100742)

Nav routes (Overview, Workboard, Agents, More) now render first and stay
pinned; the session list owns the remaining sidebar height and scrolls
internally instead of being capped at min(42vh, 400px). Mobile drawer
matches the pinned-nav layout.
giodl73-repo pushed a commit to giodl73-repo/openclaw that referenced this pull request Jul 8, 2026
…w#100742)

Nav routes (Overview, Workboard, Agents, More) now render first and stay
pinned; the session list owns the remaining sidebar height and scrolls
internally instead of being capped at min(42vh, 400px). Mobile drawer
matches the pinned-nav layout.
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 maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant