From f5658557f20804ca2f7b2b5ea9bcd90cfb5b44fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karlo=20=C4=8Ceh?= Date: Mon, 7 Oct 2024 15:21:55 +0200 Subject: [PATCH] Update github templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 --------------- .github/ISSUE_TEMPLATE/bug_report.yml | 54 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 31 ------------- .github/ISSUE_TEMPLATE/feature_request.yml | 25 ++++++++++ 4 files changed, 79 insertions(+), 69 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c67bc21..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: 'Bug report: ' -labels: bug -assignees: '' - ---- - ---- -name: Bug report -about: Create a report to help us improve - ---- - -## 📖 Description - - -## ℹī¸ Environment -- **Device**: -- **OS**: -- **Library version**: - -## đŸ’Ŗ Steps to reproduce - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## 🔧 Expected behavior - - -## 📷 Screenshots - - -## 📄 Additional information - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..3d7795e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,54 @@ +name: Bug report +description: Create a report to help us improve +labels: bug +body: + - type: textarea + id: description + attributes: + label: 📖 Description + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: environment + attributes: + label: ℹī¸ Environment + description: | + An environment information where issue occurred. Try to provide as much information as possible, including: + - device name, model and manufacturer (e.g. Google Pixel 9) + - operating system version (e.g. Android 12) + - software name, version and build number (e.g The Library 4.2.1) + - additional information (e.g. dependencies, IDE, etc.) + value: | + - Device: + - Operating system: + - Software information: + - Additional information: + validations: + required: true + - type: textarea + id: reproduction-steps + attributes: + label: đŸ’Ŗ Steps to reproduce + description: Steps to reproduce the behavior. + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + ... + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: 🔧 Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: additional-information + attributes: + label: 📄 Additional information + description: Any additional information that might be helpful in solving the issue. Including screenshots, logs, etc. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 6052953..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Feature request -about: Propose a new feature or an idea for this project -title: 'Feature request: ' -labels: enhancement -assignees: '' - ---- - - -## 💡 Feature description - - -## ℹī¸ Additional information - - - -## 🤔 Describe alternatives you've considered - - -## :raising_hand: Do you want to develop this feature yourself? - -- [ ] Yes -- [ ] No \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..28c7898 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,25 @@ +name: Feature request +description: Propose a new feature or an idea for this project +labels: enhancement +body: + - type: textarea + id: feature-description + attributes: + label: 💡 Feature description + description: A clear and concise description of the feature request, including what problem it solves. + validations: + required: true + - type: textarea + id: additional-information + attributes: + label: ℹī¸ Additional information + description: An additional information or screenshots about the feature request. + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: 🤔 Describe alternatives you've considered + description: Can you think of alternative approaches to achieve same goal? + validations: + required: false \ No newline at end of file