[建议] 会话右键菜单缺「删除」选项,且「归档」易被误当删除——建议补齐删除入口+二级确认
Open
Nobody has claimed this yet.
priority: P2
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
现象(ZCode Desktop v0.16.5)
- 侧栏会话右键菜单只有:移动到分组/重命名/归档任务/标记为未读/复制类/前往配置——没有「删除」。
- 用户想清理坏会话时,点「归档任务」以为已删除,实际只是隐藏,产生困惑(归档的会话在项目视图不显示,用户以为数据丢了或删除失败)。
- 自动化产生的历史记录倒是有「删除记录」(自动化→历史→···),但普通会话没有对应入口。
影响
- 真正的坏会话(如模型 API 报错终止的死会话)无法自行彻底删除,只能归档堆积或找 CLI 改数据库。
- 「归档」与「删除」语义混淆,已实际造成用户误操作。
建议
- 会话右键菜单增加「删除任务」(二级确认:删除 ↔ 归档 分开且命名明确)。
- 已归档列表入口 + 「恢复/永久删除」操作,让归档可管理。
- 批量多选删除。
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
Start by reproducing the sidebar session context menu in ZCode Desktop v0.16.5 and compare it with the delete flow under automation history. Clarify the scope for deletion, archive management, confirmation, and bulk selection before locating the relevant desktop entry points. Done means users can distinguish archive from deletion and manage archived or selected sessions as specified.
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