feat:修改 issue template 为 yaml
This commit is contained in:
parent
5c0462751a
commit
3ecacfc6e8
30
.github/ISSUE_TEMPLATE/bug-report.md
vendored
30
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@ -1,30 +0,0 @@
|
||||
---
|
||||
name: 🐛 Bug Report
|
||||
about: 报告项目中的一个错误
|
||||
title: "[Bug] 简明的问题描述"
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
### 问题描述
|
||||
清晰地描述你遇到的错误
|
||||
|
||||
### 复现步骤
|
||||
1. 步骤 1...
|
||||
2. 步骤 2...
|
||||
3. 看到错误
|
||||
|
||||
### 预期行为
|
||||
你认为正确的运行结果应该是怎样的?
|
||||
|
||||
### 实际行为
|
||||
实际发生了什么错误?(请附上报错日志/截图)
|
||||
|
||||
### 环境信息
|
||||
- 操作系统:[例如 Windows 11]
|
||||
- 浏览器/版本:[例如 Chrome 120]
|
||||
- 项目版本/Commit ID:[例如 v2.1.0 或 8a3b2c1]
|
||||
|
||||
### 补充信息
|
||||
其他有帮助的信息(例如相关代码片段)
|
47
.github/ISSUE_TEMPLATE/bug-report.yaml
vendored
Normal file
47
.github/ISSUE_TEMPLATE/bug-report.yaml
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
name: 🐛 Bug Report
|
||||
description: 提交程序错误报告
|
||||
title: "[Bug] 简明问题描述"
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
**请按格式填写以下内容**
|
||||
- type: input
|
||||
id: environment
|
||||
attributes:
|
||||
label: 环境信息
|
||||
description: "操作系统/浏览器/项目版本/dev模式 or vscode插件"
|
||||
placeholder: "例如: Windows 11 / Chrome 120 / v2.1.0 / dev模式"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: 复现步骤
|
||||
description: 如何触发的错误?(按数字列表格式)"
|
||||
placeholder: |
|
||||
1.
|
||||
2.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: 预期行为
|
||||
- type: dropdown
|
||||
id: priority
|
||||
attributes:
|
||||
label: 严重程度
|
||||
options:
|
||||
- "高(阻断正常使用)"
|
||||
- "中(部分功能受限)"
|
||||
- "低(轻微影响)"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional_notes
|
||||
attributes:
|
||||
label: 其他备注信息
|
||||
description: "补充说明"
|
||||
placeholder: "例如: 相关截图/日志/错误信息"
|
24
.github/ISSUE_TEMPLATE/feature-request.md
vendored
24
.github/ISSUE_TEMPLATE/feature-request.md
vendored
@ -1,24 +0,0 @@
|
||||
---
|
||||
name: 🚀 Feature Request
|
||||
about: 为项目提议新功能
|
||||
title: "[Feature] 简短的功能描述"
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
### 功能描述
|
||||
清晰说明你想要的功能
|
||||
|
||||
### 动机说明
|
||||
为什么需要这个功能?(例如:解决什么问题/提升什么体验)
|
||||
|
||||
### 建议的实现方式
|
||||
如果有技术思路,请简要说明(可选)
|
||||
|
||||
### 是否愿意贡献
|
||||
✅ 愿意提交 PR 实现此功能
|
||||
❌ 需要他人实现此功能
|
||||
|
||||
### 附加信息
|
||||
其他补充说明或参考案例
|
54
.github/ISSUE_TEMPLATE/feature-request.yaml
vendored
Normal file
54
.github/ISSUE_TEMPLATE/feature-request.yaml
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
name: 🚀 Feature Request
|
||||
description: 提交新功能建议或改进请求
|
||||
title: "[Feature] 简短描述功能需求"
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
**请详细描述你的功能需求**
|
||||
- type: input
|
||||
id: problem
|
||||
attributes:
|
||||
label: 想要解决的问题
|
||||
description: "说明当前痛点或未满足的需求"
|
||||
placeholder: "例如:无法支持mcp中函数参数是自定义类型的情况"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 功能描述
|
||||
description: "你想要的新功能具体是什么?"
|
||||
placeholder: "例如:支持mcp中函数参数是自定义类型的情况"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: scenario
|
||||
attributes:
|
||||
label: 使用场景
|
||||
description: "这个功能会在什么情况下使用?"
|
||||
- type: dropdown
|
||||
id: priority
|
||||
attributes:
|
||||
label: 功能优先级
|
||||
options:
|
||||
- "高(核心功能缺失)"
|
||||
- "中(显著提升效率)"
|
||||
- "低(优化体验)"
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: contribution
|
||||
attributes:
|
||||
label: "是否愿意参与贡献?"
|
||||
options:
|
||||
- label: "我愿意为此功能提供代码"
|
||||
- label: "我可以提供详细设计文档"
|
||||
- label: "暂时无法参与开发"
|
||||
- type: textarea
|
||||
id: additional_notes
|
||||
attributes:
|
||||
label: 其他备注信息
|
||||
description: "补充说明"
|
||||
placeholder: "如技术约束、参考案例等"
|
Loading…
x
Reference in New Issue
Block a user