From 2c9dea2d76b3c8b3ae453d001e05ca6eb93d973b Mon Sep 17 00:00:00 2001 From: Marvin Beckers Date: Thu, 9 Jan 2025 10:48:53 +0100 Subject: [PATCH] Add GitHub issue templates for bugs and features On-behalf-of: SAP Signed-off-by: Marvin Beckers --- .github/ISSUE_TEMPLATE/bug_report.yaml | 42 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yaml | 48 +++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..e836356 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,42 @@ +name: Bug Report +description: Create a report to help us improve +title: "bug: " +labels: + - kind/bug +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: Please provide a clear and concise description of the bug. + placeholder: | + Add logs and screenshots if any. + validations: + required: true + + - type: textarea + id: reproducing + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. Scroll down to '...' + 4. See the error + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Behaviour + description: A clear and concise description of what you expected to happen. + validations: + required: true + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 0000000..2cedc7e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,48 @@ +name: Feature Request +description: Suggest an idea for this project +title: "feature: " +labels: + - kind/feature +body: + - type: textarea + id: problem + attributes: + label: Feature Description + description: Is your feature request related to a problem? A clear and concise description of what the problem is. + placeholder: I'm always frustrated when [...] + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: A clear and consise description of what you want to happen. + placeholder: We can do [...] + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternative Solutions + description: A clear and consise description of any alternative solutions or features that you've considered. + placeholder: I think another approach would be [...] + validations: + required: false + + - type: checkboxes + id: contribute + attributes: + label: Want to contribute? + options: + - label: I would like to work on this issue. + required: false + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Add any other context or screenshots about the feature request here. + validations: + required: false