Przeglądaj źródła

Update discussion template

Try to fix #1143.
R4SAS 2 lat temu
rodzic
commit
7f28e8cc0c
1 zmienionych plików z 23 dodań i 12 usunięć
  1. 23 12
      .github/DISCUSSION_TEMPLATE/q-a.yml

+ 23 - 12
.github/DISCUSSION_TEMPLATE/q-a.yml

@@ -2,32 +2,42 @@ title: "[Question and support] "
 labels: ["question/support"]
 labels: ["question/support"]
 body:
 body:
   - type: markdown
   - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this form!
+  - type: textarea
+    id: description
     attributes:
     attributes:
       label: Describe the problem/question
       label: Describe the problem/question
-      description: |
-        A clear and concise description of what the problem/issue or question is.
+      description: A clear and concise description of what the problem/issue or question is.
+    validations:
+      required: true
   - type: checkboxes
   - type: checkboxes
+    id: readed-faq
     attributes:
     attributes:
       label: Please tick this to confirm
       label: Please tick this to confirm
+      description: Have you read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ)?
       options:
       options:
-        - label: Yes, I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there.
-  - type: markdown
+        - label: Yes, I have read the FAQ and I found no solution/answer there.
+          required: true
+  - type: textarea
     id: what_you_did
     id: what_you_did
     attributes:
     attributes:
-      label: What you did
-      description: |
-        Tell us how to reproduce the problem.
-
+      label: What you did?
+      description: Tell us how to reproduce the problem.
+      value: |
         1.
         1.
         2.
         2.
   - type: textarea
   - type: textarea
     id: what_happens
     id: what_happens
     attributes:
     attributes:
       label: What happens
       label: What happens
+      placeholder: Tell us what you see!
   - type: textarea
   - type: textarea
     id: what_should_happen
     id: what_should_happen
     attributes:
     attributes:
       label: What should happen
       label: What should happen
+      placeholder: Tell us what you want to see!
   - type: textarea
   - type: textarea
     id: additional_info
     id: additional_info
     attributes:
     attributes:
@@ -58,7 +68,8 @@ body:
     attributes:
     attributes:
       label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net)
       label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net)
       options:
       options:
-        - label: No
-          value: No
-        - label: Yes
-          value: Yes
+        - No
+        - Yes
+      default: 0
+    validations:
+      required: true