openclaw - 💡(How to fix) Fix [Feature]: Add collapsible toggle for recent sessions section in sidebar [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The web sidebar's "Recent" sessions list lacks a collapse/expand toggle, unlike the nav section groups (Chat, Control, Agent, Settings) which can be collapsed individually. Users with many recent sessions may want to hide the list to reduce visual clutter while keeping the sidebar expanded.

Root Cause

The web sidebar's "Recent" sessions list lacks a collapse/expand toggle, unlike the nav section groups (Chat, Control, Agent, Settings) which can be collapsed individually. Users with many recent sessions may want to hide the list to reduce visual clutter while keeping the sidebar expanded.

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Summary

The web sidebar's "Recent" sessions list lacks a collapse/expand toggle, unlike the nav section groups (Chat, Control, Agent, Settings) which can be collapsed individually. Users with many recent sessions may want to hide the list to reduce visual clutter while keeping the sidebar expanded.

Problem to solve

  • The sidebar "Recent" label is currently static text, not interactive
  • Nav section groups have collapse toggles but the recent sessions section does not
  • No way to hide the recent sessions list without collapsing the entire sidebar

Proposed solution

Add a collapsible toggle to the recent sessions section following the exact same pattern as the existing nav section groups:

  • Replace the static "Recent" label with a clickable button spanning the full row width
  • Show a chevron icon that rotates on collapse (matching .nav-section__chevron behavior)
  • Persist collapsed state to localStorage via UiSettings.recentSessionsCollapsed
  • Match all styling exactly: font-size 12px, font-weight 700, padding 0 10px, min-height 28px, chevron 12px with 1.5px stroke

Impact

  • Affected users: all web UI users who use the sidebar
  • Provides visual consistency with existing nav group collapse patterns
  • Low risk: pure client-side UI toggle, no backend changes

Alternatives considered

  • Using a separate toggle button next to the label (rejected: inconsistent with nav group pattern)
  • Only hiding the list when sidebar is fully collapsed (current behavior; insufficient)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature]: Add collapsible toggle for recent sessions section in sidebar [1 pull requests]