Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更加直观的issue_template #92

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Bug report
description: Create a report to help us improve
title: "bug?: "
labels: ["bug?"]
body:
- type: input
id: describe
attributes:
label: Describe
placeholder: Describe the bug
validations:
required: true
- type: textarea
id: deproduce
attributes:
label: To Reproduce
placeholder: |
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
- type: textarea
id: expected_behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: textarea
id: desktop
attributes:
label: Desktop (please complete the following information)
description: |
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
validations:
required: true
- type: textarea
id: smartphone
attributes:
label: Smartphone (please complete the following information)
description: |
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: true
- type: markdown
attributes:
value: |
[Forum](https://forum.olivos.run)
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Feature request
description: Suggest an idea for this project
title: "features: "
labels: [enhancement]
body:
- type: input
id: describe
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: false
- type: textarea
id: alternatives
attributes:
label: Expected behaviorDescribe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: true
- type: markdown
attributes:
value: |
[Forum](https://forum.olivos.run)
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/功能请求.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/功能请求.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "功能请求"
description: "为这个项目提出一个想法"
title: "features: "
labels: [enhancement]
body:
- type: input
id: describe
attributes:
label: "您的功能请求是否与问题有关?请描述。"
placeholder: "对问题所在的清晰简洁的描述。当 [...]"
validations:
required: true
- type: textarea
id: solution
attributes:
label: "描述您想要的解决方案"
placeholder: "清晰简洁地描述您想要发生的事情。"
validations:
required: false
- type: textarea
id: alternatives
attributes:
label: "描述您考虑过的替代方案 "
description: "对您考虑过的任何替代解决方案或功能进行清晰简洁的描述。"
validations:
required: false
- type: textarea
id: additional
attributes:
label: "附加上下文"
description: "在此处添加有关功能请求的任何其他上下文或屏幕截图。"
validations:
required: true
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/错误报告.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/错误报告.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: "错误报告"
description: "创建报告以帮助我们改进"
title: "bug: "
labels: ["bug?"]
body:
- type: input
id: describe
attributes:
label: "描述错误"
placeholder: "清晰简洁地描述错误是什么。"
validations:
required: true
- type: textarea
id: deproduce
attributes:
label: "重现行为"
placeholder: |
步骤:
1. 去 “...”
2. 点击 “....”
3. 向下滚动到“....”
4. 查看错误
validations:
required: false
- type: textarea
id: expected_behavior
attributes:
label: "预期行为"
description: "对您预期会发生的事情的清晰简明描述。"
validations:
required: false
- type: textarea
id: screenshots
attributes:
label: "屏幕截图"
description: "如果适用,请添加屏幕截图以帮助解释您的问题。"
validations:
required: false
- type: textarea
id: desktop
attributes:
label: "桌面(请填写以下信息)"
description: |
- 操作系统:[例如 IOS]
- 浏览器 [例如 chrome, safari]
- 版本 [例如 22]
validations:
required: true
- type: textarea
id: smartphone
attributes:
label: "智能手机(请填写以下信息)"
description: |
- 设备:[例如iPhone6]
- 操作系统:[例如iOS8.1]
- 浏览器 [例如股票浏览器,野生动物园]
- 版本 [例如 22]
validations:
required: true
- type: textarea
id: additional
attributes:
label: "附加上下文"
description: "在此处添加有关该问题的任何其他上下文。"
validations:
required: true
- type: markdown
attributes:
value: |
[论坛](https://forum.olivos.run)