Skip to content

Commit f36fb9c

Browse files
committed
chore: update issue templates
1 parent 0db7e7b commit f36fb9c

File tree

6 files changed

+143
-80
lines changed

6 files changed

+143
-80
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "\U0001F41E Bug report (Nuxt 2)"
2+
description: Create a report to help us improve Nuxt
3+
labels: ["pending triage", "2.x"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please carefully read the contribution docs before creating a bug report
9+
👉 https://nuxt.com/docs/community/reporting-bugs
10+
11+
Please use a template below to create a minimal reproduction
12+
👉 https://stackblitz.com/github/nuxt/starter/tree/v2
13+
👉 https://codesandbox.io/p/github/nuxt/starter/v2
14+
- type: textarea
15+
id: bug-env
16+
attributes:
17+
label: Environment
18+
description: You can use `npx envinfo --system --npmPackages '{nuxt,@nuxt/*}' --binaries --browsers` to fill this section
19+
placeholder: Environment
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: reproduction
24+
attributes:
25+
label: Reproduction
26+
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.
27+
placeholder: Reproduction
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: bug-description
32+
attributes:
33+
label: Describe the bug
34+
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!
35+
placeholder: Bug description
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: additonal
40+
attributes:
41+
label: Additional context
42+
description: If applicable, add any other context about the problem here
43+
- type: textarea
44+
id: logs
45+
attributes:
46+
label: Logs
47+
description: |
48+
Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
49+
render: shell-script

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "\U0001F41E Bug report"
2+
description: Create a report to help us improve Nuxt
3+
labels: ["pending triage", "3.x"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please carefully read the contribution docs before creating a bug report
9+
👉 https://nuxt.com/docs/community/reporting-bugs
10+
11+
Please use a template below to create a minimal reproduction
12+
👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
13+
👉 https://codesandbox.io/p/github/nuxt/starter/v3-codesandbox
14+
- type: textarea
15+
id: bug-env
16+
attributes:
17+
label: Environment
18+
description: You can use `npx nuxi info` to fill this section
19+
placeholder: Environment
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: reproduction
24+
attributes:
25+
label: Reproduction
26+
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.
27+
placeholder: Reproduction
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: bug-description
32+
attributes:
33+
label: Describe the bug
34+
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!
35+
placeholder: Bug description
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: additonal
40+
attributes:
41+
label: Additional context
42+
description: If applicable, add any other context about the problem here
43+
- type: textarea
44+
id: logs
45+
attributes:
46+
label: Logs
47+
description: |
48+
Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
49+
render: shell-script

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
blank_issues_enabled: true
22
contact_links:
3-
- name: Issues using `@nuxt/bridge`
4-
url: https://github.com/nuxt/framework
5-
about: |
6-
Please use GitHub Discussions for other issues and asking questions about Nuxt 3 and Bridge.
7-
- name: ❗️ All other issues | 其他问题
3+
- name: 📚 Nuxt 3 Documentation
4+
url: https://nuxt.com/docs/
5+
about: Check the documentation for usage of Nuxt 3
6+
- name: 📚 Nuxt 2 Documentation
7+
url: https://nuxtjs.org/
8+
about: Check the documentation for usage of Nuxt 2
9+
- name: 💬 Discussions
810
url: https://github.com/nuxt/nuxt.js/discussions
9-
about: |
10-
Please use GitHub Discussions for other issues and asking questions.
11+
about: Use discussions if you have another issue, an idea for improvement or for asking questions.

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "🚀 Feature request"
2+
description: Suggest a feature that will improve Nuxt
3+
labels: ["pending triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for taking the time to fill out this feature request!
9+
10+
Please carefully read the contribution docs before suggesting a new feature
11+
👉 https://nuxt.com/docs/community/contribution/#creating-an-issue
12+
- type: textarea
13+
id: feature-description
14+
attributes:
15+
label: Describe the feature
16+
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.
17+
placeholder: Feature description
18+
validations:
19+
required: true
20+
- type: checkboxes
21+
id: additional-info
22+
attributes:
23+
label: Additional information
24+
description: Additional information that helps us decide how to proceed.
25+
options:
26+
- label: Would you be willing to help implement this feature?
27+
- label: Could this feature be implemented as a module?
28+
- type: checkboxes
29+
id: required-info
30+
attributes:
31+
label: Final checks
32+
description: Before submitting, please make sure you do the following
33+
options:
34+
- label: Read the [contribution guide](https://nuxt.com/docs/community/contribution).
35+
required: true
36+
- label: Check existing [discussions](https://github.com/nuxt/nuxt.js/discussions) and [issues](https://github.com/nuxt/nuxt.js/issues).
37+
required: true

0 commit comments

Comments
 (0)