Procházet zdrojové kódy

Update and rename bug_report.md to bug_report.yml

Aykut Saraç před 2 roky
rodič
revize
581f3f1d87

+ 0 - 38
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,38 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG]: <Context of the issue>"
-labels: bug
-assignees: AykutSarac
-
----
-
-**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.

+ 49 - 0
.github/ISSUE_TEMPLATE/bug_report.yml

@@ -0,0 +1,49 @@
+---
+name: Bug report
+description: Create a report to help us improve
+title: "[BUG]: <Context of the issue>"
+labels: bug
+assignees: AykutSarac
+---
+  - type: textarea
+    id: description
+    attributes:
+      label: Issue description
+      description: |
+        Describe the issue in as much detail as possible.
+
+        Tip: You can attach images or log files by clicking this area to highlight it and then dragging files into it.
+      placeholder: |
+        Steps to reproduce with below code sample:
+        1. do thing
+        2. do thing in Discord client
+        3. observe behavior
+        4. see error logs below
+    validations:
+      required: true
+  - type: textarea
+    id: media
+    attributes:
+      label: Media & Screenshots
+      description: Inlude screenshots or video of reproduction as much as possible
+      render: md
+  - type: textarea
+    id: os
+    attributes:
+      label: Operating system
+      description: Which OS does your application run on?
+      value: |
+       - OS: [e.g. iOS]:
+       - Browser [e.g. chrome, safari]:
+       - Version [e.g. 22]:
+  - type: dropdown
+    id: priority
+    attributes:
+      label: Priority this issue should have
+      description: Please be realistic. If you need to elaborate on your reasoning, please use the Issue description field above.
+      options:
+        - Low (slightly annoying)
+        - Medium (should be fixed soon)
+        - High (immediate attention needed)
+    validations:
+      required: true