From 193c097b798a5be452028edce6451ec7987d6ccb Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Wed, 26 Jan 2022 23:04:00 +0800 Subject: [PATCH] [MISC] Add new friendly issue template for bug report --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ------------- .github/ISSUE_TEMPLATE/bug_report.yaml | 75 ++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 38 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 dd84ea782..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**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. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..c988e4d4d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,75 @@ +name: Bug Report +description: Report a bug encountered while operating Kubernetes +labels: awaiting-response +body: + - type: textarea + id: problem + attributes: + label: What happened? + description: | + Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. + validations: + required: true + - type: textarea + id: repoduce + attributes: + label: Reporduce the bug + description: | + Please tell us about the steps to reporduct the bug as mush as you can? + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + id: excepted + attributes: + label: Excepted behavior + description: | + Please tell us what's the behavior you except? + validations: + required: false + - type: textarea + id: Screenshots + attributes: + label: Screenshots + description: | + If applicable, add screenshots to help explain your problem. + validations: + required: false + - type: textarea + id: desktop + attributes: + label: Desktop Platform Information + description: | + Would you mind to tell use the system information about your desktop platform? + value: | + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + validations: + required: true + + - type: textarea + id: mobile + attributes: + label: Mobile Platform information + description: | + Would you mind to tell use the system information about your mobile platform? + value: | + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + validations: + required: true + - type: textarea + id: additional + attributes: + label: Additional context + description: | + If applicable, add additional context to help explain your problem. + validations: + required: false \ No newline at end of file