[建议 / 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
文件 / 项目操作 · File / Project ops(同时也涉及 UI / 界面体验 · UI / UX)
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
使用场景 · Use case
我本机有两个不同的项目(项目 A 和项目 B),每个项目下各有一个名为 server.git 的子文件夹,我把这两个子文件夹分别作为项目添加进了 ZCode。
问题在于:项目列表只显示文件夹本身的名称,于是列表中出现两个一模一样的条目:
Projects
├── 📁 server.git
└── 📁 server.git
仅凭名称完全无法区分哪个条目对应哪台机器/哪个实际目录,目前只能靠列表顺序记忆,或逐个打开确认。切换项目时很容易点错,存在在错误目录下继续操作的风险。
建议方案 · Proposal
- 在项目列表条目的右键(上下文)菜单中增加「重命名 / Rename」入口,允许用户为项目设置自定义显示名称(例如
Project A – server)。显示名称只保存在本地配置中,实际文件路径不变; - 同时建议在条目的副标题或悬停提示中显示完整路径(或至少上级目录名),这样即使不重命名,同名项目也能直接区分。
预期价值 · Expected value
同名项目一眼可辨,避免误开项目、误操作目录;项目数量多时列表更可管理,对项目列表的信任度更高。
你认为的优先级 · Your perceived priority
中 · Medium
你使用的 ZCode 版本 / 环境 · ZCode version / environment
ZCode Desktop v3.10.2 / Linux (x64)
补充材料 · Additional context
- 截图:项目列表中出现两个完全相同的
server.git条目(即上方示意图对应的实际截图,发帖后会补充附件)。 - 相关提议:#263、#428(同一功能方向;本帖补充了具体使用场景。如维护者认为重复,合并处理即可 🙏)
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
Review related issues #263 and #428, then inspect the project list and its right-click menu in ZCode Desktop. Determine how project display names and paths are represented locally; the work is done when two projects with the same folder name can be reliably distinguished without changing their actual paths.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100