From 224e3ef0eaf46354463f797e3b783debb49918a6 Mon Sep 17 00:00:00 2001 From: "Stephen C. Wills" Date: Wed, 13 Jul 2022 22:10:16 -0400 Subject: [PATCH] Replace issue template with issue form --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 65 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 30 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index b9b3c005b..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Important information** -Operating system / DevilutionX version / did you download a release or did you compile yourself? - -**Describe** -A clear and concise description of what the bug is. - -**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. - -**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 000000000..10a06a3e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,65 @@ +name: Bug report +description: Create a report to help us improve +body: + - type: dropdown + id: operating-system + attributes: + label: Operating System + options: + - Windows x64 + - Windows x86 + - Linux x64 + - Linux x86 + - Mac + - Android + - iOS + - Xbox One + - PlayStation 4 + - Nintendo Switch + - PlayStation Vita + - Nintendo 3DS + - Other (please specify) + validations: + required: true + - type: dropdown + id: version + attributes: + label: DevilutionX version + options: + - 1.4.0 (latest release) + - 1.3.0 + - 1.2.1 + - 1.1.0 + - Custom build (please specify commit ID) + - Other (please specify version number) + validations: + required: true + - type: textarea + id: description + attributes: + label: Describe + placeholder: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: 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: input + id: expected-behavior + attributes: + label: Expected Behavior + placeholder: A clear and concise description of what you expected to happen. + - type: textarea + id: additional-context + attributes: + label: Additional context + placeholder: Any other context about the problem here (screenshots, videos, code blocks, etc.).