From e9506c96bb5db2255f832272a7122b256edb4a6f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 7 Mar 2023 14:42:55 -0500 Subject: [PATCH] chore(github): update issue templates (#26918) --- .github/ISSUE_TEMPLATE/bug_report.yml | 37 ++++++++++++++++++---- .github/ISSUE_TEMPLATE/feature_request.yml | 14 ++++++++ 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 786f1e721c..e305a482a2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,8 +1,10 @@ name: 🐛 Bug Report description: Create a report to help us improve Ionic Framework title: 'bug: ' + body: - type: checkboxes + id: prerequisites attributes: label: Prerequisites description: Please ensure you have completed all of the following. @@ -13,46 +15,67 @@ body: required: true - label: I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success. required: true - - type: checkboxes + + - type: dropdown + id: affected-versions attributes: label: Ionic Framework Version - description: Please select which versions of Ionic Framework this issue impacts. For Ionic Framework 1.x issues, please use https://github.com/ionic-team/ionic-v1. For Ionic Framework 2.x and 3.x issues, please use https://github.com/ionic-team/ionic-v3. + description: Which version(s) of Ionic Framework does this issue impact? For Ionic Framework 1.x issues, please use https://github.com/ionic-team/ionic-v1. For Ionic Framework 2.x and 3.x issues, please use https://github.com/ionic-team/ionic-v3. options: - - label: v4.x - - label: v5.x - - label: v6.x - - label: v7.x - - label: Nightly + - v4.x + - v5.x + - v6.x + - v7.x + - Nightly + multiple: true + validations: + required: true + - type: textarea + id: current-behavior attributes: label: Current Behavior description: A clear description of what the bug is and how it manifests. validations: required: true + - type: textarea + id: expected-behavior attributes: label: Expected Behavior description: A clear description of what you expected to happen. validations: required: true + - type: textarea + id: steps-to-reproduce attributes: label: Steps to Reproduce description: Please explain the steps required to duplicate this issue. + placeholder: | + 1. + 2. + 3. validations: required: true + - type: input + id: reproduction-url attributes: label: Code Reproduction URL description: Please reproduce this issue in a blank Ionic Framework starter application and provide a link to the repo. Try out our [Getting Started Wizard](https://ionicframework.com/start#basics) to quickly spin up an Ionic Framework starter app. This is the best way to ensure this issue is triaged quickly. Issues without a code reproduction may be closed if the Ionic Team cannot reproduce the issue you are reporting. placeholder: https://github.com/... + - type: textarea + id: ionic-info attributes: label: Ionic Info description: Please run `ionic info` from within your Ionic Framework project directory and paste the output below. validations: required: true + - type: textarea + id: additional-information attributes: label: Additional Information description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index d774ff2776..536ce1540c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -2,7 +2,9 @@ name: 💡 Feature Request description: Suggest an idea for Ionic Framework title: 'feat: ' body: + - type: checkboxes + id: prerequisites attributes: label: Prerequisites description: Please ensure you have completed all of the following. @@ -13,31 +15,43 @@ body: required: true - label: I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success. required: true + - type: textarea + id: description attributes: label: Describe the Feature Request description: A clear and concise description of what the feature does. validations: required: true + - type: textarea + id: use-case attributes: label: Describe the Use Case description: A clear and concise use case for what problem this feature would solve. validations: required: true + - type: textarea + id: proposed-solution attributes: label: Describe Preferred Solution description: A clear and concise description of what you how you want this feature to be added to Ionic Framework. + - type: textarea + id: alternatives-considered attributes: label: Describe Alternatives description: A clear and concise description of any alternative solutions or features you have considered. + - type: textarea + id: related-code attributes: label: Related Code description: If you are able to illustrate the feature request with an example, please provide a sample Ionic Framework application. Try out our [Getting Started Wizard](https://ionicframework.com/start#basics) to quickly spin up an Ionic Framework starter app. + - type: textarea + id: additional-information attributes: label: Additional Information description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to implement, Stack Overflow links, forum links, etc.