Parcourir la source

Update and rename bug_report.md to bug_report.yaml

Zac0511 il y a 7 mois
Parent
commit
0cd8404e87
2 fichiers modifiés avec 59 ajouts et 25 suppressions
  1. 0 25
      .github/ISSUE_TEMPLATE/bug_report.md
  2. 59 0
      .github/ISSUE_TEMPLATE/bug_report.yaml

+ 0 - 25
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,25 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**Issue Description**
-
-**Steps to Reproduce**
-
-**Expected & Actual Behavior**
-
-**Addition Information or Screenshots (if applicable)**
-
-**Deployment**
-- [ ] Production (puter.com)
-- [ ] Development (`npm run start`)
-- [ ] Docker (via `docker run`)
-- [ ] Docker (via `docker-compose`)
-
-**Puter version (if accessible)**
-> Click the profile button on the top-right, then "Settings". The version number will be printed at the bottom

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

@@ -0,0 +1,59 @@
+name: Bug Report
+description: Create a report to help us improve
+title: "Bug: "
+
+body:
+  - type: markdown
+    attributes:
+      value: Please fill this form to report the bug you encoutered on Puter
+  - type: textarea
+    id: description
+    attributes:
+      label: Issue Description
+      description: Type a description of what the bug does
+    validations:
+      required: true
+  - type: textarea
+    id: reproduce
+    attributes:
+      label: Steps to reproduce
+      description: Type how we may reproduce the bug
+      placeholder: Open the menu, click that button...
+    validations:
+      required: false
+  - type: textarea
+    id: expected-behaviour
+    attributes:
+      label: Expected behaviour
+      description: Tell us what you would expect to happen if the bug wasn't there
+      placeholder: Its supposed to...
+    validations:
+      required: false
+  - type: textarea
+    id: additional-info
+    attributes:
+      label: Addition Information or Screenshots (if applicable)
+      description: You can add any additional informations, such as screenshots of the bug
+      placeholder: You can add a screenshot by clicking the image icon in the text zone
+    validations:
+      required: false
+  - type: checkboxes
+    id: deployment
+    attributes:
+      label: Deployment
+      description: Select on which deployment(s) you encountered the bug
+      options:
+        - label: Production (puter.com)
+        - Development (`npm run start`)
+        - Docker (via `docker run`)
+        - Docker (via `docker-compose`)
+      validations:
+        required: true
+  - type: input
+    id: version
+    attributes:
+      label: Puter version (if accessible)
+      description: Type the version of Puter you were using when you encountered the bug
+      placeholder: Click the profile button on the top-right, then "Settings". The version number will be printed at the bottom
+    validations:
+      required: false