From 15db63581e264c22c8fea1582da9f1c89e8e8701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Mon, 22 Apr 2024 22:58:06 +0800 Subject: [PATCH] issue --- .github/ISSUE_TEMPLATE/01_bug.yaml | 18 ++++++++++++++++++ .github/ISSUE_TEMPLATE/02_request.yaml | 17 +++++++++++++++++ .github/ISSUE_TEMPLATE/03_question.yaml | 23 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++++ 4 files changed, 63 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/01_bug.yaml create mode 100644 .github/ISSUE_TEMPLATE/02_request.yaml create mode 100644 .github/ISSUE_TEMPLATE/03_question.yaml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/01_bug.yaml b/.github/ISSUE_TEMPLATE/01_bug.yaml new file mode 100644 index 00000000..42376704 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_bug.yaml @@ -0,0 +1,18 @@ +name: Bug Report 错误报告 +description: Report bugs 报告错误 +labels: bug +body: +- type: input + attributes: + label: Version 程序版本 + validations: + required: true +- type: textarea + attributes: + label: Related screenshot (optional) 相关截图(可选) +- type: textarea + attributes: + label: Reproduction steps 复现步骤 + description: Describe the reproduction steps precisely if possible. 尽可能详细描述错误产生的细节。 + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/02_request.yaml b/.github/ISSUE_TEMPLATE/02_request.yaml new file mode 100644 index 00000000..0a80fb84 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02_request.yaml @@ -0,0 +1,17 @@ +name: Feature Request 功能请求 +description: Create the request for a new feature 提出一个增加新功能的请求 +labels: enhancement +body: +- type: markdown + attributes: + value: > + Make sure it hasn't been mentioned before and not implemented in latest version. + 确保此类请求之前尚未被其他人提出过且并未在最新版本中实现。 +- type: textarea + attributes: + label: Expected behavior 预期的功能 + validations: + required: true +- type: textarea + attributes: + label: Alternative behavior (optional) 近似的功能(可选) diff --git a/.github/ISSUE_TEMPLATE/03_question.yaml b/.github/ISSUE_TEMPLATE/03_question.yaml new file mode 100644 index 00000000..e911fff4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03_question.yaml @@ -0,0 +1,23 @@ +name: Q&A 问询 +description: Ask questions about Magpie 提出关于magpie的问题 +labels: question +body: +- type: markdown + attributes: + value: > + Before asking questions, make sure it hasn't been mentioned before. + + 提问之前应先检索以下列表检查是否已有相关的回答。 + + https://github.com/HIllya51/LunaTranslator/issues + + https://github.com/HIllya51/LunaTranslator/discussions + + Don't ask questions about bugs. To open the right template from the previous selection. + + 程序报错不要使用此模板,应该返回上级重新选择 `Bug Report 错误报告` 选项。 +- type: textarea + attributes: + label: Question 问题 + validations: + required: true \ 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 00000000..aed5c53a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Discussions 讨论 + url: https://github.com/HIllya51/LunaTranslator + about: Feel free to talk about something here 自由交流论坛