[建议 / Feature] 支持自定义项目/工作区显示名称(重命名),解决同名目录难区分
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
提交前确认 · Pre-submission checklist
- 我已搜索过现有 issue,确认这不是重复提议 / I searched existing issues and confirmed this isn't a duplicate.
- 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category
UI / 界面体验 · UI / UX
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
使用场景 · Use case
同时打开了两个目录名相同/相似的项目(如 /Users/me/foo/usms 和 /Users/me/bar/usms),左侧栏任务列表把两个工作区都显示成 "usms",一眼看不出当前在哪个项目,容易把任务挂错工作区。目前只能鼠标悬停看完整路径来区分,很不直观。
When two projects share the same or similar folder name (e.g. /Users/me/foo/usms and /Users/me/bar/usms), the sidebar shows both workspaces as "usms". It is hard to tell which project you are in, and tasks easily end up attached to the wrong workspace. The only workaround is hovering to read the full path.
建议方案 · Proposal
给项目/工作区增加自定义显示名称(重命名)能力:
- 工作区卡片右键/编辑菜单提供「重命名」,可设置易区分的显示名(如 "usms - 内部" / "usms - 对外")。
- 显示名仅用于界面展示与任务分组,不影响磁盘目录路径与 Git 操作。
- 「按项目」视图与任务分组也使用自定义显示名。
- 别名持久化保存,重启后不丢失。
Add a per-workspace custom display name (rename) capability:
- Provide "Rename" in the workspace card context menu to set a distinguishable name.
- Display name affects only the UI and task grouping, never the on-disk path or Git.
- Use the custom name in the "By workspace" view and task groups too.
- Persist the alias so it survives restarts.
预期价值 · Expected value
-
一眼区分同名/相似项目,避免任务挂错工作区
-
无需改磁盘目录名(改名会影响 Git remote、路径引用、其他工具)
-
管理多个组织下同名 clone 更省心
-
Instantly tell apart same-named projects and avoid attaching tasks to the wrong workspace.
-
No need to rename directories (which would break Git remotes, path references and other tools).
-
Easier management of multiple same-named clones across organizations.
你认为的优先级 · Your perceived priority
中 · Medium
你使用的 ZCode 版本 / 环境 · ZCode version / environment
v3.7.6 (macOS)
补充材料 · Additional context
参考同类工具的需求:Zed "Support Naming Projects"(zed-industries/zed#4431、#50832)、Cursor 论坛 "Agents window needs workspace rename and project grouping"。
Related requests in other tools: Zed "Support Naming Projects" (zed-industries/zed#4431, #50832); Cursor forum "Agents window needs workspace rename and project grouping".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The payload names no implementation files or tests; start with CONTRIBUTING.md, then locate the workspace card/context-menu entry point and the “By workspace” task-grouping view. Done means users can rename a workspace, see the custom name in both UI locations, preserve the path and Git behavior, and retain the alias after restarting.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100