From 53499cf7da7a69d9e29112f074b248d4bf5a55be Mon Sep 17 00:00:00 2001 From: Misite Bao Date: Mon, 9 Jan 2023 20:31:39 +0800 Subject: [PATCH] chore: update issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 31 -------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 33 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++--- .github/ISSUE_TEMPLATE/feature-request.yml | 21 -------------- .github/ISSUE_TEMPLATE/feature_request.yml | 21 ++++++++++++++ 5 files changed, 58 insertions(+), 56 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml deleted file mode 100644 index 4909776..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Bug Report | 错误报告 -description: Please describe in detail the problems you encountered in the process of using. | 请详细描述您使用过程中遇到的问题。 -title: "[Bug]Some problem..." -labels: ["bug | 错误"] - -body: - - type: markdown - attributes: - value: | - ***Please answer these questions before you submit a bug. | 请在您提交 bug 之前,回答以下这些问题。*** - - - type: textarea - attributes: - label: 1. Your usage scenarios? | 您使用的场景? - validations: - required: true - - type: textarea - attributes: - label: 2. What did you do? | 您做了什么操作? - validations: - required: true - - type: textarea - attributes: - label: 3. What are your problems? | 您遇到了什么问题? - validations: - required: true - - type: textarea - attributes: - label: 4. What is your expected outcome? | 您期望的结果是怎样的? - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..65d7287 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,33 @@ +name: Bug Report +description: Please describe in detail the problems you encountered in the process of using. +labels: ["bug"] + +body: + - type: markdown + attributes: + value: | + Please answer these questions before you submit a bug. + + - type: textarea + attributes: + label: 1. Your usage scenarios? + validations: + required: true + + - type: textarea + attributes: + label: 2. What did you do? + validations: + required: true + + - type: textarea + attributes: + label: 3. What are your problems? + validations: + required: true + + - type: textarea + attributes: + label: 4. What is your expected outcome? + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 159fb6b..9f8f030 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ -blank_issues_enabled: true +blank_issues_enabled: false contact_links: - - name: GitHub Community Discussions - url: https://github.com/misitebao/wails-template-vue/discussions - about: If your question is not a feature or a bug, please go to the discussion panel and retrieve if your question already exists before submitting. + - name: GitHub Discussions + url: https://github.com/misitebao/yakia/discussions + about: If your question is not a feature or a bug, please go to the discussion panel and retrieve if your question already exists before submitting. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml deleted file mode 100644 index bf31127..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Feature Request | 功能请求 -description: Please describe in detail the features you expect. | 请详细描述您期望的功能。 -title: "[Feature]Some feature..." -labels: ["enhancement | 增强"] - -body: - - type: markdown - attributes: - value: | - ***Please answer these questions before you submit the desired feature. | 请在您提交期望的功能之前,回答以下这些问题。*** - - - type: textarea - attributes: - label: 1. Your usage scenarios? | 您使用的场景? - validations: - required: true - - type: textarea - attributes: - label: 2. What is your expected outcome? | 您期望的结果是怎样的? - validations: - required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..c3a460a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,21 @@ +name: Feature Request +description: Please describe in detail the features you expect. +labels: ["enhancement"] + +body: + - type: markdown + attributes: + value: | + Please answer these questions before you submit the desired feature. + + - type: textarea + attributes: + label: 1. Your usage scenarios? + validations: + required: true + + - type: textarea + attributes: + label: 2. What is your expected outcome? + validations: + required: true