Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG]: Desktop 2.2.0 removed View -> Toggle File Tree (fileTree.toggle) with no replacement

未关闭 适合新手
#60,121 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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
  1. Install desktop 2.2.0.
  2. Open a project with uncommitted changes.
  3. 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.showFileTree value 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anomalyco/opencode 的其他 Issue

查看 anomalyco/opencode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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