docs: refine GitHub issue templates
[e-mobility-charging-stations-simulator.git] / .github / ISSUE_TEMPLATE / bug_report.yml
index dd821855bb0388711a2ed601138951d43daa8903..8ef0a63cc21422cb0aeaf22a58acff64441e44bd 100644 (file)
@@ -17,24 +17,41 @@ body:
       label: Duplicate issue
       options:
         - label: I've searched for any related issues and avoided creating a duplicate issue.
-          required: true
+    validations:
+      required: true
+  - type: dropdown
+    attributes:
+      label: Component
+      description: The component of the simulator that the bug is related to.
+      options:
+        - Simulator
+        - Web UI
+      default: 0
+    validations:
+      required: true
   - type: textarea
     attributes:
       label: Description
       description: Description of the bug.
       placeholder: |
         - Please include error outputs in the 'Actual result' input field from 'pnpm start:dev', if any
+    validations:
+      required: true
   - type: input
     attributes:
-      label: e-mobility-charging-stations-simulator version
+      label: version
   - type: input
     attributes:
       label: Node.js version
       description: Output of `node -v`.
+    validations:
+      required: true
   - type: textarea
     attributes:
       label: System
       description: Output of `npx --yes envinfo --system`.
+    validations:
+      required: true
   - type: textarea
     attributes:
       label: Expected result