Skip to content

feat: Dynamic sidebar sorting for active projects and sessions #11759

Closed as not planned

Description

@mguttmann

Feature Request

Problem

When working with multiple projects and sessions, it can be difficult to quickly find and switch to the project/session that Claude is currently working on. The sidebar maintains a static order, requiring users to scroll or search for active work.

Proposed Solution

Automatically move projects and sessions to the top of the sidebar when Claude starts working on them. This would make it much easier to:

  • Track which project Claude is currently working on
  • Quickly switch between active sessions
  • Manage multiple concurrent projects

Implementation Details

  • Add a new setting: "Dynamic sidebar sorting" in Settings → General → Desktop
  • When a session status becomes "busy" (Claude starts working):
    • Move the project to the top of the project list
    • Sort sessions within the project by activity (most recent first)
  • The feature should be toggleable for users who prefer static ordering

Additional Context

This is particularly useful for power users who work with many projects simultaneously and want to quickly access their most active work.

Activity

  1. mguttmann commented on Feb 2, 2026

    @mguttmann
    Author
    Image
  2. mguttmann commented on Feb 2, 2026

    @mguttmann
    Author

    Update: Pin/Unpin Projects added

    In addition to the dynamic sorting, I've now added the ability to pin projects to the top of the sidebar:

    • Right-click → "Pin to top" keeps a project permanently at the top
    • Right-click → "Unpin" releases it
    • Dynamic sorting never moves projects above pinned ones — pinned projects always stay on top
    • i18n for all 15 languages included

    This covers the use case where you have a few projects you work on daily and want them always at the top, while still benefiting from dynamic sorting for everything else.

  3. mguttmann commented on Feb 2, 2026

    @mguttmann
    Author
    Image
  4. rsanchez commented on Mar 2, 2026

    @rsanchez

    I've implemented a subset of this: a user-configurable sort order for sidebar projects with three modes: manual (existing drag-and-drop), recent activity (by latest session update time), and alphabetical.

    The setting lives in Settings > Appearance and the sort is live/reactive. Drag-and-drop is automatically disabled when an auto-sort mode is active.

    Happy to open a PR if this direction looks good.

  5. github-actions commented on May 2, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  6. djbclark commented on Jul 13, 2026

    @djbclark

    This is related to #35779 (no manual session rename). The combination of these two missing features makes session navigation genuinely difficult — there's no way to pin important sessions to a known position, and no way to give them memorable names to find them again. On smartphone screens especially, where only the first few words of each auto-generated title are visible, it's a lot of scrolling through indistinguishable entries. Either feature would mitigate the other's absence; having neither is painful.

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

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions