From e1262b4179e3c7a8adf1dc76f55116bb0f01db6f Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 30 Jul 2021 14:41:27 +0800 Subject: [PATCH] update issue templates --- .github/ISSUE_TEMPLATE.md | 36 ------------ .github/ISSUE_TEMPLATE/bug-report-zh.yml | 71 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug-report.yml | 64 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 14 +++++ 4 files changed, 149 insertions(+), 36 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report-zh.yml create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index f9a07f38..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - -## The Problem 问题描述 - - - - -## Environment 运行环境 - -- Blessing Skin 版本 (Version of Blessing Skin): -- PHP 版本 (Version of PHP): -- Apache / Nginx: -- 什么浏览器,出现错误时的地址栏 URL 是什么 (Which browser and URL): - -## Error Message 错误信息 - - - -## Steps to Reproduce 重现步骤 - - - diff --git a/.github/ISSUE_TEMPLATE/bug-report-zh.yml b/.github/ISSUE_TEMPLATE/bug-report-zh.yml new file mode 100644 index 00000000..3ac6770f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-zh.yml @@ -0,0 +1,71 @@ +name: Bug 报告 +description: 发起 bug 报告 +body: + - type: markdown + attributes: + value: | + 在报告问题之前,请确保您已经 **认真** 阅读: + - [FAQ](https://blessing.netlify.app/en/faq.html) + - [报告问题的正确姿势](https://blessing.netlify.app/report.html) + - type: input + id: bs + attributes: + label: Blessing Skin 版本 + validations: + required: true + - type: dropdown + id: php + attributes: + label: PHP 版本 + options: + - '7.3' + - '7.4' + - '8.0' + - '8.1' + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: 出现问题时所使用的浏览器 + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + validations: + required: true + - type: dropdown + id: web-server + attributes: + label: 您正在使用的 Web Server + options: + - Nginx + - Apache + - type: checkboxes + id: baota + attributes: + label: 您正在使用宝塔吗? + options: + - label: 是 + - type: textarea + id: what-happened + attributes: + label: 出现了什么问题? + description: 顺便告诉我们,您期望的行为是怎样的? + validations: + required: true + - type: textarea + id: logs + attributes: + label: 错误日志 + description: 您可以粘贴 Blessing Skin 的日志或 Web Server 的日志。Blessing Skin 的日志位于 `storage/logs` 目录里。 + render: text + - type: textarea + id: reproduction + attributes: + label: 重现步骤 + description: 详细描述您出错前的操作步骤 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..c2b8eabc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,64 @@ +name: Bug Report +description: File a bug report +body: + - type: markdown + attributes: + value: | + Please filing an issue, please make sure you've read: + - [FAQ](https://blessing.netlify.app/en/faq.html) + - type: input + id: bs + attributes: + label: Which version of Blessing Skin are you using? + validations: + required: true + - type: dropdown + id: php + attributes: + label: Which version of PHP are you using? + options: + - '7.3' + - '7.4' + - '8.0' + - '8.1' + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + validations: + required: true + - type: dropdown + id: web-server + attributes: + label: Which web server are you using? + options: + - Nginx + - Apache + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: logs + attributes: + label: Error Logs + description: You can paste logs of Blessing Skin or your web server. Logs of Blessing Skin can be found at `storage/logs` directory. + render: text + - type: textarea + id: reproduction + attributes: + label: Steps to Reproduce + description: Tell us how to reproduce this issue. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..851cf120 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +blank_issues_enabled: false +contact_links: + - name: Report Issue about Blessing Skin plugins + url: https://github.com/bs-community/blessing-skin-plugins/issues + about: Please ask and answer questions there. + - name: Report Issue about integrating with Flarum + url: https://github.com/bs-community/flarum-oauth-client/issues + about: Please ask and answer questions there. + - name: 报告与 Blessing Skin 插件有关的问题 + url: https://github.com/bs-community/blessing-skin-plugins/issues + about: 请在那里报告问题。 + - name: 报告与 Flarum 对接有关的问题 + url: https://github.com/bs-community/flarum-oauth-client/issues + about: 请在那里报告问题。