From 345628e3e40fddf337ea74f7ea6ca318edf8a054 Mon Sep 17 00:00:00 2001
From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
Date: Wed, 21 Dec 2022 01:59:51 +0000
Subject: [PATCH] issue template: switch to Jackett-style required form (#631)
---
.github/ISSUE_TEMPLATE.md | 32 --------------
.github/ISSUE_TEMPLATE/bug_report.yml | 63 +++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 8 ++++
3 files changed, 71 insertions(+), 32 deletions(-)
delete mode 100644 .github/ISSUE_TEMPLATE.md
create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index 7947788..0000000
--- a/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,32 +0,0 @@
-**Please use the search bar** at the top of the page and make sure you are not creating an already submitted issue.
-Check closed issues as well, because your issue may have already been fixed.
-
-### How to enable debug and html traces
-
-[Follow the instructions from this wiki page](https://github.com/FlareSolverr/FlareSolverr/wiki/How-to-enable-debug-and-html-trace)
-
-### Environment
-
-* **FlareSolverr version**:
-* **Last working FlareSolverr version**:
-* **Operating system**:
-* **Are you using Docker**: [yes/no]
-* **FlareSolverr User-Agent (see log traces or / endpoint)**:
-* **Are you using a proxy or VPN?** [yes/no]
-* **Are you using Captcha Solver:** [yes/no]
-* **If using captcha solver, which one:**
-* **URL to test this issue:**
-
-### Description
-
-[List steps to reproduce the error and details on what happens and what you expected to happen]
-
-### Logged Error Messages
-
-[Place any relevant error messages you noticed from the logs here.]
-
-[Make sure you attach the full logs with your personal information removed in case we need more information]
-
-### Screenshots
-
-[Place any screenshots of the issue here if needed]
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..198cdc4
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,63 @@
+name: Bug report
+description: Create a report of your issue
+body:
+- type: checkboxes
+ attributes:
+ label: Have you checked our README?
+ description: Please check the README.
+ options:
+ - label: I have checked the README
+ required: true
+- type: checkboxes
+ attributes:
+ label: Is there already an issue for your problem?
+ description: Please make sure you are not creating an already submitted Issue. Check closed issues as well, because your issue may have already been fixed.
+ options:
+ - label: I have checked older issues, open and closed
+ required: true
+- type: checkboxes
+ attributes:
+ label: Have you checked the discussions?
+ description: Please read our Discussions before submitting your issue, some wider problems may be dealt with there.
+ options:
+ - label: I have read the Discussions
+ required: true
+- type: textarea
+ attributes:
+ label: Environment
+ description: Please provide the details of the system FlareSolverr is running on.
+ value: |
+ - FlareSolverr version:
+ - Last working FlareSolverr version:
+ - Operating system:
+ - Are you using Docker: [yes/no]
+ - FlareSolverr User-Agent (see log traces or / endpoint):
+ - Are you using a proxy or VPN: [yes/no]
+ - Are you using Captcha Solver: [yes/no]
+ - If using captcha solver, which one:
+ - URL to test this issue:
+ render: markdown
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Description
+ description: List steps to reproduce the error and details on what happens and what you expected to happen.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Logged Error Messages
+ description: |
+ Place any relevant error messages you noticed from the logs here.
+ Make sure you attach the full logs with your personal information removed in case we need more information.
+ If you wish to provide debug logs, follow the instructions from this wiki page.
+ render: text
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Screenshots
+ description: Place any screenshots of the issue here if needed
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..138c80c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Requesting new features or changes
+ url: https://github.com/FlareSolverr/FlareSolverr/discussions
+ about: Please create a new discussion topic, grouped under "Ideas".
+ - name: Asking questions
+ url: https://github.com/FlareSolverr/FlareSolverr/discussions
+ about: Please create a new discussion topic, grouped under "Q&A".