|
|
# 定义一个Bug报告的表单模板
|
|
|
name: 🐛 Bug report
|
|
|
description: Report reproducible software issues so we can improve # 模板用途:报告可复现的软件问题以帮助改进
|
|
|
body:
|
|
|
# markdown类型的说明文本,用于展示欢迎信息
|
|
|
- type: markdown
|
|
|
attributes:
|
|
|
value: |
|
|
|
## Welcome 👋
|
|
|
Thank you for taking the time to fill out a bug report 🙂
|
|
|
|
|
|
We'll respond as quickly as we can. The more information you provide the easier & quicker it is for us to diagnose the problem.
|
|
|
|
|
|
# 文本区域:用于简要描述问题
|
|
|
- type: textarea
|
|
|
id: summary # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Issue Summary # 字段标签:问题概要
|
|
|
description: Explain roughly what's wrong # 描述:简要说明哪里出了问题
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 文本区域:用于描述复现步骤和预期结果
|
|
|
- type: textarea
|
|
|
id: reproduction # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Steps to Reproduce # 字段标签:复现步骤
|
|
|
description: Also tell us, what did you expect to happen? # 描述:同时说明你预期的结果
|
|
|
placeholder: | # 输入示例
|
|
|
1. This is the first step...
|
|
|
2. This is the second step, etc.
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 输入框:用于填写Ghost版本号
|
|
|
- type: input
|
|
|
id: version # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Ghost Version # 字段标签:Ghost版本
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 输入框:用于填写Node.js版本号
|
|
|
- type: input
|
|
|
id: node # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Node.js Version # 字段标签:Node.js版本
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 输入框:用于描述安装方式
|
|
|
- type: input
|
|
|
id: install # 字段唯一标识
|
|
|
attributes:
|
|
|
label: How did you install Ghost? # 字段标签:如何安装的Ghost?
|
|
|
description: Provide details of your host & operating system # 描述:提供主机和操作系统的详细信息
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 下拉选择框:用于选择数据库类型
|
|
|
- type: dropdown
|
|
|
id: database # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Database type # 字段标签:数据库类型
|
|
|
options: # 可选值列表
|
|
|
- MySQL 5.7
|
|
|
- MySQL 8
|
|
|
- SQLite3
|
|
|
- Other
|
|
|
validations:
|
|
|
required: true # 此字段为必填项
|
|
|
|
|
|
# 输入框:用于填写浏览器和操作系统版本(前端问题必填)
|
|
|
- type: input
|
|
|
id: browsers # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Browser & OS version # 字段标签:浏览器和操作系统版本
|
|
|
description: Include this for frontend bugs # 描述:前端问题需要填写此项
|
|
|
|
|
|
# 文本区域:用于展示相关日志或错误输出
|
|
|
- type: textarea
|
|
|
id: logs # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Relevant log / error output # 字段标签:相关日志/错误输出
|
|
|
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. # 描述:请复制粘贴相关日志,会自动格式化为代码块,无需手动添加反引号
|
|
|
render: shell # 渲染为shell代码块格式
|
|
|
|
|
|
# 复选框:用于确认是否同意行为准则
|
|
|
- type: checkboxes
|
|
|
id: terms # 字段唯一标识
|
|
|
attributes:
|
|
|
label: Code of Conduct # 字段标签:行为准则
|
|
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://ghost.org/conduct) # 描述:提交此问题即表示同意遵守我们的行为准则
|
|
|
options:
|
|
|
- label: I agree to be friendly and polite to people in this repository # 同意在仓库中友好礼貌地对待他人
|
|
|
required: true # 此字段为必填项(必须勾选) |