From 9987a780443e47d3b496c24db91197f2da8b7eee Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sat, 24 Feb 2024 19:07:18 +0100 Subject: [PATCH] new issue templates (#3789) inspired by https://github.com/mastodon/mastodon/tree/main/.github/ISSUE_TEMPLATE --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 41 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2.feature_request.yml | 19 +++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + ISSUE_TEMPLATE.md | 9 ----- 4 files changed, 61 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/1.bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/2.feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml new file mode 100644 index 000000000..884d62dce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -0,0 +1,41 @@ +name: Bug Report +description: If something isn't working as expected +labels: [bug] +body: + - type: markdown + attributes: + value: | + Make sure that you are submitting a new bug that was not previously reported or already fixed. + + Please use a concise and distinct title for the issue. + + If possible, attach screenshots, videos or links to posts to illustrate the problem. + - type: textarea + attributes: + label: Detailed description + validations: + required: false + - type: textarea + attributes: + label: Steps to reproduce the problem + description: What were you trying to do? + value: | + 1. + 2. + 3. + ... + validations: + required: false + - type: input + attributes: + label: Debug information + description: | + This info can be copied from the 'About' screen in Tusky 24+. + If you are on a lower version or can't access the screen, please provide us with the Tusky Version, Android Version, Device and the Mastodon instance this problem occurred on. + placeholder: | + Tusky Test 22.0-b814c2c0 + Android 12 + Fairphone 4 + mastodon.social + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml new file mode 100644 index 000000000..8f66f49b6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -0,0 +1,19 @@ +name: Feature Request +description: I have a suggestion +labels: [enhancement] +body: + - type: markdown + attributes: + value: Please use a concise and distinct title for the issue. + - type: textarea + attributes: + label: Pitch + description: Describe your idea for a feature. Make sure it has not already been suggested/implemented/turned down before. + validations: + required: true + - type: textarea + attributes: + label: Motivation + description: Why do you think this feature is needed? Who would benefit from it? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..0086358db --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index a568a4dc8..000000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,9 +0,0 @@ -[Issue text goes here]. - -* * * * -- Tusky Version: -- Android Version: -- Android Device: -- Mastodon instance (if applicable): - -- [ ] I searched or browsed the repo’s other issues to ensure this is not a duplicate.