]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: issue templates
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 9 Mar 2023 10:09:37 +0000 (11:09 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 9 Mar 2023 10:09:37 +0000 (11:09 +0100)
.github/ISSUE_TEMPLATE/bug_report.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/feature_request.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644 (file)
index 0000000..d32b08a
--- /dev/null
@@ -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)**
index ce247027275c609ff2692d9873d928588986ae94..36c8163d4f83af37cae73dee409e5e1bc268ce82 100644 (file)
@@ -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 (file)
index 0000000..3dfe01e
--- /dev/null
@@ -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).