From 6d31a1cda9c77c2d313d42d55f2f41d2b5740865 Mon Sep 17 00:00:00 2001
From: Rich In SQL <github@codenameowl.com>
Date: Wed, 24 Aug 2022 18:11:56 +0100
Subject: [PATCH] Addition: Issue template

Issue template and configuration.
---
 .github/ISSUE_TEMPLATE/bug-report.yml | 86 +++++++++++++++++++++++++++
 .github/ISSUE_TEMPLATE/config.yml     |  5 ++
 2 files changed, 91 insertions(+)
 create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml
 create mode 100644 .github/ISSUE_TEMPLATE/config.yml

diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 000000000..02e6c4d59
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,86 @@
+name: Bug Report
+description: File a bug report also known as an issue or problem.
+title: "[Bug]: "
+labels: ["bug", "triage"]
+body:
+  - type: markdown
+    id: intro-md
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report! Please ensure you provide as much information as asked to better assist in confirming and identifying a fix for the bug report.
+  - type: dropdown
+      id: existing-issue
+      attributes:
+        label: "Verified issue does not already exist?"
+        description: "Please search to see if an issue already exists for the issue you encountered."
+        options:
+          - "I have searched and found no existing issue"
+      validations:
+        required: true
+  - type: textarea
+    id: what-happened
+    attributes:
+      label: What happened?
+      description: Also tell us, what did you expect to happen?
+      placeholder: Tell us what you see!
+      value: "A bug happened!"
+    validations:
+      required: true
+  - type: textarea
+    id: errors-received
+    attributes:
+      label: "What error did you receive?"
+      description: "If you received an error or a message on the screen, please provide that here."
+    validations:
+      required: false
+  - type: dropdown
+    id: version
+    attributes:
+      label: Version
+      description: What version of our software are you running?
+      options:
+        - 1.0.2 (Default)
+        - 1.0.3 (Edge)
+    validations:
+      required: false
+  - type: markdown
+    id: env-info
+    attributes:
+      value: "## Environment Details"
+  - type: dropdown
+    id: hosting
+    attributes:
+      label: Where are you hosting Actual?
+      description: Where are you running your instance of Actual from?
+      options:
+        - Locally via Yarn
+        - Docker
+        - Fly.io
+        - NAS
+        - Other
+    validations:
+      required: false
+  - type: dropdown
+    id: browsers
+    attributes:
+      label: What browsers are you seeing the problem on?
+      multiple: true
+      options:
+        - Firefox
+        - Chrome
+        - Safari
+        - Microsoft Edge
+        - Other
+- type: dropdown
+    id: operating-system
+    attributes:
+      label: Operating System
+      description: What version of our software are you running?
+      options:
+        - Windows 11
+        - Windows 10
+        - Linux
+        - Mobile Device
+        - Other
+    validations:
+      required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..085ec8a19
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Feature Request?
+    url: https://github.com/actualbudget/actual/discussions/new?category=ideas
+    about: Website is hosted via GitHub Discussions under actualbudget/actual
-- 
GitLab