From 4807440e49b95bb45e64adb18a16c7c4d01e95c7 Mon Sep 17 00:00:00 2001 From: xuqingkai Date: Wed, 6 Sep 2023 19:54:30 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=9A=80=20=E5=A2=9E=E5=8A=A0issue?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 89 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature-request.yml | 33 ++++++++ 2 files changed, 122 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml new file mode 100644 index 00000000..cf2fb753 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -0,0 +1,89 @@ +name: 向 Wot Design Uni 反馈 Bug +description: 创建一个 Issue 描述你遇到的问题。 +title: "[Bug 上报] 请在此填写标题" +labels: ["🐞bug: need confirm"] +body: + - type: markdown + attributes: + value: | + 在向我们提交 Bug 报告前,请优先使用以下方式尝试解决问题: + - 在组件文档 [wot-design-uni](https://www.wot-design-uni.cn/) 确认使用方法是否正确 + - 尝试在 [Issue](https://github.com/Moonofweisheng/wot-design-uni/issues) 列表中搜索相同问题 + - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/Moonofweisheng/wot-design-uni/discussions) 发帖。 + + - type: input + id: version + attributes: + label: Wot Design Uni 版本号 + description: 你正在使用的组件库版本号(请填写 wot-design-uni/package.json 里实际安装的版本) + placeholder: 例如:0.1.1 + validations: + required: true + + - type: dropdown + id: platform + attributes: + label: 平台 + multiple: true + description: 选择对应的平台 + options: + - h5 + - 微信小程序 + - 支付宝小程序 + - APP + - 钉钉小程序 + - 其他小程序 + validations: + required: true + + - type: input + id: reproduce + attributes: + label: 重现链接 + description: | + 请提供一个尽可能简单的 GitHub 仓库链接。不要随便填写一个链接,这会导致你的 issue 被直接关闭。 + validations: + required: true + + - type: textarea + id: reproduce-steps + attributes: + label: 重现步骤 + description: | + 请提供一个最简洁清晰的重现步骤,方便我们快速重现问题。 + validations: + required: true + + - type: textarea + id: expected + attributes: + label: 期望的结果是什么? + validations: + required: true + + - type: textarea + id: actually-happening + attributes: + label: 实际的结果是什么? + validations: + required: true + + - type: textarea + id: uni-app + attributes: + label: 环境信息 + description: | + 在这里填写你的环境信息 + - 发行平台: [如 微信小程序、H5平台、5+ App等] + - 操作系统 [如 iOS 12.1.2、Android 7.0] + - HBuilderX版本 [如使用HBuilderX,则需提供 HBuilderX 版本号] + - uni-app版本 [如使用Vue-cli创建/运行项目,则提供`npm run info`的运行结果] + - 设备信息 [如 iPhone8 Plus] + + + - type: textarea + id: extra + attributes: + label: 其他补充信息 + description: | + 根据你的分析,出现这个问题的原因可能在哪里,或者你认为可能产生关联的信息:比如 Vue 版本、vite 版本、Node 版本、采用哪种自动引入方案等,或者进行了哪些配置,使用了哪些插件等信息。 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml new file mode 100644 index 00000000..d8151a80 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -0,0 +1,33 @@ +name: 向 Wot Design Uni 提出新功能需求 +description: 创建一个 Issue 描述一下你的功能需求。 +title: "[新功能需求] 请在此填写标题" +labels: ["feature: need confirm"] +body: + - type: markdown + attributes: + value: | + 在提交功能需求前,请注意: + + - 确认这是一个通用功能,并且无法通过现有的 API 或 Slot 实现。 + - 尝试在 [Issue](https://github.com/Moonofweisheng/wot-design-uni/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,并提供一些代码示例。 + placeholder: | + ```xml + + ``` + validations: + required: true \ No newline at end of file