From: Eduardo San Martin Morote Date: Thu, 9 Mar 2023 10:09:37 +0000 (+0100) Subject: chore: issue templates X-Git-Tag: v4.2.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7aae0644ec44f3de7175f93c0ff821b9bca40ed;p=thirdparty%2Fvuejs%2Frouter.git chore: issue templates --- diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..d32b08aa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,49 @@ +name: "\U0001F41E Bug report" +description: Report an issue with Vue Router +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: reproduction + attributes: + label: Reproduction + description: "If possible, provide a boiled down editable reproduction using a service like [JSFiddle](https://jsfiddle.net/posva/3yq6ojLv), Codepen, [CodeSandbox](https://codesandbox.io/s/vue-router-4-reproduction-s1sqc), or a GitHub repository. A failing unit test is even better! Otherwise provide as much information as possible to reproduce the problem. If we can't reproduce the problem, we won't be able to give it a look **and the issue will be converted into a question and moved to discussions**." + placeholder: Reproduction + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce the bug + description: | + 1. Click on ... + 2. Check logs + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: 'A clear and concise description of what actually happens.' + validations: + required: true + - type: textarea + id: other-info + attributes: + label: Additional information + description: Add any other context about the problem here. + - type: markdown + attributes: + value: | + ## Before creating an issue make sure that: + - This hasn't been [reported before](https://github.com/vuejs/router/issues). + - The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug **with no external dependencies (e.g. Vuetify or Nuxt)** diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ce247027..36c8163d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - - name: Create new issue - url: https://new-issue.vuejs.org/?repo=vuejs/router - about: Please use the following link to create a new issue. - - name: Github Sponsors + - name: Help and Question + url: https://github.com/vuejs/router/discussions/new?category=help-and-questions + about: Ask a question or discuss about Vue Router + - name: GitHub Sponsors url: https://github.com/sponsors/posva - about: Love Vue.js? Please consider supporting us via Github Sponsors. + about: Like this project? Please consider supporting the author. - name: Open Collective url: https://opencollective.com/vuejs/donate about: Love Vue.js? Please consider supporting us via Open Collective. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..3dfe01e7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,32 @@ +name: "\U0001F680 New feature proposal" +description: Suggest an idea for Vue Router +labels: ['feature request'] +body: + - type: markdown + attributes: + value: | + Thanks for your interest in the project and taking the time to fill out this feature report! + - type: textarea + id: feature-description + attributes: + label: What problem is this solving + description: 'A clear and concise description of what the problem is. Ex. when using the function X we cannot do Y.' + validations: + required: true + - type: textarea + id: proposed-solution + attributes: + label: Proposed solution + description: 'A clear and concise description of what you want to happen with an API proposal when applicable' + validations: + required: true + - type: textarea + id: alternative + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + - type: markdown + attributes: + value: | + ## Before creating a feature request make sure that: + - This hasn't been [requested before](https://github.com/vuejs/router/issues).