From 9a251fdab0bcea69f7dc0408fa77c1bf0efc1863 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 24 Dec 2023 19:15:49 +0800 Subject: [PATCH] chore(workflow): adjust issue templates (#12528) --- ...l => template-1-bug-report-vant.en-US.yml} | 2 +- .../template-2-bug-report-vant-cli.zh-CN.yml | 51 ------------------- ...template-2-feature-request-vant.en-US.yml} | 0 ...l => template-3-bug-report-vant.zh-CN.yml} | 4 +- ...plate-4-feature-request-vant-cli.zh-CN.yml | 29 ----------- ...template-4-feature-request-vant.zh-CN.yml} | 2 +- 6 files changed, 4 insertions(+), 84 deletions(-) rename .github/ISSUE_TEMPLATE/{template-5-bug-report-vant.en-US.yml => template-1-bug-report-vant.en-US.yml} (97%) delete mode 100644 .github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml rename .github/ISSUE_TEMPLATE/{template-6-feature-request-vant.en-US.yml => template-2-feature-request-vant.en-US.yml} (100%) rename .github/ISSUE_TEMPLATE/{template-1-bug-report-vant.zh-CN.yml => template-3-bug-report-vant.zh-CN.yml} (96%) delete mode 100644 .github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml rename .github/ISSUE_TEMPLATE/{template-3-feature-request-vant.zh-CN.yml => template-4-feature-request-vant.zh-CN.yml} (96%) diff --git a/.github/ISSUE_TEMPLATE/template-5-bug-report-vant.en-US.yml b/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.en-US.yml similarity index 97% rename from .github/ISSUE_TEMPLATE/template-5-bug-report-vant.en-US.yml rename to .github/ISSUE_TEMPLATE/template-1-bug-report-vant.en-US.yml index 5ec2e8adc..fdc031e48 100644 --- a/.github/ISSUE_TEMPLATE/template-5-bug-report-vant.en-US.yml +++ b/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.en-US.yml @@ -16,7 +16,7 @@ body: attributes: label: Vant Version description: Please fill in the version actually installed in node_modules/vant/package.json - placeholder: E.g. 3.2.0 + placeholder: E.g. 4.2.0 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml deleted file mode 100644 index 51a4a1263..000000000 --- a/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: 我要反馈 Vant Cli 的 Bug -description: 通过标准模板进行 Bug 反馈。 -title: "[Bug Report] 请在此填写标题" -labels: ["bug: need confirm", "cli"] -body: - - type: markdown - attributes: - value: | - 在提交 Bug 报告前,请注意: - - - 确认你的问题无法通过官方文档得到解决。 - - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的问题。 - - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖。 - - - type: input - id: reproduce - attributes: - label: 重现链接 - description: 请提供一个尽可能简单的 [codesandbox](https://codesandbox.io/s/vant-3-issue-template-8fuq5o) 或 GitHub 仓库链接。不要填写无效的链接,这会导致你的 issue 被直接关闭。 - validations: - required: true - - - type: input - id: version - attributes: - label: Vant Cli 版本 - description: 你正在使用的 Vant Cli 版本是多少?(请填写 node_modules/@vant/cli/package.json 里实际安装的版本) - placeholder: 比如 3.2.0 - validations: - required: true - - - type: textarea - id: description - attributes: - label: 描述一下你遇到的问题。 - placeholder: 比如:组件构建失败 - validations: - required: true - - - type: textarea - id: reproduce-steps - attributes: - label: 重现步骤 - description: 请提供一个最简单的操作步骤,方便我们快速重现问题。 - placeholder: | - 比如: - 1. 克隆仓库 - 2. 运行 yarn build - 3. 组件构建失败 - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/template-6-feature-request-vant.en-US.yml b/.github/ISSUE_TEMPLATE/template-2-feature-request-vant.en-US.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/template-6-feature-request-vant.en-US.yml rename to .github/ISSUE_TEMPLATE/template-2-feature-request-vant.en-US.yml diff --git a/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-3-bug-report-vant.zh-CN.yml similarity index 96% rename from .github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml rename to .github/ISSUE_TEMPLATE/template-3-bug-report-vant.zh-CN.yml index 2b37adf9b..ac08f70bd 100644 --- a/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-3-bug-report-vant.zh-CN.yml @@ -1,4 +1,4 @@ -name: 我要反馈 Vant 的 Bug +name: 我要反馈 Bug description: 通过标准模板进行 Bug 反馈。 title: "[Bug Report] 请在此填写标题" labels: ["bug: need confirm"] @@ -25,7 +25,7 @@ body: attributes: label: Vant 版本 description: 你正在使用的 Vant 版本是多少?(请填写 node_modules/vant/package.json 里实际安装的版本) - placeholder: 比如 3.2.0 + placeholder: 比如 4.2.0 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml deleted file mode 100644 index ccde6419d..000000000 --- a/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 我想要一个 Vant Cli 的新功能 -description: 通过标准模板描述一下你的功能需求。 -title: "[Feature Request] 请在此填写标题" -labels: ["feature: need confirm", "cli"] -body: - - type: markdown - attributes: - value: | - 在提交功能需求前,请注意: - - - 确认这是一个通用功能,并且无法通过现有的 API 实现。 - - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的需求。 - - 可以先到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖,讨论一下需求是否合理。 - - - type: textarea - id: description - attributes: - label: 这个功能解决了什么问题? - description: 请尽可能详细地说明这个功能的使用场景。 - validations: - required: true - - - type: textarea - id: api - attributes: - label: 你期望的 API 是什么样子的? - description: 描述一下这个新功能的 API,并提供一些代码示例。 - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-4-feature-request-vant.zh-CN.yml similarity index 96% rename from .github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml rename to .github/ISSUE_TEMPLATE/template-4-feature-request-vant.zh-CN.yml index 0894496e3..6747893ad 100644 --- a/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-4-feature-request-vant.zh-CN.yml @@ -1,4 +1,4 @@ -name: 我想要一个 Vant 的新功能 +name: 我想要一个新功能 description: 通过标准模板描述一下你的功能需求。 title: "[Feature Request] 请在此填写标题" labels: ["feature: need confirm"]