Sessions sidebar: option to limit sessions shown per project/folder group

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 18, 2026

Feature request

When the sessions sidebar is grouped by project/folder, every session in each group is listed. For users with many sessions per repo, the list gets long and hard to scan.

Request: an option (setting or per-group control) to show only the N most recent sessions per project group — e.g. the last 7 — with a "show more" affordance to expand the rest.

Current workarounds and why they fall short:

  • Manually archiving old sessions works but is tedious to keep up.
  • cleanupPeriodDays deletes globally by age, not per folder, and deletion is permanent.

Environment: Claude Code desktop app on Windows 11, sessions grouped by folder.

View original on GitHub ↗