diff --git a/.github/DISCUSSION_TEMPLATE/ideas.yml b/.github/DISCUSSION_TEMPLATE/ideas.yml new file mode 100644 index 000000000..d625d99ee --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/ideas.yml @@ -0,0 +1,13 @@ +body: + - type: textarea + attributes: + label: 想法产生的背景 / Background of the idea + description: 为什么我们确实需要它? / Why do we really need it? + validations: + required: true + - type: textarea + attributes: + label: 具体想法或解决方案 / Specific idea or solution + description: 请尽量详细地描述你的想法或方案 / Please describe your idea or proposal in detail. + validations: + required: true \ No newline at end of file diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml new file mode 100644 index 000000000..623cc5476 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -0,0 +1,31 @@ +body: + - type: textarea + attributes: + label: 问题 / Question + description: 直接描述你遇到的问题或想问的点(越具体越好)/ Describe your question (the more specific, the better). + placeholder: | + 我在……时遇到…… + 期望……,但实际…… + validations: + required: true + + - type: textarea + attributes: + label: 已尝试 / What you tried + description: 你已经试过哪些方法?结果如何?/ What have you tried and what happened? + placeholder: | + 我尝试了…… + validations: + required: false + + - type: textarea + attributes: + label: AstrBot 版本 + description: 你也可以补充有关此问题的其它环境信息 / You can also provide other environment information related to this problem. + value: | + - AstrBot 版本: + - 部署方式: + - 其它: + validations: + required: false + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..67f0629a2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,12 @@ +blank_issues_enabled: false + +# Contact links 会显示在“新建 Issue”页面,引导用户去正确的渠道。 +contact_links: + - name: 💡 功能想法 / Ideas + url: https://github.com/AstrBotDevs/AstrBot/discussions/new?category=ideas + about: 你对现有功能的想法或对新需求的讨论 / Your thoughts on existing features or discuss new requirements + - name: ❓ 使用问题 / Questions + url: https://github.com/AstrBotDevs/AstrBot/discussions/new?category=q-a + about: 使用问题与排错问答 / Usage issues and troubleshooting Q&A + + diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml deleted file mode 100644 index 484959318..000000000 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ /dev/null @@ -1,42 +0,0 @@ - -name: '🎉 功能建议' -title: "[Feature]" -description: 提交建议帮助我们改进。 -labels: [ "enhancement" ] -body: - - type: markdown - attributes: - value: | - 感谢您抽出时间提出新功能建议,请准确解释您的想法。 - - - type: textarea - attributes: - label: 描述 - description: 简短描述您的功能建议。 - - - type: textarea - attributes: - label: 使用场景 - description: 你想要发生什么? - placeholder: > - 一个清晰且具体的描述这个功能的使用场景。 - - - type: checkboxes - attributes: - label: 你愿意提交PR吗? - description: > - 这不是必须的,但我们欢迎您的贡献。 - options: - - label: 是的, 我愿意提交PR! - - - type: checkboxes - attributes: - label: Code of Conduct - options: - - label: > - 我已阅读并同意遵守该项目的 [行为准则](https://docs.github.com/zh/site-policy/github-terms/github-community-code-of-conduct)。 - required: true - - - type: markdown - attributes: - value: "感谢您填写我们的表单!" \ No newline at end of file