From 4dd77a7ebdf617bb3ec2bebb87e09711e6728f72 Mon Sep 17 00:00:00 2001 From: Glenn de Haan Date: Sun, 29 Sep 2024 17:33:56 +0200 Subject: [PATCH] Implemented GitHub issue forms --- .github/ISSUE_TEMPLATE/bug_report.yml | 62 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 13 +++++ .github/ISSUE_TEMPLATE/question.yml | 14 +++++ 3 files changed, 89 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..75efec9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,62 @@ +name: Report an issue with UniFi Voucher Site +description: Report an issue with UniFi Voucher Site. +labels: ["bug"] +assignees: + - glenndehaan +body: + - type: textarea + validations: + required: true + attributes: + label: The problem + description: >- + Describe the issue you are experiencing here, to communicate to the + maintainers. Tell us what you were trying to do and what happened. + + Provide a clear and concise description of what the problem is. + If you have screenshots please place them here. + - type: markdown + attributes: + value: | + ## Environment + - type: input + id: version + validations: + required: true + attributes: + label: What version of UniFi Voucher Site has the issue? + placeholder: x.x.x + description: > + Use the docker image tag, Home Assistant version or the version displayed within the logs. + - type: input + attributes: + label: What was the last working version of UniFi Voucher Site? + placeholder: x.x.x + description: > + If known, otherwise leave blank. + - type: dropdown + validations: + required: true + attributes: + label: What type of installation are you running? + description: > + This refers to the installation guide you followed here: https://github.com/glenndehaan/unifi-voucher-site#installation + options: + - Docker + - Home Assistant Add-on + - Development Version (Not Recommended) + + - type: markdown + attributes: + value: | + # Details + - type: textarea + attributes: + label: Anything in the logs that might be useful for us? + description: For example, error messages or stack traces. + render: Text + - type: textarea + attributes: + label: Additional information + description: > + If you have any additional information for us, use the field below. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..a2449d1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,13 @@ +name: Propose a feature for UniFi Voucher Site +description: Propose a feature for UniFi Voucher Site. +labels: ["enhancement"] +assignees: + - glenndehaan +body: + - type: textarea + validations: + required: true + attributes: + label: The feature + description: >- + Describe your question here. diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..4d6a8d6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,14 @@ +name: Need help with UniFi Voucher Site +description: Need help with UniFi Voucher Site. +labels: ["question"] +assignees: + - glenndehaan +body: + - type: textarea + validations: + required: true + attributes: + label: The question + description: >- + Describe your feature request here. + Tell us what would like to see developed next.