]> cat aescling's git repositories - mastodon.git/commitdiff
Better ordering for bug report issue template (#17019)
authortrwnh <a@trwnh.com>
Wed, 24 Nov 2021 19:24:09 +0000 (13:24 -0600)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 19:24:09 +0000 (20:24 +0100)
Logically, it makes more sense to provide the steps leading up to the bug before asking what the bug is. This change moves "steps to reproduce" above "expected behavior" and "actual behavior" to enforce the above progression and logical flow.

.github/ISSUE_TEMPLATE/1.bug_report.yml

index 4f420416b5dc5199b7e86cd3e7b28cf37b2263ef..9cdf813f7bad03b0372b48051bb9d0cbaa063f29 100644 (file)
@@ -8,6 +8,17 @@ body:
         Make sure that you are submitting a new bug that was not previously reported or already fixed.
 
         Please use a concise and distinct title for the issue.
+  - type: textarea
+    attributes:
+      label: Steps to reproduce the problem
+      description: What were you trying to do?
+      value: |
+        1.
+        2.
+        3.
+        ...
+    validations:
+      required: true
   - type: input
     attributes:
       label: Expected behaviour
@@ -20,17 +31,6 @@ body:
       description: What happened?
     validations:
       required: true
-  - type: textarea
-    attributes:
-      label: Steps to reproduce the problem
-      description: What were you trying to do?
-      value: |
-        1.
-        2.
-        3.
-        ...
-    validations:
-      required: true
   - type: textarea
     attributes:
       label: Specifications