From 2053f82538a5cc159f900ac9ff642f8bdfed350d Mon Sep 17 00:00:00 2001 From: Jannis Berndt Date: Sun, 7 Apr 2024 22:02:07 +0200 Subject: [PATCH] Update and rename bug_report.md to bug_report.yaml --- .github/ISSUE_TEMPLATE/bug_report.md | 39 --------------- .github/ISSUE_TEMPLATE/bug_report.yaml | 66 ++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 39 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 28884c20..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -Package Version (from pubspec.yaml): `persistent_bottom_nav_bar: ^x.x.x` - -**Bug Description** - -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. - -**Code to reproduce** - -Insert all the code that is necessary to reproduce your issue (expecially, include the configuration of `PersistentTabView`) -``` -PersistentTabView( - ... -) -``` - -**Screenshots** - -If applicable, add screenshots to help explain your problem. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000..2a543284 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,66 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: [] +projects: [] +assignees: +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! The more information you provide, the faster we can repoduce the issue and resolve it + - type: input + id: version + attributes: + label: Version: + description: What version of the package are you running? + placeholder: 5.0.0 + validations: + required: true + - type: dropdown + id: platforms + attributes: + label: What platforms are you seeing the problem on? + multiple: true + options: + - Android + - iOS + - Web + - macOS + - Windows + - Linux + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Please describe what the bug is and what you expected to happen. + placeholder: When switching to the second tab... + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: Please describe all the steps to reproduce the behavior + value: "1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error" + validations: + required: true + - type: textarea + id: code + attributes: + label: Code to reproduce the problem + description: Insert all the code that is necessary to reproduce your issue (expecially, include the configuration of `PersistentTabView`). This will be automatically formatted into code, so no need for backticks. + render: dart + validations: + required: true + - type: textarea + id: logs + 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 + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem.