diff --git a/.github/ISSUE_TEMPLATE/01-bug_report.yml b/.github/ISSUE_TEMPLATE/01-bug_report.yml new file mode 100644 index 0000000..5baaa9f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-bug_report.yml @@ -0,0 +1,58 @@ +name: 问题反馈 +description: 软件问题反馈 +title: "[Bug] " +labels: ["bug"] + +body: + - type: checkboxes + id: searched + attributes: + label: 已经搜索过 Issues,未发现重复问题* + options: + - label: 我已经搜索过 Issues,没有发现重复问题 + validations: + required: true + + - type: input + id: system + attributes: + label: 操作系统及版本 + placeholder: Windows 10 22H2 / macOS Mojave / Linux + validations: + required: true + + - type: input + id: version + attributes: + label: 软件安装版本 + placeholder: v0.2.3 + validations: + required: true + + - type: textarea + id: description + attributes: + label: 问题简述及复现流程 + description: 请详细描述你遇到的问题,并提供复现步骤 + placeholder: | + 1. 打开软件 + 2. 点击 xxx + 3. 预期结果是 ... + 4. 实际结果是 ... + 5. 截图 ... + validations: + required: true + + - type: textarea + id: extra + attributes: + label: 其他补充 + description: 如果你有额外信息,请在此填写 + placeholder: 可选 + + - type: checkboxes + id: pr + attributes: + label: 是否愿意提交 PR 修复当前 Issue + options: + - label: 我愿意尝试提交 PR diff --git a/.github/ISSUE_TEMPLATE/02-feature_request.yml b/.github/ISSUE_TEMPLATE/02-feature_request.yml new file mode 100644 index 0000000..268211f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-feature_request.yml @@ -0,0 +1,37 @@ +name: 功能建议 +description: 添加全新功能或改进现有功能 +title: "[Enhancement] " +labels: ["enhancement"] + +body: + - type: checkboxes + id: searched + attributes: + label: 已经搜索过 Issues,未发现重复问题* + options: + - label: 我已经搜索过 Issues,没有发现重复问题 + validations: + required: true + + - type: textarea + id: feature + attributes: + label: 功能描述 + description: 请详细描述你希望添加或改进的功能 + placeholder: 请描述你想要的功能 + validations: + required: true + + - type: textarea + id: extra + attributes: + label: 其他补充 + description: 如果你有额外信息,请在此填写 + placeholder: 可选 + + - type: checkboxes + id: pr + attributes: + label: 是否愿意提交 PR 实现当前 Issue + options: + - label: 我愿意尝试提交 PR diff --git a/.github/ISSUE_TEMPLATE/03-generic.yml b/.github/ISSUE_TEMPLATE/03-generic.yml new file mode 100644 index 0000000..d3aeb5a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03-generic.yml @@ -0,0 +1,30 @@ +name: 其他反馈 +description: 其他类型反馈、建议或讨论 +title: "[Question] " +labels: ["question"] + +body: + - type: checkboxes + id: searched + attributes: + label: 已经搜索过 Issues,未发现重复问题* + options: + - label: 我已经搜索过 Issues,没有发现重复问题 + validations: + required: true + + - type: textarea + id: content + attributes: + label: 内容 + description: 请填写你的反馈、建议或讨论内容 + placeholder: 请描述你的问题或想法 + validations: + required: true + + - type: textarea + id: extra + attributes: + label: 其他补充 + description: 如果你有额外信息,请在此填写 + placeholder: 可选 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false