Skip to content

[FEATURE]: desktop sidebar — active-only project expansion, pins, custom groups, drag between projects #64202

Open

Description

@mvichosfm

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Summary

The desktop sidebar has no way to keep it focused on the work in front of you. Switching to a session in another project leaves every previously opened project group expanded, so the list grows with every project you touch. Pinning, custom grouping, and moving a session between projects are also missing from the sidebar.

This request asks for four related pieces of session organisation in the desktop sidebar. Related open issues are referenced below; the parts that are genuinely new are active-only expansion on switch and custom top-level groups.

Environment

  • opencode version: v2.3.0
  • OS: Microsoft Windows [Version 10.0.26100.9711]
  • Terminal: desktop app (OpenCode Desktop 2.3.0), not the TUI
  • Shell: C:\windows\system32\cmd.exe
  • Install/channel: release
  • Active plugins: hello-wordmark, session-pins, fold-projects (all local GUI plugins)
  • Sidebar settings in use: Settings → Experimental → Organize vertical sidebar = Customize, tab layout = Vertical, Group by = Project

Problem

  1. No "only the active project expanded" behaviour. With Group by = Project, sidebar.view.collapsed holds one flag per project and it is only ever changed by hand. After switching between four projects the sidebar shows four open groups plus their sessions, and the active project is no longer distinguishable at a glance. Every other IDE-style list collapses what you are not using; this one does not.
  2. No pins in the project-grouped sidebar. The Recent view has pin/unpin, but in Customize / projects grouping a session cannot be held at the top of the sidebar, so long-lived sessions (a debugging session, a planning session) have to be found by scrolling or searching every time.
  3. No custom groups. Group by offers None / Project / Server → Project / Server. There is no way to define your own named groups and put sessions in them, so a set of sessions that spans projects cannot be kept together as one unit of work.
  4. No way to move a session between projects from the sidebar. A session belongs to the directory it was created in. Moving it means creating a new session in the other project (or an API call), and there is no graphical way to do it.

Proposed behavior

  1. Active-only expansion. On session switch, expand the group that owns the routed session and collapse the others, as a setting (off by default). A manual expand of another group should stick until the next switch.
  2. Pins. A session can be pinned and appears in a pinned area at the top of the sidebar, above the group list, regardless of which project it belongs to; pin/unpin from the session row menu and the command palette.
  3. Custom groups. A "Custom groups" grouping mode (and/or user-defined groups shown alongside projects) where the user creates named groups and moves sessions into them, persisted per user like sidebar.view.
  4. Drag and drop between projects. Dragging a session row onto another project header moves the session to that project (same session id and transcript, new location), with a confirmation when the transcript references files from the old directory.

What exists today

The parts not covered by those issues: expanding only the active project on switch, custom top-level groups that span projects, and pin + drag between projects in the sidebar itself.

Workaround

A local GUI plugin that clicks the project headers after each session switch keeps only the active project open. It relies on the sidebar's Tailwind class names (div[class*="group/sidebar-group"] > button[aria-expanded]) and the session's listedProject, so it is a workaround rather than a solution: it only collapses, cannot pin, cannot group, and breaks silently if the class names change.

Additional context

  • Sidebar states observed: sidebar.view = {"grouping":"project","ordering":"updated","collapsed":{"project:<id>":false, ...}} — the collapsed map is the natural place to derive active-only expansion from.
  • Desired: an option alongside Group by / Ordering ("Collapse other projects when I switch"), so it does not need to be the default for everyone.
  • Frequency: constant — every project switch.

Activity

  1. opencodejr commented on Nov 16, 2026

    @opencodejr
    Contributor

    Thanks for the detailed request, @mvichosfm, and for describing your plugin workaround.

    To sum up: you'd like the desktop sidebar to stay focused on your current work. That means an optional setting that expands only the active session's project when you switch and collapses the rest. You'd also like pins above the project groups, your own named groups that can hold sessions from several projects, and the option to drag a session onto another project's header to move it there. Maintainers will consider it.

    Related issues, most closely related first:

    If one of these already covers part of what you need, feel free to add your use case there too.

  2. added
    area/desktop
    type/feature
    version/v2
    on Nov 16, 2026
  3. RDuomer commented on Nov 21, 2026

    @RDuomer

    Adding a Windows Desktop 2.3.0 use case in support of custom groups and reclassifying existing conversations.

    I would like to decide where an existing conversation belongs after creating it, rather than have its visible category determined only by its original working directory. Codex-style project/conversation organization is a useful interaction reference.

    My priorities:

    1. A discoverable Move to project... / Change category... menu action with a picker. Drag-and-drop and bulk reassignment would be useful optional shortcuts, not the only way to do it.
    2. Separate classification from execution context. Changing the category should only change where the conversation appears. It must not move files, change the execution directory, or silently change project instructions, credentials, or permissions.
    3. If the user also wants to change the working directory, offer that as a clearly separate, explicit choice explaining its consequences.
    4. Preserve conversation identity, full history, parent/child relationships, attachments, and file references. The chosen classification should survive restarts and upgrades.

    I recognize that session/directory move capabilities already exist; this is not a claim that movement is impossible. The missing part for my workflow is an obvious, supported way to organize existing conversations independently of their execution location.

    Related bug report: #65362, where child-directory sessions appeared missing and unrelated projects mixed in Home. Fixing that filter is important, but manual classification is a separate user need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/desktopplatform/windowstype/featureversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions