mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-22 16:48:25 +01:00
Added button for making feature requests
This commit is contained in:
parent
fe50697f8e
commit
e9b060fc3c
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: Feature Request
|
||||
description: Suggest a feature to be added in ViaFabricPlus
|
||||
labels: [ Feature Request ]
|
||||
labels: [ enhancement ]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
|
@ -49,6 +49,10 @@ public class ReportIssuesScreen extends VFPScreen {
|
||||
Util.getOperatingSystem().open(URI.create("https://github.com/ViaVersion/ViaFabricPlus/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml"));
|
||||
this.setupSubtitle(Text.of("Opened GitHub issue page!"));
|
||||
});
|
||||
actions.put("report.viafabricplus.feature_request", () -> {
|
||||
Util.getOperatingSystem().open(URI.create("https://github.com/ViaVersion/ViaFabricPlus/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.yml"));
|
||||
this.setupSubtitle(Text.of("Opened GitHub issue page!"));
|
||||
});
|
||||
actions.put("report.viafabricplus.create_via_dump", () -> DumpUtil.postDump(client.getSession().getUuidOrNull()).whenComplete((s, throwable) -> {
|
||||
if (throwable != null) {
|
||||
this.setupSubtitle(Text.of("Failed to create a dump! See logs for more information."));
|
||||
|
@ -90,6 +90,7 @@
|
||||
|
||||
"report.viafabricplus.button": "Report issues",
|
||||
"report.viafabricplus.bug_report": "Report a bug on GitHub",
|
||||
"report.viafabricplus.feature_request": "Request a feature on GitHub",
|
||||
"report.viafabricplus.create_via_dump": "Create a ViaVersion dump",
|
||||
"report.viafabricplus.open_logs": "Open the logs folder",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user