From 105ba00e7a978660e97117462276dcf26c257d6a Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Thu, 29 Jul 2021 17:46:49 +0200 Subject: [PATCH] Add issue template chooser Bringing #1324 to main branch --- .github/ISSUE_TEMPLATE.md | 48 ----------------- .github/ISSUE_TEMPLATE/1-bug-report.md | 59 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/2-support-request.md | 31 +++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .gitignore | 1 + 5 files changed, 99 insertions(+), 48 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/1-bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/2-support-request.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b2e9b503..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,48 +0,0 @@ -Please delete anything that does not apply for you! - -## Issue is about.. - - [ ] a Bug Report - - [ ] a Feature Request - - [ ] a Suggestion - - [ ] a Question - - [ ] I need help - -## Please tell us about your environment: - - - **WordPress Version:** 4.9.x - - **OS Version:** [Windows 7 | Windows 8 | Windows 10] | Linux [Distribution / Version] | MacOS [Version] | Android [Version] | iOS [Version] - - **Browser:** [ all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari ] - - **Language:** [ all | PHP | SQL | HTML | S/CSS | Javascript | jQuery | ES6 | JSON | XML] - - **Node.js & NPM Versions:** Node.js [V X.XX] | NPM [V X.XX] - - ---- - -# Issue Overview for Bugreports - -## Steps to reproduce? - -## *Who* is the bug affecting? - -## *What* is affected by this bug? - -## *When* does this occur? - -## *Where* on the platform does it happen? - -## *How* do we replicate the issue? - -## Are there any related Issues and/or PRs? - -## Screenshots / Video - -## Expected behavior - -# Todos - - * Test - * Documentation - - - -### Other Comments diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md new file mode 100644 index 00000000..5e92757f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.md @@ -0,0 +1,59 @@ +--- +name: 'Bug report' +about: 'Create a report to help us improve' +title: '' +labels: 'bug' +assignees: '' + +--- + + + +### The Bug + +**Describe the bug** +A clear and concise description of what the bug is. + + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots / Videos** +If applicable, add screenshots/videos to help explain your problem. + +### The Environment + + +- **WordPress Version:** [ 5.7.x | 5.8.x ] +- **OS Version:** [ Windows 7 | Windows 8 | Windows 10 ] | Linux [Distribution / Version] | MacOS [Version] | Android [Version] | iOS [Version] +- **Browser:** [ all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari ] +- **Language:** [ all | PHP | SQL | HTML | S/CSS | Javascript | jQuery | ES6 | JSON | XML ] +- **Node.js & NPM Versions:** Node.js [V X.XX] | NPM [V X.XX] + +### Additional context + diff --git a/.github/ISSUE_TEMPLATE/2-support-request.md b/.github/ISSUE_TEMPLATE/2-support-request.md new file mode 100644 index 00000000..eaa85d09 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-support-request.md @@ -0,0 +1,31 @@ +--- +name: 'Support request' +about: 'Ask for help' +title: '' +labels: 'Help wanted!' +assignees: '' + +--- + + + +**Describe the problem** +A clear and concise description of the problem. + +**Screenshots / Videos** +If applicable, add screenshots/videos to help explain your problem. + +**Code** +If applicable, provide code to help explain your problem. + +**Additional context** +Add any other context about the problem here (e.g. related issues). diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..535f55f7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Ask a Question + url: https://github.com/understrap/understrap/discussions/new?category=q-a + about: Please ask your question in the discussion forum of this repository. + - name: Feature Requests / Suggestion + url: https://github.com/understrap/understrap-roadmap/issues + about: Please submit it to our public roadmap repository. diff --git a/.gitignore b/.gitignore index e34ace55..1c6561a3 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ !.browserslist !.editorconfig !.gitattributes +!.github !.gitignore !.jscsrc !.jshintignore