From f3f2bafbe72d3d1b543c9004aa822f18b21e273b Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 2 Mar 2023 20:22:27 +0800 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE/01-bugReport.md | 13 --------- .github/ISSUE_TEMPLATE/01-bugReport.yml | 30 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/02-featureRequest.md | 15 ---------- .github/ISSUE_TEMPLATE/02-featureRequest.yml | 25 ++++++++++++++++ 4 files changed, 55 insertions(+), 28 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/01-bugReport.md create mode 100644 .github/ISSUE_TEMPLATE/01-bugReport.yml delete mode 100644 .github/ISSUE_TEMPLATE/02-featureRequest.md create mode 100644 .github/ISSUE_TEMPLATE/02-featureRequest.yml diff --git a/.github/ISSUE_TEMPLATE/01-bugReport.md b/.github/ISSUE_TEMPLATE/01-bugReport.md deleted file mode 100644 index 84b2ef8..0000000 --- a/.github/ISSUE_TEMPLATE/01-bugReport.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: 反馈问题 (Bug report) -about: 软件报错等异常情况,或遇到预期之外的问题... -title: '' -labels: 反馈问题 -assignees: '' - ---- - -### 问题描述(必填,最好写上 复现问题 的步骤,越详细越好,特别是一些复杂的问题) - - -### 错误截图(可选,也可以是一些错误代码) diff --git a/.github/ISSUE_TEMPLATE/01-bugReport.yml b/.github/ISSUE_TEMPLATE/01-bugReport.yml new file mode 100644 index 0000000..3b94c21 --- /dev/null +++ b/.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.] 文字来选择图片... \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/02-featureRequest.md b/.github/ISSUE_TEMPLATE/02-featureRequest.md deleted file mode 100644 index 4c0da06..0000000 --- a/.github/ISSUE_TEMPLATE/02-featureRequest.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: 功能建议 (Feature request) -about: 有什么建议,或希望添加、完善某个功能... -title: '' -labels: 功能建议 -assignees: '' - ---- - - - -### 功能需求(你要什么样的功能) - - -### 预期目标(你希望该功能具体是什么样子的?如果能提供 示例/截图/代码 就更好了) diff --git a/.github/ISSUE_TEMPLATE/02-featureRequest.yml b/.github/ISSUE_TEMPLATE/02-featureRequest.yml new file mode 100644 index 0000000..c63dde8 --- /dev/null +++ b/.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 \ No newline at end of file