Skip to content

Commit

Permalink
👷 chore: update PR / issue template (lobehub#979)
Browse files Browse the repository at this point in the history
* ⬆️ chore: upgrade pr / issue template

* 👷 chore: upgrade issue template
  • Loading branch information
arvinxx authored Jan 8, 2024
1 parent b38b323 commit 42c9a9e
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 37 deletions.
31 changes: 22 additions & 9 deletions .github/ISSUE_TEMPLATE/1_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
name: '🐛 反馈缺陷 Bug Report'
description: '反馈一个问题缺陷 | Report an bug'
name: '🐛 Bug Report'
description: 'Report an bug'
title: '[Bug] '
labels: '🐛 Bug'
labels: ['🐛 Bug']
body:
- type: dropdown
attributes:
label: '💻 系统环境 | Operating System'
label: '💻 Operating System'
options:
- Windows
- macOS
- Ubuntu
- Other Linux
- iOS
- Android
- Other
validations:
required: true
- type: dropdown
attributes:
label: '🌐 浏览器 | Browser'
label: '📦 Environment'
options:
- Official Preview
- Vercel / Zeabur / Sealos
- Docker
- Other
validations:
required: true

- type: dropdown
attributes:
label: '🌐 Browser'
options:
- Chrome
- Edge
Expand All @@ -27,19 +40,19 @@ body:
required: true
- type: textarea
attributes:
label: '🐛 问题描述 | Bug Description'
label: '🐛 Bug Description'
description: A clear and concise description of the bug.
validations:
required: true
- type: textarea
attributes:
label: '🚦 期望结果 | Expected Behavior'
label: '🚦 Expected Behavior'
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: '📷 复现步骤 | Recurrence Steps'
label: '📷 Recurrence Steps'
description: A clear and concise description of how to recurrence.
- type: textarea
attributes:
label: '📝 补充信息 | Additional Information'
label: '📝 Additional Information'
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug_report_cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: '🐛 反馈缺陷'
description: '反馈一个问题缺陷'
title: '[Bug] '
labels: ['🐛 Bug']
body:
- type: dropdown
attributes:
label: '💻 系统环境'
options:
- Windows
- macOS
- Ubuntu
- Other Linux
- iOS
- Android
- Other
validations:
required: true

- type: dropdown
attributes:
label: '📦 部署环境'
options:
- Official Preview
- Vercel / Zeabur / Sealos
- Docker
- Other
validations:
required: true

- type: dropdown
attributes:
label: '🌐 浏览器'
options:
- Chrome
- Edge
- Safari
- Firefox
- Other
validations:
required: true
- type: textarea
attributes:
label: '🐛 问题描述'
description: 请提供一个清晰且简洁的问题描述。
validations:
required: true
- type: textarea
attributes:
label: '🚦 期望结果'
description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
- type: textarea
attributes:
label: '📷 复现步骤'
description: 请提供一个清晰且简洁的描述,说明如何复现问题。
- type: textarea
attributes:
label: '📝 补充信息'
description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/2_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: '🌠 功能需求 Feature Request'
description: '需求或建议 | Suggest an idea'
name: '🌠 Feature Request'
description: 'Suggest an idea'
title: '[Request] '
labels: '🌠 Feature Request'
labels: ['🌠 Feature Request']
body:
- type: textarea
attributes:
label: '🥰 需求描述 | Feature Description'
label: '🥰 Feature Description'
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
validations:
required: true
- type: textarea
attributes:
label: '🧐 解决方案 | Proposed Solution'
label: '🧐 Proposed Solution'
description: Describe the solution you'd like in a clear and concise manner.
validations:
required: true
- type: textarea
attributes:
label: '📝 补充信息 | Additional Information'
label: '📝 Additional Information'
description: Add any other context about the problem here.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/2_feature_request_cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: '🌠 功能需求'
description: '提出需求或建议'
title: '[Request] '
labels: ['🌠 功能需求']
body:
- type: textarea
attributes:
label: '🥰 需求描述'
description: 请添加一个清晰且简洁的问题描述,阐述您希望通过这个功能需求解决的问题。
validations:
required: true
- type: textarea
attributes:
label: '🧐 解决方案'
description: 请清晰且简洁地描述您想要的解决方案。
validations:
required: true
- type: textarea
attributes:
label: '📝 补充信息'
description: 在这里添加关于问题的任何其他背景信息。
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/3_question.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/4_other.md

This file was deleted.

4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Questions and ideas | 问题和想法
url: https://github.com/lobehub/lobe-chat/discussions/new/choose
about: Please post questions, and ideas in discussions. | 请在讨论区发布问题和想法。
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] ⚡️ perf
- [ ] 📝 docs

#### 🔀 变更说明 | Description of Change
Expand Down

0 comments on commit 42c9a9e

Please sign in to comment.