diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 6e7debbf..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..a7c78a59 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,53 @@ +name: "\U0001F41B Bug report" +description: "Something isn't working" + +labels: ["bug"] + +body: + - type: textarea + id: environment + validations: + required: true + attributes: + label: Environment + description: You can use `npx nuxi info` to fill this section + placeholder: Environment + + - type: textarea + id: bug-description + validations: + required: true + attributes: + label: Describe the bug + description: "What isn't working? Describe the bug you've encountered." + placeholder: Bug description + + - type: textarea + id: expected-behaviour + validations: + required: true + attributes: + label: Expected behaviour + description: "What did you expect to happen? Is there a section in the docs about this?" + + - type: textarea + id: reproduction + validations: + required: false + attributes: + label: Reproduction + description: "Please provide a link to a repo that can reproduce the problem you ran into. A minimal reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem." + placeholder: Reproduction + + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context about the problem here. + + - type: textarea + id: logs + attributes: + label: Logs + description: Optional if a reproduction is provided. Please try not to insert an image but copy paste the log text. + render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..f4c28329 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +contact_links: + - name: 📚 Documentation + about: Check documentation for usage + url: https://apollo.nuxtjs.org + + - name: 💬 Discussions + url: https://github.com/nuxt-modules/apollo/discussions + about: Use discussions if you have an idea for improvement and asking questions diff --git a/.github/ISSUE_TEMPLATE/feat-request.yml b/.github/ISSUE_TEMPLATE/feat-request.yml new file mode 100644 index 00000000..13d41edf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feat-request.yml @@ -0,0 +1,28 @@ +name: "🚀 Feature request" +description: Suggest a feature +labels: ["enhancement"] +body: + - type: textarea + validations: + required: true + attributes: + label: Your use case + description: Add a description of your use case, and how this feature would help you. + placeholder: When I do [...] I would expect to be able to do [...] + + - type: textarea + validations: + required: true + attributes: + label: "The solution you'd like" + description: "Describe what you want to happen." + + - type: textarea + attributes: + label: "Possible alternatives" + description: "Have you considered any alternative solutions?" + + - type: textarea + attributes: + label: Additional information + description: Is there any other context you think would be helpful to know?