From ad93e8916adf00550d165d00f7035c407f9e91b9 Mon Sep 17 00:00:00 2001 From: TardisX Date: Wed, 8 Nov 2023 23:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84issue=E6=A8=A1=E6=9D=BF=20(#1?= =?UTF-8?q?06)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 完善issue模板 --- .github/ISSUE_TEMPLATE/bug_report.yml | 99 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 6 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 51 +++++++++++ 3 files changed, 156 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..09ee876 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,99 @@ +name: 问题反馈 +description: Create a report to help us improve +title: "[Bug] " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + 如果你可以自己 Debug 并解决的话, 建议您直接提交 PR 或 描述解决方法, 非常感谢! + - type: checkboxes + id: verify_step + attributes: + label: Verify Steps + description: | + 在提交之前, 请确认 / Please verify that you've followed these steps. + options: + - label: Tracker 我已经在 [Issue Tracker](……/) 中找过我要提出的问题 + required: true + - label: Latest 我已经使用最新版本测试过,问题依旧存在 + required: true + - label: Code 这是 MIUITask 自身代码存在的问题,并非我所使用的 网络 或 设备 等特定问题 + required: true + - label: Meaningful 我提交的不是无意义的 催促更新或修复 请求 + required: true + - type: input + id: miuitask_version + attributes: + label: MIUITask Version + description: | + MIUITask 版本号 + placeholder: "v1.6.0.1" + validations: + required: true + - type: dropdown + id: bug_os + attributes: + label: Bug Found in Environment + description: | + 发现问题所在的系统环境 / System Environment + multiple: true + options: + - Windows + - macOS + - Linux + - Docker + - Other + validations: + required: true + - type: dropdown + id: bug_pyversion + attributes: + label: Bug Found in Python Version + description: | + 发现问题所在的Python版本 / Python Version + multiple: true + options: + - 3.12 + - 3.11 + - 3.10 + - 3.9 + - 3.8 + - 3.7 + - 3.6 + validations: + required: true + - type: textarea + id: describe_bug + attributes: + label: Describe the Bug + description: | + 对Bug本身清晰而简洁的描述 / Describe the Bug + validations: + required: true + - type: textarea + id: miuitask_log + attributes: + label: MIUITask Log + description: | + 在下方附上 MIUITask 输出日志 / MIUItask Log + validations: + required: true + - type: textarea + id: miuitask_config + attributes: + label: MIUITask Config + description: | + 可选 在下方附上 MIUITask 配置文件 / MIUITask config + 隐私提示: 上传此日志前请注意检查、隐去账号、密码等相关敏感信息 + render: shell + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: | + 添加图片以帮助解释您的问题 / Screenshots + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ee3b138 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ +blank_issues_enabled: false + +contact_links: + - name: 在 GitHub Discussions 讨论获得帮助 + url: https://github.com/0-8-4/miui-auto-tasks/discussions + about: Have a question? Not sure if your issue affects everyone reproducibly? The quickest way to get help is on GitHub Discussions! diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..f235740 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,51 @@ +name: 功能请求 +description: Suggest an idea for this project +title: "[Feature] " +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + 如果你可以自己 编程实现 的话, 建议您直接提交 PR 或 描述解决方法, 非常感谢! + - type: checkboxes + id: verify_step + attributes: + label: Verify Steps + description: "在提交之前,请确认 / Please verify that you've followed these steps" + options: + - label: Tracker 我已经在 [Issue Tracker](……/) 中找过我要提出的问题 + required: true + - label: Need 当前 MIUITask 并不包含该功能特性或者还不完善 + required: true + - label: Framework 这是 MIUITask 应包含的特性, 并非实现社区外功能 + required: true + - label: Meaningful 我提交的不是无意义的 催促更新或修复 请求 + required: true + - type: textarea + attributes: + label: Describe the Feature + description: | + 对问题本身清晰而简洁的描述. 例如这个问题如何影响到你? 目前 MIUITask 的行为是什么? + validations: + required: true + - type: textarea + attributes: + label: Describe the Solution + description: | + 清晰明了地描述您的解决方案. 例如你想实现什么 Feature 特性或功能? 如何实现该功能? + validations: + required: true + - type: textarea + attributes: + label: Describe Alternatives + description: | + 对您考虑过的任何替代解决方案或备选功能进行清晰、简洁的描述. + validations: + required: false + - type: textarea + attributes: + label: Additional Context + description: | + 在此处添加关于功能请求的任何其他描述或屏幕截图. + validations: + required: false