diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 8b9d4458..83501199 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,6 +1,6 @@ name: Feature Request description: Suggest a feature to be added in ViaFabricPlus -labels: [ Feature Request ] +labels: [ enhancement ] body: - type: markdown diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/base/ReportIssuesScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/base/ReportIssuesScreen.java index a3f81f0c..259f08bb 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/base/ReportIssuesScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/base/ReportIssuesScreen.java @@ -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.")); diff --git a/src/main/resources/assets/viafabricplus/lang/en_us.json b/src/main/resources/assets/viafabricplus/lang/en_us.json index ecb55be3..8ef6de8c 100644 --- a/src/main/resources/assets/viafabricplus/lang/en_us.json +++ b/src/main/resources/assets/viafabricplus/lang/en_us.json @@ -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",