From 9cabc103e559d0e7403a66cc1800602943b32fcb Mon Sep 17 00:00:00 2001 From: Sven van Ginkel Date: Sat, 18 Jan 2025 10:12:28 +0100 Subject: [PATCH] Add Templates --- .github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml | 71 +++++++++++++++++++ .../ISSUE_TEMPLATE/FEATURE_REQUEST_FORM.yml | 36 ++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ 3 files changed, 115 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml create mode 100644 .github/ISSUE_TEMPLATE/FEATURE_REQUEST_FORM.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml new file mode 100644 index 0000000..b9752ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT_FORM.yml @@ -0,0 +1,71 @@ +name: Bug Report +description: Use this template to report a bug or issue. +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! You should only use this form for issues, to request a change or feature use the [feature request form](https://github.com/henrygd/beszel). + - type: checkboxes + attributes: + label: Pre-work + description: | + Before opening an issue make sure you've checked the resources below first, any issues that could have been solved by reading the docs or existing issues will be closed. + options: + - label: I have read the [docs](https://beszel.dev/guide/what-is-beszel). + required: true + - label: I have searched open and closed issues. + required: true + - type: textarea + id: description + attributes: + label: Description + description: Explain the issue you experienced, please be clear and concise. + placeholder: I went to the coffee pot and it was empty. + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected Behavior + description: In a perfect world, what should have happened? + placeholder: When I got to the coffee pot, it should have been full. + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to Reproduce + description: Describe how to reproduce the issue in repeatable steps. + placeholder: | + 1. Go to the coffee pot. + 2. Make more coffee. + 3. Pour it into a cup. + validations: + required: true + - type: dropdown + id: deployment-environment + attributes: + label: Deployment Environment + description: How did you deploy the application? + options: + - Docker Compose + - Docker Run + - Binary + default: 0 + validations: + required: true + - type: input + id: browsers + attributes: + label: What browser(s) are you seeing the problem on? + placeholder: Chrome, Firefox, Safari, etc. + validations: + required: true + - type: textarea + id: logs + attributes: + label: Logs + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST_FORM.yml b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST_FORM.yml new file mode 100644 index 0000000..dae0f2e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST_FORM.yml @@ -0,0 +1,36 @@ +name: Feature Request +description: Use this template for requesting a new feature or change. +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + You should only use this form to request a change or new feature, to report a bug or issue use the [bug report form](https://github.com/henrygd/beszel). + - type: checkboxes + attributes: + label: Pre-work + options: + - label: I have searched open and closed feature request to make sure this or similar feature request does not already exist. + required: true + - type: dropdown + id: idea-section + attributes: + label: Which part of the application does your feature belong to? + description: Select the section of the application that your feature pertains to. + options: + - Charts + - Notifications + - Metrics Collection + - Other + default: 0 + validations: + required: true + - type: textarea + id: description + attributes: + label: Description + description: Describe the solution or feature you'd like, you should also mention if this solves a problem. + placeholder: Be sure to keep it clear and concise. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..678cea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: GitHub Community Support + url: https://github.com/orgs/community/discussions + about: Please ask and answer questions here. + - name: GitHub Security Bug Bounty + url: https://bounty.github.com/ + about: Please report security vulnerabilities here.