Repository navigation
Group projects into collapsible folders in the sidebar #34694
Replies: 10 comments 6 replies
|
+1. I keep about 40 projects in categories on disk (Voice, Blender Addons, Video-Audio, Web-Design, ...). Folders would solve most of it. What I'd love on top is a way to switch the whole sidebar to one category at a time, like pages or workspaces: pick "Voice" and the project list, Working shelf and Settled shelf show only those projects. Today I prefix project names ("Voice / whispermerger") and use the single-project filter, which only shows one project. |
|
+1 . Order is the priority. I would like to have folders and being able to group different sessions in it. In Orca the grouping is per project/workspace-worktree so whay I'm doing is creating a named worktree to hold related work as a child workspace. The cost is many unuseful worktrees only to have order. |
|
Custom sidebar folders would help our team. Three of us use the same T3 Code instance under a shared user account, and our threads show up together in the sidebar. It's easy to lose track of who is working in which thread. We'd like to create and name collapsible folders ourselves, then move projects and individual threads into them. We'd use one folder per teammate. Being able to move individual threads matters when two people are working on the same project. |
|
I tried a Windows prototype with two Codex projects that share a checkout. Looking up membership by directory mixed their conversations. Keeping the project ID and conversation ID on each row let both projects sit under one collapsible folder. That also let repeated runs with the same title open the right transcript. The hierarchy I tested was The reference branch reads existing Codex groups on the host. Imported conversations open their T3 threads, and historical entries open a paged transcript. I verified both sibling projects and checked same-title records individually in Chrome. The branch includes synthetic fixtures for shared checkouts and nested forks. |
|
+1, this would help us a lot. We work in a monorepo with a root folder and three subfolders that are each a separate unit of work. Each one is registered as its own project, and we've set them to "Keep separate" so we can pick the exact folder when starting a thread. A collapsible group would let us keep them together under the repo while still choosing root or subfolder per thread, and collapse the whole set when we're working on something else. The smallest scope you proposed (optional groups, no change to project identity) seems to covers our case fully. |
|
+1. i work across three areas (work, personal, and a home-automation hub). i maintain several monorepos, and one of them holds multiple apps, each registered as its own project. That puts many unrelated-looking projects in one flat list. The single-project filter means constant switching and hides everything else. Collapsible project groups with the proposed status dot would cover it. |
|
I like this design a lot, very clean. The only difference I had invisioned is having the work/personal etc tabs exist in the middle of the whole apps top or bottom bar similar to all of Davinci Resolves different pages (Cut, Color, Fusion, etc), this way we have more vertical space inside the sidebar itself for dealing better with larger/multi-projects or workspaces. |
|
Proposal building on @afideveloper's mockup: groups as saved, named project filters rather than sidebar folders. A project can be in several groups. Picking a group tab sets the sidebar's existing multi-project filter (today: Shift+click in the project filter), so Working, Snoozed and Settled narrow too, with no new sidebar layout. Groups are stored per environment so all devices share them, editable from the tab bar's Would a maintainer sign off on this scope? @afideveloper, since you've already built a local version, happy to collaborate or leave the PR to you if you'd rather. |



Uh oh!
There was an error while loading. Please reload this page.
Problem
With a few dozen projects, the sidebar's project list is one long flat list. I work across several clients and products, each with five to ten repositories, and the only tools today are sort order and pinning. There is no way to say "these eight projects are one client" and collapse them while I work on another.
Related but different requests: #11998 and #31402 group threads inside a project, and #6733 proposes separate spaces. This is about grouping the projects themselves in the existing sidebar, which is what the Codex app does with its project groups.
Smallest useful scope proposed for approval
Possible follow-ups, only if the direction is wanted: groups inside groups, drag and drop to move and reorder, and a "group" row in the project's settings page.
Open questions for maintainers
What exists
I built this in my fork and run it on the macOS desktop app, including the follow-ups (nesting, drag and drop with
@dnd-kit, which the sidebar already uses, and the settings row): branchjulio/nested-groups. It has unit tests for the tree operations (move, cycle prevention, delete-promotes-children, old data without a parent) and browser tests for the menu and drag paths. My fork is behindmain, so this is a reference for the behaviour, not a PR-ready diff; if the direction and scope are approved I will rebuild the approved subset on currentmainas one focused PR with before/after captures.Written with Claude (Fable 5.2 and Opus 5.5) via Claude Code.
All reactions