From 275253e4de08466ebfabba549e0bffb261888d22 Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Sat, 24 Jul 2021 13:21:50 +0200 Subject: [PATCH] Use a form in the issue template --- .github/ISSUE_TEMPLATE/10_bug_report.md | 38 --------------- .github/ISSUE_TEMPLATE/10_bug_report.yml | 46 +++++++++++++++++++ .github/ISSUE_TEMPLATE/15_feature_request.md | 16 ------- .github/ISSUE_TEMPLATE/15_feature_request.yml | 25 ++++++++++ .github/ISSUE_TEMPLATE/20_documentation.md | 12 ----- .github/ISSUE_TEMPLATE/20_documentation.yml | 19 ++++++++ 6 files changed, 90 insertions(+), 66 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/10_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/10_bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/15_feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/15_feature_request.yml delete mode 100644 .github/ISSUE_TEMPLATE/20_documentation.md create mode 100644 .github/ISSUE_TEMPLATE/20_documentation.yml diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.md b/.github/ISSUE_TEMPLATE/10_bug_report.md deleted file mode 100644 index 93ab19c4865..00000000000 --- a/.github/ISSUE_TEMPLATE/10_bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug/Crash report -about: Create a bug report to help us improve QGIS. -title: '' -labels: 'Bug' -assignees: '' - ---- - - -**Describe the bug** - - -**How to Reproduce** - - - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error --> - -**QGIS and OS versions** - - - -**Additional context** - - diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml new file mode 100644 index 00000000000..bb1fd70f349 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml @@ -0,0 +1,46 @@ +name: Bug/Crash report +description: Create a bug report to help us improve QGIS. +labels: + - 'Bug' +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report correctly. + + - type: textarea + id: what + attributes: + label: What is the bug or the crash? + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce the issue + description: | + Steps, sample datasets and qgis project file to reproduce the behavior. Screencasts or screenshots are more than welcome, you can drag&drop them in the text box. + 1. Go to '...' + 2. Click on '...' + 3. Scroll down to '...' + 4. See error + validations: + required: true + + - type: textarea + id: about-info + attributes: + label: Versions + description: | + In the QGIS Help menu -> About, click in the table, Ctrl+A and then Ctrl+C. Finally paste here. + Do not make a screenshot. + validations: + required: true + + - type: textarea + id: additional-context + attributes: + label: Additional context + description: | + Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/15_feature_request.md b/.github/ISSUE_TEMPLATE/15_feature_request.md deleted file mode 100644 index 84a4b687462..00000000000 --- a/.github/ISSUE_TEMPLATE/15_feature_request.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Feature request -about: Suggest a feature idea for QGIS. -title: '' -labels: 'Feature Request' -assignees: '' - ---- - -**Feature description.** - - - -**Additional context** - diff --git a/.github/ISSUE_TEMPLATE/15_feature_request.yml b/.github/ISSUE_TEMPLATE/15_feature_request.yml new file mode 100644 index 00000000000..19b1dabf3fa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/15_feature_request.yml @@ -0,0 +1,25 @@ +name: Feature request +description: Suggest a feature idea for QGIS. +labels: + - 'Feature Request' +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request correctly. + + - type: textarea + id: what + attributes: + label: Feature description + description: A clear and concise description of what you want to happen. Ex. QGIS would rock even more if [...] + validations: + required: true + + - type: textarea + id: Additional + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. Open source is community driven, please consider a way to support this work either by hiring developers, supporting the QGIS project, find someone to submit a pull request. + If the change required is important, you should consider writing a [QGIS Enhancement Proposal](https://github.com/qgis/QGIS-Enhancement-Proposals/issues) (QEP) or hiring someone to, and announce your work on the lists. diff --git a/.github/ISSUE_TEMPLATE/20_documentation.md b/.github/ISSUE_TEMPLATE/20_documentation.md deleted file mode 100644 index e913d0441b5..00000000000 --- a/.github/ISSUE_TEMPLATE/20_documentation.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: API documentation (C++ or PyQGIS) -about: An issue about the C++ or PyQGIS documentation -title: '' -labels: 'Documentation, API, PyQGIS' -assignees: '' - ---- - - - -# Problem diff --git a/.github/ISSUE_TEMPLATE/20_documentation.yml b/.github/ISSUE_TEMPLATE/20_documentation.yml new file mode 100644 index 00000000000..99b6d54b79a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/20_documentation.yml @@ -0,0 +1,19 @@ +name: API documentation (C++ or PyQGIS) +description: An issue about the C++ or PyQGIS documentation +labels: + - 'Documentation' + - 'API' + - 'PyQGIS' +body: + + - type: markdown + attributes: + value: | + Report only an issue related to the C++ or PyQGIS documentation + + - type: textarea + id: what + attributes: + label: What is the issue about the documentation? + validations: + required: true