Issue 提交确认卡片支持粘贴截图并预览
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户1353
**客户端版本**: 0.1.18
---
## 使用场景
用户通过 Cindy 提交 Bug 或功能反馈时,经常需要用截图说明界面状态、异常现象或操作上下文。当前确认卡片只能编辑文字,无法附加图片,只能尽量通过文本描述,复杂问题不够直观,也增加了描述成本。
## 诉求
希望 issue 提交工具的确认卡片支持直接添加截图:用户可以将剪贴板中的截图复制粘贴到卡片中,并在提交前打开预览,确认图片内容是否正确。确认提交后,截图应随正文一起出现在最终的 GitHub issue 中。
## 建议方案
- 在确认卡片中提供图片附件区域,并支持从剪贴板直接粘贴截图。
- 已添加的截图显示缩略图,点击可打开大图预览。
- 提交前允许移除误贴的图片。
- 用户确认提交后,将图片可靠地上传并插入最终 issue 正文。
- 若图片上传失败,应明确提示失败原因,并避免在用户不知情的情况下提交缺少截图的 issue。
---
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by locating the confirmation card and the flow that submits Cindy feedback to GitHub issues. Trace how pasted clipboard content and issue bodies are currently handled before deciding where image preview, removal, upload failure feedback, and final insertion belong. Done means screenshots can be pasted, previewed, removed, uploaded reliably, and included in the submitted issue, with failed uploads preventing an incomplete submission.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, github, typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100