diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..9a3bf8a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,41 @@ +name: Bug Report +description: 报告bug +labels: [bug] +body: + - type: markdown + attributes: + value: | + 感谢反馈问题,请填写下方的表单完成本次问题的反馈 + - type: input + id: log-lottery-version + attributes: + label: log-lottery版本 + description: | + 你所使用的 log-lottery 的准确版本。 + placeholder: eg. v0.5.0 + validations: + required: true + - type: input + id: browser + attributes: + label: 浏览器及其版本 + description: | + 你是在哪个浏览器中发现的这个问题?最好可以提供浏览器的版本号。 + placeholder: eg. Google Chrome 111.0.5563.110 + validations: + required: false + - type: textarea + id: what-happened + attributes: + label: 具体问题 + description: | + 出现了什么问题? + validations: + required: false + - type: textarea + id: logs + attributes: + label: 报错信息 + description: | + 如果有的话,请粘贴你遇到的报错信息或日志。下面输入框中的内容在 issue 提交后会被自动格式化成代码块。 + render: shell diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..5184d2d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,24 @@ +name: Feature Request +description: 建议添加新功能 +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + 感谢你抽时间提出优化建议,请填写下方的表单完成本次问题的反馈 + - type: input + id: log-lottery-version + attributes: + label: log-lottery版本 + description: | + 你所使用的 log-lottery 的准确版本。 + placeholder: eg. v0.5.0 + validations: + required: false + - type: textarea + id: feature-description + attributes: + label: 你的想法是什么? + placeholder: 请尽可能详细地告诉我你期望实现一个什么样的功能或者哪里需要进行优化 + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/general.yml b/.github/ISSUE_TEMPLATE/general.yml new file mode 100644 index 0000000..aed95ad --- /dev/null +++ b/.github/ISSUE_TEMPLATE/general.yml @@ -0,0 +1,19 @@ +name: General Issue +description: 新开空白issue模板 +body: + - type: input + id: log-lottery-version + attributes: + label: log-lottery版本 + description: | + 你所使用的 log-lottery 的准确版本。 + placeholder: eg. v0.5.0 + validations: + required: false + - type: textarea + id: description + attributes: + label: 问题描述 + placeholder: 请尽可能详细地告诉我你所遇到的问题 + validations: + required: false