瀏覽代碼

Add two questions to bug template

Junyi Du 2 年之前
父節點
當前提交
a0ba3028d7
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      .github/ISSUE_TEMPLATE/bug_report.yaml

+ 16 - 0
.github/ISSUE_TEMPLATE/bug_report.yaml

@@ -1,6 +1,14 @@
 name: Bug Report
 description: Report a bug encountered while using Logseq
 body:
+  - type: checkboxes
+    id: confirm-search
+    attributes:
+      label: Search first
+      description: Please make sure to search through the [existing issues](https://github.com/logseq/logseq/issues) and [Logseq Forum](https://discuss.logseq.com/) before report.
+      options:
+        - label: Search and no similar report found
+          required: true
   - type: textarea
     id: problem
     attributes:
@@ -59,3 +67,11 @@ body:
         If applicable, add additional context to help explain your problem.
     validations:
       required: false
+
+  - type: checkboxes
+    id: ask-pr
+    attributes:
+      label: Are you willing to submit a PR?
+      description: Your contributions are greatly appreciated and play a vital role in helping to improve the project!
+      options:
+        - label: I'm willing to submit a PR (Thank you!)