Skip to content

Commit e756506

Browse files
H0llyW00dzZfred-bf
andauthored
[Cherry Pick] Improve Github Issue Template (ChatGPTNextWeb#4041)
* Improve Github Issue Template - [+] feat(issue templates): update issue templates from markdown to form schema - [+] feat(issue templates): translate issue templates to Chinese - [+] remove(issue templates): delete old markdown issue templates * chore: remove Chinese template issue temporarily --------- Co-authored-by: Fred <fred@nextchat.dev>
1 parent fd67f98 commit e756506

File tree

6 files changed

+199
-123
lines changed

6 files changed

+199
-123
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

-43
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

+146
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "## Describe the bug"
10+
- type: textarea
11+
id: bug-description
12+
attributes:
13+
label: "Bug Description"
14+
description: "A clear and concise description of what the bug is."
15+
placeholder: "Explain the bug..."
16+
validations:
17+
required: true
18+
19+
- type: markdown
20+
attributes:
21+
value: "## To Reproduce"
22+
- type: textarea
23+
id: steps-to-reproduce
24+
attributes:
25+
label: "Steps to Reproduce"
26+
description: "Steps to reproduce the behavior:"
27+
placeholder: |
28+
1. Go to '...'
29+
2. Click on '....'
30+
3. Scroll down to '....'
31+
4. See error
32+
validations:
33+
required: true
34+
35+
- type: markdown
36+
attributes:
37+
value: "## Expected behavior"
38+
- type: textarea
39+
id: expected-behavior
40+
attributes:
41+
label: "Expected Behavior"
42+
description: "A clear and concise description of what you expected to happen."
43+
placeholder: "Describe what you expected to happen..."
44+
validations:
45+
required: true
46+
47+
- type: markdown
48+
attributes:
49+
value: "## Screenshots"
50+
- type: textarea
51+
id: screenshots
52+
attributes:
53+
label: "Screenshots"
54+
description: "If applicable, add screenshots to help explain your problem."
55+
placeholder: "Paste your screenshots here or write 'N/A' if not applicable..."
56+
validations:
57+
required: false
58+
59+
- type: markdown
60+
attributes:
61+
value: "## Deployment"
62+
- type: checkboxes
63+
id: deployment
64+
attributes:
65+
label: "Deployment Method"
66+
description: "Please select the deployment method you are using."
67+
options:
68+
- label: "Docker"
69+
- label: "Vercel"
70+
- label: "Server"
71+
72+
- type: markdown
73+
attributes:
74+
value: "## Desktop (please complete the following information):"
75+
- type: input
76+
id: desktop-os
77+
attributes:
78+
label: "Desktop OS"
79+
description: "Your desktop operating system."
80+
placeholder: "e.g., Windows 10"
81+
validations:
82+
required: false
83+
- type: input
84+
id: desktop-browser
85+
attributes:
86+
label: "Desktop Browser"
87+
description: "Your desktop browser."
88+
placeholder: "e.g., Chrome, Safari"
89+
validations:
90+
required: false
91+
- type: input
92+
id: desktop-version
93+
attributes:
94+
label: "Desktop Browser Version"
95+
description: "Version of your desktop browser."
96+
placeholder: "e.g., 89.0"
97+
validations:
98+
required: false
99+
100+
- type: markdown
101+
attributes:
102+
value: "## Smartphone (please complete the following information):"
103+
- type: input
104+
id: smartphone-device
105+
attributes:
106+
label: "Smartphone Device"
107+
description: "Your smartphone device."
108+
placeholder: "e.g., iPhone X"
109+
validations:
110+
required: false
111+
- type: input
112+
id: smartphone-os
113+
attributes:
114+
label: "Smartphone OS"
115+
description: "Your smartphone operating system."
116+
placeholder: "e.g., iOS 14.4"
117+
validations:
118+
required: false
119+
- type: input
120+
id: smartphone-browser
121+
attributes:
122+
label: "Smartphone Browser"
123+
description: "Your smartphone browser."
124+
placeholder: "e.g., Safari"
125+
validations:
126+
required: false
127+
- type: input
128+
id: smartphone-version
129+
attributes:
130+
label: "Smartphone Browser Version"
131+
description: "Version of your smartphone browser."
132+
placeholder: "e.g., 14"
133+
validations:
134+
required: false
135+
136+
- type: markdown
137+
attributes:
138+
value: "## Additional Logs"
139+
- type: textarea
140+
id: additional-logs
141+
attributes:
142+
label: "Additional Logs"
143+
description: "Add any logs about the problem here."
144+
placeholder: "Paste any relevant logs here..."
145+
validations:
146+
required: false

.github/ISSUE_TEMPLATE/feature_request.md

-20
This file was deleted.
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
title: "[Feature Request]: "
4+
labels: ["enhancement"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "## Is your feature request related to a problem? Please describe."
10+
- type: textarea
11+
id: problem-description
12+
attributes:
13+
label: Problem Description
14+
description: "A clear and concise description of what the problem is. Example: I'm always frustrated when [...]"
15+
placeholder: "Explain the problem you are facing..."
16+
validations:
17+
required: true
18+
19+
- type: markdown
20+
attributes:
21+
value: "## Describe the solution you'd like"
22+
- type: textarea
23+
id: desired-solution
24+
attributes:
25+
label: Solution Description
26+
description: A clear and concise description of what you want to happen.
27+
placeholder: "Describe the solution you'd like..."
28+
validations:
29+
required: true
30+
31+
- type: markdown
32+
attributes:
33+
value: "## Describe alternatives you've considered"
34+
- type: textarea
35+
id: alternatives-considered
36+
attributes:
37+
label: Alternatives Considered
38+
description: A clear and concise description of any alternative solutions or features you've considered.
39+
placeholder: "Describe any alternative solutions or features you've considered..."
40+
validations:
41+
required: false
42+
43+
- type: markdown
44+
attributes:
45+
value: "## Additional context"
46+
- type: textarea
47+
id: additional-context
48+
attributes:
49+
label: Additional Context
50+
description: Add any other context or screenshots about the feature request here.
51+
placeholder: "Add any other context or screenshots about the feature request here..."
52+
validations:
53+
required: false

.github/ISSUE_TEMPLATE/功能建议.md

-24
This file was deleted.

.github/ISSUE_TEMPLATE/反馈问题.md

-36
This file was deleted.

0 commit comments

Comments
 (0)