diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea782..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..a4245d0a0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,47 @@ +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: 如何重现此问题? + placeholder: "若不知道请略过此问题" +- 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: 补充信息 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7d6..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..659838829 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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: 补充信息 \ No newline at end of file