From 046637160f9aa6fabbc729e27a97fc0802e2d958 Mon Sep 17 00:00:00 2001 From: David Leal Date: Wed, 21 Jul 2021 16:23:48 -0500 Subject: [PATCH] Convert all issue templates into issue forms (#764) * Convert all issue templates into issue forms Also disables blank issues and provides a `Other` issue template. * Apply suggestions from code review Co-authored-by: Thomas Bui <43018778+Thomas-Boi@users.noreply.github.com> Co-authored-by: Thomas Bui <43018778+Thomas-Boi@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug_report.md | 17 ----------- .github/ISSUE_TEMPLATE/bug_report.yml | 26 +++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 17 ----------- .github/ISSUE_TEMPLATE/feature_request.yml | 33 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/icon-request.md | 13 --------- .github/ISSUE_TEMPLATE/icon_request.yml | 26 +++++++++++++++++ .github/ISSUE_TEMPLATE/other.yml | 22 +++++++++++++++ 8 files changed, 108 insertions(+), 47 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 .github/ISSUE_TEMPLATE/icon-request.md create mode 100644 .github/ISSUE_TEMPLATE/icon_request.yml create mode 100644 .github/ISSUE_TEMPLATE/other.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c3159bc1..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Bug Report -about: Report a bug/issue that you found in the SVGs, CSS files, etc. -title: 'Bug Report: [NAME]' -labels: 'bug' -assignees: '' - ---- - -### Bug - - -### How to replicate the bug - - -### Possible Fixes/Solutions - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..b4192405 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,26 @@ +name: Bug Report +description: Report a bug/issue that you found in the SVGs, CSS files, etc. +title: '[BUG] ' +labels: [bug] +body: + - type: textarea + id: description + attributes: + label: Bug description + description: Short description of the bug that you found. Provide images/code if applicable. + validations: + required: true + - type: textarea + id: howtoreplicate + attributes: + label: Possible fixes or solutions + description: List any possible fixes/suggestions that you have in mind that could solve this issue. + validations: + required: true + - type: textarea + id: extrainformation + attributes: + label: Additional information + description: Is there anything else we should know about this bug? + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 0bca52fe..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature Request -about: Requesting a new feature or changes to an existing feature -title: 'Feature Request: [NAME]' -labels: 'enhancement' -assignees: '' - ---- - -### Problem - - -### Suggested Feature - - -### Why we should have this feature - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..397cb3df --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,33 @@ +name: Feature Request +description: Requesting a new feature or changes to an existing feature +title: '[FEATURE REQUEST] ' +labels: [enhancement] +body: + - type: textarea + id: currentproblem + attributes: + label: Problem + description: Tell us about the current problem that you face that this feature might help you with. + validations: + required: true + - type: textarea + id: suggestedfeat + attributes: + label: Suggested feature + description: Tell us about the feature that might solve the above problem. + validations: + required: true + - type: textarea + id: why + attributes: + label: Why should we have this feature? + description: List any extra benefits, other than solving your problem, that this feature will bring to the repository. If none, leave blank. + validations: + required: false + - type: textarea + id: extrainformation + attributes: + label: Additional information + description: Is there anything else we should know about this feature request? + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/icon-request.md b/.github/ISSUE_TEMPLATE/icon-request.md deleted file mode 100644 index 3592bf26..00000000 --- a/.github/ISSUE_TEMPLATE/icon-request.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: Icon Request -about: Requesting a new icon or changes to an existing icon -title: 'Icon request: [NAME]' -labels: 'request:icon' -assignees: '' ---- - -### About the icon - - -### Links - diff --git a/.github/ISSUE_TEMPLATE/icon_request.yml b/.github/ISSUE_TEMPLATE/icon_request.yml new file mode 100644 index 00000000..b12f063a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/icon_request.yml @@ -0,0 +1,26 @@ +name: Icon Request +description: Requesting a new icon or changes to an existing icon +title: 'Icon request: [NAME]' +labels: [request:icon] +body: + - type: input + id: about + attributes: + label: About the icon + description: Short description of why you think this icon belongs in our project. + validations: + required: true + - type: textarea + id: links + attributes: + label: Links and sources + description: Provide links to the icon's official website/repository/anywhere that shows what the technology is about, and its official logo. If available, also provide some resources where the icon/SVG can be found (Font Awesome, Icomoon, etc.). + validations: + required: true + - type: textarea + id: extrainformation + attributes: + label: Additional information + description: Is there anything else we should know about this icon? + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml new file mode 100644 index 00000000..92c70aa4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,22 @@ +name: Other +description: Use this for any other issues. Do not create blank issues +title: "[OTHER] " +labels: ["awaiting triage"] +body: + - type: markdown + attributes: + value: "# Other issue" + - type: textarea + id: issuedescription + attributes: + label: What would you like to share? + description: Provide a clear and concise explanation of your issue. + validations: + required: true + - type: textarea + id: extrainfo + attributes: + label: Additional information + description: Is there anything else we should know about this issue? + validations: + required: false