Bug: 项目列表右键置顶失败,提示「操作失败」(0.1.44)
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 懒汉叔叔
**客户端版本**: 0.1.44
---
## 现象
在项目列表中对项目执行「置顶」操作时失败,界面弹出红色提示「操作失败」。
## 复现步骤
1. 打开 Cindy 项目列表
2. 在目标项目上右键
3. 选择「置顶」相关操作
## 期望行为
项目应成功置顶,并按置顶状态正确显示在列表中。
## 实际行为
操作未成功,仅显示「操作失败」提示,项目未置顶。
## 复现频率
必现。
## 已尝试
- 重启 Cindy:无效
## 补充
- 更新到 **0.1.44** 后出现
- 用户提供了失败时的 UI 截图(红色「操作失败」提示气泡)
- 未纳入原始日志或诊断摘要(用户未明确授权)
## 备注
请排查项目置顶相关逻辑在 0.1.44 中的回归,以及右键菜单触发置顶时的错误处理/失败原因展示是否可改进(当前仅有笼统「操作失败」)。
---
**版本区域**: CN
**OS**: darwin arm64 (25.6.0)
**界面语言**: zh-CN
Contributor guide
Research direction
Start at the project-list context-menu entry point for the pin action and reproduce the failure on version 0.1.44 under macOS. Trace the pin operation and its error handling, then verify that pinning succeeds and the list reflects the pinned state while failures provide a useful reason instead of only “Operation failed.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100