Skip to content

Commit 3349c8a

Browse files
authored
chore: rebrand to "Vue ECharts", improve ci.yml (#851)
1 parent fe7e2af commit 3349c8a

File tree

10 files changed

+22
-23
lines changed

10 files changed

+22
-23
lines changed

.github/ISSUE_TEMPLATE/bug-report.en-US.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "🐞 Bug Report"
2-
description: Create a bug report for Vue-ECharts
2+
description: Create a bug report for Vue ECharts
33
body:
44
- type: markdown
55
attributes:
@@ -9,14 +9,14 @@ body:
99
id: confirmation
1010
attributes:
1111
label: Confirmation
12-
description: Before submitting this issue, please make sure that the problem only occurs in Vue-ECharts and is not related to ECharts itself.
12+
description: Before submitting this issue, please make sure that the problem only occurs in Vue ECharts and is not related to ECharts itself.
1313
options:
1414
- label: I can confirm this problem is not reproducible with ECharts itself.
1515
required: true
1616
- type: dropdown
1717
id: integration
1818
attributes:
19-
label: How are you introducing Vue-ECharts into your project?
19+
label: How are you introducing Vue ECharts into your project?
2020
options:
2121
- ES Module imports
2222
- "<script> tag"

.github/ISSUE_TEMPLATE/bug-report.zh-Hans.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "🐞 Bug 报告"
2-
description: 给 Vue-ECharts 报告 bug
2+
description: 给 Vue ECharts 报告 bug
33
body:
44
- type: markdown
55
attributes:
@@ -9,14 +9,14 @@ body:
99
id: confirmation
1010
attributes:
1111
label: 请确认
12-
description: 在提交此问题前,请确认问题仅在 Vue-ECharts 中发生,而与 ECharts 本身无关。
12+
description: 在提交此问题前,请确认问题仅在 Vue ECharts 中发生,而与 ECharts 本身无关。
1313
options:
1414
- label: 我可以确认这个问题无法在 ECharts 项目本身中复现。
1515
required: true
1616
- type: dropdown
1717
id: integration
1818
attributes:
19-
label: 您是如何将 Vue-ECharts 引入项目的?
19+
label: 您是如何将 Vue ECharts 引入项目的?
2020
options:
2121
- 通过 ES 模块 import
2222
- "<script> 标签"

.github/ISSUE_TEMPLATE/feature-request.en-US.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "✨ Feature Request"
2-
description: Create a feature request for Vue-ECharts
2+
description: Create a feature request for Vue ECharts
33
body:
44
- type: markdown
55
attributes:

.github/ISSUE_TEMPLATE/feature-request.zh-Hans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "✨ 新功能建议"
2-
description: 给 Vue-ECharts 提交新功能建议
2+
description: 给 Vue ECharts 提交新功能建议
33
body:
44
- type: markdown
55
attributes:

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- "8.0" # remove this after 8.0 is merged into main
87

98
jobs:
109
test:
@@ -20,7 +19,7 @@ jobs:
2019
uses: actions/setup-node@v4
2120
with:
2221
node-version: 22
23-
cache: "pnpm"
22+
cache: pnpm
2423

2524
- name: Install dependencies
2625
run: pnpm install

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285

286286
- Update peer dependency for `echarts` to `^5.0.2`.
287287
- Update peer dependency for `vue` to `^2.6.11 || ^3.0.0`.
288-
- Now `@vue/composition-api` is required to be installed to use Vue-ECharts with Vue 2.
288+
- Now `@vue/composition-api` is required to be installed to use Vue ECharts with Vue 2.
289289
- `options` is renamed to **`option`** to align with ECharts itself.
290290
- Updating `option` will respect **`update-options`** configs instead of checking reference change.
291291
- `watch-shallow` is removed. Use **`manual-update`** for performance critical scenarios.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">Vue-ECharts</h1>
1+
<h1 align="center">Vue ECharts</h1>
22

33
<p align="center">Vue.js component for Apache ECharts™.</p>
44
<p align="center"><a href="https://npmjs.com/package/vue-echarts"><img alt="npm version" src="https://img.shields.io/npm/v/vue-echarts"></a> <a href="https://vue-echarts.dev/"><img src="https://img.shields.io/badge/Demo%20%C2%BB-20c3aa" alt="View demo"></a> <a href="./README.zh-Hans.md"><img src="https://img.shields.io/badge/%E4%B8%AD%E6%96%87%E7%89%88%20%C2%BB-000" alt="前往中文版"></a></p>
@@ -199,7 +199,7 @@ You can bind events with Vue's `v-on` directive.
199199
> [!NOTE]
200200
> Only the `.once` event modifier is supported as other modifiers are tightly coupled with the DOM event system.
201201
202-
Vue-ECharts support the following events:
202+
Vue ECharts support the following events:
203203

204204
- `highlight` [](https://echarts.apache.org/en/api.html#events.highlight)
205205
- `downplay` [](https://echarts.apache.org/en/api.html#events.downplay)
@@ -249,7 +249,7 @@ See supported events [here →](https://echarts.apache.org/en/api.html#events)
249249

250250
#### Native DOM Events
251251

252-
As Vue-ECharts binds events to the ECharts instance by default, there is some caveat when using native DOM events. You need to prefix the event name with `native:` to bind native DOM events.
252+
As Vue ECharts binds events to the ECharts instance by default, there is some caveat when using native DOM events. You need to prefix the event name with `native:` to bind native DOM events.
253253

254254
```vue
255255
<template>
@@ -259,7 +259,7 @@ As Vue-ECharts binds events to the ECharts instance by default, there is some ca
259259

260260
### Provide / Inject
261261

262-
Vue-ECharts provides provide/inject API for `theme`, `init-options`, `update-options` and `loading-options` to help configuring contextual options. eg. for `theme` you can use the provide API like this:
262+
Vue ECharts provides provide/inject API for `theme`, `init-options`, `update-options` and `loading-options` to help configuring contextual options. eg. for `theme` you can use the provide API like this:
263263

264264
<details>
265265
<summary>Composition API</summary>
@@ -337,7 +337,7 @@ export default {
337337
338338
### Slots
339339

340-
Vue-ECharts allows you to define ECharts option's [`tooltip.formatter`](https://echarts.apache.org/en/option.html#tooltip.formatter) and [`toolbox.feature.dataView.optionToContent`](https://echarts.apache.org/en/option.html#toolbox.feature.dataView.optionToContent) callbacks via Vue slots instead of defining them in your `option` object. This simplifies custom HTMLElement rendering using familiar Vue templating.
340+
Vue ECharts allows you to define ECharts option's [`tooltip.formatter`](https://echarts.apache.org/en/option.html#tooltip.formatter) and [`toolbox.feature.dataView.optionToContent`](https://echarts.apache.org/en/option.html#toolbox.feature.dataView.optionToContent) callbacks via Vue slots instead of defining them in your `option` object. This simplifies custom HTMLElement rendering using familiar Vue templating.
341341

342342
**Slot Naming Convention**
343343

README.zh-Hans.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">Vue-ECharts</h1>
1+
<h1 align="center">Vue ECharts</h1>
22

33
<p align="center">Apache ECharts™ 的 Vue.js 组件。</p>
44
<p align="center"><a href="https://npmjs.com/package/vue-echarts"><img alt="npm 版本" src="https://img.shields.io/npm/v/vue-echarts"></a> <a href="https://vue-echarts.dev/"><img src="https://img.shields.io/badge/%E6%BC%94%E7%A4%BA%20%C2%BB-20c3aa" alt="查看演示"></a> <a href="./README.zh-Hans.md"></p>
@@ -199,7 +199,7 @@ app.component('v-chart', VueECharts)
199199
> [!NOTE]
200200
> 仅支持 `.once` 修饰符,因为其它修饰符都与 DOM 事件机制强耦合。
201201
202-
Vue-ECharts 支持如下事件:
202+
Vue ECharts 支持如下事件:
203203

204204
- `highlight` [](https://echarts.apache.org/zh/api.html#events.highlight)
205205
- `downplay` [](https://echarts.apache.org/zh/api.html#events.downplay)
@@ -249,7 +249,7 @@ Vue-ECharts 支持如下事件:
249249

250250
#### 原生 DOM 事件
251251

252-
由于 Vue-ECharts 默认将事件绑定到 ECharts 实例,因此在使用原生 DOM 事件时需要做一些特殊处理。你需要在事件名称前加上 `native:` 前缀来绑定原生 DOM 事件。
252+
由于 Vue ECharts 默认将事件绑定到 ECharts 实例,因此在使用原生 DOM 事件时需要做一些特殊处理。你需要在事件名称前加上 `native:` 前缀来绑定原生 DOM 事件。
253253

254254
```vue
255255
<template>
@@ -259,7 +259,7 @@ Vue-ECharts 支持如下事件:
259259

260260
### Provide / Inject
261261

262-
Vue-ECharts 为 `theme``init-options``update-options``loading-options` 提供了 provide/inject API,以通过上下文配置选项。例如:可以通过如下方式来使用 provide API 为 `theme` 提供上下文配置:
262+
Vue ECharts 为 `theme``init-options``update-options``loading-options` 提供了 provide/inject API,以通过上下文配置选项。例如:可以通过如下方式来使用 provide API 为 `theme` 提供上下文配置:
263263

264264
<details>
265265
<summary>组合式 API</summary>
@@ -337,7 +337,7 @@ export default {
337337
338338
### 插槽(Slots)
339339

340-
Vue-ECharts 允许你通过 Vue 插槽来定义 ECharts 配置中的 [`tooltip.formatter`](https://echarts.apache.org/zh/option.html#tooltip.formatter)[`toolbox.feature.dataView.optionToContent`](https://echarts.apache.org/zh/option.html#toolbox.feature.dataView.optionToContent) 回调,而无需在 `option` 对象中定义它们。你可以使用熟悉的 Vue 模板语法来编写自定义提示框或数据视图中的内容。
340+
Vue ECharts 允许你通过 Vue 插槽来定义 ECharts 配置中的 [`tooltip.formatter`](https://echarts.apache.org/zh/option.html#tooltip.formatter)[`toolbox.feature.dataView.optionToContent`](https://echarts.apache.org/zh/option.html#toolbox.feature.dataView.optionToContent) 回调,而无需在 `option` 对象中定义它们。你可以使用熟悉的 Vue 模板语法来编写自定义提示框或数据视图中的内容。
341341

342342
**插槽命名约定**
343343

demo/Demo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ watch(codeOpen, (open) => {
5454
<logo-chart />
5555

5656
<h1>
57-
<a href="https://github.com/ecomfe/vue-echarts">Vue-ECharts</a>
57+
<a href="https://github.com/ecomfe/vue-echarts">Vue ECharts</a>
5858
</h1>
5959
<p class="desc">
6060
Vue.js component for Apache ECharts™. (<a

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
href="https://fonts.googleapis.com/css?family=Inter:300,500;display=swap"
1010
rel="stylesheet"
1111
/>
12-
<title>Vue-ECharts: Vue.js component for Apache ECharts™.</title>
12+
<title>Vue ECharts: Vue.js component for Apache ECharts™.</title>
1313
</head>
1414
<body>
1515
<div id="app"></div>

0 commit comments

Comments
 (0)