From 13e660336d9f73b5ff1be13efaaab18538e0815d Mon Sep 17 00:00:00 2001 From: Raspberry <84133368+EpiclyRaspberry@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:37:50 +0800 Subject: [PATCH 1/2] Refactor bug_report and feature_request issue templates to use textarea instead of input --- .github/ISSUE_TEMPLATE/bug_report.yaml | 14 +++++++------- .github/ISSUE_TEMPLATE/feature_request.yaml | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 580c0fa5..18be5d99 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,4 +1,4 @@ -name: Bug report +name: Bug Report description: Report a bug in Flarial title: "[BUG] " labels: ["dll","launcher"] @@ -21,28 +21,28 @@ body: - label: | I have searched the [issues](https://github.com/flarialmc/dll/issues?q=is%3Aissue+is%3Aopen) of this repository and believe that this is not a duplicate required: true - - type: input + - type: textarea id: bug attributes: label: Bug description description: A clear and concise description of what the bug is. placeholder: I was trying to [...] but [...] - - type: input + - type: textarea id: expected attributes: label: Expected behavior description: A clear and concise description of what you expected to happen. placeholder: I expected [...] - - type: input + - type: textarea id: actual attributes: label: Actual behavior description: A clear and concise description of what actually happened. placeholder: Instead [...] - - type: input + - type: textarea id: steps attributes: label: Steps to reproduce @@ -67,14 +67,14 @@ body: - Windows 10 - Windows 11 - - type: input + - type: textarea id: osversion attributes: label: OS Version description: What version of the operating system are you using? placeholder: 21H1, 21H2, 22H1, etc. - - type: input + - type: textarea id: additional attributes: label: Additional notes diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index c86e675c..932c2c81 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,38 +1,38 @@ -name: featrequest +name: Feature Request description: Suggest a new feature for Flarial title: "[FEATURE REQUEST] " labels: ["enhancement"] body: - - type: input + - type: textarea id: feature attributes: label: Feature description description: A clear and concise description of what the feature is. placeholder: I would like to see [...] - - type: input + - type: textarea id: reason attributes: label: Reason description: Why do you think this feature should be added? placeholder: I think this feature should be added because [...] - - type: input + - type: textarea id: usecase attributes: label: Use case description: How would you use this feature? placeholder: I would use this feature to [...] - - type: input + - type: textarea id: alternatives attributes: label: Alternatives description: Have you considered any alternative solutions or features? placeholder: An alternative solution could be [...] - - type: input + - type: textarea id: additional attributes: label: Additional context From 6a85d59d6f51f8cd2badbb1b13b39a615a828a7c Mon Sep 17 00:00:00 2001 From: Raspberry <84133368+EpiclyRaspberry@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:44:34 +0800 Subject: [PATCH 2/2] render: Markdown (lol) --- .github/ISSUE_TEMPLATE/bug_report.yaml | 8 +++++++- .github/ISSUE_TEMPLATE/feature_request.yaml | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 18be5d99..945f13e4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -4,7 +4,7 @@ title: "[BUG] " labels: ["dll","launcher"] body: - # - type: markdown + # - type: Markdown # attributes: # value: | # **Before you submit a bug report, please make sure you have done the following:** @@ -24,6 +24,7 @@ body: - type: textarea id: bug attributes: + render: Markdown label: Bug description description: A clear and concise description of what the bug is. placeholder: I was trying to [...] but [...] @@ -31,6 +32,7 @@ body: - type: textarea id: expected attributes: + render: Markdown label: Expected behavior description: A clear and concise description of what you expected to happen. placeholder: I expected [...] @@ -38,6 +40,7 @@ body: - type: textarea id: actual attributes: + render: Markdown label: Actual behavior description: A clear and concise description of what actually happened. placeholder: Instead [...] @@ -45,6 +48,7 @@ body: - type: textarea id: steps attributes: + render: Markdown label: Steps to reproduce description: | Please provide detailed steps for reproducing the issue. @@ -70,6 +74,7 @@ body: - type: textarea id: osversion attributes: + render: Markdown label: OS Version description: What version of the operating system are you using? placeholder: 21H1, 21H2, 22H1, etc. @@ -78,6 +83,7 @@ body: id: additional attributes: label: Additional notes + render: Markdown description: | Add any other context about the problem here. If applicable, add screenshots to help explain your problem. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 932c2c81..fee87c03 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -15,6 +15,7 @@ body: id: reason attributes: label: Reason + render: Markdown description: Why do you think this feature should be added? placeholder: I think this feature should be added because [...] @@ -22,6 +23,7 @@ body: id: usecase attributes: label: Use case + render: Markdown description: How would you use this feature? placeholder: I would use this feature to [...] @@ -29,6 +31,7 @@ body: id: alternatives attributes: label: Alternatives + render: Markdown description: Have you considered any alternative solutions or features? placeholder: An alternative solution could be [...] @@ -36,6 +39,7 @@ body: id: additional attributes: label: Additional context + render: Markdown description: Add any other context or screenshots about the feature request here. placeholder: | Add any other context or screenshots about the feature request here. \ No newline at end of file