From 37b8c881a8809ffd8b192afec9f336a798fa8eb2 Mon Sep 17 00:00:00 2001
From: tposejank <81495861+tposejank@users.noreply.github.com>
Date: Mon, 17 Jun 2024 01:06:14 -0400
Subject: [PATCH] Fulfill requests & new crash template

---
 .github/ISSUE_TEMPLATE/bug.yml                |  4 +-
 .github/ISSUE_TEMPLATE/crash.yml              | 69 +++++++++++++++++++
 .github/ISSUE_TEMPLATE/enhancement.yml        |  2 +-
 .github/PULL_REQUEST_TEMPLATE/bug.yml         |  4 +-
 .github/PULL_REQUEST_TEMPLATE/enhancement.yml |  4 +-
 5 files changed, 76 insertions(+), 7 deletions(-)
 create mode 100644 .github/ISSUE_TEMPLATE/crash.yml

diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index 457bf11e1..ffbc02fbc 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -1,6 +1,6 @@
 name: Bug Report
 description: Report a bug or an issue in the game
-labels: ["bug"]
+labels: ["type: minor bug", "status: pending triage"]
 title: "Bug Report: "
 body:
   - type: checkboxes
@@ -36,7 +36,7 @@ body:
     attributes:
       label: Version
       description: What version were you using?
-      placeholder: ex. 0.4.0
+      placeholder: ex. 0.4.1
     validations:
       required: true
 
diff --git a/.github/ISSUE_TEMPLATE/crash.yml b/.github/ISSUE_TEMPLATE/crash.yml
new file mode 100644
index 000000000..7c160244d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/crash.yml
@@ -0,0 +1,69 @@
+name: Crash Report
+description: Report a crash that occurred while playing.
+labels: ["type: major bug", "status: pending triage"]
+title: "Crash: "
+body:
+  - type: checkboxes
+    attributes:
+      label: Issue Checklist
+      options:
+        - label: I have properly named the issue
+        - label: I looked in issues/discussions, if it has been previously reported
+
+  - type: dropdown
+    attributes:
+      label: What platform are you using?
+      options:
+        - Itch.io - Windows
+        - Itch.io - MacOS
+        - Itch.io - Linux
+        - Newgrounds (Web)
+    validations:
+      required: true
+
+  - type: dropdown
+    attributes:
+      label: If you were playing on a browser, which one were you using?
+      options:
+        - Google Chrome
+        - Microsoft Edge
+        - Firefox
+        - Opera
+        - Safari
+        - Other (Specify below)
+
+  - type: input
+    attributes:
+      label: Version
+      description: What version were you using?
+      placeholder: ex. 0.4.1
+    validations:
+      required: true
+
+  - type: markdown
+    attributes:
+      value: "## Describe the issue."
+
+  - type: markdown
+    attributes:
+      value: "### Please do not report issues from other engines. These must be reported in their repositories."
+
+  - type: markdown
+    attributes:
+      value: "#### Provide as many details as you can."
+
+  - type: textarea
+    attributes:
+      label: Context (Provide images, videos, etc. of the crash happening)
+
+  - type: textarea
+    attributes:
+      label: Steps to reproduce
+    validations:
+      required: true
+
+  - type: textarea
+    attributes:
+      label: Crash Logs (can be found in the crash folder)
+    validations:
+      required: true
diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml
index 29c7e5669..327a91fec 100644
--- a/.github/ISSUE_TEMPLATE/enhancement.yml
+++ b/.github/ISSUE_TEMPLATE/enhancement.yml
@@ -1,6 +1,6 @@
 name: Enhancement
 description: Suggest a new feature
-labels: ["enhancement"]
+labels: ["type: enhancement", "status: pending triage"]
 title: "Enhancement: "
 body:
   - type: checkboxes
diff --git a/.github/PULL_REQUEST_TEMPLATE/bug.yml b/.github/PULL_REQUEST_TEMPLATE/bug.yml
index c8aa2fcb3..ca17d0168 100644
--- a/.github/PULL_REQUEST_TEMPLATE/bug.yml
+++ b/.github/PULL_REQUEST_TEMPLATE/bug.yml
@@ -1,6 +1,6 @@
 name: Bug Fix
 description: Fix a bug or critical performance issue
-labels: ["bug"]
+labels: ["type: minor bug", "status: pending triage"]
 title: "Bug Fix: "
 body:
   - type: checkboxes
@@ -8,7 +8,7 @@ body:
       label: Issue Checklist
       options:
         - label: I have checked if this PR isn't a duplicate
-        
+
   - type: textarea
     attributes:
       label: Does this PR fix any issues? Please link them below if so.
diff --git a/.github/PULL_REQUEST_TEMPLATE/enhancement.yml b/.github/PULL_REQUEST_TEMPLATE/enhancement.yml
index 57186b980..c39bd3e4a 100644
--- a/.github/PULL_REQUEST_TEMPLATE/enhancement.yml
+++ b/.github/PULL_REQUEST_TEMPLATE/enhancement.yml
@@ -1,6 +1,6 @@
 name: Enhancement
 description: Add a new feature
-labels: ["enhancement"]
+labels: ["type: enhancement", "status: pending triage"]
 title: "Enhancement: "
 body:
   - type: checkboxes
@@ -8,7 +8,7 @@ body:
       label: Issue Checklist
       options:
         - label: I have checked if this PR isn't a duplicate
-        
+
   - type: textarea
     attributes:
       label: Does this PR fix any issues? Please link them below if so.