From cb983103cb1956fcb57400ba2d76d2774d1e0308 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 13 Oct 2021 18:40:48 +0800 Subject: [PATCH] chore: use issue form (#921) --- .github/ISSUE_TEMPLATE/bug-report-bridge.yml | 49 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug-report-nuxt2.md | 38 --------------- .github/ISSUE_TEMPLATE/bug-report-nuxt3.md | 38 --------------- .github/ISSUE_TEMPLATE/bug-report-nuxt3.yml | 49 ++++++++++++++++++++ 4 files changed, 98 insertions(+), 76 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report-bridge.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-nuxt2.md delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-nuxt3.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report-nuxt3.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report-bridge.yml b/.github/ISSUE_TEMPLATE/bug-report-bridge.yml new file mode 100644 index 0000000000..d1a413030f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-bridge.yml @@ -0,0 +1,49 @@ +name: "\U0001F41E Bug report (Nuxt Bridge)" +description: Create a report to help us improve Nuxt Bridge +labels: [bug, bridge] +body: + - type: markdown + attributes: + value: | + Please carefully read the contribution docs before creating a bug report + 👉 https://v3.nuxtjs.org/community/reporting-bugs + + Please use the code sandbox template below to create a minimal reproduction + 👉 https://codesandbox.io/s/github/nuxt/starter/tree/bridge-codesandbox + - type: textarea + id: bug-env + attributes: + label: Environment + description: You can use `npx nuxi info` to fill this section + placeholder: Environment + validations: + required: true + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! + placeholder: Bug description + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: Please provide a link to a repo that can reproduce the problem you ran into. A [minimal reproduction](https://v3.nuxtjs.org/community/reporting-bugs#create-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. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided after we might close it. + placeholder: Reproduction + validations: + required: true + - type: textarea + id: additonal + attributes: + label: Additional context + description: If applicable, add any other context about the problem here` + - type: textarea + id: logs + attributes: + label: Logs + description: | + Optional if provided reproduction. Please try not to insert an image but copy paste the log text. + render: shell + diff --git a/.github/ISSUE_TEMPLATE/bug-report-nuxt2.md b/.github/ISSUE_TEMPLATE/bug-report-nuxt2.md deleted file mode 100644 index 91bb7073f0..0000000000 --- a/.github/ISSUE_TEMPLATE/bug-report-nuxt2.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: "🐞 Bug report (Nuxt Bridge)" -about: Create a report to help us improve Nuxt Bridge -title: '' -labels: bug, bridge -assignees: '' ---- - - - -### Environment - - - -### Describe the bug and expected behavior - - - -### Steps to reproduce - - - -### Additional context - - - diff --git a/.github/ISSUE_TEMPLATE/bug-report-nuxt3.md b/.github/ISSUE_TEMPLATE/bug-report-nuxt3.md deleted file mode 100644 index 4bfc1af6d7..0000000000 --- a/.github/ISSUE_TEMPLATE/bug-report-nuxt3.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: "🐞 Bug report (Nuxt 3)" -about: Create a report to help us improve Nuxt 3 -title: '' -labels: bug, nuxt3 -assignees: '' ---- - - - -### Environment - - - -### Describe the bug and expected behavior - - - -### Steps to reproduce - - - -### Additional context - - - diff --git a/.github/ISSUE_TEMPLATE/bug-report-nuxt3.yml b/.github/ISSUE_TEMPLATE/bug-report-nuxt3.yml new file mode 100644 index 0000000000..309cedb4df --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-nuxt3.yml @@ -0,0 +1,49 @@ +name: "\U0001F41E Bug report (Nuxt 3)" +description: Create a report to help us improve Nuxt 3 +labels: [bug, nuxt3] +body: + - type: markdown + attributes: + value: | + Please carefully read the contribution docs before creating a bug report + 👉 https://v3.nuxtjs.org/community/reporting-bugs + + Please use the code sandbox template below to create a minimal reproduction + 👉 https://codesandbox.io/s/github/nuxt/starter/tree/v3-codesandbox + - type: textarea + id: bug-env + attributes: + label: Environment + description: You can use `npx nuxi info` to fill this section + placeholder: Environment + validations: + required: true + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! + placeholder: Bug description + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: Please provide a link to a repo that can reproduce the problem you ran into. A [minimal reproduction](https://v3.nuxtjs.org/community/reporting-bugs#create-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. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided we might close it. + placeholder: Reproduction + validations: + required: true + - type: textarea + id: additonal + attributes: + label: Additional context + description: If applicable, add any other context about the problem here` + - type: textarea + id: logs + attributes: + label: Logs + description: | + Optional if provided reproduction. Please try not to insert an image but copy paste the log text. + render: shell +