[Bug]: Settings → Projects → All projects no longer shows Actions, so machine-wide default actions can't be edited

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
react, typescript
领域
desktop, frontend

调研方向

从 apps/web 的项目设置页面开始,比较“所有项目”视图与当前显示 Actions 的单项目视图。阅读 defaultProjectScripts 的处理方式,以及 #9754 和 #6523 中的相关更改。完成标准是:用户可以在“所有项目”中添加和编辑整台机器的默认操作,并且没有覆盖设置的项目仍会继承这些操作。

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

描述

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open Settings → Projects.
  2. Set the "Project scope" picker to All projects.
  3. Look for the Actions section to add an action that applies to every project.
Expected behavior

With All projects selected, the page shows an Actions section that edits the machine-wide default actions (defaultProjectScripts), as introduced in #9754 ("All projects edits machine-wide defaults"; screenshot "all projects defaults"). Projects without their own action list then inherit these defaults. This is also how #6523 (user-level actions for every project) was resolved.

Actual behavior

With All projects selected, the page only shows "Choose a project to manage its name, icon, checkouts and actions." There is no Actions section and no "Add action" button. The Actions section only renders inside the single-project view.

The setting itself still exists and is still resolved: the client resolver falls back to settings.defaultProjectScripts when a project has no override, and the settings search entry "Actions" still points to /settings/projects. So the machine-wide default is still used at runtime, but there is no UI left to create or edit it. The only way to set it is to hand-edit ~/.t3/userdata/settings.json.

Users who run the same actions in many projects now have to recreate them per project.

Impact

Major degradation or frequent failure

Version or commit

0.1.8-nightly.20261105.4218 (desktop, nightly channel)

Environment

macOS 27.2, T3 Code desktop app (Nightly)

Workaround

Add each action per project via Settings → Projects → (pick a project) → Actions → Add action, or hand-edit defaultProjectScripts in settings.json.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
10 小时 38 分钟
30 天内合并 PR
130

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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