From 9a9fca67d50a0d192d3cf784354aacd5938e12cb Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sat, 23 Oct 2021 22:58:35 -0400 Subject: [PATCH 01/11] Migrate Bug Report to Github Issue Forms --- .github/ISSUE_TEMPLATE/bug_report.md | 42 ---------- .github/ISSUE_TEMPLATE/bug_report.yaml | 105 +++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 42 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 069ed6cc0..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**Is it a duplicated question?** -Please search in Issues without filters: https://github.com/louislam/uptime-kuma/issues?q= - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Info** -Uptime Kuma Version: -Using Docker?: Yes/No -Docker Version: -Node.js Version (Without Docker only): -OS: -Browser: - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Error Log** -It is easier for us to find out the problem. - -Docker: `docker logs ` -PM2: `~/.pm2/logs/` (e.g. `/home/ubuntu/.pm2/logs`) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..acffc517e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,105 @@ +name: "🐛 Bug Report" +description: "Submit a bug report to help us improve" +title: "🐛 Bug Report: " +labels: [bug] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: steps-to-reproduce + validations: + required: true + attributes: + label: "👟 Reproduction steps" + description: "How do you trigger this bug? Please walk us through it step by step." + placeholder: "..." + - type: textarea + id: expected-behavior + validations: + required: true + attributes: + label: "👍 Expected behavior" + description: "What did you think would happen?" + placeholder: "..." + - type: textarea + id: actual-behavior + validations: + required: true + attributes: + label: "👎 Actual Behavior" + description: "What actually happen?" + placeholder: "..." + - type: dropdown + id: uptime-kuma-version + attributes: + label: "🐻 Uptime-Kuma version" + description: "What version of Uptime-Kuma are you running?" + options: + - latest + - nightly + - Version 1.9.x + - Version 1.8.x + - Version 1.7.x + - Different version + validations: + required: true + - type: dropdown + id: operating-system + attributes: + label: "💻 Operating System" + description: "What OS is your server / device running on?" + options: + - Linux + - MacOS + - Windows + validations: + required: true + - type: dropdown + id: browser-vendor + attributes: + label: "🌐 Browser" + description: "What browser are you running on?" + options: + - Firefox + - Chrome + - Edge + - Safari + - Other + validations: + required: true + - type: checkboxes + id: uses-docker + attributes: + label: "🐋 Docker" + options: + - label: "Currently running in Docker?" + required: false + validations: + required: true + - type: dropdown + id: nodejs-version + attributes: + label: "🟩 NodeJS Version" + description: "What version of NodeJS are you running?" + options: + - 14 + - 16 + - 17 + validations: + required: false + - type: textarea + id: logs + attributes: + label: "📝 Relevant log output" + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "👀 Have you spent some time to check if this issue has been raised before?" + description: "Please search in the issues without filters [here](https://github.com/louislam/uptime-kuma/issues?q=)" + options: + - label: "I checked and didn't find similar issue" + required: true From bdebbf8e40b7fdd4724c0f50a66da263430e779f Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 00:40:06 -0400 Subject: [PATCH 02/11] Add Support for Issue Forms --- .github/ISSUE_TEMPLATE/ask-for-help.md | 21 ------ .github/ISSUE_TEMPLATE/ask-for-help.yaml | 79 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.yaml | 4 +- .github/ISSUE_TEMPLATE/feature_request.md | 22 ------ .github/ISSUE_TEMPLATE/feature_request.yaml | 45 ++++++++++++ 5 files changed, 127 insertions(+), 44 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/ask-for-help.md create mode 100644 .github/ISSUE_TEMPLATE/ask-for-help.yaml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.md b/.github/ISSUE_TEMPLATE/ask-for-help.md deleted file mode 100644 index 3031e077a..000000000 --- a/.github/ISSUE_TEMPLATE/ask-for-help.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Ask for help -about: You can ask any question related to Uptime Kuma. -title: '' -labels: help -assignees: '' - ---- -**Is it a duplicated question?** -Please search in Issues without filters: https://github.com/louislam/uptime-kuma/issues?q= - -**Describe your problem** -Please describe what you are asking for - -**Info** -Uptime Kuma Version: -Using Docker?: Yes/No -Docker Version: -Node.js Version (Without Docker only): -OS: -Browser: diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml new file mode 100644 index 000000000..41361e27b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -0,0 +1,79 @@ +name: "❓ Ask for help" +description: "Submit any question related to Uptime Kuma" +title: "❓ Ask for help: " +labels: [help] +body: + - type: textarea + id: steps-to-reproduce + validations: + required: true + attributes: + label: "👟 Reproduction steps" + description: "Please walk us through it step by step." + placeholder: "Describe what are you asking for..." + - type: dropdown + id: uptime-kuma-version + attributes: + label: "🐻 Uptime-Kuma version" + description: "What version of Uptime-Kuma are you running?" + options: + - latest + - nightly + - Version 1.9.x + - Version 1.8.x + - Version 1.7.x + - Different version + validations: + required: true + - type: dropdown + id: operating-system + attributes: + label: "💻 Operating System" + description: "What OS is your server / device running on?" + options: + - Linux + - MacOS + - Windows + validations: + required: true + - type: dropdown + id: browser-vendor + attributes: + label: "🌐 Browser" + description: "What browser are you running on?" + options: + - Firefox + - Chrome + - Edge + - Safari + - Other + validations: + required: true + - type: checkboxes + id: uses-docker + attributes: + label: "🐋 Docker" + options: + - label: "Currently running in Docker?" + required: false + validations: + required: true + - type: dropdown + id: nodejs-version + attributes: + label: "🟩 NodeJS Version" + description: "If running in the host, Which version of NodeJS are you running?" + options: + - 14 + - 16 + - 17 + validations: + required: false + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "👀 Have you spent some time to check if this question has been raised before?" + description: "Please search in the issues without filters [here](https://github.com/louislam/uptime-kuma/issues?q=)" + options: + - label: "I checked and didn't find similar question" + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index acffc517e..8d14c906d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -82,7 +82,7 @@ body: id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "What version of NodeJS are you running?" + description: "If running in the host, Which version of NodeJS are you running?" options: - 14 - 16 @@ -95,6 +95,8 @@ body: label: "📝 Relevant log output" description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. render: shell + validations: + required: false - type: checkboxes id: no-duplicate-issues attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 4794cc242..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- -**Is it a duplicated question?** -Please search in Issues without filters: https://github.com/louislam/uptime-kuma/issues?q= - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..93c3fdfe9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,45 @@ +name: 🚀 Feature +description: "Submit a proposal for a new feature" +title: "🚀 Feature: " +labels: [enhancement] +body: + - type: textarea + id: feature-description + validations: + required: true + attributes: + label: "🔖 Feature description" + description: "A clear and concise description of what the feature request is." + placeholder: "You should add ..." + - type: textarea + id: solution + validations: + required: true + attributes: + label: "✔️ Solution" + description: "A clear and concise description of what you want to happen." + placeholder: "In my use-case, ..." + - type: textarea + id: alternatives + validations: + required: false + attributes: + label: "❓ Alternatives" + description: "A clear and concise description of any alternative solutions or features you've considered." + placeholder: "I have considered ..." + - type: textarea + id: additional-context + validations: + required: false + attributes: + label: "❓ Additional Context" + description: "Add any other context or screenshots about the feature request here." + placeholder: "..." + - type: checkboxes + id: no-duplicate-issues + attributes: + label: "👀 Have you spent some time to check if this feature request has been raised before?" + description: "Please search in the issues without filters [here](https://github.com/louislam/uptime-kuma/issues?q=)" + options: + - label: "I checked and didn't find similar feature request" + required: true \ No newline at end of file From 95342ec0066d2d3afeb7dc0ecc28e2bdfbf2a721 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 00:41:51 -0400 Subject: [PATCH 03/11] Update label for ask for help --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index 41361e27b..46f06d449 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -8,7 +8,7 @@ body: validations: required: true attributes: - label: "👟 Reproduction steps" + label: "📝 Describe your problem" description: "Please walk us through it step by step." placeholder: "Describe what are you asking for..." - type: dropdown From c489058a571d8d6f440cffec696fc92be34f03ac Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 00:46:10 -0400 Subject: [PATCH 04/11] Update labels for each form --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 2 +- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index 46f06d449..0c77c2629 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -1,6 +1,6 @@ name: "❓ Ask for help" description: "Submit any question related to Uptime Kuma" -title: "❓ Ask for help: " +title: "[Help]: " labels: [help] body: - type: textarea diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 8d14c906d..53de80037 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,6 +1,6 @@ name: "🐛 Bug Report" description: "Submit a bug report to help us improve" -title: "🐛 Bug Report: " +title: "[Bug]: " labels: [bug] body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 93c3fdfe9..11260a289 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,6 +1,6 @@ name: 🚀 Feature description: "Submit a proposal for a new feature" -title: "🚀 Feature: " +title: "[Feature]: " labels: [enhancement] body: - type: textarea From 40a1ebecc5120c5c7795ea9b20ea3d6ba5139c93 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 00:51:47 -0400 Subject: [PATCH 05/11] Update feature_request.yaml --- .github/ISSUE_TEMPLATE/feature_request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 11260a289..5d23e3ec9 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,4 +1,4 @@ -name: 🚀 Feature +name: 🚀 Feature Request description: "Submit a proposal for a new feature" title: "[Feature]: " labels: [enhancement] @@ -42,4 +42,4 @@ body: description: "Please search in the issues without filters [here](https://github.com/louislam/uptime-kuma/issues?q=)" options: - label: "I checked and didn't find similar feature request" - required: true \ No newline at end of file + required: true From b50b3900484d1b255e966053fb1cc3438a7def1c Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 10:04:56 -0400 Subject: [PATCH 06/11] Changes based on PR requests --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 30 ++++++++++----------- .github/ISSUE_TEMPLATE/bug_report.yaml | 30 ++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.yaml | 16 ++++++++++- 3 files changed, 43 insertions(+), 33 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index 0c77c2629..834ba3d46 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -1,6 +1,6 @@ name: "❓ Ask for help" description: "Submit any question related to Uptime Kuma" -title: "[Help]: " +title: "[Help]: " labels: [help] body: - type: textarea @@ -11,25 +11,19 @@ body: label: "📝 Describe your problem" description: "Please walk us through it step by step." placeholder: "Describe what are you asking for..." - - type: dropdown + - type: input id: uptime-kuma-version attributes: label: "🐻 Uptime-Kuma version" description: "What version of Uptime-Kuma are you running?" - options: - - latest - - nightly - - Version 1.9.x - - Version 1.8.x - - Version 1.7.x - - Different version validations: required: true - type: dropdown id: operating-system attributes: label: "💻 Operating System" - description: "What OS is your server / device running on?" + description: "What OS is your server/device running on?" + multiple: true options: - Linux - MacOS @@ -41,6 +35,7 @@ body: attributes: label: "🌐 Browser" description: "What browser are you running on?" + multiple: true options: - Firefox - Chrome @@ -58,15 +53,11 @@ body: required: false validations: required: true - - type: dropdown + - type: input id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "If running in the host, Which version of NodeJS are you running?" - options: - - 14 - - 16 - - 17 + description: "If running in the host, which version of NodeJS are you running?" validations: required: false - type: checkboxes @@ -77,3 +68,10 @@ body: options: - label: "I checked and didn't find similar question" required: true + - type: checkboxes + attributes: + label: "🛡️ Security Policy" + description: Please review the security policy before reporting security related issues/bugs. + options: + - label: I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 53de80037..bffa13154 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,6 +1,6 @@ name: "🐛 Bug Report" description: "Submit a bug report to help us improve" -title: "[Bug]: " +title: "[Bug]: <title>" labels: [bug] body: - type: markdown @@ -31,25 +31,19 @@ body: label: "👎 Actual Behavior" description: "What actually happen?" placeholder: "..." - - type: dropdown + - type: input id: uptime-kuma-version attributes: label: "🐻 Uptime-Kuma version" description: "What version of Uptime-Kuma are you running?" - options: - - latest - - nightly - - Version 1.9.x - - Version 1.8.x - - Version 1.7.x - - Different version validations: required: true - type: dropdown id: operating-system attributes: label: "💻 Operating System" - description: "What OS is your server / device running on?" + description: "What OS is your server/device running on?" + multiple: true options: - Linux - MacOS @@ -61,6 +55,7 @@ body: attributes: label: "🌐 Browser" description: "What browser are you running on?" + multiple: true options: - Firefox - Chrome @@ -78,15 +73,11 @@ body: required: false validations: required: true - - type: dropdown + - type: input id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "If running in the host, Which version of NodeJS are you running?" - options: - - 14 - - 16 - - 17 + description: "If running in the host, which version of NodeJS are you running?" validations: required: false - type: textarea @@ -105,3 +96,10 @@ body: options: - label: "I checked and didn't find similar issue" required: true + - type: checkboxes + attributes: + label: "🛡️ Security Policy" + description: Please review the security policy before reporting security related issues/bugs. + options: + - label: I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 5d23e3ec9..ef76ff287 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,8 +1,22 @@ name: 🚀 Feature Request description: "Submit a proposal for a new feature" -title: "[Feature]: " +title: "[Feature]: <title>" labels: [enhancement] body: + - type: dropdown + id: feature-area + attributes: + label: "🏷️ Feature Request Type" + description: "What kind of feature request is this?" + multiple: true + options: + - API + - New Notification + - New Monitor + - UI Feature + - Other + validations: + required: true - type: textarea id: feature-description validations: From c7e1267779724bf34c6e3b3d5ab86489bac6aea4 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 24 Oct 2021 10:12:17 -0400 Subject: [PATCH 07/11] More syntax changes. Change What to Which --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 6 +++--- .github/ISSUE_TEMPLATE/bug_report.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index 834ba3d46..bde3ad8d6 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -15,14 +15,14 @@ body: id: uptime-kuma-version attributes: label: "🐻 Uptime-Kuma version" - description: "What version of Uptime-Kuma are you running?" + description: "Which version of Uptime-Kuma are you running?" validations: required: true - type: dropdown id: operating-system attributes: label: "💻 Operating System" - description: "What OS is your server/device running on?" + description: "Which OS is your server/device running on?" multiple: true options: - Linux @@ -34,7 +34,7 @@ body: id: browser-vendor attributes: label: "🌐 Browser" - description: "What browser are you running on?" + description: "Which browser are you running on?" multiple: true options: - Firefox diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index bffa13154..05591ff30 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -35,14 +35,14 @@ body: id: uptime-kuma-version attributes: label: "🐻 Uptime-Kuma version" - description: "What version of Uptime-Kuma are you running?" + description: "Which version of Uptime-Kuma are you running?" validations: required: true - type: dropdown id: operating-system attributes: label: "💻 Operating System" - description: "What OS is your server/device running on?" + description: "Which OS is your server/device running on?" multiple: true options: - Linux @@ -54,7 +54,7 @@ body: id: browser-vendor attributes: label: "🌐 Browser" - description: "What browser are you running on?" + description: "Which browser are you running on?" multiple: true options: - Firefox From dd773aa5a20b8d8ab75c5b0c51e7e133e4b7f089 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Tue, 26 Oct 2021 22:10:48 -0400 Subject: [PATCH 08/11] Updates based on PR comments. --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 26 +++++-------------- .github/ISSUE_TEMPLATE/bug_report.yaml | 28 ++++++--------------- .github/ISSUE_TEMPLATE/feature_request.yaml | 2 +- 3 files changed, 14 insertions(+), 42 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index bde3ad8d6..98b4c3b32 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -18,41 +18,27 @@ body: description: "Which version of Uptime-Kuma are you running?" validations: required: true - - type: dropdown + - type: input id: operating-system attributes: label: "💻 Operating System" description: "Which OS is your server/device running on?" - multiple: true - options: - - Linux - - MacOS - - Windows validations: required: true - - type: dropdown + - type: input id: browser-vendor attributes: label: "🌐 Browser" description: "Which browser are you running on?" - multiple: true - options: - - Firefox - - Chrome - - Edge - - Safari - - Other validations: required: true - - type: checkboxes - id: uses-docker + - type: input + id: docker-tag attributes: label: "🐋 Docker" - options: - - label: "Currently running in Docker?" - required: false + description: "Currently running in Docker? Specify the tag." validations: - required: true + required: false - type: input id: nodejs-version attributes: diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 05591ff30..458d3b826 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -38,46 +38,32 @@ body: description: "Which version of Uptime-Kuma are you running?" validations: required: true - - type: dropdown + - type: input id: operating-system attributes: label: "💻 Operating System" description: "Which OS is your server/device running on?" - multiple: true - options: - - Linux - - MacOS - - Windows validations: required: true - - type: dropdown + - type: input id: browser-vendor attributes: label: "🌐 Browser" description: "Which browser are you running on?" - multiple: true - options: - - Firefox - - Chrome - - Edge - - Safari - - Other validations: required: true - - type: checkboxes - id: uses-docker + - type: input + id: docker-tag attributes: label: "🐋 Docker" - options: - - label: "Currently running in Docker?" - required: false + description: "Currently running with Docker? Which image tag are you using?" validations: - required: true + required: false - type: input id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "If running in the host, which version of NodeJS are you running?" + description: "Currently running with Node.js? which version of node.js are you running?" validations: required: false - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index ef76ff287..bca32552f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -46,7 +46,7 @@ body: validations: required: false attributes: - label: "❓ Additional Context" + label: "📝 Additional Context" description: "Add any other context or screenshots about the feature request here." placeholder: "..." - type: checkboxes From 546402f3d29b6b535e446da1a1c8ea3358003d2f Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Wed, 27 Oct 2021 00:11:50 -0400 Subject: [PATCH 09/11] Added docker-image-tag field. --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 13 ++++++++++--- .github/ISSUE_TEMPLATE/bug_report.yaml | 17 ++++++++++------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index 98b4c3b32..c6c04490e 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -33,17 +33,24 @@ body: validations: required: true - type: input - id: docker-tag + id: docker-version attributes: label: "🐋 Docker" - description: "Currently running in Docker? Specify the tag." + description: "If running with Docker, which version are you running?" + validations: + required: false + - type: input + id: docker-image-tag + attributes: + label: "🏷️ Docker Image Tag" + description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." validations: required: false - type: input id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "If running in the host, which version of NodeJS are you running?" + description: "If running with Node.js? which version are you running?" validations: required: false - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 458d3b826..d4f69a259 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -3,10 +3,6 @@ description: "Submit a bug report to help us improve" title: "[Bug]: <title>" labels: [bug] body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - type: textarea id: steps-to-reproduce validations: @@ -53,17 +49,24 @@ body: validations: required: true - type: input - id: docker-tag + id: docker-version attributes: label: "🐋 Docker" - description: "Currently running with Docker? Which image tag are you using?" + description: "If running with Docker, which version are you running?" + validations: + required: false + - type: input + id: docker-image-tag + attributes: + label: "🏷️ Docker Image Tag" + description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." validations: required: false - type: input id: nodejs-version attributes: label: "🟩 NodeJS Version" - description: "Currently running with Node.js? which version of node.js are you running?" + description: "If running with Node.js? which version are you running?" validations: required: false - type: textarea From 767807dd22b618c8b4a45c7e6e1d0c862982b7c2 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Wed, 27 Oct 2021 00:18:05 -0400 Subject: [PATCH 10/11] Added text placeholders for versions. --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 6 ++++++ .github/ISSUE_TEMPLATE/bug_report.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index c6c04490e..c768ebad2 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -16,6 +16,7 @@ body: attributes: label: "🐻 Uptime-Kuma version" description: "Which version of Uptime-Kuma are you running?" + placeholder: "Ex. 1.9.x" validations: required: true - type: input @@ -23,6 +24,7 @@ body: attributes: label: "💻 Operating System" description: "Which OS is your server/device running on?" + placeholder: "Ex. Ubuntu 20.04" validations: required: true - type: input @@ -30,6 +32,7 @@ body: attributes: label: "🌐 Browser" description: "Which browser are you running on?" + placeholder: "Ex. Firefox" validations: required: true - type: input @@ -37,6 +40,7 @@ body: attributes: label: "🐋 Docker" description: "If running with Docker, which version are you running?" + placeholder: "Version can be found by running: docker version" validations: required: false - type: input @@ -44,6 +48,7 @@ body: attributes: label: "🏷️ Docker Image Tag" description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." + placeholder: "1, latest, debian, alpine. Image hash can be obtained with: docker images --digests" validations: required: false - type: input @@ -51,6 +56,7 @@ body: attributes: label: "🟩 NodeJS Version" description: "If running with Node.js? which version are you running?" + placeholder: "14.x" validations: required: false - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index d4f69a259..9fcab1f29 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -32,6 +32,7 @@ body: attributes: label: "🐻 Uptime-Kuma version" description: "Which version of Uptime-Kuma are you running?" + placeholder: "Ex. 1.9.x" validations: required: true - type: input @@ -39,6 +40,7 @@ body: attributes: label: "💻 Operating System" description: "Which OS is your server/device running on?" + placeholder: "Ex. Ubuntu 20.04" validations: required: true - type: input @@ -46,6 +48,7 @@ body: attributes: label: "🌐 Browser" description: "Which browser are you running on?" + placeholder: "Ex. Firefox" validations: required: true - type: input @@ -53,6 +56,7 @@ body: attributes: label: "🐋 Docker" description: "If running with Docker, which version are you running?" + placeholder: "Version can be found by running: docker version" validations: required: false - type: input @@ -60,6 +64,7 @@ body: attributes: label: "🏷️ Docker Image Tag" description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." + placeholder: "1, latest, debian, alpine. Image hash can be obtained with: docker images --digests" validations: required: false - type: input @@ -67,6 +72,7 @@ body: attributes: label: "🟩 NodeJS Version" description: "If running with Node.js? which version are you running?" + placeholder: "14.x" validations: required: false - type: textarea From 6c542edfc95cfed5414248c4421b802e0b7aa83a Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Wed, 27 Oct 2021 00:23:13 -0400 Subject: [PATCH 11/11] Add examples for version and image tag. --- .github/ISSUE_TEMPLATE/ask-for-help.yaml | 4 ++-- .github/ISSUE_TEMPLATE/bug_report.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-for-help.yaml b/.github/ISSUE_TEMPLATE/ask-for-help.yaml index c768ebad2..dd1bcaf76 100644 --- a/.github/ISSUE_TEMPLATE/ask-for-help.yaml +++ b/.github/ISSUE_TEMPLATE/ask-for-help.yaml @@ -40,7 +40,7 @@ body: attributes: label: "🐋 Docker" description: "If running with Docker, which version are you running?" - placeholder: "Version can be found by running: docker version" + placeholder: "Ex. 20.10.9" validations: required: false - type: input @@ -48,7 +48,7 @@ body: attributes: label: "🏷️ Docker Image Tag" description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." - placeholder: "1, latest, debian, alpine. Image hash can be obtained with: docker images --digests" + placeholder: "Ex. 1.9.1" validations: required: false - type: input diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 9fcab1f29..5e3b5bf8a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -56,7 +56,7 @@ body: attributes: label: "🐋 Docker" description: "If running with Docker, which version are you running?" - placeholder: "Version can be found by running: docker version" + placeholder: "Ex. 20.10.9" validations: required: false - type: input @@ -64,7 +64,7 @@ body: attributes: label: "🏷️ Docker Image Tag" description: "Which Docker image tag are you using? If running '1' or 'latest', please specify image hash." - placeholder: "1, latest, debian, alpine. Image hash can be obtained with: docker images --digests" + placeholder: "Ex. 1.9.1" validations: required: false - type: input