docs: refine GitHub issue templates
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Mar 2024 19:24:36 +0000 (20:24 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Mar 2024 19:24:36 +0000 (20:24 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/ISSUE_TEMPLATE/bug_report.yml
.github/ISSUE_TEMPLATE/feature_request.yml
ui/web/package.json
ui/web/sonar-project.properties

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
index 09e61b0a6fae0aa40c1e2d5588ab78d5701a8339..7554e292882dc0810849a2714b51594338eefa20 100644 (file)
@@ -17,7 +17,18 @@ 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 feature is related to.
+      options:
+        - Simulator
+        - Web UI
+      default: 0
+    validations:
+      required: true
   - type: textarea
     attributes:
       label: Description
@@ -25,6 +36,8 @@ body:
       placeholder: |
         - If your feature request is related to a problem, please describe it
         - If you have solutions in mind, please describe them
+    validations:
+      required: true
   - type: textarea
     attributes:
       label: Attachments
index 94e75b397e54155d7428c119bea7719e64abf6f5..70f1354abad2fbffdab5c2c5994bc8f479ad0457 100644 (file)
@@ -1,7 +1,7 @@
 {
   "$schema": "https://json.schemastore.org/package",
   "name": "webui",
-  "version": "0.2.0",
+  "version": "0.3.0",
   "readme": "README.md",
   "engines": {
     "node": ">=18.0.0",
@@ -65,5 +65,5 @@
     "vite": "^5.1.4",
     "vitest": "^1.3.1"
   },
-  "_id": "webui@0.2.0"
+  "_id": "webui@0.3.0"
 }
index f614a852bf4e0d21506fb2b1af04a65146445f78..77ba547c10079e20c78068544f32c26cf6e3346a 100644 (file)
@@ -3,7 +3,7 @@ sonar.organization=sap-1
 
 # This is the name and version displayed in the SonarCloud UI.
 sonar.projectName=e-mobility-charging-stations-simulator-webui
-sonar.projectVersion=0.2.0
+sonar.projectVersion=0.3.0
 
 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
 sonar.sources=src