瀏覽代碼

chore: update template

xiaobing.wang 1 年之前
父節點
當前提交
9736a5a9f3

+ 18 - 17
.github/ISSUE_TEMPLATE/1feature-request.yaml

@@ -1,30 +1,31 @@
-name: 功能建议
+name: Suggestio
 # Feature request
-description: 新功能或现有能力的优化建议
-title: "[建议] "
+description: New feature or improvements.
+title: "[Suggestion] "
 
 body:
   - type: markdown
     attributes:
       value: |
-        提示:创建前请搜索一下是否有重复问题。一个 issue 尽量只描述一个问题。简洁、准确的描述有助于集中大家的意见,推进问题尽快解决
-      # Please check for duplicate issue first.
-      # 尽量描述需求的背景、原始问题,避免出现 X-Y 问题,参考: https://coolshell.cn/articles/10804.html
-  - type: textarea
-    id: problem
-    attributes:
-      label: 背景与遇到的问题
-      # Background and the problem that frustrates you
-      placeholder: |
-        例如:我的业务有xxx特性,当我在使用xxx功能的时候,会遇到xxx情况...
-    validations:
-      required: false
+        Please search the [open issues](https://github.com/chaitin/SafeLine/issues) and [discussion](https://github.com/chaitin/SafeLine/discussions) for duplicate issue first.
+        Please rise only one suggestion in an issue.
   - type: textarea
     id: solution
     attributes:
-      label: 建议的解决方案
+      label: What would you like to be added or improved?
       # Describe the solution you'd like
+      # placeholder: |
+      #
+  - type: textarea
+    id: problem
+    attributes:
+      label: Why is it needed?
+      # Background and the specific problem that frustrates you
       placeholder: |
-        例如:建议增加xxx功能;将xxx改为xxx...
+        Background and the problem that frustrates you
+
     validations:
       required: false
+
+    validations:
+      required: false

+ 41 - 38
.github/ISSUE_TEMPLATE/2bug-report.yaml

@@ -1,42 +1,45 @@
-name: Bug
-description: 明确的软件故障或缺陷
+name: Bu
+description: Report a bug
 # Create a report to help us improve
 title: "[Bug] "
 
 body:
-- type: markdown
-  attributes:
-    value: |
-      提示:提问前请先搜索一下是否存在重复问题
-    # Please check for duplicate issue first.
-- type: textarea
-  id: Description
-  attributes:
-    label: 问题描述
-    # Describe the bug
-  validations:
-    required: false
-- type: input
-  id: version
-  attributes:
-    label: 版本号
-    placeholder: 3.0.0
-  validations:
-    required: true
-- type: textarea
-  id: Reproduce
-  attributes:
-    label: 复现方法
-    # To Reproduce
-    placeholder: |
-      1. ...
-      2. ...
-  validations:
-    required: true
-- type: textarea
-  id: Expected
-  attributes:
-    label: 期望的结果
-    # Expected behavior. Descript what you expected to happen.
-  validations:
-    required: true
+  - type: markdown
+    attributes:
+      value: |
+        Please search the [open issues](https://github.com/chaitin/SafeLine/issues) and [discussion](https://github.com/chaitin/SafeLine/discussions) for duplicate issue first. 
+        The more information you share, the faster we can identify and fix the bug.
+      # Please check for duplicate issue first.
+  - type: textarea
+    id: Description
+    attributes:
+      label: What happened?
+      # Describe the bug
+    validations:
+      required: false
+  - type: textarea
+    id: Reproduce
+    attributes:
+      label: How we reproduce?
+      description: |
+        Reports cannot be reproduced will Most likely be closed.
+      # To Reproduce
+      value: |
+        1. ...
+        2. ...
+        3. ...
+  - type: textarea
+    id: Expected
+    attributes:
+      label: Expected behavior
+      # placeholder: |
+      # Descript what you expected to happen.
+      # Expected behavior. Descript what you expected to happen.
+  - type: textarea
+    id: Errorlog
+    attributes:
+      label: Error log
+      placeholder: |
+        Paste the error logs if any.
+      # Expected behavior. Descript what you expected to happen.
+

+ 5 - 7
.github/ISSUE_TEMPLATE/3other.yaml

@@ -1,14 +1,12 @@
-name: 其他问题与反馈
-description: 文档、部署失败等其他问题。
+name: Other
+description: Other issues such as Doc
 body:
   - type: markdown
     attributes:
       value: |
-        提示:创建前请先搜索一下是否存在重复问题
-      # Please check for duplicate issue first.
-      # 尽量描述需求的背景、原始问题,避免出现 X-Y 问题,参考: https://coolshell.cn/articles/10804.html
-      # 提問的智慧: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
+        Please search the [open issues](https://github.com/chaitin/SafeLine/issues) and [discussion](https://github.com/chaitin/SafeLine/discussions) for duplicate issue first. 
+        Please rise only one suggestion in an issue.
   - type: textarea
     id: content
     attributes:
-      label: 反馈内容
+      label: Content

+ 8 - 2
.github/ISSUE_TEMPLATE/config.yml

@@ -1,5 +1,11 @@
-blank_issues_enabled: Ture
+blank_issues_enabled: false
 contact_links:
+  - name: Discord
+    url: https://discord.gg/wyshSVuvxC
+    about: Ask questions and discuss with other SafeLine users in real time.
+  - name: Home page 官网
+    url: https://waf.chaitin.com/
+    about: Get feature descriptions, technical documentation and more information. 获取功能描述、技术文档和更多信息。
   - name: 绕过反馈
     url: https://stack.chaitin.com/security-challenge/safeline/index
-    about: Waf 绕过可在 CT Stack 安全挑战赛提交细节
+    about: Waf 绕过可在 CT Stack 安全挑战赛提交细节