chore: add bug_report.yml

pull/1415/head
Ryan Wang 2021-07-05 23:37:58 +08:00
parent 8fa4cbd861
commit 8c35633b90
3 changed files with 122 additions and 54 deletions

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 the about page in admin background."
- type: dropdown
id: database
validations:
required: true
attributes:
label: "What database are you using?"
description: "Can be found in the about page in admin background."
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

@ -1,54 +0,0 @@
---
name: Bug Report
about: 事情不像预期的那样工作吗?
title: ''
labels: 'bug'
assignees: ''
---
<!--
你好!感谢你正在考虑为 Halo 提交一个 bug。请花一点点时间尽量详细地回答以下基础问题。
谢谢!
-->
<!--
请确认你已经做了下面这些事情,若 bug 还是未解决,那么请尽可详细地描述你的问题。
- 我已经安装了最新版的 Halo
- 我已经搜索了已有的 Issues 列表中有关的信息
- 我已经搜索了论坛中有关的信息https://bbs.halo.run
- 我已经阅读了 Halo 的 FAQhttps://docs.halo.run/user-guide/faq
-->
## 我的环境
<!--
请登录到博客后台,进入菜单 `系统->关于` 点击 `环境信息` 旁边的按钮即可复制环境信息。
-->
---
## 错误日志
<!--
请登录到博客后台,点击菜单栏中的 `Halo Dashboard` 10 次即可开启 `开发者选项`。进入开发者选项中的 `实时日志`
你可以选择查找具体的错误日志,或者直接下载日志文件复制到下面即可。(注意:日志堆栈信息请用 Markdown 的代码块语法,以方便查看。)
-->
---
## 期望行为
<!--
你期望会发生什么?
-->
## 当前行为
<!--
描述 bug 细节,确认出现此问题的复现步骤,例如点击了哪里,发生了什么情况?
你可以粘贴截图或附件。
-->

View File

@ -0,0 +1,61 @@
name: Bug 反馈
description: 提交 Bug 反馈
labels: [bug]
body:
- type: markdown
id: preface
attributes:
value: "感谢你花时间填写此错误报告!"
- 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: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。"