Skip to content

Node.js based forum software built for the modern web

Use new form issue templates (#10720)

Opliko97baa8f2f73d
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index 8ef171106e..0000000000
--- a/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,32 +0,0 @@
-<!--
- == Github Issues are for bug reports and feature requests only ==
- == Please visit https://community.nodebb.org for other support ==
- == Found a security exploit? Please email us at [email protected] instead for immediate attention ==
- == → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ==
--->
-
-<!-- ++ Please include the following information when submitting a bug report ++ -->
-
-- **NodeBB version:**
-- **NodeBB git hash:**
-- **NodeJS version:**
-<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->
-- **Installed NodeBB Plugins:**
-<!-- (to find installed plugins run ./nodebb plugins) -->
-- **Database type:** mongo, redis, or postgres
-- **Database version:**
-<!-- `mongod --version`, `redis-server --version`, or `postgres --version` -->
-- **Exact steps to cause this issue:**
-<!--
- 1. First I did this...
- 2. Then, I clicked on this item...
-
- A quick note: MP4 and MOV formatted video files are now allowed to be uploaded to GH.
- Please upload if reproduction steps are hard to describe or reproduce reliably.
--->
-- **What you expected:**
-<!-- e.g. I expected *abc* to *xyz* -->
-- **What happened instead:**
-<!-- e.g. Instead, I got *zyx* and NodeBB set fire to my house -->
-
-<!-- Thank you! -->
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 0000000000..f8faf31515
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,81 @@
+name: Bug Report
+description: File a bug report
+labels: ["bug"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Github Issues are for bug reports and feature requests only
+ Please visit https://community.nodebb.org for other support
+ Found a security exploit? Please email us at [email protected] instead for immediate attention
+ ### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
+ - type: input
+ attributes:
+ label: NodeBB version
+ placeholder: e.g. v2.2.0
+ - type: input
+ attributes:
+ label: NodeBB git hash
+ description: to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory
+ placeholder: e.g. 783250ee6f8c51cdc243ce3b8d9f1a080517247e
+ - type: input
+ attributes:
+ label: NodeJS version
+ placeholder: e.g. v16.15.1
+ - type: textarea
+ attributes:
+ label: Installed NodeBB plugins
+ description: to find installed plugins run `./nodebb plugins`
+ placeholder: |
+ e.g.
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, enabled)
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, disabled)
+ * [email protected] (installed, enabled)
+ - type: dropdown
+ attributes:
+ label: Database type
+ multiple: true
+ options:
+ - MongoDB
+ - Redis
+ - PostgreSQL
+ - type: input
+ attributes:
+ label: Database version
+ description: "`mongod --version`, `redis-server --version`, or `postgres --version`"
+ placeholder: e.g. v5.0.9
+ - type: textarea
+ attributes:
+ label: Exact steps to cause this issue
+ placeholder: |
+ 1. First I did this...
+ 2. Then, I clicked on this item...
+
+ A quick note: MP4 and MOV formatted video files are now allowed to be uploaded to GH.
+ Please upload if reproduction steps are hard to describe or reproduce reliably.
+ - type: textarea
+ attributes:
+ label: What you expected
+ placeholder: e.g. I expected *abc* to *xyz*
+ - type: textarea
+ attributes:
+ label: What happened instead
+ placeholder: e.g. Instead, I got *zyx* and NodeBB set fire to my house
+ - type: textarea
+ attributes:
+ label: Anything else?
+ description: Any additional context about the issue you're encountering
+ - type: markdown
+ attributes:
+ value: "**Thank you!**"
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000000..33ad7b6a26
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,9 @@
+blank_issues_enabled: true
+contact_links:
+ - name: Community Forum
+ url: https://community.nodebb.org
+ about: Github Issues are for bug reports and feature requests only, please use community forum for other support
+ - name: Security Issues
+ url: https://nodebb.org/bounty/
+ about: |
+ Found a security exploit? Please email us at [email protected] instead for immediate attention. DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
new file mode 100644
index 0000000000..382d874014
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -0,0 +1,24 @@
+name: Feature Request
+description: Suggest a new feature
+labels: ["enhancement"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Github Issues are for bug reports and feature requests only
+ Please visit https://community.nodebb.org for other support
+ Found a security exploit? Please email us at [email protected] instead for immediate attention
+ ### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
+ - type: textarea
+ attributes:
+ label: Description
+ validations:
+ required: true
+ - type: input
+ attributes:
+ label: Community forum reference
+ description: If this feature was already discussed on the Community Forum link it here
+ placeholder: https://community.nodebb.org/topic/0/example-feature-request
+ - type: markdown
+ attributes:
+ value: "**Thank you!**"