Skip to content

Commit 41a8828

Browse files
committed
feat: 尝试添加 issue template
1 parent 650b0ac commit 41a8828

File tree

2 files changed

+104
-0
lines changed

2 files changed

+104
-0
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: Bug Report
2+
description: Something doesn't seem correct and it might be a bug
3+
labels: ["🐛bug"]
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Bug description
9+
description: |
10+
A clear and concise description of what the bug is.
11+
Is it a game crash, an unexpected behavior, or has something gone wrong?
12+
If applicable, add screenshots to help explain the bug.
13+
placeholder: Tell us what you see!
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: to-reproduce
18+
attributes:
19+
label: Steps to reproduce
20+
description: Steps to reproduce the bug
21+
placeholder: |
22+
1. Create a world
23+
2. Wait until midnight
24+
3. Hug a creeper
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: expected-behavior
29+
attributes:
30+
label: Expected behavior
31+
description: What did you expect to happen?
32+
placeholder: The creeper explodes
33+
- type: textarea
34+
id: actual-behavior
35+
attributes:
36+
label: Actual behavior
37+
description: What actually happened?
38+
placeholder: The creeper launches itself into the sky
39+
- type: textarea
40+
id: logs
41+
attributes:
42+
label: Relevant logs
43+
description: |-
44+
If it's a crash, send the corresponding Minecraft log in the `logs` folder, or crash report in the `crash-reports` folder, here.
45+
Please upload the log file as an attachment, or upload the log to [pastebin](https://pastebin.com/) / [mclo.gs](https://mclo.gs/) and paste the url here.
46+
Please refrain from pasting the entire log file directly.
47+
Leave empty if there is none.
48+
placeholder: https://pastebin.com/J6b7lKxR
49+
- type: input
50+
id: minecraft-version
51+
attributes:
52+
label: Minecraft version
53+
description: The Minecraft version(s) where this bug occurs in.
54+
placeholder: 1.20.1
55+
validations:
56+
required: true
57+
- type: input
58+
id: mod-version
59+
attributes:
60+
label: TemplateMod version
61+
description: The TemplateMod version(s) where this bug occurs in.
62+
placeholder: 1.1.0
63+
validations:
64+
required: true
65+
- type: textarea
66+
id: other-information
67+
attributes:
68+
label: Other information
69+
description: Other useful information to this bug report, e.g. other related mod version(s). Leave empty if there is none.
70+
placeholder: The issue only occurs if the player is in survival mode
71+
- type: checkboxes
72+
id: check-list
73+
attributes:
74+
label: Check list
75+
options:
76+
- label: I have verified that the issue persists in the latest version of the mod.
77+
required: true
78+
- label: I have searched the existing issues and confirmed that this is not a duplicate.
79+
required: true
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
labels: ["💡enhancement"]
4+
body:
5+
- type: textarea
6+
id: motivation
7+
attributes:
8+
label: Motivation
9+
description: Why do you want this feature? What problem do you want to solve? How can the suggested feature help with that?
10+
placeholder: Tell us what you want!
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: Describe the feature you want, as detailed as possible
18+
placeholder: I want to see a fancy starry sky when I look up at midnight.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: other-information
23+
attributes:
24+
label: Other information
25+
description: Other useful information to this feature request. Leave empty if there is none.

0 commit comments

Comments
 (0)