From df4e06f192fad0610c1f9d17b0c07bd7e149cde7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Snorre=20S=C3=A6ther?=
<112980079+Snorre98@users.noreply.github.com>
Date: Thu, 19 Sep 2024 22:34:57 +0200
Subject: [PATCH] 1386 create issue forms (#1387)
---
.github/ISSUE_TEMPLATE/1-feature.yml | 55 ++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/2-bug.yml | 59 ++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/1-feature.yml
create mode 100644 .github/ISSUE_TEMPLATE/2-bug.yml
diff --git a/.github/ISSUE_TEMPLATE/1-feature.yml b/.github/ISSUE_TEMPLATE/1-feature.yml
new file mode 100644
index 000000000..d4f7d4607
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/1-feature.yml
@@ -0,0 +1,55 @@
+name: 🚀 Feature Request
+description: Suggest an idea for this project
+title: "[FEATURE]
"
+labels: ["feature"]
+body:
+- type: checkboxes
+ attributes:
+ label: 👀 Is there an existing feature request for this?
+ description: Please search to see if a feature request already exists for the feature you are suggesting.
+ options:
+ - label: I have searched the existing feature requests
+ required: true
+- type: textarea
+ attributes:
+ label: 🌟 Feature statement
+ description: What is your feature request? Please describe.
+ placeholder: A clear and concise description of what the feature is.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: 👨👩👦 Is the feature related to some other issue or PR?
+ description: Pleas give the isse or PR-number.
+ placeholder: "#issue-number" or "#PR-number"
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: 💡 Proposed Solution
+ description: Describe the solution you'd like
+ placeholder: A clear and concise description of what you want to happen.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: 🔦 Additional Context
+ description: Add any other context or screenshots about the feature request here.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: 🗺️ Where on Samfundet4 do you want the feature?
+ description: Pleas give a file, or general "area" of Samfundet4
+ validations:
+ required: true
+- type: dropdown
+ attributes:
+ label: Priority
+ description: How important is this feature to you?
+ options:
+ - Nice to have
+ - Important
+ - Critical
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/2-bug.yml b/.github/ISSUE_TEMPLATE/2-bug.yml
new file mode 100644
index 000000000..2a5d3bcf0
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/2-bug.yml
@@ -0,0 +1,59 @@
+name: 🐞 Bug
+description: File a bug/issue
+title: "[BUG] "
+labels: ["Bug"]
+body:
+- type: checkboxes
+ attributes:
+ label: 👀 Is there an existing issue for this?
+ description: Please search to see if an issue already exists for the bug you encountered.
+ options:
+ - label: I have searched the existing issues
+ required: true
+- type: textarea
+ attributes:
+ label: 🚫 Current Behavior
+ description: A concise description of what you're experiencing.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: ✅ Expected Behavior
+ description: A concise description of what you expected to happen.
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: 🧩 Steps To Reproduce
+ description: Steps to reproduce the behavior.
+ placeholder: |
+ 1. In this environment...
+ 1. With this config...
+ 1. Run '...'
+ 1. See error...
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: 🐼 Environment
+ description: |
+ examples:
+ - **OS**: Ubuntu 20.04
+ - **Node**: 13.14.0
+ - **npm**: 7.6.3
+ value: |
+ - OS:
+ - Node:
+ - npm:
+ render: markdown
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: 🦮 Anything else?
+ description: |
+ Links? References? Anything that will give us more context about the issue you are encountering!
+
+ Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
+ validations:
+ required: true