From 23d2c1f0e9c7898dcbfd6e63298876f5437ba297 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 17 Aug 2021 09:48:43 +0200 Subject: [PATCH] github: convert issue templates to forms --- .github/ISSUE_TEMPLATE/01-bug-report.yml | 40 +++++++++++++++++++ .github/ISSUE_TEMPLATE/02-feature-request.yml | 19 +++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 35 ---------------- .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.md | 22 ---------- 5 files changed, 64 insertions(+), 57 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/01-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/02-feature-request.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/01-bug-report.yml b/.github/ISSUE_TEMPLATE/01-bug-report.yml new file mode 100644 index 00000000..172f3692 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-bug-report.yml @@ -0,0 +1,40 @@ +name: "Bug report" +description: "Create a report to help us improve" +title: "[Bug]: " +labels: ["bug report"] +body: + - type: markdown + attributes: + value: | + This is a bug tracker of the Termux app. If you have issues with a package inside the app, then please open an issue at [termux-packages](https://github.com/termux/termux-packages) instead. Use search before you open an issue to check whether your issue has been already reported and perhaps solved. + + Android versions 5.x and 6.x are not supported anymore. + + If you have issues installing packages then please see https://github.com/termux/termux-packages/issues/6726. + - type: textarea + attributes: + label: Problem description + description: | + A clear and concise description of what the problem is. You may attach the logs, screenshots, screen video recording and whatever else that will help to understand the issue. + + Issues without proper description will be closed without solution. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce the behavior. Please post all necessary commands that are needed to reproduce the issue. + validations: + required: true + - type: textarea + attributes: + label: What is the expected behavior? + - type: textarea + attributes: + label: System information + description: Please provide info about your device + value: | + * Termux application version: + * Android OS version: + * Device model: + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/02-feature-request.yml b/.github/ISSUE_TEMPLATE/02-feature-request.yml new file mode 100644 index 00000000..d09d97f8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-feature-request.yml @@ -0,0 +1,19 @@ +name: "Feature request" +description: "Suggest a new feature for Termux application" +title: "[Feature]: " +labels: ["feature request"] +body: + - type: textarea + attributes: + label: Feature description + description: Describe the feature and why you want it. + validations: + required: true + - type: textarea + attributes: + label: Additional information + description: | + Does another app/terminal emulator have this feature? + Provide links to more background information. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 440cc3fe..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve Termux application - ---- - - - -**Problem description** - - -**Steps to reproduce** - - -**Expected behavior** - - -**Additional information** - -* Termux application version: -* Android OS version: -* Device model: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..29c4cebe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Want ask questions about the project? + url: https://github.com/termux/termux-app/discussions + about: Join GitHub Discussions diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index c1e99f10..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest a new feature for Termux application - ---- - - - -**Feature description** - - -**Reference implementation** - -Does another app/terminal emulator have this feature? -Provide links to more background information.