From 6614aff524542d63d6cfca12743d40cc2082deca Mon Sep 17 00:00:00 2001 From: zhangyuhan Date: Fri, 23 Feb 2024 08:07:36 +0000 Subject: [PATCH 1/4] add .gitee/ISSUE_TEMPLATE. Signed-off-by: zhangyuhan --- .gitee/ISSUE_TEMPLATE | 5 +++ .gitee/ISSUE_TEMPLATE/config.yaml | 54 ------------------------------- 2 files changed, 5 insertions(+), 54 deletions(-) create mode 100644 .gitee/ISSUE_TEMPLATE delete mode 100644 .gitee/ISSUE_TEMPLATE/config.yaml diff --git a/.gitee/ISSUE_TEMPLATE b/.gitee/ISSUE_TEMPLATE new file mode 100644 index 0000000..b8ffbb4 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Gitee 帮助中心 + url: https://help.gitee.com/ + about: 提供 Git 使用指南、教程、Gitee.com 平台基本功能使用、介绍和常见问题解答 \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/config.yaml b/.gitee/ISSUE_TEMPLATE/config.yaml deleted file mode 100644 index c67637c..0000000 --- a/.gitee/ISSUE_TEMPLATE/config.yaml +++ /dev/null @@ -1,54 +0,0 @@ -name: Bug 反馈 -description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 -title: "[Bug]: " -labels: ["bug"] -body: - - type: markdown - attributes: - value: | - 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: - - https://... - - type: checkboxes - attributes: - label: 这个问题是否已经存在? - options: - - label: 我已经搜索过现有的问题 (https://gitee.com/../../issues) - required: true - - type: textarea - attributes: - label: 如何复现 - description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 - placeholder: | - 1. ... - 2. ... - 3. ... - validations: - required: true - - type: textarea - attributes: - label: 预期结果 - description: 请告诉我们你预期会发生什么。 - validations: - required: true - - type: textarea - attributes: - label: 实际结果 - description: 请告诉我们实际发生了什么。 - validations: - required: true - - type: textarea - attributes: - label: 截图或视频 - description: 如果可以的话,上传任何关于 bug 的截图。 - value: | - [在这里上传图片] - - type: dropdown - id: version - attributes: - label: 版本 - description: 你当前正在使用我们软件的哪个版本/分支? - options: - - 1.0.2 (默认) - - 1.0.3 (最新) - validations: - required: true \ No newline at end of file -- Gitee From 9eb578d9b010f1c26f41a27d923684a2c1b24c03 Mon Sep 17 00:00:00 2001 From: zhangyuhan Date: Fri, 23 Feb 2024 08:10:23 +0000 Subject: [PATCH 2/4] add .gitee/ISSUE_TEMPLATE/config.yml. Signed-off-by: zhangyuhan --- .gitee/{ISSUE_TEMPLATE => ISSUE_TEMPLATE/config.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .gitee/{ISSUE_TEMPLATE => ISSUE_TEMPLATE/config.yml} (100%) diff --git a/.gitee/ISSUE_TEMPLATE b/.gitee/ISSUE_TEMPLATE/config.yml similarity index 100% rename from .gitee/ISSUE_TEMPLATE rename to .gitee/ISSUE_TEMPLATE/config.yml -- Gitee From b96b8f7c6d30816e0e204697ce29116f32a94b9c Mon Sep 17 00:00:00 2001 From: zhangyuhan Date: Fri, 23 Feb 2024 08:12:38 +0000 Subject: [PATCH 3/4] add ISSUE_TEMPLATE/feature.yml. Signed-off-by: zhangyuhan --- ISSUE_TEMPLATE/feature.yml | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ISSUE_TEMPLATE/feature.yml diff --git a/ISSUE_TEMPLATE/feature.yml b/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..0f74bdd --- /dev/null +++ b/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,43 @@ +name: 功能建议 +description: 对本项目提出一个功能建议 +title: "[功能建议]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + 感谢提出功能建议,我们将仔细考虑! + - type: textarea + id: related-problem + attributes: + label: 你的功能建议是否和某个问题相关? + description: 清晰并简洁地描述问题是什么,例如,当我...时,我总是感到困扰。 + validations: + required: false + - type: textarea + id: desired-solution + attributes: + label: 你希望看到什么解决方案? + description: 清晰并简洁地描述你希望发生的事情。 + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: 你考虑过哪些替代方案? + description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: 你有其他上下文或截图吗? + description: 在此处添加有关功能请求的任何其他上下文或截图。 + validations: + required: false + - type: checkboxes + attributes: + label: 意向参与贡献 + options: + - label: 我有意向参与具体功能的开发实现并将代码贡献回到上游社区 + required: false \ No newline at end of file -- Gitee From ecce7cef59929328e8c2ff60df73aa9f0f7dce18 Mon Sep 17 00:00:00 2001 From: zhangyuhan Date: Fri, 23 Feb 2024 08:13:23 +0000 Subject: [PATCH 4/4] add ISSUE_TEMPLATE/bug.yml. Signed-off-by: zhangyuhan --- ISSUE_TEMPLATE/bug.yml | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ISSUE_TEMPLATE/bug.yml diff --git a/ISSUE_TEMPLATE/bug.yml b/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..c67637c --- /dev/null +++ b/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,54 @@ +name: Bug 反馈 +description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + 感谢对项目的支持与关注。在提出问题之前,请确保你已查看相关开发或使用文档: + - https://... + - type: checkboxes + attributes: + label: 这个问题是否已经存在? + options: + - label: 我已经搜索过现有的问题 (https://gitee.com/../../issues) + required: true + - type: textarea + attributes: + label: 如何复现 + description: 请详细告诉我们如何复现你遇到的问题,如涉及代码,可提供一个最小代码示例,并使用反引号```附上它 + placeholder: | + 1. ... + 2. ... + 3. ... + validations: + required: true + - type: textarea + attributes: + label: 预期结果 + description: 请告诉我们你预期会发生什么。 + validations: + required: true + - type: textarea + attributes: + label: 实际结果 + description: 请告诉我们实际发生了什么。 + validations: + required: true + - type: textarea + attributes: + label: 截图或视频 + description: 如果可以的话,上传任何关于 bug 的截图。 + value: | + [在这里上传图片] + - type: dropdown + id: version + attributes: + label: 版本 + description: 你当前正在使用我们软件的哪个版本/分支? + options: + - 1.0.2 (默认) + - 1.0.3 (最新) + validations: + required: true \ No newline at end of file -- Gitee