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] 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