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

Merge pull request #1145 from PrivateBin/template-tweaks

Template tweaks
rugk 3 лет назад
Родитель
Сommit
a0a9147e63
2 измененных файлов с 11 добавлено и 9 удалено
  1. 9 7
      .github/DISCUSSION_TEMPLATE/q-a.yml
  2. 2 2
      .github/ISSUE_TEMPLATE/feature_request.md

+ 9 - 7
.github/DISCUSSION_TEMPLATE/q-a.yml

@@ -3,17 +3,19 @@ labels: ["question/support"]
 body:
   - type: markdown
     attributes:
-      value: |
-        Describe the problem/question: A clear and concise description of what the problem/issue or question is.
+      label: Describe the problem/question
+      description: |
+        A clear and concise description of what the problem/issue or question is.
   - type: checkboxes
     attributes:
       label: Please tick this to confirm
       options:
         - label: Yes, I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there.
   - type: markdown
+    id: what_you_did
     attributes:
-      value: |
-        ## What you did
+      label: What you did
+      description: |
         Tell us how to reproduce the problem.
 
         1.
@@ -51,12 +53,12 @@ body:
     id: privatebin_version
     attributes:
       label: PrivateBin version
-  - type: radio
+  - type: dropdown
     id: reproduce_issue
     attributes:
       label: I can reproduce this issue on [https://privatebin.net](https://privatebin.net)
       options:
-        - label: Yes
-          value: Yes
         - label: No
           value: No
+        - label: Yes
+          value: Yes

+ 2 - 2
.github/ISSUE_TEMPLATE/feature_request.md

@@ -9,11 +9,11 @@ assignees: ''
 
 ## The problem
 
-<-- Is your feature request related to a problem? Please describe.
+<!-- Is your feature request related to a problem? Please describe.
 A clear and concise description of what the problem is. Ex. I'm always frustrated when -->
 
 ## The solution
-<-- A clear and concise description of what you want to happen. Pitch your solution! What would happen, if we don't implement this? -->
+<!-- A clear and concise description of what you want to happen. Pitch your solution! What would happen, if we don't implement this? -->
 
 ## Alternatives
 <!-- A clear and concise description of any alternative solutions or features you've considered. -->