From 63aef218a6a430e509b72e58e6b8afee9292f73c Mon Sep 17 00:00:00 2001 From: Jeroen Weener Date: Tue, 6 Jun 2023 16:30:07 +0200 Subject: [PATCH] Update and rename b-bug-report.md to b-bug-report.yml --- .github/ISSUE_TEMPLATE/b-bug-report.md | 21 ------ .github/ISSUE_TEMPLATE/b-bug-report.yml | 92 +++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 21 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/b-bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/b-bug-report.yml diff --git a/.github/ISSUE_TEMPLATE/b-bug-report.md b/.github/ISSUE_TEMPLATE/b-bug-report.md deleted file mode 100644 index dbc4ab0d7..000000000 --- a/.github/ISSUE_TEMPLATE/b-bug-report.md +++ /dev/null @@ -1,21 +0,0 @@ ---- - -name: 🐛 Bug Report -about: Create a report to help us fix bugs and make improvements ---- - -## 🐛 Bug Report - - - -### Expected behavior - -### Reproduction steps - -### Configuration - -**Version:** 1.x - -**Platform:** -- [ ] :iphone: iOS -- [ ] :robot: Android \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/b-bug-report.yml b/.github/ISSUE_TEMPLATE/b-bug-report.yml new file mode 100644 index 000000000..cdbdd81a5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/b-bug-report.yml @@ -0,0 +1,92 @@ +name: Report a bug +description: You encountered an issue in your application using the geolocator plugin. +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to file an issue for this plugin! + To tackle this issue effectively, we require as many details as possible. + + - type: checkboxes + attributes: + label: Is there an existing issue for this? + options: + required: true + - type: checkboxes + attributes: + label: Which platforms are affected? + options: + - label: Android + - label: iOS + - type: textarea + attributes: + label: Steps to reproduce + description: Please tell us exactly how to reproduce the issue you encounter. + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: Expected results + description: Please tell us what is expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Actual results + description: Please tell us what is actually happening. + validations: + required: true + - type: textarea + attributes: + label: Code sample + description: | + Please create a minimal reproducible sample that shows the problem + and attach it below between the lines with the backticks. + + To create it, use the `flutter create bug` command and update the `main.dart` file. + + Alternatively, you can use https://dartpad.dev/ or create a public GitHub + repository to share your sample. + + Having a code sample will dramatically increase our ability to locate and fix the issue. + value: | +
Code sample + + ```dart + [Paste your code here] + ``` + +
+ validations: + required: true + - type: textarea + attributes: + label: Screenshots or Video + description: | + Upload any screenshots or video showcasing the issue if applicable. + value: | +
+ Screenshots / Video demonstration + + [Upload media here] + +
+ - type: textarea + attributes: + label: Flutter Doctor output + description: | + Please provide the full output of running `flutter doctor -v` + value: | +
Doctor output + + ```console + [Paste your output here] + ``` + +
+ validations: + required: true