Skip to content

Commit

Permalink
Merge pull request #6 from JOU-amjs/feature-v1.1.x
Browse files Browse the repository at this point in the history
feat: add splited string arr in return object
  • Loading branch information
JOU-amjs authored Aug 4, 2023
2 parents 0f33732 + 741d081 commit 7b0b73c
Show file tree
Hide file tree
Showing 10 changed files with 357 additions and 165 deletions.
72 changes: 48 additions & 24 deletions .github/ISSUE_TEMPLATE/BUG_REPORT_en.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,64 @@
name: Bug Report
description: Use issue template to report a bug.
title: '[Bug Report] Title'
labels: ['bug: need confirm']
name: 🐛 Report bugs in English
description: Use English to report bugs
labels: ['bug:need-confirm']
body:
- type: input
id: reproduce
-type: markdown
attributes:
label: Reproduction Link
description: Please provide a simple [codesandbox](https://codesandbox.io/) or [stackBlitz](https://stackblitz.com) or GitHub repository link. Do not fill in invalid links, this will cause your issue to be closed directly.
validations:
required: true
value: |
👋🏻👋🏻👋🏻Hi, thanks very much for your support to sdm2, it is really important!
- type: input
id: version
⚠️⚠️⚠️Please read the following before submitting a bug report:
- Before submitting a bug, you can find a solution through [README.md](https://github.com/JOU-amjs/sdm2/blob/main/README.md);
- Make sure you have searched for [historical issues](https://github.com/JOU-amjs/sdm2/issues) and found no similar issues.
- If you have a question or doubt, you can move to [Discussions](https://github.com/JOU-amjs/sdm2/discussions) to post, which will help maintainers manage sdm2 community better.
-type: textarea
id: description
attributes:
label: sdm2 Version
description: Please fill in the version actually installed in node_modules/@alova/adapter-uniapp/package.json
placeholder: E.g. 1.4.0
label: Please describe the bug in detail
description: Please describe in as much detail as possible under what circumstances, what problems you encountered, and what solutions you have tried, including key code snippets.
validations:
required: true

- type: textarea
id: description
-type: input
id: reproduce
attributes:
label: Describe the Bug
label: Reproduce link
description: This helps solvers solve problems faster, you can create a repository link on [codesandbox](https://codesandbox.io), [stackBlitz](https://stackblitz.com) or GitHub. Please do not fill in invalid links.

-type: textarea
id: reproduce-steps
attributes:
label: steps to reproduce
description: Please provide the simplest operation steps so that we can quickly reproduce the problem.
placeholder: |
For example: how about the parameters passed in?
validations:
required: true

- type: textarea
id: reproduce-steps
-type: textarea
id: expect
attributes:
label: expected performance
description: Please use clear and concise language to describe what effect you want to achieve

-type: input
id: version
attributes:
label: Reproduce Steps
label: sdm2 version
description: Please fill in the version number in node_modules/sdm2/package.json
placeholder: e.g. 1.1.0
validations:
required: true

- type: input
id: browsers
-type: input
id: env
attributes:
label: Reproduce environment
description: In what environment is it reproduced, please provide the version number for nodejs, and for the browser, please provide the browser manufacturer and version number

-type: textarea
id: remark
attributes:
label: Device / Browser / Browser Version
label: additional instructions
description: If there are additional instructions or notes, please fill them in here.
68 changes: 39 additions & 29 deletions .github/ISSUE_TEMPLATE/BUG_REPORT_zh-CN.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,64 @@
name: alova Bug反馈
description: 通过标准模板进行 Bug 反馈。
title: "[Bug Report] 请在此填写标题"
labels: ["bug: need confirm"]
name: 🐛用中文反馈bug
description: 使用中文反馈bug
labels: ['bug:need-confirm']
body:
- type: markdown
attributes:
value: |
在提交 Bug 报告前,请注意:
👋🏻👋🏻👋🏻Hi你好,非常感谢你对sdm2的支持,它真的很重要!
- 确认你的问题无法通过官方文档得到解决。
- 确认你搜索过 [历史 issue](https://github.com/alovajs/adapter-uniapp/issues),并且没有发现同样的问题。
⚠️⚠️⚠️在提交 bug 报告前,请阅读以下内容:
- 提交bug前可先通过 [README.md](https://github.com/JOU-amjs/sdm2/blob/main/README.md) 寻找解决办法;
- 确认你搜索过 [历史 issue](https://github.com/JOU-amjs/sdm2/issues),并且没有发现同样的问题。
- 如果是一个问题或疑惑,可移步到 [Discussions](https://github.com/JOU-amjs/sdm2/discussions) 发帖,这有助于作者更好地打理sdm2社区。
- type: input
id: reproduce
- type: textarea
id: description
attributes:
label: 重现链接
description: 请提供一个尽可能简单的 [codesandbox](https://codesandbox.io) 或 [stackBlitz](https://stackblitz.com) 或 GitHub 仓库链接。不要填写无效的链接
label: 请详细描述bug
description: 请尽量详细地描述你在什么情况下,遇到了什么问题,以及你尝试过什么解决方法,可提供关键代码片段
validations:
required: true

- type: input
id: version
id: reproduce
attributes:
label: alova 版本
description: 请填写 node_modules/@alova/adapter-uniapp/package.json 里的版本号
placeholder: 比如 1.4.0
validations:
required: true
label: 复现链接
description: 这有助于解决者更快地解决问题,你可以在 [codesandbox](https://codesandbox.io)、[stackBlitz](https://stackblitz.com) 或 GitHub 上创建仓库链接。请不要填写无效的链接。

- type: textarea
id: description
id: reproduce-steps
attributes:
label: 描述一下你遇到的问题。
label: 复现步骤
description: 请提供一个最简单的操作步骤,方便我们快速复现问题。
placeholder: |
比如:传入的参数如何?
validations:
required: true

- type: textarea
id: reproduce-steps
id: expect
attributes:
label: 重现步骤
description: 请提供一个最简单的操作步骤,方便我们快速重现问题。
placeholder: |
比如:
1. 点击按钮
2. 请求未发出
label: 期望的表现
description: 请使用清晰简洁地语言描述一下期望达成什么效果

- type: input
id: version
attributes:
label: sdm2 版本
description: 请填写 node_modules/sdm2/package.json 里的版本号
placeholder: 比如 1.1.0
validations:
required: true

- type: input
id: browsers
id: env
attributes:
label: 复现环境
description: 在什么环境下复现,nodejs请提供版本号,在浏览器中请提供浏览器厂商和版本号

- type: textarea
id: remark
attributes:
label: 设备/浏览器/浏览器版本
description: 在哪些设备/浏览器以及哪个浏览器版本上能重现这个问题?
label: 额外的说明
description: 如果还有额外的说明或备注,请在此填写。
29 changes: 13 additions & 16 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST_en.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: I want a new feature in alova
description: Describe your functional requirements through standard templates.
title: "[Feature Request] Please fill in the title here"
labels: ["feature: need confirm"]
name: 🚀 new feature proposal
description: New features or optimization proposals for sdm2
labels: ['feature-request']
body:
- type: markdown
-type: markdown
attributes:
value: |
Before submitting a feature request, please note:
👋🏻👋🏻👋🏻Hi, thank you very much for your support to sdm2, it is really important!
- Confirm that this is a generic feature and cannot be implemented through the existing API.
- Make sure you searched for [historical issues](https://github.com/alovajs/adapter-uniapp/issues) and didn't find the same requirement.
⚠️⚠️⚠️Please read the following before submitting a new feature proposal:
- Confirm that it cannot be implemented through the API at present, you can first look for available parameters in [README.md](https://github.com/JOU-amjs/sdm2/blob/main/README.md), generally speaking, we Add new features only considering problems that cannot be easily solved by existing APIs.
- Confirm that no duplicate content is found in [Historical issues](https://github.com/JOU-amjs/sdm2/issues) or [Discussion](https://github.com/JOU-amjs/sdm2/discussions).
- type: textarea
-type: textarea
id: description
attributes:
label: In what situation do you need this function to solve the problem?
description: Please describe the usage scenarios of this feature in as much detail as possible.
label: What problem does the new feature need to solve?
validations:
required: true

- type: textarea
-type: textarea
id: api
attributes:
label: What do you expect the API to look like?
description: Describe the API of this new feature and provide some code examples.
validations:
required: true
label: How should the new features you expect be presented?
description: You can provide a code design snippet of a new feature to express how the new feature you expect will be presented in the new version.
23 changes: 10 additions & 13 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST_zh-CN.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: 我想要一个 alova 的新功能
description: 通过标准模板描述一下你的功能需求。
title: "[Feature Request] 请在此填写标题"
labels: ["feature: need confirm"]
name: 🚀新特性提案
description: 对sdm2的新特性或优化提案
labels: ['feature-request']
body:
- type: markdown
attributes:
value: |
在提交功能需求前,请注意:
👋🏻👋🏻👋🏻Hi你好,非常感谢你对sdm2的支持,它真的很重要!
- 确认这是一个通用功能,并且无法通过现有的 API 实现。
- 确认你搜索过 [历史 issue](https://github.com/alovajs/adapter-uniapp/issues),并且没有发现同样的需求。
⚠️⚠️⚠️在提交新特性提案前,请阅读以下内容:
- 确认目前无法通过 API 实现,可先在[README.md](https://github.com/JOU-amjs/sdm2/blob/main/README.md)中寻找可用的参数,一般来说,我们只考虑现有 API 无法轻松解决的问题的情况下添加新特性。
- 确认在 [历史 issue](https://github.com/JOU-amjs/sdm2/issues)或[Discussion](https://github.com/JOU-amjs/sdm2/discussions)没有发现重复内容。
- type: textarea
id: description
attributes:
label: 你在什么情况下,需要这个功能解决什么问题?
description: 请尽可能详细地说明这个功能的使用场景。
label: 需要新特性解决什么问题?
validations:
required: true

- type: textarea
id: api
attributes:
label: 你期望的 API 是什么样子的?
description: 描述一下这个新功能的 API,并提供一些代码示例。
validations:
required: true
label: 你期望的新特性应该如何呈现?
description: 可提供一段新特性的代码设计片段,以表达你期望的新特性如何呈现在新版本中。
Loading

0 comments on commit 7b0b73c

Please sign in to comment.