github / github/copilot-cli

[Feature Request] Copilot App: Full file-tree browser for repository-backed sessions (like folder sessions have)

未关闭
#3,971 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Summary

When opening a **folder-backed session**, the app shows a full file-tree browser in the side panel, so I can navigate and open any file in the directory directly. When opening a **repository-backed session** (worktree), the side panel instead shows only a git **Changes** view, which lists *modified* files. With a clean working tree it just says "No files found" / "No changes to compare," and there's no way to browse the repo's files within the app.

### Why this matters

The folder-session file browser is a much nicer integration — it lets me explore and open files without leaving the app or asking the agent. Repository sessions lose that, even though all the files are present on disk in the worktree.

### Request

Add a full file-tree browser to repository-backed sessions (the same explorer that folder sessions already have), ideally alongside the existing git **Changes** view rather than replacing it — e.g. a "Files" tab next to "Changes."

### Repro

1. Open a repository as a session (creates a worktree).
2. With no edits made, look at the side panel.
3. The Changes tab shows "No files found" — there's no way to browse the repo's existing files.

### Expected

Be able to browse and open any file in the repo/worktree from within the app, like folder-backed sessions allow.

贡献指南

打开贡献指南

调研方向

首先,将基于文件夹的会话文件树浏览器与基于仓库的会话的Changes视图进行比较,并跟踪侧面板的入口点。添加一个Files视图,使其能够浏览和打开worktree中的文件,同时保留Changes;然后验证使用干净仓库的复现能够显示并打开完整的树。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。