anthropics / anthropics/claude-code

[FEATURE] Nested session groups (groups within groups) in the desktop Code sidebar

Đang mở
#93,058 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:desktop area:ui enhancement platform:macos
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### Preflight Checklist

- [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)

### Problem Statement

The Code tab sidebar in the desktop app supports one level of session groups. Groups cannot contain other groups.

Once a project accumulates many sessions (per ticket, per PR, per experiment) a single flat group becomes a long undifferentiated list. Related sessions from the same workstream (for example one epic split across several tickets, or several repos that make up one product) cannot be kept together under a common parent, so navigating back to a session means scanning or searching every time.

### Proposed Solution

Allow a group to be nested inside another group in the Code sidebar, to at least one additional level (ideally arbitrary depth).

- Drag a group onto another group, or a "New subgroup" action in the group context menu.
- Collapse/expand state per subgroup, same as top-level groups today.
- "Start new session in this group" available on subgroups.
- Auto-derived per-project groups keep working as they do now and could sit inside a user-created parent group.

### Alternative Solutions

- Prefixing session titles with a path-style label (`auth/login`, `auth/mfa`) and relying on search. Works but is manual and does not collapse.
- Splitting into separate projects. Loses the "one product, several repos" view.

### Priority

Medium - Would be very helpful

### Feature Category

Other

### Use Case Example

1. One product made of a backend repo and a frontend repo, each with its own auto-derived project group.
2. Several tickets in flight per repo, each with its own session or worktree session.
3. With nested groups: parent group "Product" containing the two repo groups, each of which contains per-ticket subgroups.
4. Collapse everything not in progress and reopen the right session in one click.

### Additional Context

- Desktop app 1.49585.0, Claude Code 2.1.252, macOS.
- Docs describe the current single-level grouping: https://code.claude.com/docs/en/desktop.md ("Work in parallel with sessions").
- Related: #79156 (grouping is live-derived from git root), #91128 (project labels and grouping).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

No source files or tests are named. Start by reading the desktop documentation section “Work in parallel with sessions” and inspecting the current single-level grouping behavior in the Code sidebar; done means groups can contain subgroups, subgroup collapse state and new-session actions work, and existing auto-derived project groups continue to work.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.