From aecb1b30e6410c8b7fac8c5a5c7ce5ea0fd633c1 Mon Sep 17 00:00:00 2001 From: Petra Baranski Date: Thu, 27 Jul 2023 18:21:34 +0200 Subject: [PATCH] chore: have prettier issue templates --- .github/ISSUE_TEMPLATE/cpp-bug-report.yml | 62 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 15 +++++ .../ISSUE_TEMPLATE/markdown-bug-report.yml | 62 +++++++++++++++++++ ISSUE_TEMPLATE.md | 17 ----- 4 files changed, 139 insertions(+), 17 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/cpp-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/markdown-bug-report.yml delete mode 100644 ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/cpp-bug-report.yml b/.github/ISSUE_TEMPLATE/cpp-bug-report.yml new file mode 100644 index 0000000..45d9f11 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/cpp-bug-report.yml @@ -0,0 +1,62 @@ +name: C++ Bug Report +description: File a bug report regarding C++ problems +title: "[Bug][C++]: " +labels: ["bug", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: os + attributes: + label: Operating System + description: On which OS are you running maddy? + placeholder: ex. Windows/Linux/OSX + validations: + required: true + - type: input + id: compiler + attributes: + label: Compiler + description: Which compiler do you use? + placeholder: ex. mingw/Visual Studio/clang + validations: + required: true + - type: input + id: compiler_flags + attributes: + label: Compiler flags + description: Which compiler flags do you use? + placeholder: ex. -fno-rtti + validations: + required: true + - type: dropdown + id: maddy_version + attributes: + label: maddy version + description: What version of maddy are you using? + options: + - 1.2.0 (latest) + - 1.1.2 + - 1.1.1 + - 1.1.0 + - 1.0.3 + - 1.0.2 + - 1.0.1 + - 1.0.0 + validations: + required: true + - type: textarea + id: example + label: Minimal C++ example + description: To be able to reproduce your issue, please give some example C++ code which creates problems. + validations: + required: true + - type: textarea + id: whats-wrong + attributes: + label: What is not working? What did you try? + description: Also, what did you expect to happen? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..85ec92c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,15 @@ +name: Feature Request +description: Missing some feature? +labels: ["feature"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to create a feature request! + - type: textarea + id: feature-description + attributes: + label: What are you missing in maddy? + description: If you want some extra Markdown supported, please also write a Markdown example and an expected HTML output. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/markdown-bug-report.yml b/.github/ISSUE_TEMPLATE/markdown-bug-report.yml new file mode 100644 index 0000000..576a167 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/markdown-bug-report.yml @@ -0,0 +1,62 @@ +name: Markdown Bug Report +description: File a bug report regarding Markdown problems +title: "[Bug][Markdown]: " +labels: ["bug", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: os + attributes: + label: Operating System + description: On which OS are you running maddy? + placeholder: ex. Windows/Linux/OSX + validations: + required: true + - type: input + id: compiler + attributes: + label: Compiler + description: Which compiler do you use? + placeholder: ex. mingw/Visual Studio/clang + validations: + required: true + - type: input + id: compiler_flags + attributes: + label: Compiler flags + description: Which compiler flags do you use? + placeholder: ex. -fno-rtti + validations: + required: true + - type: dropdown + id: maddy_version + attributes: + label: maddy version + description: What version of maddy are you using? + options: + - 1.2.0 (latest) + - 1.1.2 + - 1.1.1 + - 1.1.0 + - 1.0.3 + - 1.0.2 + - 1.0.1 + - 1.0.0 + validations: + required: true + - type: textarea + id: example + label: Minimal Mardown example + description: To be able to reproduce your issue, please give some example Markdown which creates problems. + validations: + required: true + - type: textarea + id: whats-wrong + attributes: + label: What is not working? What did you try? + description: Also, what did you expect to happen? + validations: + required: true diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 07a1c50..0000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,17 +0,0 @@ -## Minimal Code Example - -``` -``` - -## Conditions - -. | . ---------------------- | ------------------ -**Operating System:** | ? -**Compiler:** | ? -**Compiler flags:** | ? -**maddy version:** | ? - -## Description - -What did you try? What is not working?