[Bug]: Settings → Projects → All projects no longer shows Actions, so machine-wide default actions can't be edited
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
调研方向
从 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
- Open Settings → Projects.
- Set the "Project scope" picker to All projects.
- 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
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
needs more info
难度 2/5 1-3 小时 新手友好度 72/100
pingdotgg/t3code#32521 · 1 条评论 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Bug]: iOS new-thread composer disappears behind keyboard可能已有人在做 @juliusmarminge 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
pingdotgg/t3code#32091 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
pingdotgg/t3code#31718 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
documentation easy good first issue help wanted
难度 1/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
Billion-context documentation addendum: nudge is independent of window occupancy. | billion-context 文档补充:nudge 与窗口占用无关可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1-3 小时 新手友好度 86/100
ranxianglei/billion-context#5893 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
microsoft/monaco-editor#5575 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
stringify escapes leading digits in pseudo-class arguments (:nth-child(1) becomes :nth-child(\31 ))未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复