From 7ed430ff71a022333b8f318c75de07eb47203515 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 Mar 2024 20:24:36 +0100 Subject: [PATCH] docs: refine GitHub issue templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/ISSUE_TEMPLATE/bug_report.yml | 21 +++++++++++++++++++-- .github/ISSUE_TEMPLATE/feature_request.yml | 15 ++++++++++++++- ui/web/package.json | 4 ++-- ui/web/sonar-project.properties | 2 +- 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index dd821855..8ef0a63c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 09e61b0a..7554e292 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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 diff --git a/ui/web/package.json b/ui/web/package.json index 94e75b39..70f1354a 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -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" } diff --git a/ui/web/sonar-project.properties b/ui/web/sonar-project.properties index f614a852..77ba547c 100644 --- a/ui/web/sonar-project.properties +++ b/ui/web/sonar-project.properties @@ -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 -- 2.34.1