Skip to content

Commit

Permalink
feat: added new issue templates for documentation and question issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Dec 4, 2024
1 parent 67d7ccb commit 100dbc8
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 86 deletions.
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/#2_documentation.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/#2_question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ❓ 提问
description: 提出一个问题或寻求帮助
title: '[问题]: '
labels: ['question']
body:
- type: markdown
attributes:
value: |
感谢您的提问!请尽可能详细地描述您的问题,这样我们才能更好地帮助您。
- type: textarea
id: question
attributes:
label: 您的问题
description: 请详细描述您的问题
placeholder: 请尽可能清楚地说明您的问题...
validations:
required: true

- type: textarea
id: context
attributes:
label: 相关背景
description: 请提供一些背景信息,帮助我们更好地理解您的问题
placeholder: 例如:使用场景、已尝试的解决方案等

- type: textarea
id: additional
attributes:
label: 补充信息
description: 任何其他相关的信息、截图或代码示例
render: shell

- type: dropdown
id: priority
attributes:
label: 优先级
description: 这个问题对您来说有多紧急?
options:
- 低 (有空再看)
- 中 (希望尽快得到答复)
- 高 (阻碍工作进行)
validations:
required: true
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/2_documentation.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/2_question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ❓ Question
description: Ask a question or seek help
title: '[Question]: '
labels: ['question']
body:
- type: markdown
attributes:
value: |
Thanks for asking a question! Please provide as much detail as possible so we can better assist you.
- type: textarea
id: question
attributes:
label: Your Question
description: Please describe your question in detail
placeholder: Please explain your question as clearly as possible...
validations:
required: true

- type: textarea
id: context
attributes:
label: Context
description: Please provide some background information to help us better understand your question
placeholder: "For example: use case, solutions you've tried, etc."

- type: textarea
id: additional
attributes:
label: Additional Information
description: Any other relevant information, screenshots, or code examples
render: shell

- type: dropdown
id: priority
attributes:
label: Priority
description: How urgent is this question for you?
options:
- Low (Can wait)
- Medium (Would like a response soon)
- High (Blocking progress)
validations:
required: true

0 comments on commit 100dbc8

Please sign in to comment.