diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md.off similarity index 100% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .github/ISSUE_TEMPLATE/bug_report.md.off diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..a944f1e8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,55 @@ +name: Bug report +description: "Create a report to help us improve" +title: "" +labels: 需要核实 +issue_body: true +body: + - type: markdown + attributes: + value: Make sure you have read the readme, searched and read the issues related to yours. Otherwise it will be considered as a duplicate which will be closed immediately. + - type: textarea + id: error + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: To Reproduce + placeholder: | + Steps to reproduce the behavior: + 1. Open Netch + 2. ... + validations: + required: true + - type: checkboxes + id: captcha + attributes: + label: CAPTCHA + description: Please confirm the options below. + options: + - label: I am human + required: true + - type: textarea + id: log + attributes: + render: shell + label: Log + description: Attaching any log files in the folder `Netch\logging` is strongly recommended. + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + placeholder: | + - OS: [e.g. Windows 10 Pro 64-bit 1903] + - Netch Version: [e.g. 1.0.0-STABLE.x64] + validations: + required: true + - type: markdown + attributes: + value: | + In the text box below, you can attach any relevant screenshots and files. diff --git a/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml b/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml index af58c168..e65324e9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.zh-CN.yml @@ -8,12 +8,14 @@ body: attributes: value: 确保你已经看过 readme,也搜索并阅读过和你遇到的情况相关的问题。否则会被认为是重复的并被立刻关闭。 - type: textarea + id: error attributes: label: "错误描述" description: 对错误的清晰简洁描述 validations: required: true - type: textarea + id: reproduce attributes: label: "复现步骤" placeholder: | @@ -22,6 +24,7 @@ body: validations: required: true - type: checkboxes + id: captcha attributes: label: 验证 description: 请确认下面选项 @@ -29,6 +32,7 @@ body: - label: 我是人类 required: true - type: textarea + id: log attributes: render: shell label: 日志 @@ -36,6 +40,7 @@ body: validations: required: true - type: textarea + id: environment attributes: label: 操作环境 placeholder: |