Browse Source

feat: ✨ Use better issue templates

IceToast 2 years ago
parent
commit
aedf7c9a22

+ 0 - 38
.github/ISSUE_TEMPLATE/---bug-report.md

@@ -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.

+ 0 - 31
.github/ISSUE_TEMPLATE/---feature-request.md

@@ -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.)

+ 43 - 0
.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.

+ 24 - 0
.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.