chore: 更新配置文件并迁移issue模板格式
- 将issue模板从markdown格式迁移为yaml格式 - 更新config.php中的敏感配置信息
This commit is contained in:
36
.github/ISSUE_TEMPLATE/bug_report.md
vendored
36
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,36 +0,0 @@
|
||||
---
|
||||
name: Bug 报告
|
||||
about: 创建一个 bug 报告以帮助我们改进
|
||||
title: '[BUG] '
|
||||
labels: 'bug'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## 描述问题
|
||||
清晰简洁地描述这个 bug 是什么。
|
||||
|
||||
## 复现步骤
|
||||
复现这个 bug 的步骤:
|
||||
1. 打开页面 '...'
|
||||
2. 点击 '....'
|
||||
3. 滚动到 '....'
|
||||
4. 看到错误
|
||||
|
||||
## 预期行为
|
||||
清晰简洁地描述您期望发生的事情。
|
||||
|
||||
## 实际行为
|
||||
清晰简洁地描述实际发生了什么。
|
||||
|
||||
## 截图
|
||||
如果适用,添加截图以帮助解释您的问题。
|
||||
|
||||
## 环境信息
|
||||
- 设备: [例如 iPhone6]
|
||||
- 操作系统: [例如 iOS]
|
||||
- 浏览器: [例如 chrome, safari]
|
||||
- 版本: [例如 22]
|
||||
|
||||
## 其他信息
|
||||
在此处添加有关问题的任何其他上下文。
|
||||
65
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
65
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
name: Bug报告
|
||||
about: 创建一个Bug报告以帮助我们改进
|
||||
title: '[BUG] '
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: 问题描述
|
||||
description: 请清晰简洁地描述这个Bug是什么
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: reproduction
|
||||
attributes:
|
||||
label: 复现步骤
|
||||
description: 复现这个Bug的步骤
|
||||
placeholder: |
|
||||
1. 打开页面 '...'
|
||||
2. 点击 '....'
|
||||
3. 滚动到 '....'
|
||||
4. 看到错误
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: 预期行为
|
||||
description: 清晰简洁地描述你期望发生的事情
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual
|
||||
attributes:
|
||||
label: 实际行为
|
||||
description: 清晰简洁地描述实际发生的事情
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: 截图
|
||||
description: 如果适用,添加截图以帮助解释你的问题
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: environment
|
||||
attributes:
|
||||
label: 环境信息
|
||||
description: 请提供你的环境信息
|
||||
placeholder: |
|
||||
操作系统: Windows 10
|
||||
浏览器: Chrome 90.0.4430.212
|
||||
设备: 桌面
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional
|
||||
attributes:
|
||||
label: 其他信息
|
||||
description: 在此处添加有关问题的任何其他上下文
|
||||
validations:
|
||||
required: false
|
||||
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -1,23 +0,0 @@
|
||||
---
|
||||
name: 功能请求
|
||||
about: 为这个项目提出一个想法
|
||||
title: '[FEATURE] '
|
||||
labels: 'enhancement'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## 功能描述
|
||||
清晰简洁地描述您想要的功能是什么。
|
||||
|
||||
## 使用场景
|
||||
描述这个功能将如何被使用,以及它解决了什么问题。
|
||||
|
||||
## 可能的实现方式
|
||||
如果您有想法,描述您希望如何实现这个功能。
|
||||
|
||||
## 替代方案
|
||||
描述您考虑过的任何替代解决方案或功能。
|
||||
|
||||
## 其他信息
|
||||
添加有关功能请求的任何其他上下文或截图。
|
||||
42
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
42
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
name: 功能请求
|
||||
about: 为这个项目提出一个想法
|
||||
title: '[FEATURE] '
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
id: feature_description
|
||||
attributes:
|
||||
label: 功能描述
|
||||
description: 清晰简洁地描述你想要的功能是什么
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: use_case
|
||||
attributes:
|
||||
label: 使用场景
|
||||
description: 描述这个功能将如何被使用,以及它解决了什么问题
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: implementation
|
||||
attributes:
|
||||
label: 可能的实现方式
|
||||
description: 如果你有想法,描述你希望这个功能如何实现
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: 替代方案
|
||||
description: 描述你考虑过的任何替代解决方案或功能
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional
|
||||
attributes:
|
||||
label: 其他信息
|
||||
description: 在此处添加有关功能请求的任何其他上下文或截图
|
||||
validations:
|
||||
required: false
|
||||
Reference in New Issue
Block a user