Skip to content

Commit 8502d62

Browse files
authored
chore: Form based Github issue templates (#129)
chore: Form based github issue templates
1 parent 26509ca commit 8502d62

File tree

4 files changed

+147
-46
lines changed

4 files changed

+147
-46
lines changed
+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: "Bug Report"
2+
description: "Create a report to help us improve"
3+
title: "[BUG] "
4+
labels: ["bug", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
11+
- type: textarea
12+
id: bug-description
13+
attributes:
14+
label: Describe the bug
15+
description: A clear and concise description of what the bug is.
16+
placeholder: When I try to..., the error occurs...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: reproduction
22+
attributes:
23+
label: Steps to reproduce
24+
description: Minimal steps to reproduce the behavior (linking a repo with a reproduction will help for non trivial issues)
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '...'
28+
3. See error
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: expected-behavior
34+
attributes:
35+
label: Expected behavior
36+
description: A clear and concise description of what you expected to happen.
37+
validations:
38+
required: true
39+
40+
- type: input
41+
id: opennext-version
42+
attributes:
43+
label: "@opennextjs/cloudflare version"
44+
placeholder: "0.2.1"
45+
validations:
46+
required: true
47+
48+
- type: input
49+
id: node-version
50+
attributes:
51+
label: "Node.js version"
52+
placeholder: "18.x"
53+
validations:
54+
required: true
55+
56+
- type: input
57+
id: wrangler-version
58+
attributes:
59+
label: "Wrangler version"
60+
placeholder: "3.x"
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
id: next-info
66+
attributes:
67+
label: "next info output"
68+
description: "Please run `next info` in your project directory and paste the output"
69+
render: shell
70+
validations:
71+
required: true
72+
73+
- type: textarea
74+
id: additional-context
75+
attributes:
76+
label: Additional context
77+
description: Add any other context about the problem here.
78+
validations:
79+
required: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: "Feature Request"
2+
description: "Suggest an idea for this project"
3+
title: "[FEATURE] "
4+
labels: ["enhancement", "triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to suggest a new feature! Please fill out this form as completely as possible.
10+
11+
- type: textarea
12+
id: problem-description
13+
attributes:
14+
label: Is your feature request related to a problem?
15+
description: A clear and concise description of what the problem is.
16+
placeholder: I'm always frustrated when [...]
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: proposed-solution
22+
attributes:
23+
label: Describe the solution you'd like
24+
description: A clear and concise description of what you want to happen.
25+
placeholder: |
26+
I would like to see...
27+
This would help by...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: Describe alternatives you've considered
35+
description: A clear and concise description of any alternative solutions or features you've considered.
36+
placeholder: |
37+
Alternative 1...
38+
Alternative 2...
39+
validations:
40+
required: true
41+
42+
- type: input
43+
id: opennext-version
44+
attributes:
45+
label: "@opennextjs/cloudflare version"
46+
description: What version of @opennextjs/cloudflare does this apply to?
47+
placeholder: "0.2.1"
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
id: additional-context
53+
attributes:
54+
label: Additional context
55+
description: Add any other context or screenshots about the feature request here.
56+
validations:
57+
required: false
58+
59+
- type: checkboxes
60+
id: terms
61+
attributes:
62+
label: Before submitting
63+
description: Please confirm the following
64+
options:
65+
- label: I have checked that there isn't already a similar feature request
66+
required: true
67+
- label: This is a single feature (not multiple features in one request)
68+
required: true

.github/ISSUE_TEMPLATE/bug_report.md

-26
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-20
This file was deleted.

0 commit comments

Comments
 (0)