chore: update issue templates

This commit is contained in:
Daniel Roe 2023-01-19 08:36:38 +00:00
parent 0db7e7b390
commit f36fb9cd05
6 changed files with 143 additions and 80 deletions

View File

@ -0,0 +1,49 @@
name: "\U0001F41E Bug report (Nuxt 2)"
description: Create a report to help us improve Nuxt
labels: ["pending triage", "2.x"]
body:
- type: markdown
attributes:
value: |
Please carefully read the contribution docs before creating a bug report
👉 https://nuxt.com/docs/community/reporting-bugs
Please use a template below to create a minimal reproduction
👉 https://stackblitz.com/github/nuxt/starter/tree/v2
👉 https://codesandbox.io/p/github/nuxt/starter/v2
- type: textarea
id: bug-env
attributes:
label: Environment
description: You can use `npx envinfo --system --npmPackages '{nuxt,@nuxt/*}' --binaries --browsers` to fill this section
placeholder: Environment
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://nuxt.com/docs/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: 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: 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-script

View File

@ -1,47 +0,0 @@
---
name: 🚨 Bug report | Bug 提交
about: Report a bug report to help us improve Nuxt.
title: ''
labels: 'bug-report'
assignees: ''
---
<!-- 💚 Thanks for your time to make Nuxt better with your feedbacks 💚
**IMPORTANT** Before reporting a bug:
- Please make sure that you have read through Nuxt documentation: https://nuxtjs.org
- If issue is related to a module please create the issue in corresponding repository
- Ensure using latest version of nuxt dependencies using `yarn upgrade nuxt` or `npm upgrade nuxt`
👍 A properly detailed bug report can save a LOT of time and help fixing issues as soon as possible.
-->
### Versions
- nuxt: <!-- ex: v2.13.0 -->
- node: <!-- ex: v12.14.0 -->
### Reproduction
<!--
Link to a minimal test case based on one of:
- A fork of https://template.nuxtjs.org
- A GitHub repository that can reproduce the bug
Without a reproduction, it is so hard to address problem :(
-->
<details open>
<summary>Additional Details</summary>
<br>
<!-- Attaching `nuxt.config`, dependencies, logs or code snippets would help to find the issue -->
</details>
### Steps to reproduce
### What is Expected?
### What is actually happening?

49
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@ -0,0 +1,49 @@
name: "\U0001F41E Bug report"
description: Create a report to help us improve Nuxt
labels: ["pending triage", "3.x"]
body:
- type: markdown
attributes:
value: |
Please carefully read the contribution docs before creating a bug report
👉 https://nuxt.com/docs/community/reporting-bugs
Please use a template below to create a minimal reproduction
👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/p/github/nuxt/starter/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: reproduction
attributes:
label: Reproduction
description: Please provide a link to a repo that can reproduce the problem you ran into. A [**minimal reproduction**](https://nuxt.com/docs/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: 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: 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-script

View File

@ -1,10 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: Issues using `@nuxt/bridge`
url: https://github.com/nuxt/framework
about: |
Please use GitHub Discussions for other issues and asking questions about Nuxt 3 and Bridge.
- name: ❗️ All other issues | 其他问题
- name: 📚 Nuxt 3 Documentation
url: https://nuxt.com/docs/
about: Check the documentation for usage of Nuxt 3
- name: 📚 Nuxt 2 Documentation
url: https://nuxtjs.org/
about: Check the documentation for usage of Nuxt 2
- name: 💬 Discussions
url: https://github.com/nuxt/nuxt.js/discussions
about: |
Please use GitHub Discussions for other issues and asking questions.
about: Use discussions if you have another issue, an idea for improvement or for asking questions.

View File

@ -1,26 +0,0 @@
---
name: 🙋 Feature request | 新功能提案
about: Suggest an idea or enhancement for Nuxt.
title: ''
labels: 'feature-request'
assignees: ''
---
<!-- 💚 Thanks for your time to make Nuxt better with your feedbacks 💚 -->
### Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. Adding some code examples would be neat! -->
### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
### Additional context
<!-- Add any other context or screenshots about the feature request here. -->

View File

@ -0,0 +1,37 @@
name: "🚀 Feature request"
description: Suggest a feature that will improve Nuxt
labels: ["pending triage"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this feature request!
Please carefully read the contribution docs before suggesting a new feature
👉 https://nuxt.com/docs/community/contribution/#creating-an-issue
- type: textarea
id: feature-description
attributes:
label: Describe the feature
description: A clear and concise description of what you think would be a helpful addition to Nuxt, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link.
placeholder: Feature description
validations:
required: true
- type: checkboxes
id: additional-info
attributes:
label: Additional information
description: Additional information that helps us decide how to proceed.
options:
- label: Would you be willing to help implement this feature?
- label: Could this feature be implemented as a module?
- type: checkboxes
id: required-info
attributes:
label: Final checks
description: Before submitting, please make sure you do the following
options:
- label: Read the [contribution guide](https://nuxt.com/docs/community/contribution).
required: true
- label: Check existing [discussions](https://github.com/nuxt/nuxt.js/discussions) and [issues](https://github.com/nuxt/nuxt.js/issues).
required: true