Jelajahi Sumber

Improve issue template (#6220)

* Create bug_report.yaml

* rename

* Update bug_report_form.yaml

* delete old bug report template

* Update bug_report_form.yaml
maTh 2 tahun lalu
induk
melakukan
1ae21260bb

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

@@ -1,36 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG]"
-labels: ''
-assignees: ''
-
----
-
-**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.
-
-**Environment information (please complete the following information):**
-- Device: [e.g. iPhone6]
-- OS: [e.g. Ubuntu 20.04]
-- Browser: [e.g. Firefox 86]
-- FreshRSS version: [e.g. 1.17.1]
-- Database version: [e.g. Mysql 5.7]
-- PHP version: [e.g. PHP 7.4]
-- Installation type: [e.g. Yunohost]
-
-**Additional context**
-Add any other context about the problem here.

+ 55 - 0
.github/ISSUE_TEMPLATE/bug_report_form.yaml

@@ -0,0 +1,55 @@
+name: Bug Report
+description: Create a report to help us improve
+title: "[Bug] "
+labels: ["Bug (unconfirmed)"]
+body:
+  - type: markdown
+    attributes:
+      value: | 
+        Thanks for taking the time to fill out this bug report to help FreshRSS improve!
+  - type: textarea
+    id: description
+    attributes:
+      label: Describe the bug
+      description: "A clear and concise description of what the bug is.\n\nIf applicable, add screenshots to help explain your problem."
+    validations:
+      required: true
+  - type: textarea
+    id: reproduce
+    attributes:
+      label: To Reproduce
+      description: Steps to reproduce the behavior. (Screenshots could help to explain the steps.)
+      placeholder: "1. Go to '…'\n2. Click on '…'\n3. Scroll down to '…'\n4. See error"
+      value: "1. Go to '…'\n2. Click on '…'\n3. Scroll down to '…'\n4. See error"
+    validations:
+      required: true
+  - type: textarea
+    id: expected
+    attributes:
+      label: Expected behavior
+      description: A clear and concise description of what you expected to happen.
+    validations:
+      required: false
+  - type: input
+    id: freshRSS
+    attributes:
+      label: FreshRSS version
+      description: Which FreshRSS version is installed?
+      placeholder: e.g. 1.23.1
+    validations:
+      required: true
+  - type: textarea
+    id: environment
+    attributes:
+      label: Environment information
+      description: Please complete the following information
+      value: "- Database version: [e.g. Mysql 5.7, SQLite]\n- PHP version: [e.g. PHP 8.1]\n- Installation type: [e.g. Docker, Docker image source, git, Yunohost]\n-Web server type: [e.g. Apache, nginx]\n- Device: [e.g. iPhone13]\n- OS: [e.g. Ubuntu 22.04, Win10, MacOS14]\n- Browser: [e.g. Firefox 124]"
+    validations:
+      required: true
+  - type: textarea
+    id: context
+    attributes:
+      label: Additional context
+      description: Add any other context about the problem here.
+    validations:
+      required: false