Просмотр исходного кода

Merge pull request #1147 from PrivateBin/r4sas-discus-templ

Update discussion template
El RIDO 2 лет назад
Родитель
Сommit
0f9aee5335
1 измененных файлов с 23 добавлено и 12 удалено
  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"]
 body:
   - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this form!
+  - type: textarea
+    id: description
     attributes:
       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
+    id: readed-faq
     attributes:
       label: Please tick this to confirm
+      description: Have you read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ)?
       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
     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.
         2.
   - type: textarea
     id: what_happens
     attributes:
       label: What happens
+      placeholder: Tell us what you see!
   - type: textarea
     id: what_should_happen
     attributes:
       label: What should happen
+      placeholder: Tell us what you want to see!
   - type: textarea
     id: additional_info
     attributes:
@@ -58,7 +68,8 @@ body:
     attributes:
       label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net)
       options:
-        - label: No
-          value: No
-        - label: Yes
-          value: Yes
+        - No
+        - Yes
+      default: 0
+    validations:
+      required: true