echarts-examples.git
12 days agofix: tweak readme and add some build commands into package.json. gh-pages
100pah [Mon, 12 Sep 2022 18:31:26 +0000 (02:31 +0800)] 
fix: tweak readme and add some build commands into package.json.

12 days agofix:
100pah [Mon, 12 Sep 2022 17:49:01 +0000 (01:49 +0800)] 
fix:
(1). add back the e2e/package.json, otherwise the dependent packages will be installed into echarts-examples/node_modules. And make some process to prevent it from committing modifications.
(2). Fix some dependency install (of zrender, which is the dependency of echarts and echarts-gl).

12 days agofix: make the build guide clear in README.md
100pah [Mon, 12 Sep 2022 17:45:08 +0000 (01:45 +0800)] 
fix: make the build guide clear in README.md

2 weeks agofix: fix ts type.
100pah [Sat, 10 Sep 2022 08:56:43 +0000 (16:56 +0800)] 
fix: fix ts type.

7 weeks agochore: add .asf.yaml
plainheart [Sat, 6 Aug 2022 08:20:51 +0000 (16:20 +0800)] 
chore: add .asf.yaml

7 weeks agopreload prettier after the component is mounted
plainheart [Thu, 4 Aug 2022 02:31:00 +0000 (10:31 +0800)] 
preload prettier after the component is mounted

7 weeks agofix(editor): fix wrong encoder when sharing the modified base64 code
plainheart [Thu, 4 Aug 2022 02:01:19 +0000 (10:01 +0800)] 
fix(editor): fix wrong encoder when sharing the modified base64 code

7 weeks agofeat(editor): support uncompressed base64-encoded code
plainheart [Thu, 4 Aug 2022 01:40:51 +0000 (09:40 +0800)] 
feat(editor): support uncompressed base64-encoded code

7 weeks agofix(editor): clear the opener after the example code is loaded
plainheart [Thu, 4 Aug 2022 01:14:31 +0000 (09:14 +0800)] 
fix(editor): clear the opener after the example code is loaded

7 weeks agofix(editor): fix logic flaw
plainheart [Wed, 3 Aug 2022 06:57:14 +0000 (14:57 +0800)] 
fix(editor): fix logic flaw

7 weeks agofeat(editor): not considered as shared code if it's opened by echarts website like...
plainheart [Wed, 3 Aug 2022 06:18:13 +0000 (14:18 +0800)] 
feat(editor): not considered as shared code if it's opened by echarts website like echarts-doc

7 weeks agochore: rmmove unused dependency
plainheart [Wed, 3 Aug 2022 01:00:59 +0000 (09:00 +0800)] 
chore: rmmove unused dependency

7 weeks agofix(editor): fetch versions via npmmirror registry to speed up for China mainland
plainheart [Tue, 2 Aug 2022 08:24:49 +0000 (16:24 +0800)] 
fix(editor): fetch versions via npmmirror registry to speed up for China mainland

7 weeks agofix(editor): if formatted code is the same as initial code but source code is changed...
plainheart [Mon, 1 Aug 2022 15:07:16 +0000 (23:07 +0800)] 
fix(editor): if formatted code is the same as initial code but source code is changed, should also trigger update.

8 weeks agofix(examples): still set `backgroundColor` as #fff for `sankey-itemstyle` example.
plainheart [Sat, 30 Jul 2022 18:39:57 +0000 (02:39 +0800)] 
fix(examples): still set `backgroundColor` as #fff for `sankey-itemstyle` example.

8 weeks agofix(explore): disable smooth scroll for nav
plainheart [Sat, 30 Jul 2022 18:31:59 +0000 (02:31 +0800)] 
fix(explore): disable smooth scroll for nav

8 weeks agofix(explore): fix NPE
plainheart [Sat, 30 Jul 2022 18:12:49 +0000 (02:12 +0800)] 
fix(explore): fix NPE

8 weeks agofeat(explore): scroll nav into view and change url when scrolling right example list.
plainheart [Sat, 30 Jul 2022 17:55:02 +0000 (01:55 +0800)] 
feat(explore): scroll nav into view and change url when scrolling right example list.

8 weeks agofeat(editor): add outline link for bmap extension
plainheart [Sat, 30 Jul 2022 17:50:56 +0000 (01:50 +0800)] 
feat(editor): add outline link for bmap extension

8 weeks agofix(explore): fix example card placeholder
plainheart [Sat, 30 Jul 2022 16:08:03 +0000 (00:08 +0800)] 
fix(explore): fix example card placeholder

8 weeks agofix(helper): ensure prettier plugin is loaded before formatting code
plainheart [Sat, 30 Jul 2022 15:52:50 +0000 (23:52 +0800)] 
fix(helper): ensure prettier plugin is loaded before formatting code

8 weeks agofeat(editor): import extensions automatically & consider chart initial option
plainheart [Sat, 30 Jul 2022 15:26:51 +0000 (23:26 +0800)] 
feat(editor): import extensions automatically & consider chart initial option

8 weeks agochore(tool): tweak bmap version in screenshot tool
plainheart [Sat, 30 Jul 2022 15:16:07 +0000 (23:16 +0800)] 
chore(tool): tweak bmap version in screenshot tool

8 weeks agochore(editor): tweak tooltips of some buttons
plainheart [Sat, 30 Jul 2022 15:05:21 +0000 (23:05 +0800)] 
chore(editor): tweak tooltips of some buttons

8 weeks agofix(editor): fix z-index of the debug dirty rect.
plainheart [Sat, 30 Jul 2022 14:58:30 +0000 (22:58 +0800)] 
fix(editor): fix z-index of the debug dirty rect.

8 weeks agoMerge pull request #50 from apache/dependabot/npm_and_yarn/sharp-0.30.5
Zhongxiang Wang [Sat, 30 Jul 2022 12:30:04 +0000 (20:30 +0800)] 
Merge pull request #50 from apache/dependabot/npm_and_yarn/sharp-0.30.5

chore(deps-dev): bump sharp from 0.29.3 to 0.30.5

8 weeks agofix(explore): update lazyload usage
plainheart [Sat, 30 Jul 2022 12:27:24 +0000 (20:27 +0800)] 
fix(explore): update lazyload usage

8 weeks agofix(editor): import nightly dts when echarts version is nightly
plainheart [Sat, 30 Jul 2022 11:05:21 +0000 (19:05 +0800)] 
fix(editor): import nightly dts when echarts version is nightly

8 weeks agochore: update dependencies
plainheart [Sat, 30 Jul 2022 11:03:41 +0000 (19:03 +0800)] 
chore: update dependencies

8 weeks agochore: compress default placeholder image
plainheart [Sat, 30 Jul 2022 08:49:30 +0000 (16:49 +0800)] 
chore: compress default placeholder image

2 months agofix(examples): remove backgroundColor for dark mode
plainheart [Mon, 25 Jul 2022 07:59:02 +0000 (15:59 +0800)] 
fix(examples): remove backgroundColor for dark mode

2 months agochore: update dependencies
plainheart [Mon, 25 Jul 2022 07:24:46 +0000 (15:24 +0800)] 
chore: update dependencies

2 months agochore: update dependencies
plainheart [Mon, 25 Jul 2022 07:02:29 +0000 (15:02 +0800)] 
chore: update dependencies

2 months agoMerge pull request #52 from apache/dependabot/npm_and_yarn/terser-4.8.1
Zhongxiang Wang [Mon, 25 Jul 2022 06:40:07 +0000 (14:40 +0800)] 
Merge pull request #52 from apache/dependabot/npm_and_yarn/terser-4.8.1

chore(deps): bump terser from 4.8.0 to 4.8.1

2 months agofix(editor): fix chart can't be updated once error occurs.
plainheart [Mon, 25 Jul 2022 06:32:48 +0000 (14:32 +0800)] 
fix(editor): fix chart can't be updated once error occurs.

2 months agofix: remove more maps
Ovilia [Thu, 21 Jul 2022 09:47:28 +0000 (17:47 +0800)] 
fix: remove more maps

2 months agofix: remove more maps
Ovilia [Thu, 21 Jul 2022 09:45:45 +0000 (17:45 +0800)] 
fix: remove more maps

2 months agoremove an example containing map
Ovilia [Wed, 20 Jul 2022 08:11:12 +0000 (16:11 +0800)] 
remove an example containing map

2 months agochore(deps): bump terser from 4.8.0 to 4.8.1 52/head
dependabot[bot] [Wed, 20 Jul 2022 03:34:45 +0000 (03:34 +0000)] 
chore(deps): bump terser from 4.8.0 to 4.8.1

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agofix: disable esModule for file loader
plainheart [Mon, 4 Jul 2022 03:43:04 +0000 (11:43 +0800)] 
fix: disable esModule for file loader

2 months agofeat(editor): support saving sharable url to clipboard via ctrl/cmd + s
plainheart [Mon, 27 Jun 2022 01:30:10 +0000 (09:30 +0800)] 
feat(editor): support saving sharable url to clipboard via ctrl/cmd + s

2 months agochore(deps): upgrade file-loader to 6.2
plainheart [Mon, 27 Jun 2022 01:29:10 +0000 (09:29 +0800)] 
chore(deps): upgrade file-loader to 6.2

3 months agochore: update vue versions
Ovilia [Fri, 10 Jun 2022 03:15:57 +0000 (11:15 +0800)] 
chore: update vue versions

3 months agochore: remove a workflow that does not work
Ovilia [Thu, 9 Jun 2022 09:28:46 +0000 (17:28 +0800)] 
chore: remove a workflow that does not work

3 months agochore: update action id in workflow
Ovilia [Thu, 9 Jun 2022 09:26:45 +0000 (17:26 +0800)] 
chore: update action id in workflow

3 months agochore: install ffmpeg in workflow
Ovilia [Thu, 9 Jun 2022 09:17:26 +0000 (17:17 +0800)] 
chore: install ffmpeg in workflow

3 months agochore: add e2e to workflow
Ovilia [Thu, 9 Jun 2022 09:00:54 +0000 (17:00 +0800)] 
chore: add e2e to workflow

3 months agochore(deps-dev): bump sharp from 0.29.3 to 0.30.5 50/head
dependabot[bot] [Wed, 1 Jun 2022 23:47:10 +0000 (23:47 +0000)] 
chore(deps-dev): bump sharp from 0.29.3 to 0.30.5

Bumps [sharp](https://github.com/lovell/sharp) from 0.29.3 to 0.30.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agofix(cdn): change the CDN root in the example code to fastly temporarily
plainheart [Wed, 18 May 2022 01:35:19 +0000 (09:35 +0800)] 
fix(cdn): change the CDN root in the example code to fastly temporarily

4 months agofix(cdn): use fastly CDN temporarily
plainheart [Tue, 17 May 2022 03:08:31 +0000 (11:08 +0800)] 
fix(cdn): use fastly CDN temporarily

4 months agotweak share toast style
plainheart [Sat, 14 May 2022 12:21:52 +0000 (20:21 +0800)] 
tweak share toast style

4 months agonot change url when tool options changes and tweak the source header in downloaded...
plainheart [Wed, 11 May 2022 13:10:16 +0000 (21:10 +0800)] 
not change url when tool options changes and tweak the source header in downloaded file

4 months agofix chart doesn't show after changing echarts version in `View` mode
plainheart [Wed, 11 May 2022 12:25:33 +0000 (20:25 +0800)] 
fix chart doesn't show after changing echarts version in `View` mode

4 months agoenhance sandbox security and optimize share hint toast
plainheart [Wed, 11 May 2022 11:33:19 +0000 (19:33 +0800)] 
enhance sandbox security and optimize share hint toast

Signed-off-by: plainheart <yhen@all-my-life.cn>
4 months agofeat: add warning of user-generated url
Ovilia [Wed, 11 May 2022 08:48:38 +0000 (16:48 +0800)] 
feat: add warning of user-generated url

4 months agoMerge branch 'gh-pages' of https://github.com/apache/echarts-examples into gh-pages
Ovilia [Wed, 11 May 2022 07:17:16 +0000 (15:17 +0800)] 
Merge branch 'gh-pages' of https://github.com/apache/echarts-examples into gh-pages

4 months agofix(sandbox): reset entire appEnv
plainheart [Tue, 10 May 2022 10:34:26 +0000 (18:34 +0800)] 
fix(sandbox): reset entire appEnv

4 months agofix(editor): add back missing appEnv.onresize
plainheart [Tue, 10 May 2022 10:05:02 +0000 (18:05 +0800)] 
fix(editor): add back missing appEnv.onresize

4 months agofix some examples code
plainheart [Tue, 10 May 2022 09:50:01 +0000 (17:50 +0800)] 
fix some examples code

4 months agofeat(editor): support sharing code with customized tool options
plainheart [Tue, 10 May 2022 08:37:49 +0000 (16:37 +0800)] 
feat(editor): support sharing code with customized tool options

4 months agoMerge branch 'gh-pages' of https://github.com/apache/echarts-examples into gh-pages
Ovilia [Mon, 9 May 2022 03:09:26 +0000 (11:09 +0800)] 
Merge branch 'gh-pages' of https://github.com/apache/echarts-examples into gh-pages

4 months agofix(editor): fix share url may be not expected.
plainheart [Sat, 7 May 2022 03:55:45 +0000 (11:55 +0800)] 
fix(editor): fix share url may be not expected.

4 months agoMerge pull request #49 from apache/dependabot/npm_and_yarn/node-fetch-2.6.7
Zhongxiang Wang [Fri, 6 May 2022 07:29:19 +0000 (15:29 +0800)] 
Merge pull request #49 from apache/dependabot/npm_and_yarn/node-fetch-2.6.7

chore(deps): bump node-fetch from 2.6.1 to 2.6.7

4 months agoMerge pull request #48 from apache/dependabot/npm_and_yarn/postcss-7.0.39
Zhongxiang Wang [Fri, 6 May 2022 07:29:06 +0000 (15:29 +0800)] 
Merge pull request #48 from apache/dependabot/npm_and_yarn/postcss-7.0.39

chore(deps): bump postcss from 7.0.25 to 7.0.39

4 months agoMerge pull request #47 from apache/dependabot/npm_and_yarn/simple-get-4.0.1
Zhongxiang Wang [Fri, 6 May 2022 07:28:20 +0000 (15:28 +0800)] 
Merge pull request #47 from apache/dependabot/npm_and_yarn/simple-get-4.0.1

chore(deps): bump simple-get from 4.0.0 to 4.0.1

4 months agoMerge pull request #46 from apache/dependabot/npm_and_yarn/nanoid-3.1.31
Zhongxiang Wang [Fri, 6 May 2022 07:27:15 +0000 (15:27 +0800)] 
Merge pull request #46 from apache/dependabot/npm_and_yarn/nanoid-3.1.31

chore(deps): bump nanoid from 3.1.30 to 3.1.31

4 months agofix(editor): improve renderer switch style
plainheart [Tue, 3 May 2022 11:16:27 +0000 (19:16 +0800)] 
fix(editor): improve renderer switch style

4 months agotweak editor name
plainheart [Tue, 3 May 2022 08:33:39 +0000 (16:33 +0800)] 
tweak editor name

4 months agonot set csp & allow popups and modals when the code is not shared
plainheart [Tue, 3 May 2022 07:29:36 +0000 (15:29 +0800)] 
not set csp & allow popups and modals when the code is not shared

4 months agoremove v4 link in editor & view page
plainheart [Mon, 2 May 2022 18:53:09 +0000 (02:53 +0800)] 
remove v4 link in editor & view page

4 months agohide v4 link in editor page
plainheart [Mon, 2 May 2022 18:32:32 +0000 (02:32 +0800)] 
hide v4 link in editor page

4 months agooptimize sandbox script import
plainheart [Mon, 2 May 2022 17:18:02 +0000 (01:18 +0800)] 
optimize sandbox script import

4 months agofix: fallback to line-simple if no c is provided
plainheart [Mon, 2 May 2022 14:16:28 +0000 (22:16 +0800)] 
fix: fallback to line-simple if no c is provided

4 months agochore: remove unexpected >
plainheart [Sun, 1 May 2022 16:45:32 +0000 (00:45 +0800)] 
chore: remove unexpected >

4 months agofix toast style & build issues
plainheart [Sun, 1 May 2022 15:12:38 +0000 (23:12 +0800)] 
fix toast style & build issues

4 months agoMerge branch 'gh-pages' of https://github.com/apache/echarts-examples into feat-share
plainheart [Sun, 1 May 2022 14:43:42 +0000 (22:43 +0800)] 
Merge branch 'gh-pages' of https://github.com/apache/echarts-examples into feat-share

4 months agofix sandbox scripts can't be injected in production
plainheart [Sun, 1 May 2022 14:41:50 +0000 (22:41 +0800)] 
fix sandbox scripts can't be injected in production

4 months agochore(deps): bump node-fetch from 2.6.1 to 2.6.7 49/head
dependabot[bot] [Sun, 1 May 2022 14:24:58 +0000 (14:24 +0000)] 
chore(deps): bump node-fetch from 2.6.1 to 2.6.7

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agochore(deps): bump postcss from 7.0.25 to 7.0.39 48/head
dependabot[bot] [Sun, 1 May 2022 14:24:45 +0000 (14:24 +0000)] 
chore(deps): bump postcss from 7.0.25 to 7.0.39

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.25 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.25...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agochore(deps): bump simple-get from 4.0.0 to 4.0.1 47/head
dependabot[bot] [Sun, 1 May 2022 14:24:41 +0000 (14:24 +0000)] 
chore(deps): bump simple-get from 4.0.0 to 4.0.1

Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agochore(deps): bump nanoid from 3.1.30 to 3.1.31 46/head
dependabot[bot] [Sun, 1 May 2022 14:24:36 +0000 (14:24 +0000)] 
chore(deps): bump nanoid from 3.1.30 to 3.1.31

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.1.31.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.1.31)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agoMerge pull request #43 from apache/feat-share
Yi Shen [Sun, 1 May 2022 14:24:02 +0000 (22:24 +0800)] 
Merge pull request #43 from apache/feat-share

feat: support sharing code and using nightly version.

4 months agofix darkMode 43/head
plainheart [Sun, 1 May 2022 14:15:51 +0000 (22:15 +0800)] 
fix darkMode

4 months agofix: limit shared code's access to global vars
plainheart [Sun, 1 May 2022 14:05:43 +0000 (22:05 +0800)] 
fix: limit shared code's access to global vars

4 months agochore: reload sandbox when clicking `Run`
plainheart [Sun, 1 May 2022 12:36:10 +0000 (20:36 +0800)] 
chore: reload sandbox when clicking `Run`

4 months agofix: add apache.github.io to CSP allow list
plainheart [Sun, 1 May 2022 10:35:54 +0000 (18:35 +0800)] 
fix: add apache.github.io to CSP allow list

4 months agofix: add bdstatic.com to CSP allow list
plainheart [Sun, 1 May 2022 10:22:48 +0000 (18:22 +0800)] 
fix: add bdstatic.com to CSP allow list

4 months agofix: set CSP `frame-src` to `'none'`
plainheart [Sun, 1 May 2022 10:00:06 +0000 (18:00 +0800)] 
fix: set CSP `frame-src` to `'none'`

4 months agofix: add back `allow-same-origin` for sandbox and tweak CSP rules for FireFox compati...
plainheart [Sun, 1 May 2022 09:57:43 +0000 (17:57 +0800)] 
fix: add back `allow-same-origin` for sandbox and tweak CSP rules for FireFox compatibility.

4 months agofix: override `document.defaultView` with custom limited `window`
plainheart [Sun, 1 May 2022 08:02:49 +0000 (16:02 +0800)] 
fix: override `document.defaultView` with custom limited `window`

4 months agochore: optimize estraverse browser js import
plainheart [Sat, 30 Apr 2022 15:56:13 +0000 (23:56 +0800)] 
chore: optimize estraverse browser js import

4 months agofix: allow data:// and blob:// protocols
plainheart [Sat, 30 Apr 2022 15:20:39 +0000 (23:20 +0800)] 
fix: allow data:// and blob:// protocols

4 months agofix chart off
plainheart [Fri, 29 Apr 2022 16:05:03 +0000 (00:05 +0800)] 
fix chart off

4 months agochore: add more domains to sandbox csp
plainheart [Fri, 29 Apr 2022 11:27:00 +0000 (19:27 +0800)] 
chore: add more domains to sandbox csp

4 months agofix: not check echarts script
plainheart [Fri, 29 Apr 2022 11:19:18 +0000 (19:19 +0800)] 
fix: not check echarts script

4 months agochore: optimize compress helper
plainheart [Fri, 29 Apr 2022 09:11:29 +0000 (17:11 +0800)] 
chore: optimize compress helper

4 months agochore: optimize compress helper
plainheart [Fri, 29 Apr 2022 09:05:49 +0000 (17:05 +0800)] 
chore: optimize compress helper

4 months agofix: set sandbox csp & mock localStorage/sessionStorage/cookie for BMap
plainheart [Fri, 29 Apr 2022 08:36:22 +0000 (16:36 +0800)] 
fix: set sandbox csp & mock localStorage/sessionStorage/cookie for BMap

4 months agochore: update content security policy of sandbox
plainheart [Fri, 29 Apr 2022 07:53:42 +0000 (15:53 +0800)] 
chore: update content security policy of sandbox

4 months agofix: enhance sandbox policy & not expose chartInstance anymore
plainheart [Fri, 29 Apr 2022 06:33:56 +0000 (14:33 +0800)] 
fix: enhance sandbox policy & not expose chartInstance anymore