Skip to content

Commit 6477502

Browse files
committed
fix
1 parent 34bc834 commit 6477502

File tree

14 files changed

+242
-209
lines changed

14 files changed

+242
-209
lines changed

.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
["env", { "modules": false }],
4+
"stage-2"
5+
],
6+
"plugins": [
7+
["transform-runtime", {
8+
"polyfill": true,
9+
"regenerator": true
10+
}],
11+
["transform-vue-jsx"]
12+
]
13+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"babel-plugin-transform-runtime": "^6.23.0",
3030
"babel-plugin-transform-vue-jsx": "^3.7.0",
3131
"babel-preset-env": "^1.7.0",
32+
"babel-preset-stage-0": "^6.24.1",
33+
"babel-preset-stage-1": "^6.24.1",
3234
"babel-preset-stage-2": "^6.24.1",
3335
"cross-env": "^5.0.5",
3436
"css-loader": "^0.28.7",

src/components/BugReport.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const BugReportForm = {
8989
);
9090
const content = this.getContent(issueType);
9191
const withConfirm = `
92-
- [ ] I have searched the [issues](https://github.com/ant-design/${repo}/issues) \
92+
- [ ] I have searched the [issues](https://github.com/vueComponent/${repo}/issues) \
9393
of this repository and believe that this is not a duplicate.
9494
9595
${content}
@@ -98,7 +98,7 @@ const BugReportForm = {
9898
const body = encodeURIComponent(withMarker).replace(/%2B/gi, '+');
9999
const label = issueType === 'feature' ? '&labels=Feature%20Request' : '';
100100
window.open(
101-
`https://github.com/ant-design/${repo}/issues/new?title=${title}&body=${body}${label}`,
101+
`https://github.com/vueComponent/${repo}/issues/new?title=${title}&body=${body}${label}`,
102102
);
103103
},
104104

src/i18n/locales/en/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The issue list is reserved exclusively for bug reports and feature requests. Tha
44

55
For usage questions, please use the following resources:
66

7-
- Read the [docs](https://ant.design/docs/react/introduce)
8-
- Look for / ask questions on [StackOverflow](https://stackoverflow.com/questions/ask?tags=antd)
7+
- Read the [docs](http://tangjinzhou.gitee.io/ant-design/docs/vue/introduce/)
8+
<!-- - Look for / ask questions on [StackOverflow](https://stackoverflow.com/questions/ask?tags=antd) -->
99

1010
Also try to search for your issue - it may have already been answered or even fixed in the development branch. However, if you find that an old, closed issue still persists in the latest version, you should open a new issue using the form below instead of commenting on the old issue.

src/i18n/locales/en/introModal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Maintaining open source projects is [hard work](https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/). As Ant Design's user base has grown, we are getting more and more usage questions, bug reports, feature requests and pull requests every single day.
1+
Maintaining open source projects is [hard work](https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/). As Ant Design Vue's user base has grown, we are getting more and more usage questions, bug reports, feature requests and pull requests every single day.
22

3-
As a free and open source project, Ant Design also has limited maintainer bandwidth. That means the only way to ensure the project's sustainability is to:
3+
As a free and open source project, Ant Design Vue also has limited maintainer bandwidth. That means the only way to ensure the project's sustainability is to:
44

55
1. Prioritize more concrete work (bug fixes and new features);
66
2. Improve issue triaging efficiency.

src/i18n/locales/en/motivationHelp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Explain your use case, context, and rationale behind this feature request. More importantly, what is the **end user experience** you are trying to build that led to the need for this feature?
22

3-
An important design goal of Ant Design is keeping the API surface small and straightforward. In general, we only consider adding new features that solve a problem that cannot be easily dealt with using existing APIs (i.e. not just an alternative way of doing things that can already be done). The problem should also be common enough to justify the addition.
3+
An important design goal of Ant Design Vue is keeping the API surface small and straightforward. In general, we only consider adding new features that solve a problem that cannot be easily dealt with using existing APIs (i.e. not just an alternative way of doing things that can already be done). The problem should also be common enough to justify the addition.

src/i18n/locales/en/reproHelp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Please provide a link by forking these links [antd](https://u.ant.design/codesandbox-repro) / [antd-mobile](http://codepen.io/paranoidjk/pen/LWpaKe) or GitHub repo.
1+
Please provide a link by forking these links [antd](https://codesandbox.io/s/2wpk21kzvr) or GitHub repo.
22
<br>
33
[What is a minimal reproduction, and why is it required?](#repro-modal)

src/i18n/locales/en/reproModal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ A **minimal** reproduction means it demonstrates the bug, and the bug only. It s
2020

2121
##### How to create a repro
2222

23-
Unless your bug can only be reproduced with a built setup, we prefer reproductions made with [Codepen for antd](http://codepen.io/benjycui/pen/KgPZrE?editors=001) / [CodePen for antd-mobile](http://codepen.io/paranoidjk/pen/LWpaKe)]. If your bug involves a build setup, you can create a project using [antd-init](https://github.com/ant-design/antd-init) and provide the link to a GitHub repository.
23+
Unless your bug can only be reproduced with a built setup, we prefer reproductions made with [Codepen for antd](https://codesandbox.io/s/2wpk21kzvr).

src/i18n/locales/zh/intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## 在你开始之前...
22

3-
首先,虽然我们为了中文用户的方便提供了中文的表单,但在填写时请**尽量使用英文**。Ant Design 社区不只有中国人。如果你想让尽可能多的人能够看懂你的 issue,就请尽量用英文。
3+
首先,虽然我们为了中文用户的方便提供了中文的表单,但在填写时请**尽量使用英文**。Ant Design Vue 社区不只有中国人。如果你想让尽可能多的人能够看懂你的 issue,就请尽量用英文。
44

5-
其次,Ant Design 的 issue 列表只接受 bug 报告或是新功能请求 (feature requests)。这意味着**我们不接受用法问题**。如果你开的 issue 不符合规定,它将会被**立刻关闭**[为什么要这么严格?](#intro-modal)
5+
其次,Ant Design Vue 的 issue 列表只接受 bug 报告或是新功能请求 (feature requests)。这意味着**我们不接受用法问题**。如果你开的 issue 不符合规定,它将会被**立刻关闭**[为什么要这么严格?](#intro-modal)
66

77
对于使用中遇到的问题,请使用以下资源:
88

9-
- 仔细阅读 [文档](https://ant.design/docs/react/introduce-cn)
10-
- [StackOverflow](https://stackoverflow.com/questions/ask?tags=antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问
9+
- 仔细阅读 [文档](http://tangjinzhou.gitee.io/ant-design/docs/vue/introduce-cn/)
10+
<!-- - 在 [StackOverflow](https://stackoverflow.com/questions/ask?tags=antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问 -->
1111

1212
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。

src/i18n/locales/zh/introModal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
维护开源项目是[非常辛苦的工作](https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/)。随着 Ant Design 在社区越来越受欢迎,我们每天都在收到越来越多的问题, bug 报告,功能需求和 Pull Requests。
1+
维护开源项目是[非常辛苦的工作](https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/)。随着 Ant Design Vue 在社区越来越受欢迎,我们每天都在收到越来越多的问题, bug 报告,功能需求和 Pull Requests。
22

3-
作为一个完全免费使用的开源项目,Ant Design 的维护人手是有限的。这意味着想要让项目长期的可持续发展,我们必须:
3+
作为一个完全免费使用的开源项目,Ant Design Vue 的维护人手是有限的。这意味着想要让项目长期的可持续发展,我们必须:
44

55
1. 给予更具体的工作更高的优先级(比如 bug 的修复和新功能的开发);
66
2. 提高 issue 处理的效率。

0 commit comments

Comments
 (0)