From 6332f277a88c3571b194cd2189e473ab2b85c952 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Thu, 2 Nov 2023 13:38:30 +0100 Subject: [PATCH] Migrate bug reports to forms --- .github/ISSUE_TEMPLATE/bug_report.md | 37 ----------- .github/ISSUE_TEMPLATE/bug_report.yaml | 91 ++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 37 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 33faa47..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: ThexXTURBOXx - ---- - -## Describe the bug -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. - -## Device (please complete the following information!) - - Device: [e.g. iPhone 6, Desktop Computer] - - OS: [e.g. iOS 8.1, Windows 10 21H2] - - Flutter version: [e.g. 3.13.9] - - `catcher_2` version: [e.g. 1.0.0] - -## Additional context -Add any other context about the problem here. - -## Checklist - - [ ] I have read and followed the **entire** [README](https://github.com/ThexXTURBOXx/catcher_2) and it has not provided the solution I need. - - [ ] I have provided all the information I can (incl. auth URL etc.) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000..54f1063 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,91 @@ +name: Bug report +description: Create a bug report to help us improve +title: '[Bug]: ' +labels: + - bug +assignees: + - ThexXTURBOXx +body: + - type: textarea + attributes: + label: Description + description: A clear and concise description of the problem + placeholder: Currently, I am trying to [...] + validations: + required: true + - type: textarea + attributes: + label: Minimal Reproduction + description: Provide steps to reproduce the problem + placeholder: 'Steps to reproduce the behaviour: [...]' + value: |- + Steps to reproduce the behaviour: + + 1. Use the following code: + ```dart + + ``` + 2. [...] + validations: + required: true + - type: textarea + attributes: + label: Exception or Error + description: Provide error logs + placeholder: Copy paste from the log/console + validations: + required: true + - type: textarea + attributes: + label: Expected Behaviour + description: A clear and concise description of what you expected to happen + placeholder: The package should [...] + validations: + required: true + - type: textarea + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem + placeholder: You can upload screenshots by drag’n’drop + - type: textarea + attributes: + label: Additional context + description: Add any other context about the problem here + - type: markdown + attributes: + value: '# Environment' + - type: input + attributes: + label: Device + placeholder: e.g. iPhone 6, Desktop Computer + validations: + required: true + - type: input + attributes: + label: OS + placeholder: e.g. iOS 8.1, Windows 10 21H2 + validations: + required: true + - type: input + attributes: + label: Flutter version + placeholder: e.g. 3.13.9 + validations: + required: true + - type: input + attributes: + label: catcher_2 version + placeholder: e.g. 1.0.0 + validations: + required: true + - type: checkboxes + attributes: + label: Checklist + options: + - label: >- + I have read and followed the **entire** + [README](https://github.com/ThexXTURBOXx/catcher_2/blob/master/README.md) + and it has not provided the solution I need. + required: true + - label: I have provided all the information I can. + required: true