+++ /dev/null
----
-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.
--- /dev/null
+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)**
+++ /dev/null
----
-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.
--- /dev/null
+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.