refactor: issue templates.

pull/346/head
Ryan Wang 2021-07-25 13:38:18 +08:00
parent 80735f7d68
commit 42df7e5b0b
6 changed files with 190 additions and 18 deletions

View File

@ -1,18 +0,0 @@
<!--
如果你不认真勾选下面的内容,我可能会直接关闭你的 Issue。
提问之前,建议先阅读 https://github.com/ruby-china/How-To-Ask-Questions-The-Smart-Way
-->
**我确定我已经查看了** (标注`[ ]`为`[x]`)
- [ ] [Halo 文档](https://docs.halo.run)
- [ ] [Github Wiki 常见问题](https://github.com/halo-dev/halo/wiki/4.-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
- [ ] [其他 Issues](https://github.com/halo-dev/halo-admin/issues)
----
**我要申请** (标注`[ ]`为`[x]`)
- [ ] BUG 反馈
- [ ] 添加新的特性或者功能
- [ ] 请求技术支持

View File

@ -0,0 +1,61 @@
name: Bug Report
description: File a bug report
labels: [bug]
body:
- type: markdown
id: preface
attributes:
value: "Thanks for taking the time to fill out this bug report!"
- type: markdown
id: environment
attributes:
value: "## Environment"
- type: input
id: version
validations:
required: true
attributes:
label: What is version of Halo has the issue?
description: "Can be found in backstage management system."
- type: dropdown
id: database
validations:
required: true
attributes:
label: "What database are you using?"
description: "Can be found in backstage management system."
options:
- H2
- MySQL 5.7
- MySQL 8.x
- Other
- type: input
id: site-url
attributes:
label: "Your site address."
description: "Note your online address, if possible."
placeholder: "ex. https://halo.run"
validations:
required: false
- type: markdown
id: details
attributes:
value: "## Details"
- 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: "Relevant log output"
description: "Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks."
render: shell
- type: textarea
id: additional-information
attributes:
label: "Additional information"
description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)."

View File

@ -0,0 +1,62 @@
name: Bug 反馈
description: 提交 Bug 反馈
labels: [bug]
body:
- type: markdown
id: preface
attributes:
value: |
感谢你花时间填写此错误报告!在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。
- type: markdown
id: environment
attributes:
value: "## 环境信息"
- type: input
id: version
validations:
required: true
attributes:
label: "是什么版本出现了此问题?"
description: "可以在管理后台的关于页面中找到。"
- type: dropdown
id: database
validations:
required: true
attributes:
label: "使用的什么数据库?"
description: "可以在管理后台的关于页面中找到。"
options:
- H2
- MySQL 5.7
- MySQL 8.x
- Other
- type: input
id: site-url
attributes:
label: "在线站点地址"
description: "请提供你的站点地址,如果可以的话,这可能会帮助我们更好的定位问题。"
placeholder: "ex. https://halo.run"
validations:
required: false
- type: markdown
id: details
attributes:
value: "## 详细信息"
- type: textarea
id: what-happened
attributes:
label: "发生了什么?"
description: "最好还告诉我们,你预计会发生什么。"
validations:
required: true
- type: textarea
id: logs
attributes:
label: "相关日志输出"
description: "请复制并粘贴任何相关的日志输出。 这将自动格式化为代码,因此无需反引号。"
render: shell
- type: textarea
id: additional-information
attributes:
label: "附加信息"
description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。"

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

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 对 Halo 有其他问题
url: https://bbs.halo.run
about: 如果你对 Halo 有其他想要提问的,欢迎到我们的官方社区进行提问。

View File

@ -0,0 +1,31 @@
name: Feature Request
description: File a feature request
body:
- type: markdown
id: preface
attributes:
value: "Hello there! Thank you for submitting new features for Halo. Please spend a little bit to fill in the following instructions in detail."
- type: markdown
id: environment
attributes:
value: "## Environment"
- type: input
id: version
attributes:
label: "Your current Halo version"
description: "Can be found in backstage management system."
- type: markdown
id: details
attributes:
value: "## Details"
- type: textarea
id: description
attributes:
label: "Describe this feature"
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: "Additional information"
description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)."

View File

@ -0,0 +1,31 @@
name: 新特性建议
description: 提交新特性建议
body:
- type: markdown
id: preface
attributes:
value: "你好!感谢你为 Halo 提交新特性建议。在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。"
- type: markdown
id: environment
attributes:
value: "## 环境信息"
- type: input
id: version
attributes:
label: "你当前使用的版本"
description: "可以在管理后台的关于页面中找到。"
- type: markdown
id: details
attributes:
value: "## 详细信息"
- type: textarea
id: description
attributes:
label: "描述一下此特性"
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: "附加信息"
description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。"