chore: 添加Issue模板

- Bug Report: 用于报告Bug
- Feature Request: 用于请求新功能与改进
This commit is contained in:
2025-09-17 17:08:52 +08:00
parent b402ed0b1c
commit ad96fc409b
2 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,61 @@
name: Bug报告
about: 用于报告项目中的Bug帮助我们改进项目
title: "[BUG] " # 新开 Issue 时默认加的前缀
body:
- type: markdown
attributes:
value: |
请在下方填写Bug的详细信息包括重现步骤、预期结果和实际结果等。
- type: textarea
id: summary
attributes:
label: "问题概述/Summary"
description: "简要描述遇到的问题"
placeholder: "输入问题概述"
validations:
required: true
- type: textarea
id: steps
attributes:
label: "重现步骤/Steps to Reproduce"
description: "列出重现该问题的具体步骤"
placeholder: "输入重现步骤"
validations:
required: true
- type: textarea
id: expected
attributes:
label: "预期结果/Expected Behavior"
description: "描述你期望看到的结果"
placeholder: "输入预期结果"
validations:
required: true
- type: textarea
id: actual
attributes:
label: "实际结果/Actual Behavior"
description: "描述实际发生的情况"
placeholder: "输入实际结果"
validations:
required: true
- type: textarea
id: environment
attributes:
label: "环境信息/Environment"
description: "提供相关环境信息,如操作系统、浏览器版本等"
placeholder: "输入环境信息"
validations:
required: false
- type: checkboxes
id: checklist
attributes:
label: "检查表/Checklist"
description: "提交前,请确认以下事项"
options:
- label: 已搜索过类似问题,确保不是重复报告
required: true
- label: 提供了足够的信息以帮助我们理解和重现问题
required: true
- label: 如果可能,已附上相关截图或日志文件
required: false