From ee53925bd2d502b73b91c5d649c2e25ca63d4fc8 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 14:40:38 +0100 Subject: [PATCH 01/14] Starter for preview Signed-off-by: snipe --- .github/ISSUE_TEMPLATE | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE new file mode 100644 index 0000000000..5bd1bf86f7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE @@ -0,0 +1,68 @@ +name: Bug Report +description: File a bug report. +title: "[Bug]: " +labels: ["bug", "triage"] +projects: ["grokability/snipe-it"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: version + attributes: + label: Snipe-IT Version + description: What version of Snipe-IT are you seeing this issue on? You can find the version number in the footer of any page in Snipe-IT. + placeholder: ex. v8.3.1 - build 19577 (master) + 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: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - Other + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output from `storage/logs/laravel.log`. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: common-issues + attributes: + label: Checked Documentation + description: You have checked the [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) (where applicable). + options: + - label: I have run database migrations + required: true + - type: checkboxes + id: migrations + attributes: + label: Database Migrations + description: You have followed the documenation and run [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) (where applicable). + options: + - label: I have run database migrations + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/grokability/snipe-it/blob/master/CODE_OF_CONDUCT.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true \ No newline at end of file From 30e02544ab85dcae84c5be494e712777dcc90ea1 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 14:43:16 +0100 Subject: [PATCH 02/14] Try renaming so I can preview via https://github.com/orgs/community/discussions/7039#discussioncomment-5327083 Signed-off-by: snipe --- .github/{ISSUE_TEMPLATE => ISSUE_TEMPLATE.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ISSUE_TEMPLATE => ISSUE_TEMPLATE.yml} (100%) diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE.yml similarity index 100% rename from .github/ISSUE_TEMPLATE rename to .github/ISSUE_TEMPLATE.yml From d535e23da092c6acc21650290a70d3c21ff70d80 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 14:51:33 +0100 Subject: [PATCH 03/14] More template tweaks Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 5bd1bf86f7..559658629f 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -45,19 +45,15 @@ body: - type: checkboxes id: common-issues attributes: - label: Checked Documentation - description: You have checked the [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) (where applicable). + label: Common Issues + description: Most bugs are documentated here or in the documentation. Please make sure you have done the following before submitting your issue. options: - - label: I have run database migrations + - label: I have searched this repo for existing issues + required: true + - label: I searched the official Snipe-IT documentation and have checked the [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) (where applicable) + required: true + - label: I have followed the documentation and run [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) (where applicable). required: true - - type: checkboxes - id: migrations - attributes: - label: Database Migrations - description: You have followed the documenation and run [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) (where applicable). - options: - - label: I have run database migrations - required: true - type: checkboxes id: terms attributes: From 4857c19eb6c253c1d373a593b3e836f3cf763a8c Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:02:07 +0100 Subject: [PATCH 04/14] More tweaks Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 559658629f..3d4b1e6e99 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -16,6 +16,25 @@ body: placeholder: ex. v8.3.1 - build 19577 (master) validations: required: true + - type: input + id: db-version + attributes: + label: MySQL/MariaDB version + description: What database are you using, and what version? + placeholder: ex. MySQL 5.7 + validations: + required: true + - type: dropdown + id: install-method + attributes: + label: How did you install Snipe-IT? + multiple: false + options: + - Git install + - Manual install (downloading zip/tar.gz) + - Docker + - `install.sh` + - Other - type: textarea id: what-happened attributes: @@ -37,19 +56,27 @@ body: - Microsoft Edge - Other - type: textarea - id: logs + id: server-logs attributes: - label: Relevant log output + label: Application logs output description: Please copy and paste any relevant log output from `storage/logs/laravel.log`. This will be automatically formatted into code, so no need for backticks. render: shell + - type: textarea + id: browser-logs + attributes: + label: Browser console logs + description: Please copy and paste any relevant log output your browser console. This will be automatically formatted into code, so no need for backticks. + render: shell - type: checkboxes id: common-issues attributes: label: Common Issues - description: Most bugs are documentated here or in the documentation. Please make sure you have done the following before submitting your issue. + description: Most bugs are documented here or in the official Snipe-IT documentation. Please make sure you have done the following before submitting your issue. options: - label: I have searched this repo for existing issues required: true + - label: My `APP_URL` is set correctly in my `.env` file (including `http` or `https` and no trailing slash) + required: true - label: I searched the official Snipe-IT documentation and have checked the [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) (where applicable) required: true - label: I have followed the documentation and run [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) (where applicable). From 69ffd63ca61ecfacbe6632105d0b62db77c6c49f Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:02:50 +0100 Subject: [PATCH 05/14] Removed backticks Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 3d4b1e6e99..249940194a 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -33,7 +33,7 @@ body: - Git install - Manual install (downloading zip/tar.gz) - Docker - - `install.sh` + - install.sh - Other - type: textarea id: what-happened From 7d32b1a7242da9087764f9dc159d188d48c2d3ff Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:05:27 +0100 Subject: [PATCH 06/14] God I hate YAML Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 249940194a..0e7033050d 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -33,7 +33,7 @@ body: - Git install - Manual install (downloading zip/tar.gz) - Docker - - install.sh + - `install.sh` - Other - type: textarea id: what-happened @@ -56,17 +56,11 @@ body: - Microsoft Edge - Other - type: textarea - id: server-logs + id: logs attributes: - label: Application logs output + label: Relevant log output description: Please copy and paste any relevant log output from `storage/logs/laravel.log`. This will be automatically formatted into code, so no need for backticks. render: shell - - type: textarea - id: browser-logs - attributes: - label: Browser console logs - description: Please copy and paste any relevant log output your browser console. This will be automatically formatted into code, so no need for backticks. - render: shell - type: checkboxes id: common-issues attributes: From 54c8ae41cccc84170bdd01f2925c8732552329f6 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:06:03 +0100 Subject: [PATCH 07/14] Still hate YAML Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 0e7033050d..b5f6f47066 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -33,7 +33,7 @@ body: - Git install - Manual install (downloading zip/tar.gz) - Docker - - `install.sh` + - install.sh - Other - type: textarea id: what-happened From 90b84451d866ca6f57637fa9b6878a2b7e8aa20a Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:07:04 +0100 Subject: [PATCH 08/14] Fixed indenting Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index b5f6f47066..842298b003 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -27,14 +27,13 @@ body: - type: dropdown id: install-method attributes: - label: How did you install Snipe-IT? - multiple: false - options: - - Git install - - Manual install (downloading zip/tar.gz) - - Docker - - install.sh - - Other + label: How did you install Snipe-IT? + options: + - Git install + - Manual install (downloading zip/tar.gz) + - Docker + - install.sh + - Other - type: textarea id: what-happened attributes: From 84753aa13f676f6f5cf3cae90b105f9982349ff7 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:08:37 +0100 Subject: [PATCH 09/14] Added browser console Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 842298b003..99840f14a3 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -55,11 +55,17 @@ body: - Microsoft Edge - Other - type: textarea - id: logs + id: server-logs attributes: - label: Relevant log output + label: Application output description: Please copy and paste any relevant log output from `storage/logs/laravel.log`. This will be automatically formatted into code, so no need for backticks. render: shell + - type: textarea + id: browser-logs + attributes: + label: Browser console output + description: Please copy and paste any relevant log output from your browser console. This will be automatically formatted into code, so no need for backticks. + render: shell - type: checkboxes id: common-issues attributes: From 3b8c8b3af9dc21abd7d6bd85ab84a5824924aa66 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:12:38 +0100 Subject: [PATCH 10/14] Nicer markdown Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 99840f14a3..0301ef726e 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -1,7 +1,6 @@ name: Bug Report description: File a bug report. title: "[Bug]: " -labels: ["bug", "triage"] projects: ["grokability/snipe-it"] body: - type: markdown @@ -70,15 +69,15 @@ body: id: common-issues attributes: label: Common Issues - description: Most bugs are documented here or in the official Snipe-IT documentation. Please make sure you have done the following before submitting your issue. + description: Most bugs are documented here or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). Please make sure you have done the following before submitting your issue. options: - label: I have searched this repo for existing issues required: true - - label: My `APP_URL` is set correctly in my `.env` file (including `http` or `https` and no trailing slash) + - label: My APP_URL is set correctly in my .env file (including http or https and no trailing slash) required: true - - label: I searched the official Snipe-IT documentation and have checked the [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) (where applicable) + - label: I searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable) required: true - - label: I have followed the documentation and run [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) (where applicable). + - label: I have followed the documentation and run database migrations (where applicable). required: true - type: checkboxes id: terms From bbddf5f95bd1ba11160123f4e2207ba2425f8d80 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:15:09 +0100 Subject: [PATCH 11/14] Still a few more tweaks Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 0301ef726e..c49efa743f 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -2,6 +2,7 @@ name: Bug Report description: File a bug report. title: "[Bug]: " projects: ["grokability/snipe-it"] +type: bug body: - type: markdown attributes: @@ -56,7 +57,7 @@ body: - type: textarea id: server-logs attributes: - label: Application output + label: Application log output description: Please copy and paste any relevant log output from `storage/logs/laravel.log`. This will be automatically formatted into code, so no need for backticks. render: shell - type: textarea @@ -69,7 +70,7 @@ body: id: common-issues attributes: label: Common Issues - description: Most bugs are documented here or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). Please make sure you have done the following before submitting your issue. + description: Most issues are documented in the [Snipe-IT repository's issues](https://github.com/grokability/snipe-it/issues) or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). Please make sure you have done the following before submitting your issue. options: - label: I have searched this repo for existing issues required: true From 0d3c8678d8271c63523acd6c4b20d5791a89bb27 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:17:16 +0100 Subject: [PATCH 12/14] Moved text Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index c49efa743f..6b979df76c 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -7,7 +7,7 @@ body: - type: markdown attributes: value: | - Thanks for taking the time to fill out this bug report! + Thanks for taking the time to fill out this bug report! Most issues are documented in the [Snipe-IT repository's issues](https://github.com/grokability/snipe-it/issues) or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). - type: input id: version attributes: @@ -70,15 +70,15 @@ body: id: common-issues attributes: label: Common Issues - description: Most issues are documented in the [Snipe-IT repository's issues](https://github.com/grokability/snipe-it/issues) or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). Please make sure you have done the following before submitting your issue. + description: Please make sure you have done the following before submitting your issue. options: - - label: I have searched this repo for existing issues + - label: I have searched this repo for existing issues related to my issue (including closed issues) required: true - label: My APP_URL is set correctly in my .env file (including http or https and no trailing slash) required: true - label: I searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable) required: true - - label: I have followed the documentation and run database migrations (where applicable). + - label: I have run database migrations (where applicable). required: true - type: checkboxes id: terms From eeaec471f0b6ae30a548a95561da614c0b263fa8 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:19:29 +0100 Subject: [PATCH 13/14] Dunno if this will work Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 6b979df76c..c04f624e40 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -7,7 +7,13 @@ body: - type: markdown attributes: value: | - Thanks for taking the time to fill out this bug report! Most issues are documented in the [Snipe-IT repository's issues](https://github.com/grokability/snipe-it/issues) or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to `.env` misconfiguration, [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/), or [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations). + Thanks for taking the time to fill out this bug report! Most issues are documented in the [Snipe-IT repository's issues](https://github.com/grokability/snipe-it/issues) or in the official [Common Issues section of the Documentation](https://snipe-it.readme.io/docs/common-issues#/) and are due to the following: + + - `.env` misconfiguration + - [Server Permissions](https://snipe-it.readme.io/docs/debugging-permissions#/) + - [Database Migrations](https://snipe-it.readme.io/docs/database-issues#run-migrations) + + Please make sure you've checked these resources before submitting a new issue. - type: input id: version attributes: From c1b4ba1f8589d5d691d6df5cca3da64b8131a230 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 10 Sep 2025 15:20:27 +0100 Subject: [PATCH 14/14] Last one for now Signed-off-by: snipe --- .github/ISSUE_TEMPLATE.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index c04f624e40..a390fd3b72 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -82,7 +82,7 @@ body: required: true - label: My APP_URL is set correctly in my .env file (including http or https and no trailing slash) required: true - - label: I searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable) + - label: I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable) required: true - label: I have run database migrations (where applicable). required: true