[BUG]: Desktop 2.2.0 removed View -> Toggle File Tree (fileTree.toggle) with no replacement
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- desktop
调研方向
先阅读 PR #57539,并检查桌面版 View 菜单和 review.toggle 的命令注册;issue 未指定具体文件或测试。查看如何从 + 菜单和命令面板打开 Review 面板,然后在 View 菜单中添加一个易于发现的操作,并恢复或替换 keybind。完成标准是用户可以从菜单打开和隐藏更改面板,并且快捷键可用,或其替代方案有明确文档说明。
由索引模型根据 Issue 内容生成。
描述
Description
After updating the desktop app to 2.2.0, the View → Toggle File Tree menu item is gone and Ctrl+\ (fileTree.toggle) does nothing. The changes panel (changed-files tree + git diffs) can no longer be shown or hidden from the app menu.
PR #57539 ("refactor(app): retire the legacy side-panel file tree", merged 2026-10-20, first released in 2.2.0) removed the legacy tree, the fileTree.toggle command, its View-menu entry, and the general.showFileTree plumbing. The replacement exists — the Review side-panel tab holds the changed-files tree and diffs, and the Open file tab holds the all-files tree — but it is only reachable from the panel's + menu or the command palette (review.toggle, file.open). There is no View-menu entry and no replacement keybind.
Steps to reproduce
- Install desktop 2.2.0.
- Open a project with uncommitted changes.
- Open the hamburger menu → View.
Expected
A menu entry to show/hide the changes panel (as in 2.1.4: View → Toggle File Tree), and a working Ctrl+\.
Actual
The View menu only has Toggle Sidebar and Toggle Terminal. Ctrl+\ does nothing. Users who relied on the menu cannot find the Review/file tree panel.
Suggested fix
- Add a View menu item (e.g. "Toggle File Tree" / "Toggle Review") mapped to
review.toggle, or a command that opens the Review tab specifically. - Keep
Ctrl+\or document the replacement in the release notes / migration guide. - Consider using the retired
general.showFileTreevalue as a one-time hint to open the Review tab.
Environment
- OpenCode Desktop 2.2.0
- Windows 11
- English
Related: #56057 (file tree discoverability), #57539 (the removing PR).
- 主要语言
- TypeScript
- 星标
- 221k
- 派生
- 29.6k
- 平均合并
- 5 小时 32 分钟
- 30 天内合并 PR
- 492
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
anomalyco/opencode#60174 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
anomalyco/opencode#60143 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
anomalyco/opencode#59973 · 1 条评论 ·
维护者通常 1 天内回复
-
triaging
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#59942 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
anomalyco/opencode#59886 · 1 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
CopilotKit/openmuse#215 ·
维护者通常 3 天内回复
-
b:minor bug
难度 2/5 1-3 小时 新手友好度 76/100
software-mansion/argent#1698 ·
维护者通常 1 天内回复
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 条评论 ·
维护者通常 1 天内回复