更新默认 issue template

This commit is contained in:
jiajiu123
2025-03-06 12:22:27 +08:00
parent 42fc23c6e6
commit 81f1bea69c
4 changed files with 68 additions and 58 deletions

View File

@@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

48
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: Bug Report
description: 提交 Bug
labels: ["BUG"]
body:
- type: checkboxes
attributes:
label: "检查项"
description: "请检查下列项目,并勾选确认。"
options:
- label: "我确认此问题在所有分支的最新版本中依旧存在"
required: true
- label: "我确认在 Issues 列表中并无其他人已经提出过与此问题相同或相似的问题"
required: true
- label: "我使用了 Docker"
- type: textarea
attributes:
label: 遇到的问题
validations:
required: true
- type: textarea
attributes:
label: 报错信息
validations:
required: true
- type: textarea
attributes:
label: 如何重现此问题?
validations:
required: true
- type: textarea
attributes:
label: 可能造成问题的原因
placeholder: "若不知道请略过此问题"
- type: textarea
attributes:
label: 系统环境
placeholder: "例如Windows 11 专业版 64位 24H2 / Debian Bookworm"
validations:
required: true
- type: textarea
attributes:
label: Python 版本
placeholder: "例如Python 3.11"
validations:
required: true
- type: textarea
attributes:
label: 补充信息

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,20 @@
name: Feature Request
description: 新功能请求
labels: ["Feature"]
body:
- type: checkboxes
attributes:
label: "检查项"
description: "请检查下列项目,并勾选确认。"
options:
- label: "我确认在Issues列表中并无其他人已经建议过相似的功能"
required: true
- label: "这个新功能可以解决目前存在的某个问题或BUG"
- type: textarea
attributes:
label: 期望的功能描述
validations:
required: true
- type: textarea
attributes:
label: 补充信息