From 39b39e3fdb8ffe75718294253331978711d47d54 Mon Sep 17 00:00:00 2001 From: BalconyJH <73932916+BalconyJH@users.noreply.github.com> Date: Sat, 22 Feb 2025 22:25:51 +0800 Subject: [PATCH] :memo: Update bug report and feature request templates (#1857) --- .github/ISSUE_TEMPLATE/bug_report.yml | 17 +++++++++++++++-- .github/ISSUE_TEMPLATE/feature_request.yml | 9 ++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 8de371d5..885f4e3b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,8 +1,21 @@ name: Bug 反馈 -title: "Bug: 出现异常" +title: "Bug: " description: 提交 Bug 反馈以帮助我们改进代码 -labels: ["bug"] +labels: [ "bug" ] body: + - type: checkboxes + id: checklist + attributes: + label: 提交前检查项 + description: 在提交问题之前,请确认以下事项: + options: + - label: 我已搜索相关的 issue,但没有找到类似的问题 + required: true + - label: 我已更新到最新版本(包括但不限于真寻本体,插件以及相关依赖),问题仍然存在 + required: true + - label: 我已仔细阅读文档,确认我的配置正确 + required: true + - type: dropdown id: env-os attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 4f2e79f7..5807361b 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,7 +1,7 @@ name: 功能建议 title: "Feature: 功能描述" description: 提出关于项目新功能的想法 -labels: ["enhancement"] +labels: [ "enhancement" ] body: - type: textarea id: problem @@ -18,3 +18,10 @@ body: description: 请说明需要的功能或解决方法 validations: required: true + + - type: checkboxes + id: checklist + attributes: + label: 我有能力且愿意为这个功能贡献代码 + options: + - label: 我有能力且愿意为这个功能贡献代码