浏览代码

Update issue templates

xiu2 2 年之前
父节点
当前提交
f3f2bafbe7

+ 0 - 13
.github/ISSUE_TEMPLATE/01-bugReport.md

@@ -1,13 +0,0 @@
----
-name: 反馈问题 (Bug report)
-about: 软件报错等异常情况,或遇到预期之外的问题...
-title: ''
-labels: 反馈问题
-assignees: ''
-
----
-
-### 问题描述(必填,最好写上 复现问题 的步骤,越详细越好,特别是一些复杂的问题)
-
-
-### 错误截图(可选,也可以是一些错误代码)

+ 30 - 0
.github/ISSUE_TEMPLATE/01-bugReport.yml

@@ -0,0 +1,30 @@
+name: 反馈问题 (Bug report)
+description: 软件报错等异常情况,或遇到预期之外的问题...
+labels: 反馈问题
+body:
+  - type: markdown
+    attributes:
+      value: |
+        发之前,请先搜下有没有类似的 [Issues](https://github.com/XIU2/CloudflareSpeedTest/issues) 问题(包括[关闭](https://github.com/XIU2/CloudflareSpeedTest/issues?q=is%3Aissue+is%3Aclosed)的),请勿重复发起!
+  - type: textarea
+    id: description
+    attributes:
+      label: 问题描述
+      description: 必填,最好写上 复现问题 的步骤,越详细越好,特别是一些复杂的问题
+      placeholder: 请输入...
+    validations:
+      required: true
+  - type: input
+    id: version
+    attributes:
+      label: 软件版本
+      description: 必填,可通过运行软件来获取版本信息(例如 v2.2.2)
+      placeholder: 请输入...
+    validations:
+      required: true
+  - type: textarea
+    id: screenshots
+    attributes:
+      label: 附加截图
+      description: 可选,也可以是一些错误代码
+      placeholder: 可在此粘贴图片,或点击下方 [Attach files by dragging & dropping, selecting or pasting them.] 文字来选择图片...

+ 0 - 15
.github/ISSUE_TEMPLATE/02-featureRequest.md

@@ -1,15 +0,0 @@
----
-name: 功能建议 (Feature request)
-about: 有什么建议,或希望添加、完善某个功能...
-title: ''
-labels: 功能建议
-assignees: ''
-
----
-
-<!-- [此处为注释内容] 不接受个性化的功能请求(即很少人 或 只有你自己才会用到的功能) -->
-
-### 功能需求(你要什么样的功能)
-
-
-### 预期目标(你希望该功能具体是什么样子的?如果能提供 示例/截图/代码 就更好了)

+ 25 - 0
.github/ISSUE_TEMPLATE/02-featureRequest.yml

@@ -0,0 +1,25 @@
+name: 功能建议 (Feature request)
+description: 有什么建议,或希望添加、完善某个功能...
+labels: 功能建议
+body:
+  - type: markdown
+    attributes:
+      value: |
+        发之前,请先搜下有没有类似的 [Issues](https://github.com/XIU2/CloudflareSpeedTest/issues) (包括[关闭](https://github.com/XIU2/CloudflareSpeedTest/issues?q=is%3Aissue+is%3Aclosed)的),请勿重复发起!  
+        另外,不接受**个性化**的功能请求(即 **很少人** 或 **只有你自己** 才会用到的功能)
+  - type: textarea
+    id: description
+    attributes:
+      label: 功能需求
+      description: 必填,你要什么样的功能?
+      placeholder: 请输入...
+    validations:
+      required: true
+  - type: textarea
+    id: anticipation
+    attributes:
+      label: 预期目标
+      description: 必填,你希望该功能具体是什么样子的?如果能提供 示例/截图/代码 就更好了
+      placeholder: 请输入...
+    validations:
+      required: true