From db6c5b87510e2874d1a4951e8e35c1035ee64aed Mon Sep 17 00:00:00 2001 From: PiEgg Date: Tue, 5 Apr 2022 11:00:00 +0800 Subject: [PATCH] :package: Chore: add issue template --- .github/ISSUE_TEMPLATE.md | 34 ----------- .github/ISSUE_TEMPLATE/bug_report.yml | 67 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.yml | 62 ++++++++++++++++++++ 4 files changed, 130 insertions(+), 34 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md 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.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 175cb04b..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,34 +0,0 @@ - - -**声明:我已经仔细看过 [文档](https://picgo.github.io/PicGo-Doc/)、[FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md)、和搜索过已经关闭的 [issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed) 后依然没有找到答案,所以才发了一个新的 issue。** - -## 问题类型 - - - -## PicGo 的相关信息 - - - -## 问题重现 - - - - - - -## 功能请求 - - - - ---- - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..0bd1cd1d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,67 @@ +name: "🐛 Bug Report" +description: 提交一个问题 / Report a bug +title: "[Bug]: " +labels: ["bug"] +assignees: + - molunerfinn +body: + - type: markdown + attributes: + value: |+ + ## PicGo Issue 模板 + + 请依照该模板来提交,否则将会被关闭。 + **提问之前请注意你看过 FAQ、文档以及那些被关闭的 issues。否则同样的提问也会被关闭!** + + Please submit according to this template, otherwise it will be closed. + **Before asking a question, please note that you have read the FAQ, Doc, and those closed issues. Otherwise the same question will also be closed! ** + + - type: checkboxes + id: read + attributes: + label: 前置阅读 | Pre-reading + description: 我已经自行查找、阅读以下内容(阅读了请打勾) | I have searched and read the following on my own (Please tick after reading) + options: + - label: "[文档/Doc](https://picgo.github.io/PicGo-Doc/)" + required: true + - label: "[Issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)" + required: true + - label: "[FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md)" + required: true + - type: input + id: version + attributes: + label: PicGo的版本 | PicGo Version + placeholder: 例如 v2.3.0-beta.1 + validations: + required: true + - type: dropdown + id: platform + attributes: + label: 系统信息 | System Information + options: + - Windows + - Mac + - Mac(arm64) + - Linux + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: 问题重现 | Bug reproduce + description: 请复述Bug重现流程,必要时附图 | Please tell me the bug reproduction process, attach pictures if necessary + validations: + required: true + - type: textarea + id: log + attributes: + label: 相关日志 | Logs + description: 请附上 PicGo 的相关报错日志(用文本的形式)。报错日志可以在 PicGo 设置 -> 设置日志文件 -> 点击打开 后找到 | Please attach PicGo's relevant error log (in text form). The error log can be found in PicGo Settings -> Set Log File -> Click to Open + - type: markdown + attributes: + value: | + 最后,喜欢 PicGo 的话不妨给它点个 star~ + 如果可以的话,请我喝杯咖啡?首页有赞助二维码,谢谢你的支持! + Finally, if you like PicGo, give it a star~ + Buy me a cup of coffee if you can? There is a sponsorship QR code on the homepage, thank you for your support! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..ec4bb386 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..7db1707c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,62 @@ +name: "✨ Feature Request" +description: 功能请求 / Feature request +title: "[Feature]: " +labels: ["feature request"] +assignees: + - molunerfinn +body: + - type: markdown + attributes: + value: |+ + ## PicGo Issue 模板 + + 请依照该模板来提交,否则将会被关闭。 + **提问之前请注意你看过 FAQ、文档以及那些被关闭的 issues。否则同样的提问也会被关闭!** + + Please submit according to this template, otherwise it will be closed. + **Before asking a question, please note that you have read the FAQ, Doc, and those closed issues. Otherwise the same question will also be closed! ** + + - type: checkboxes + id: read + attributes: + label: 前置阅读 | Pre-reading + description: 我已经自行查找、阅读以下内容(阅读了请打勾) | I have searched and read the following on my own (Please tick after reading) + options: + - label: "[文档/Doc](https://picgo.github.io/PicGo-Doc/)" + required: true + - label: "[Issues](https://github.com/Molunerfinn/PicGo/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)" + required: true + - label: "[FAQ](https://github.com/Molunerfinn/PicGo/blob/dev/FAQ.md)" + required: true + - type: input + id: version + attributes: + label: PicGo的版本 | PicGo Version + placeholder: 例如 v2.3.0-beta.1 + validations: + required: true + - type: dropdown + id: platform + attributes: + label: 系统信息 | System Information + options: + - Windows + - Mac + - Mac(arm64) + - Linux + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: 功能请求 | Feature request + description: 详细描述你所预想的功能或者是现有功能的改进 | Describe in detail the features you envision or improvements to existing features + validations: + required: true + - type: markdown + attributes: + value: | + 最后,喜欢 PicGo 的话不妨给它点个 star~ + 如果可以的话,请我喝杯咖啡?首页有赞助二维码,谢谢你的支持! + Finally, if you like PicGo, give it a star~ + Buy me a cup of coffee if you can? There is a sponsorship QR code on the homepage, thank you for your support! \ No newline at end of file