From aedf7c9a2252b5a33926cad346a5c0e310d860b0 Mon Sep 17 00:00:00 2001 From: IceToast Date: Thu, 2 Feb 2023 15:18:29 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Use=20better=20issue=20temp?= =?UTF-8?q?lates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/---bug-report.md | 38 ----------------- .github/ISSUE_TEMPLATE/---feature-request.md | 31 -------------- .github/ISSUE_TEMPLATE/bug.yml | 43 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature.yml | 24 +++++++++++ 4 files changed, 67 insertions(+), 69 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/---bug-report.md delete mode 100644 .github/ISSUE_TEMPLATE/---feature-request.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md deleted file mode 100644 index 6ffacd64..00000000 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: "\U0001F41B Bug report" -about: Create a report to help us improve -title: '' -labels: bug -assignees: RamonRobben, AVMG20 - ---- - -**Describe the bug 🐛** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md deleted file mode 100644 index e548e9e0..00000000 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: "\U0001F680 Feature request" -about: Suggest a feature or idea for this project -title: "[feature] " -labels: enhancement -assignees: RamonRobben, AVMG20 - ---- - -# 🚀 Feature Request - -### Is your proposal related to a problem? - -*Provide a clear and concise description of what the problem is. -For example, "I can't change x and it makes me have to do manual work"* - -(Write your answer here.) - -### Describe the solution you'd like - -*Provide a clear and concise description of what you want to happen. -For Example, "Automate the changing of x so I don't have to do it manually"* - -(Describe your proposed solution here.) - -### Additional context - -*Is there anything else you can add about the proposal? -You might want to link to related issues here, if you haven't already.* - -(Write your answer here.) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..24b38f4f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,43 @@ +name: "\U0001F41B Bug report" +description: Create a report to help us improve +title: "[Bug]: " +labels: ["bug"] +body: + - type: textarea + id: what-happened + attributes: + label: What is your request about? + description: | + Provide a clear description of what the problem is. + validations: + required: true + - type: dropdown + id: version + attributes: + label: Branch + description: What branch are you on? + multiple: false + options: + - "main" + - "development" + validations: + required: true + - type: textarea + id: solution + attributes: + label: Solution idea + description: | + Provide a clear description of how you want this bug to be fixed (Optional) + validations: + required: false + - type: textarea + id: controlpanel-logs + attributes: + label: Controlpanel Logs + description: Please copy and paste your laravel-log output. You may also provide a link to it using the following command `tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99` + render: Shell + - type: textarea + id: additional-info + attributes: + label: Additional Info + description: Anything else that could be used to narrow down the issue, like your config. diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..1a174d1c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,24 @@ +name: "\U0001F680 Feature request" +description: Suggest a feature or idea for this project +title: "[Feature] " +labels: ["enhancement"] +body: + - type: textarea + id: feature-description + attributes: + label: Feature Description + description: Provide a clear description of what your idea is all about, what it tries to solve and why it should be implemented. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Solution Idea + description: Provide a clear description how the idea should be implemented and why. + validations: + required: true + - type: textarea + id: additional-info + attributes: + label: Additional Info + description: Anything else that could be used to implement your idea.