From f82fa42cba0740ee596640af93fc2ee52c074ba0 Mon Sep 17 00:00:00 2001 From: sh <37271604+shumvgolove@users.noreply.github.com> Date: Wed, 26 Apr 2023 18:37:13 +0300 Subject: [PATCH] github: issue templates (#2330) * issue template test * templates: allow blank issues --- .github/ISSUE_TEMPLATE/bug.yml | 68 +++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature.yml | 40 +++++++++++++++++ .github/ISSUE_TEMPLATE/question.yml | 16 +++++++ 4 files changed, 125 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000..a6ffb6d328 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,68 @@ +name: Bug +description: File a bug report/issue +title: "[Bug]: " +labels: ["bug", "triage"] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + 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 +- type: dropdown + attributes: + label: Platform + description: Multiple selections are possible. + multiple: true + options: + - Linux + - Mac + - Windows + - Android + - iOS + validations: + required: true +- type: input + attributes: + label: OS version + description: Specify the OS version + placeholder: ex. Android 12, Ubuntu 20.04 + validations: + required: true +- type: input + attributes: + label: App version + description: Specify the SimpleX version + placeholder: ex. 4.3.2 + validations: + required: true +- type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + placeholder: Bug happened! + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + placeholder: No bug should happen! + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Go to ... + 3. Click on ... + 4. See error... + validations: + required: true +- type: textarea + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..0086358db1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000000..936d1dcaf5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,40 @@ +name: Feature +description: Suggest your feature +title: "[Feature]: " +labels: ["enhancement", "triage"] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + 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 +- type: dropdown + attributes: + label: Platform + description: Multiple selections are possible. If selected input is "all", this considered to be a general feature. + multiple: true + options: + - Linux + - Mac + - Windows + - Android + - iOS + - all + validations: + required: true +- type: input + attributes: + label: App version + description: Specify the SimpleX version + placeholder: ex. 4.3.2 + validations: + required: false +- type: textarea + attributes: + label: Feature + description: Describe the feature you would like to see added + placeholder: SimpleX Chat should make me coffee! + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000000..8506c69e0a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,16 @@ +name: Question +description: Ask your question +title: "[Q]: " +labels: ["question", "triage"] +body: +- type: markdown + attributes: + value: | + Generally, we encourage you to ask questions in our [official group](https://simplex.chat/invitation/#/?v=1&smp=smp%3A%2F%2FPQUV2eL0t7OStZOoAsPEV2QYWt4-xilbakvGUGOItUo%3D%40smp6.simplex.im%2FK1rslx-m5bpXVIdMZg9NLUZ_8JBm8xTt%23MCowBQYDK2VuAyEALDeVe-sG8mRY22LsXlPgiwTNs9dbiLrNuA7f3ZMAJ2w%3Dsimplex:/contact#/?v=1&smp=smp%3A%2F%2FPQUV2eL0t7OStZOoAsPEV2QYWt4-xilbakvGUGOItUo%3D%40smp6.simplex.im%2FK1rslx-m5bpXVIdMZg9NLUZ_8JBm8xTt%23MCowBQYDK2VuAyEALDeVe-sG8mRY22LsXlPgiwTNs9dbiLrNuA7f3ZMAJ2w%3D), but you can do it anyway :) +- type: textarea + attributes: + label: Question + description: Please ask your question in plain english. + placeholder: Is SimpleX - chat? + validations: + required: true