From 548109efad64de6f457557706cf45c908121d276 Mon Sep 17 00:00:00 2001 From: tlylt Date: Tue, 12 Apr 2022 09:07:57 +0800 Subject: [PATCH 1/2] Update checkbox to dropdown --- .github/ISSUE_TEMPLATE/bug-report.yml | 11 +++++++---- .github/ISSUE_TEMPLATE/feature-request.yml | 13 ++++++++----- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 3cbadb0353..24b32ccd06 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -2,13 +2,16 @@ name: Bug Report description: File a bug report labels: ["c.Bug 🐛"] body: -- type: checkboxes +- type: dropdown + id: existing attributes: - label: Is there an existing issue for this? + label: Please confirm that you have searched existing issues in the repo description: Please search to see if an issue already exists for the bug you encountered. options: - - label: I have searched the existing issues - required: true + - 'Yes, I have searched the existing issues' + - 'No' + validations: + required: true - type: input id: related attributes: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 0654d41b28..cea001252a 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -2,13 +2,16 @@ name: Feature request description: Suggest a new idea/feature for MarkBind labels: ["c.Feature 🚀"] body: -- type: checkboxes +- type: dropdown + id: existing attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the request. + label: Please confirm that you have searched existing issues in the repo + description: Please search to see if an issue already exists for the bug you encountered. options: - - label: I have searched the existing issues - required: true + - 'Yes, I have searched the existing issues' + - 'No' + validations: + required: true - type: input id: related attributes: From 1c3b191f22cef9907e766945ae7c200bf87cd910 Mon Sep 17 00:00:00 2001 From: Liu YongLiang <41845017+tlylt@users.noreply.github.com> Date: Tue, 12 Apr 2022 11:33:25 +0800 Subject: [PATCH 2/2] Update feature-request.yml Fix error in feature-request --- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index cea001252a..11466582b6 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -6,7 +6,7 @@ body: id: existing attributes: label: Please confirm that you have searched existing issues in the repo - description: Please search to see if an issue already exists for the bug you encountered. + description: Please search to see if an issue already exists for the request. options: - 'Yes, I have searched the existing issues' - 'No'