Skip to content

Commit b9fbb6f

Browse files
authored
Update Issue Templates (#294)
1 parent 7861e9d commit b9fbb6f

5 files changed

Lines changed: 71 additions & 130 deletions

File tree

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: I found a bug!
2+
description: "Report some other kind of issue."
3+
labels: [ "type: bug" ]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
description: >
9+
Please describe the issue with as much detail as possible.
10+
Explain what happened, and what should have happened instead.
11+
Add images, screenshots, or videos if they could be useful.
12+
validations:
13+
required: true
14+
15+
- type: input
16+
attributes:
17+
label: Game Log
18+
description: >
19+
We need the game log for additional information about the bug.
20+
This file can be found in the `logs` folder of your Minecraft folder as `debug.log`.
21+
Please upload the file to https://mclo.gs/ and put the link here.
22+
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: Debug Information
29+
description: >
30+
Please run the `/flywheel debug info` command in-game.
31+
This will allow you to copy useful information to your clipboard that will greatly help with debugging.
32+
Please paste this information here.
33+
validations:
34+
required: true
35+
36+
- type: markdown
37+
attributes:
38+
value: "Thank you for taking the time to make a report and help improve Flywheel!"

.github/ISSUE_TEMPLATE/bug_report.yml

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

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Discord Server
3+
url: https://discord.gg/ambsHEyaAD
4+
about: Join us on Discord.

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: My game crashed!
2+
description: Report an issue that crashes the game.
3+
labels: [ "type: crash" ]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Context
8+
description: What were you doing when the game crashed? Add images, screenshots, or videos if they could be useful.
9+
validations:
10+
required: true
11+
12+
- type: input
13+
attributes:
14+
label: Crash Report
15+
description: >
16+
We need the crash report to figure out why the crash happened.
17+
This file can be found in the \"crash-reports\" folder of your Minecraft folder.
18+
It will be the newest file there.
19+
Please upload the file to https://mclo.gs/ and put the link here.
20+
Do **not** paste the *contents* of the file here, because that will make this issue very hard to read.
21+
validations:
22+
required: true
23+
24+
- type: markdown
25+
attributes:
26+
value: "Thank you for taking the time to make a report and help improve Flywheel!"

common/src/main/java/dev/engine_room/flywheel/impl/FlwDebugInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static Component getDebugCommandInfo() {
6161
addVisualizationManagerDebugInfo(manager, out);
6262

6363
// Write out to a string both to emit to chat and include in the click event.
64-
var debugInfoString = out.toString();
64+
String debugInfoString = out.toString();
6565

6666
return Component.literal(debugInfoString)
6767
.append(Component.literal("\n\nClick to copy debug info to clipboard")
@@ -71,8 +71,8 @@ public static Component getDebugCommandInfo() {
7171
.append(Component.literal("\n\nClick to open an issue on GitHub")
7272
.withStyle(Style.EMPTY.withUnderlined(true)
7373
.withColor(ChatFormatting.BLUE)
74-
.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/Engine-Room/Flywheel/issues"))
75-
.withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Component.literal("Opens URL:\nhttps://github.com/Engine-Room/Flywheel/issues")))));
74+
.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/Engine-Room/Flywheel/issues/new"))
75+
.withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Component.literal("Opens URL:\nhttps://github.com/Engine-Room/Flywheel/issues/new")))));
7676

7777
}
7878

0 commit comments

Comments
 (0)