Feedback 提交表单:套用 issue 模板 + 图片拖拽上传
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 969
Description
用户直接交办的小功能点(ad-hoc,走 `.harness/instructions/ad-hoc-fix-pr-sop.md`,不进 sprint feature 流程):
1. `FeedbackDialog`(`apps/web/components/feedback/feedback-dialog.tsx`)「详细说说」区域加一个「套用模板」按钮,按当前反馈类型(缺陷/需求)把「复现步骤/期望结果/实际结果」(或需求版)模板填进正文;已有内容不覆盖,追加在后面。
2. 图片附件区支持拖拽上传(`onDrop`),不再要求必须点「加图片」按钮才能选文件;拖拽与点击走同一条 `addAttachments` 上传路径(同样的 4 张上限、失败重试)。
不改后端契约,不影响已签核的 `contracts/feedback-loop/ui.md` 截图集合。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in apps/web/components/feedback/feedback-dialog.tsx, reading the FeedbackDialog form, feedback-type handling, and the existing addAttachments path. Add the type-specific template action without replacing existing text, and route dropped files through the same attachment flow with its four-file limit and retry behavior. Done means both template insertion and drag-or-click uploads work without backend or approved screenshot changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 76/100