update issue templates

This commit is contained in:
Pig Fang 2021-07-30 14:41:27 +08:00
parent 20e299e6c3
commit e1262b4179
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
4 changed files with 149 additions and 36 deletions

View File

@ -1,36 +0,0 @@
<!-- 在提交一个新 issue 前,请先阅读以下内容: -->
<!-- Before opening a new issue, please make sure to READ the articles below: -->
<!-- * FAQ 常见问题: https://git.io/fjRtn -->
<!-- * 报告问题的正确姿势https://git.io/fjRtc -->
<!-- 把下面模板中的占位文字删除,并按照你的情况认真填写,谢谢 -->
<!-- Please remove the placeholders and fill in the template according to your situation. -->
## The Problem 问题描述
<!-- 如果您要报告的问题是与插件相关的,请在 bs-community/blessing-skin-plugins 提 issue谢谢合作 -->
<!-- If you're going to report a problem related to plugins, please open issue at bs-community/blessing-skin-plugins. -->
## Environment 运行环境
- Blessing Skin 版本 (Version of Blessing Skin):
- PHP 版本 (Version of PHP):
- Apache / Nginx:
- 什么浏览器,出现错误时的地址栏 URL 是什么 (Which browser and URL):
## Error Message 错误信息
<!--
请提供详细信息,如截图。日志内容请不要直接贴出来,请把它放在 pastebin 等网站上。
不提供详细信息的 issue 或不按要求提供日志的将被直接忽略,谢谢合作。
Please provide more information, such as screenshots.
For logs, don't paste it in issue directly. You can paste in on pastebin.
You will be ignored if you don't provide enough information or
your logs messes up the issue.
Thanks for your cooperation.
-->
## Steps to Reproduce 重现步骤
<!-- Tell us how to reproduce this issue. -->
<!-- 详细描述你出错前的操作步骤 -->

View File

@ -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

64
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@ -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

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -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: 请在那里报告问题。