Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IGNORE] ECharts version upgrade to 5.4.3 #1332

Closed
wants to merge 2 commits into from

Conversation

sjcobb
Copy link
Member

@sjcobb sjcobb commented Jul 27, 2023

ECharts 5.4.3 is released now! https://github.com/apache/echarts/releases/tag/5.4.3

This includes Julie's PR here: apache/echarts#18524
Allows us to continue iterating on our custom highlighting in TimeSeriesChart panel using their official release instead of echarts-nightly

Signed-off-by: Steven Cobb <sjcobb.dev@gmail.com>
@sjcobb sjcobb requested a review from Gladorme July 27, 2023 02:16
Signed-off-by: Steven Cobb <sjcobb.dev@gmail.com>
@sjcobb
Copy link
Member Author

sjcobb commented Jul 27, 2023

Lots of new failures after the recent ECharts upgrade, the way we are mocking no longer seems to work correctly: jest.mock('echarts/core'); and the use minimal option imports throw below errors:

FAIL src/plugins/bar-chart/BarChartOptionsEditorSettings.test.tsx
@perses-dev/panels-plugin:test:   ● Test suite failed to run
@perses-dev/panels-plugin:test: 
@perses-dev/panels-plugin:test:     TypeError: Cannot read properties of undefined (reading 'install')
@perses-dev/panels-plugin:test: 
@perses-dev/panels-plugin:test:       24 | import { getFormattedAxis } from '../utils';
@perses-dev/panels-plugin:test:       25 |
@perses-dev/panels-plugin:test:     > 26 | use([EChartsBarChart, GridComponent, DatasetComponent, TitleComponent, TooltipComponent, CanvasRenderer])

@sjcobb sjcobb marked this pull request as draft July 27, 2023 03:44
@sjcobb sjcobb removed the request for review from Gladorme July 27, 2023 03:44
@Nexucis
Copy link
Member

Nexucis commented Feb 28, 2024

Echarts has been upgraded to v5.5.0. I think we can close this PR.

@Nexucis Nexucis closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants