diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 582a9d2..c382268 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -7,14 +7,50 @@ body: attributes: value: | 请提供尽可能详细的信息,帮助我们快速定位和修复问题。 + - type: dropdown + id: duplicate-check + attributes: + label: 是否已有相同问题? + description: 请先搜索现有 Issues + options: + - 是,已有相同问题 + - 否,没有相同问题 + validations: + required: true + - type: input + id: confirm-unique + attributes: + label: 确认唯一性 + description: 如果选择了"否",请输入:我已确认没有相同问题出现 + placeholder: 我已确认没有相同问题出现 + validations: + required: true + - type: dropdown + id: standard-operation + attributes: + label: 这是标准操作流程下出现的问题吗? + description: 确认你是按照正常方式使用,而不是非常规操作 + options: + - 是,标准操作 + - 否,非标准操作 + validations: + required: true + - type: dropdown + id: code-issue-confirm + attributes: + label: 你确认这真的是我们的代码导致的吗? + description: 请仔细思考,排除网络、系统、第三方服务等外部因素 + options: + - 是,确认是代码问题 + - 不确定 + - 否,可能是其他原因 + validations: + required: true - type: checkboxes id: pre-check attributes: - label: 提交前确认 - description: 请务必确认以下事项 + label: 基础确认 options: - - label: 我已搜索过现有的 Issues,确认这不是重复问题 - required: true - label: 我使用的是最新版本 required: true - label: 我已阅读过相关文档 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3e9a940..3ba13e0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1 @@ blank_issues_enabled: false -contact_links: - - name:🤔 找不到合适的模板? - url: https://t.me/weflow_cc - about: 如果你的问题不属于上述任何分类,请前往我们的 Telegram 频道与我们交流。 diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml index 554c7f0..ae507d8 100644 --- a/.github/ISSUE_TEMPLATE/docs.yml +++ b/.github/ISSUE_TEMPLATE/docs.yml @@ -7,6 +7,24 @@ body: attributes: value: | 优秀的文档和代码一样重要。感谢你帮助我们完善文档! + - type: dropdown + id: duplicate-check + attributes: + label: 是否已有相同问题? + description: 请先搜索现有 Issues + options: + - 是,已有相同问题 + - 否,没有相同问题 + validations: + required: true + - type: input + id: confirm-unique + attributes: + label: 确认唯一性 + description: 如果选择了"否",请输入:我已确认没有相同问题出现 + placeholder: 我已确认没有相同问题出现 + validations: + required: true - type: dropdown id: doc-type attributes: diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml index 97ff477..dabd1b1 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.yml +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -7,13 +7,37 @@ body: attributes: value: | 持续优化是项目进步的动力!请告诉我们哪个现有功能可以做得更好。 + - type: dropdown + id: duplicate-check + attributes: + label: 是否已有相同问题? + description: 请先搜索现有 Issues + options: + - 是,已有相同问题 + - 否,没有相同问题 + validations: + required: true + - type: input + id: confirm-unique + attributes: + label: 确认唯一性 + description: 如果选择了"否",请输入:我已确认没有相同问题出现 + placeholder: 我已确认没有相同问题出现 + validations: + required: true + - type: input + id: confirm-beneficial + attributes: + label: 你的建议真的有用吗? + description: 请输入:我确认这真的有用 + placeholder: 我确认这真的有用 + validations: + required: true - type: checkboxes id: pre-check attributes: label: 提交前确认 options: - - label: 我已搜索过现有的 Issues,确认这个优化建议尚未被提出 - required: true - label: 这是对现有功能的改进,而不是全新功能 required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 12352b4..a77d90e 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -7,13 +7,37 @@ body: attributes: value: | 感谢你为项目提供新想法!详细的需求描述能极大提高该功能被采纳的几率。 + - type: dropdown + id: duplicate-check + attributes: + label: 是否已有相同问题? + description: 请先搜索现有 Issues + options: + - 是,已有相同问题 + - 否,没有相同问题 + validations: + required: true + - type: input + id: confirm-unique + attributes: + label: 确认唯一性 + description: 如果选择了"否",请输入:我已确认没有相同问题出现 + placeholder: 我已确认没有相同问题出现 + validations: + required: true + - type: input + id: confirm-useful + attributes: + label: 你的建议真的有用吗? + description: 若你确认则输入:我认为这会对大部分人都有用 + placeholder: 我认为这会对大部分人都有用 + validations: + required: true - type: checkboxes id: pre-check attributes: label: 提交前确认 options: - - label: 我已搜索过现有的 Issues 和 Pull Requests,确认这个功能尚未被提出或实现 - required: true - label: 这是一个全新的功能,而不是对现有功能的改进 required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 2540d6d..50effac 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -7,6 +7,24 @@ body: attributes: value: | 在提问之前,请确保你已经仔细阅读过我们的官方文档。 + - type: dropdown + id: duplicate-check + attributes: + label: 是否已有相同问题? + description: 请先搜索现有 Issues + options: + - 是,已有相同问题 + - 否,没有相同问题 + validations: + required: true + - type: input + id: confirm-unique + attributes: + label: 确认唯一性 + description: 如果选择了"否",请输入:我已确认没有相同问题出现 + placeholder: 我已确认没有相同问题出现 + validations: + required: true - type: checkboxes id: pre-check attributes: @@ -14,8 +32,6 @@ body: options: - label: 我已阅读过相关文档 required: true - - label: 我已搜索过现有的 Issues,没有找到类似问题 - required: true - type: dropdown id: question-type attributes: