Browse Source

chore: add GitHub issue feature template

Create feature request template for GitHub issues
Standardize the format for feature requests
Include necessary sections such as description, desired behavior, and use cases
Improve issue tracking and clarity for feature proposals
sw 1 month ago
parent
commit
02a5f8e9f4
1 changed files with 41 additions and 0 deletions
  1. 41 0
      .github/ISSUE_TEMPLATE/feature_request.yaml

+ 41 - 0
.github/ISSUE_TEMPLATE/feature_request.yaml

@@ -0,0 +1,41 @@
+name: 功能请求
+description: 为项目提出一条新功能建议
+title: "[功能]: "
+labels: ["enhancement", "needs-triage"]
+body:
+  - type: markdown
+    attributes:
+      value: |
+        感谢你花时间提出新功能建议!
+  - type: textarea
+    id: problem
+    attributes:
+      label: 你的功能请求是否与某个问题相关?
+      description: 请清晰、简洁地描述现有问题。例如:我在使用 … 时总是感到困扰,因为 …
+      placeholder: 请告诉我们问题所在
+    validations:
+      required: true
+  - type: textarea
+    id: solution
+    attributes:
+      label: 请描述你想要的解决方案
+      description: 请清晰、简洁地描述你期望发生的情况。
+      placeholder: 描述你期望的解决方案
+    validations:
+      required: true
+  - type: textarea
+    id: alternatives
+    attributes:
+      label: 请描述你考虑过的替代方案
+      description: 请清晰、简洁地描述你考虑过的其他解决方案或功能。
+      placeholder: 列举任何替代方案
+    validations:
+      required: false
+  - type: textarea
+    id: context
+    attributes:
+      label: 其他上下文
+      description: 请在此处添加任何其他上下文、截图或示例。
+      placeholder: 添加其他上下文
+    validations:
+      required: false