]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: move to github forms
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 16 Mar 2022 17:13:25 +0000 (18:13 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 16 Mar 2022 17:13:25 +0000 (18:13 +0100)
.github/ISSUE_TEMPLATE/bug_report.md [deleted file]
.github/ISSUE_TEMPLATE/bug_report.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/feature_request.md [deleted file]
.github/ISSUE_TEMPLATE/feature_request.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644 (file)
index ffd508a..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: ''
-assignees: ''
----
-
-### Reproduction
-
-If possible, provide a boiled down editable reproduction using a service like JSFiddle, Codepen, CodeSandbox, or a GitHub repository based on this template: https://github.com/piniajs/bug-report. A failing unit test is even better! Otherwise provide as much information as possible to reproduce the problem. You can find examples of different environments at https://github.com/piniajs?q=example&type=source and use them as a bug reproduction.
-If no reproduction is provided and the information is not enough to 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**.
-
-### 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.
-
-### Actual behavior
-
-A clear and concise description of what actually happens.
-
-### Additional information
-
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644 (file)
index 0000000..b8b39b8
--- /dev/null
@@ -0,0 +1,49 @@
+name: "\U0001F41E Bug report"
+description: Report an issue with Pinia
+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, Codepen, CodeSandbox, or a GitHub repository based on this template: https://github.com/piniajs/bug-report. A failing unit test is even better! Otherwise provide as much information as possible to reproduce the problem. You can find examples of different environments at https://github.com/piniajs?q=example&type=source and use them as a bug reproduction. If no reproduction is provided and the information is not enough to 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 log
+    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/pinia/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)**
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644 (file)
index 27a8eb2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: ''
-labels: feature request
-assignees: ''
-
----
-
-### What problem is this solving
-
-A clear and concise description of what the problem is. Ex. when using the function X we cannot do Y.
-
-### Proposed solution
-
-A clear and concise description of what you want to happen with an API proposal when applicable
-
-### Describe alternatives you've considered
-
-A clear and concise description of any alternative solutions or features you've considered.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644 (file)
index 0000000..11dbd80
--- /dev/null
@@ -0,0 +1,27 @@
+name: "\U0001F680 New feature proposal"
+description: Suggest an idea for Pinia
+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.