From 538f83205d75fdfc437bece61764e864ae90a5b0 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 25 Jan 2024 23:57:36 +0100 Subject: [PATCH] chore/issue template modification for v2 (#4240) Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 31 +++++++------- .github/ISSUE_TEMPLATE/bug_report.yaml | 45 +++++++++++---------- .github/ISSUE_TEMPLATE/feature_request.yaml | 29 ++++++++----- 3 files changed, 57 insertions(+), 48 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index bfaebb75..a708dbf2 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -24,7 +24,7 @@ body: required: true attributes: label: "📝 Describe your problem" - description: "Please walk us through it step by step." + description: "Please walk us through it step by step. Include all important details and add screenshots where appropriate" placeholder: "Describe what are you asking for..." - type: textarea id: error-msg @@ -56,19 +56,20 @@ body: placeholder: "Ex. Google Chrome 95.0.4638.69" validations: required: true - - type: input - id: docker-version - attributes: - label: "🐋 Docker Version" - description: "If running with Docker, which version are you running?" - placeholder: "Ex. Docker 20.10.9 / K8S / Podman" - validations: - required: false - - type: input - id: nodejs-version + - type: textarea + id: deployment-info attributes: - label: "🟩 NodeJS Version" - description: "If running with Node.js? which version are you running?" - placeholder: "Ex. 14.18.0" + label: "🖥️ Deployment Environment" + description: | + examples: + - **Runtime**: Docker 20.10.9 / nodejs 14.18.0 / K8S via ... v1.3.3 / .. + - **Database**: sqlite/embedded mariadb/external mariadb + - **Filesystem used to store the database on**: Windows/ZFS/btrfs/NFSv3 on a SSD/HDD/eMMC + - **number of monitors**: 42 + value: | + - Runtime: + - Database: + - Filesystem used to store the database on: + - number of monitors: validations: - required: false + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 07244420..50b919d3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -3,14 +3,14 @@ description: "Submit a bug report to help us improve" #title: "[Bug] " labels: [bug] body: - - type: checkboxes - id: no-duplicate-issues + - type: textarea + id: related-issues + validations: + required: true attributes: - label: "⚠️ Please verify that this bug has NOT been raised before." - description: "Search in the issues sections by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=)" - options: - - label: "I checked and didn't find similar issue" - required: true + label: "📑 I have found these related issues/pull requests" + description: "Search related issues by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=) and explain what the difference between them or explain that you are unable to find any related issues" + placeholder: "Related to #1 by also touching the ... system. They should not be merged because ..." - type: checkboxes attributes: label: "🛡️ Security Policy" @@ -31,7 +31,7 @@ body: required: true attributes: label: "👟 Reproduction steps" - description: "How do you trigger this bug? Please walk us through it step by step." + description: "How do you trigger this bug? Please walk us through it step by step. Include all important details and add screenshots where appropriate" placeholder: "..." - type: textarea id: expected-behavior @@ -73,22 +73,23 @@ body: placeholder: "Ex. Google Chrome 95.0.4638.69" validations: required: true - - type: input - id: docker-version - attributes: - label: "🐋 Docker Version" - description: "If running with Docker, which version are you running?" - placeholder: "Ex. Docker 20.10.9 / K8S / Podman" - validations: - required: false - - type: input - id: nodejs-version + - type: textarea + id: deployment-info attributes: - label: "🟩 NodeJS Version" - description: "If running with Node.js? which version are you running?" - placeholder: "Ex. 14.18.0" + label: "🖥️ Deployment Environment" + description: | + examples: + - **Runtime**: Docker 20.10.9 / nodejs 14.18.0 / K8S via ... v1.3.3 / .. + - **Database**: sqlite/embedded mariadb/external mariadb + - **Filesystem used to store the database on**: Windows/ZFS/btrfs/NFSv3 on a SSD/HDD/eMMC + - **number of monitors**: 42 + value: | + - Runtime: + - Database: + - Filesystem used to store the database on: + - number of monitors: validations: - required: false + required: true - type: textarea id: logs attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index b26841c4..531a2c25 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -3,14 +3,14 @@ description: "Submit a proposal for a new feature" #title: "[Feature] " labels: [feature-request] body: - - type: checkboxes - id: no-duplicate-issues + - type: textarea + id: related-issues + validations: + required: true attributes: - label: "⚠️ Please verify that this feature request has NOT been suggested before." - description: "Search in the issues sections by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=)" - options: - - label: "I checked and didn't find similar feature request" - required: true + label: "📑 I have found these related issues/pull requests" + description: "Search related issues by clicking [HERE](https://github.com/louislam/uptime-kuma/issues?q=) and explain what the difference between them or explain that you are unable to find any related issues" + placeholder: "Related to #1 by also touching the ... system. They should not be merged because ..." - type: dropdown id: feature-area attributes: @@ -18,10 +18,17 @@ body: description: "What kind of feature request is this?" multiple: true options: - - API - - New Notification - - New Monitor - - UI Feature + - API / automation options + - New notification-provider + - Change to existing notification-provider + - New monitor + - Change to existing monitor + - Dashboard + - Status-page + - Maintenance + - Deployment + - Certificate expiry + - Settings - Other validations: required: true