Skip to content

Chat Sessions panel: allow user-defined groups or folders #312094

@mospina-clgx

Description

@mospina-clgx

vscode 1.117 on Mac
When you work on multiple things at once, the Sessions panel becomes a wall of entries that's hard to navigate.

The search doesn't really help either — it misses sessions pretty often, probably because it only matches on titles and not on the actual content of the conversations. So you end up scrolling through dozens of entries trying to find the one you need.

I'd love to be able to group sessions into folders or tags, something like "Project A", "Experiments", "Done" — whatever makes sense to the user.

The infrastructure already supports grouping. There's groupByDate, groupByRepository, and groupByCapped in the sessions data source. Adding a user-defined grouping mode that lets you drag sessions into named groups would follow the same pattern.

What I'd expect:

  1. Right-click a session → "Move to Group..." → pick or create a group name
  2. Groups show as collapsible sections (like the existing "Today" / "Yesterday" / "More" headers)
  3. The group assignment persists across restarts (stored alongside the existing archived/pinned/read state in AgentSessionsCache)
  4. Sessions without a group just show at the top like they do now

Why not just use search?

Search is reactive, you already need to know what you want. Groups let you proactively organize while you work, like folders in a file explorer.

The pinned feature partially solves this but it's a single bucket. With 50+ sessions from different projects, one "pinned" list isn't enough.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions