From 1b701201616437829797dd8fa927150994ce2ca9 Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Thu, 4 Apr 2024 12:54:18 +0200 Subject: [PATCH] feat(meta): Migrate issue templates to issue forms Refs: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms Signed-off-by: Stefan Niedermann --- .github/ISSUE_TEMPLATE/bug_report.yml | 138 ++++++++++++++------- .github/ISSUE_TEMPLATE/feature_request.yml | 63 ++++++---- 2 files changed, 135 insertions(+), 66 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 576f1873..514ad8fd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,53 +1,107 @@ - ---- -name: 🐞 Bug report -about: Help us improving by reporting a bug -labels: bug ---- +# SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2020-2024 Stefan Niedermann +# SPDX-License-Identifier: GPL-3.0-or-later +name: "🐞 Bug report" +description: "Help us improving by reporting a bug" +labels: [ "bug" ] +body: + - type: markdown + attributes: + value: Please note this is a free and open-source project. All people take on their own time to help you, so please, be patient. - -Please use **[GitHub reactions](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)** πŸ‘ to show that you are affected by the same issue. Please don't comment if you have no relevant information to add! + - type: textarea + id: problem-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. Please add clear steps to reliably reproduce the issue. + placeholder: | + 1. Go to '…' + 2. Click on '…' + 3. Scroll down to '…' + 4. See error + validations: + required: true -**Describe the bug** - + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. + - type: input + id: version-nextcloud-android-notes + attributes: + label: Notes Android version + placeholder: Version of this app + validations: + required: true -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '…' -2. Click on '…' -3. Scroll down to '…' -4. See error + - type: input + id: version-nextcloud-notes + attributes: + label: Notes server version + placeholder: Notes Server app version + validations: + required: true + - type: input + id: version-nextcloud-android + attributes: + label: Nextcloud Android version + placeholder: Nextcloud Android app + validations: + required: true -**Expected behavior** - + - type: input + id: version-nextcloud + attributes: + label: Nextcloud version + placeholder: Your Nextcloud instance + validations: + required: true + - type: input + id: device + attributes: + label: Device + description: Manufacturer and model + placeholder: Samsung Galaxy S24 + validations: + required: true -**Screenshots** - + - type: input + id: android-version + attributes: + label: Android Version + description: Neither MIUI nor One UI or other proprietary manufacturer OS versions + placeholder: "14" + validations: + required: true + - type: checkboxes + id: versions + attributes: + label: App Store + options: + - label: Google Play Store + - label: F-Droid + - label: Huawei App Gallery -**Smartphone (please complete the following information):** - - Nextcloud Notes-Version (android app): - - F-Droid or Play Store: - - Android-Version: - - Device: - - -**Server** - - Nextcloud version: - - Nextcloud Notes version (server app): - -**Stacktrace** + - type: textarea + id: stacktrace + attributes: + label: Stacktrace + description: Copy the error message using the Copy button. Please do not post a screenshot of the error message. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 64b429f5..1a1625f3 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,30 +1,45 @@ - ---- -name: πŸš€ Feature request -about: Suggest an idea for this project -labels: Enhancement ---- +name: "πŸš€ Feature request" +description: "Propose an idea for Notes Android" +labels: [ "enhancement" ] +body: - -Please use **[GitHub reactions](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)** πŸ‘ to show that you are affected by the same issue. Please don't comment if you have no relevant information to add! + * Please search the existing issues first, it's likely that your issue was already reported or even fixed. + * This repository is *only* for issues within the Notes Android app, **not** for the [Notes server app](https://github.com/nextcloud/notes/issues/) and **not** for the [Nextcloud Android app](https://github.com/nextcloud/android/issues). -**Is your feature request related to a problem? Please describe.** - + - type: textarea + id: problem-description + attributes: + label: Is your feature request related to a problem? Please describe. + description: | + A clear and concise description of what the problem is. + placeholder: I'm always frustrated when… + validations: + required: true -**Describe the solution you'd like** - + - type: textarea + id: preferred-solution + attributes: + label: Describe the solution you'd like + description: | + A clear and concise description of what you want to happen. + validations: + required: true -**Describe alternatives you've considered** - + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: | + A clear and concise description of any alternative solutions or features you've considered. -**Additional context** - + - type: textarea + id: context + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. \ No newline at end of file