From 604c5cf577caebb48b58f4be0dcbb0600944b20f Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Thu, 23 Sep 2021 21:21:46 +0300 Subject: [PATCH] chore: :wheelchair: convert issues templates to forms --- .github/ISSUE_TEMPLATE/bug_report.md | 45 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 70 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 4 ++ .github/ISSUE_TEMPLATE/dev-issue.yml | 22 +++++++ .github/ISSUE_TEMPLATE/development-issue.md | 22 ------- .github/ISSUE_TEMPLATE/feat_request.yml | 34 ++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 30 --------- 7 files changed, 130 insertions(+), 97 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/dev-issue.yml delete mode 100644 .github/ISSUE_TEMPLATE/development-issue.md create mode 100644 .github/ISSUE_TEMPLATE/feat_request.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c8ed2db0..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,45 +0,0 @@ - - ---- - -name: Bug report -about: Create a report that something is not working as intended -title: "[BUG]: " -labels: bug -assignees: '' - ---- - -## Summary - -Quick summary of the problem - -## To Reproduce - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## Expected behavior - -A clear and concise description of what you expected to happen. - -## Screenshots - -If applicable, add screenshots to help explain your problem. - -## System info - -Platform: X11/Wayland -Plasma Version: 5.23/master -Bismuth version: 1.0/master (please add latest commit hash) - -## Additional context - -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..989231a1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,70 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: MIT +--- +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: [bug] +# assignees: +body: + - type: textarea + id: summary + attributes: + label: Summary + description: Quick summary of the problem + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to Reproduce + description: Steps to reproduce the behavior + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + validations: + required: false + - type: input + id: script-version + attributes: + label: Bismuth version + validations: + required: true + - type: input + id: plasma-version + attributes: + label: KDE Plasma version + validations: + required: true + - type: dropdown + id: platform + attributes: + label: The platform KWin is running on + options: + - Wayland + - X11 + validations: + required: true + - type: textarea + id: misc + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..138630c6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: MIT +--- +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/dev-issue.yml b/.github/ISSUE_TEMPLATE/dev-issue.yml new file mode 100644 index 00000000..c19e5aac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/dev-issue.yml @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: MIT +--- +name: Development Issue +description: Non user-facing issue, e.g. refactoring, build or ci improvements +title: "[DEV]: " +labels: [dev] +# assignees: '' +body: + - type: textarea + id: summary + attributes: + label: Summary + description: Quick summary + validations: + required: true + - type: textarea + id: misc + attributes: + label: Additional info + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/development-issue.md b/.github/ISSUE_TEMPLATE/development-issue.md deleted file mode 100644 index 33bcd3c1..00000000 --- a/.github/ISSUE_TEMPLATE/development-issue.md +++ /dev/null @@ -1,22 +0,0 @@ - - ---- - -name: Development Issue -about: Non user-facing issue, e.g. refactoring, build or ci improvements -title: "[DEV]: " -labels: dev -assignees: '' - ---- - -## Summary - -Summary... - -## Additional info - -Additional info diff --git a/.github/ISSUE_TEMPLATE/feat_request.yml b/.github/ISSUE_TEMPLATE/feat_request.yml new file mode 100644 index 00000000..c7ebb738 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feat_request.yml @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: MIT +--- +name: Feature request +description: Suggest an idea for a new feature +title: "[FEATURE]: " +labels: [enhancement] +# assignees: '' +body: + - type: textarea + id: summary + attributes: + label: Summary + description: Is your feature request related to a problem? Please describe. + validations: + required: true + - type: textarea + id: solution + attributes: + label: A clear and concise description of what you want to happen + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: misc + attributes: + label: Additional info + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 6f63cf1b..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,30 +0,0 @@ - - ---- - -name: Feature request -about: Suggest an idea for a new feature -title: "[FEATURE]: " -labels: enhancement -assignees: '' - ---- - -## Is your feature request related to a problem? Please describe. - -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -## Describe the solution you'd like - -A clear and concise description of what you want to happen. - -## Describe alternatives you've considered - -A clear and concise description of any alternative solutions or features you've considered. - -## Additional context - -Add any other context or screenshots about the feature request here.