This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch next-test in repository https://gitbox.apache.org/repos/asf/echarts.git
commit a92ddb0e81c3d354909cd97e95b0acf216badf4a Author: Ovilia <[email protected]> AuthorDate: Tue Jun 24 15:13:54 2025 +0800 test: add expected diffs --- test/runTest/marks/bar-stack-reverse.json | 10 ++++++++++ test/runTest/marks/bar2.json | 10 ++++++++++ test/runTest/marks/calendar-heatmap2.json | 10 ++++++++++ test/runTest/marks/calendar-other-coord-sys.json | 10 ++++++++++ test/runTest/marks/chord.json | 10 ++++++++++ test/runTest/marks/custom-register.json | 10 ++++++++++ test/runTest/marks/custom-text-content.json | 10 ++++++++++ test/runTest/marks/dataZoom-dataShadow2.json | 10 ++++++++++ test/runTest/marks/dataZoom-timeAxis.json | 10 ++++++++++ test/runTest/marks/dataset-layout.json | 10 ++++++++++ test/runTest/marks/graph-label-rotate.json | 10 ++++++++++ test/runTest/marks/graph-layout-roam.json | 10 ++++++++++ test/runTest/marks/legend.json | 10 ++++++++++ test/runTest/marks/line-animation-update.json | 10 ++++++++++ test/runTest/marks/line-sampling.json | 10 ++++++++++ test/runTest/marks/markPoint-stock.json | 10 ++++++++++ test/runTest/marks/marker-z2.json | 10 ++++++++++ test/runTest/marks/matrix.json | 10 ++++++++++ test/runTest/marks/matrix2.json | 10 ++++++++++ test/runTest/marks/matrix3.json | 10 ++++++++++ test/runTest/marks/matrix_application2.json | 10 ++++++++++ test/runTest/marks/parallel-aqi.json | 10 ++++++++++ test/runTest/marks/pie-coordinate-system.json | 10 ++++++++++ test/runTest/marks/pie.json | 10 ++++++++++ test/runTest/marks/radar4.json | 10 ++++++++++ test/runTest/marks/rich-inherit-plain-label.json | 10 ++++++++++ test/runTest/marks/scatter-jitter.json | 10 ++++++++++ test/runTest/marks/series-omitUnusedDimensions.json | 10 ++++++++++ test/runTest/marks/timeScale2.json | 10 ++++++++++ test/runTest/marks/tooltip-axisPointer-snap.json | 10 ++++++++++ test/runTest/marks/violin.json | 10 ++++++++++ test/runTest/marks/visualMap-pieces.json | 10 ++++++++++ test/theme-list.html | 12 ++++-------- 33 files changed, 324 insertions(+), 8 deletions(-) diff --git a/test/runTest/marks/bar-stack-reverse.json b/test/runTest/marks/bar-stack-reverse.json new file mode 100644 index 000000000..ca4db18e4 --- /dev/null +++ b/test/runTest/marks/bar-stack-reverse.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20998", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750316568282 + } +] \ No newline at end of file diff --git a/test/runTest/marks/bar2.json b/test/runTest/marks/bar2.json new file mode 100644 index 000000000..1146d86bd --- /dev/null +++ b/test/runTest/marks/bar2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "DataZoom shadow for time axis fixed", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750326100012 + } +] \ No newline at end of file diff --git a/test/runTest/marks/calendar-heatmap2.json b/test/runTest/marks/calendar-heatmap2.json new file mode 100644 index 000000000..752cab879 --- /dev/null +++ b/test/runTest/marks/calendar-heatmap2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20699", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750320168722 + } +] \ No newline at end of file diff --git a/test/runTest/marks/calendar-other-coord-sys.json b/test/runTest/marks/calendar-other-coord-sys.json new file mode 100644 index 000000000..25f259b7d --- /dev/null +++ b/test/runTest/marks/calendar-other-coord-sys.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/21005", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750675684248 + } +] \ No newline at end of file diff --git a/test/runTest/marks/chord.json b/test/runTest/marks/chord.json new file mode 100644 index 000000000..a1ebbc8b5 --- /dev/null +++ b/test/runTest/marks/chord.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20522", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750320208608 + } +] \ No newline at end of file diff --git a/test/runTest/marks/custom-register.json b/test/runTest/marks/custom-register.json new file mode 100644 index 000000000..c289da44a --- /dev/null +++ b/test/runTest/marks/custom-register.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20226", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750320301795 + } +] \ No newline at end of file diff --git a/test/runTest/marks/custom-text-content.json b/test/runTest/marks/custom-text-content.json new file mode 100644 index 000000000..a1eee98f7 --- /dev/null +++ b/test/runTest/marks/custom-text-content.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20977", + "comment": "richInheritPlainLabel", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750321300300 + } +] \ No newline at end of file diff --git a/test/runTest/marks/dataZoom-dataShadow2.json b/test/runTest/marks/dataZoom-dataShadow2.json new file mode 100644 index 000000000..f5292ad6c --- /dev/null +++ b/test/runTest/marks/dataZoom-dataShadow2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750321459059 + } +] \ No newline at end of file diff --git a/test/runTest/marks/dataZoom-timeAxis.json b/test/runTest/marks/dataZoom-timeAxis.json new file mode 100644 index 000000000..ca5a305b7 --- /dev/null +++ b/test/runTest/marks/dataZoom-timeAxis.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750323969281 + } +] \ No newline at end of file diff --git a/test/runTest/marks/dataset-layout.json b/test/runTest/marks/dataset-layout.json new file mode 100644 index 000000000..b82592fb2 --- /dev/null +++ b/test/runTest/marks/dataset-layout.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750323941847 + } +] \ No newline at end of file diff --git a/test/runTest/marks/graph-label-rotate.json b/test/runTest/marks/graph-label-rotate.json new file mode 100644 index 000000000..7bb386ee3 --- /dev/null +++ b/test/runTest/marks/graph-label-rotate.json @@ -0,0 +1,10 @@ +[ + { + "link": "", + "comment": "Expected to have diff because explict theme is used in this case so v5.js is not merged with the explict theme so legend position is changed.", + "type": "Others", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750324159142 + } +] \ No newline at end of file diff --git a/test/runTest/marks/graph-layout-roam.json b/test/runTest/marks/graph-layout-roam.json new file mode 100644 index 000000000..c8cd87e3b --- /dev/null +++ b/test/runTest/marks/graph-layout-roam.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/17471", + "comment": "Graph thumbnail", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750676240225 + } +] \ No newline at end of file diff --git a/test/runTest/marks/legend.json b/test/runTest/marks/legend.json new file mode 100644 index 000000000..8c6fac82b --- /dev/null +++ b/test/runTest/marks/legend.json @@ -0,0 +1,10 @@ +[ + { + "link": "", + "comment": "When dark theme is used, v6 dark theme is used instead of v5.", + "type": "Others", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750329123952 + } +] \ No newline at end of file diff --git a/test/runTest/marks/line-animation-update.json b/test/runTest/marks/line-animation-update.json new file mode 100644 index 000000000..efcd4c008 --- /dev/null +++ b/test/runTest/marks/line-animation-update.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750326423788 + } +] \ No newline at end of file diff --git a/test/runTest/marks/line-sampling.json b/test/runTest/marks/line-sampling.json new file mode 100644 index 000000000..4ad6f3309 --- /dev/null +++ b/test/runTest/marks/line-sampling.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750324366968 + } +] \ No newline at end of file diff --git a/test/runTest/marks/markPoint-stock.json b/test/runTest/marks/markPoint-stock.json new file mode 100644 index 000000000..85535f5c3 --- /dev/null +++ b/test/runTest/marks/markPoint-stock.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20166", + "comment": "relativeTo", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750324448977 + } +] \ No newline at end of file diff --git a/test/runTest/marks/marker-z2.json b/test/runTest/marks/marker-z2.json new file mode 100644 index 000000000..de243a292 --- /dev/null +++ b/test/runTest/marks/marker-z2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20782", + "comment": "markPoint markLine markArea add z2 option to support change level", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750324411038 + } +] \ No newline at end of file diff --git a/test/runTest/marks/matrix.json b/test/runTest/marks/matrix.json new file mode 100644 index 000000000..346fd04a1 --- /dev/null +++ b/test/runTest/marks/matrix.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/issues/19807", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750679813704 + } +] \ No newline at end of file diff --git a/test/runTest/marks/matrix2.json b/test/runTest/marks/matrix2.json new file mode 100644 index 000000000..9e94e516c --- /dev/null +++ b/test/runTest/marks/matrix2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/issues/19807", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750680529649 + } +] \ No newline at end of file diff --git a/test/runTest/marks/matrix3.json b/test/runTest/marks/matrix3.json new file mode 100644 index 000000000..86d83d8a1 --- /dev/null +++ b/test/runTest/marks/matrix3.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/issues/19807", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750679885219 + } +] \ No newline at end of file diff --git a/test/runTest/marks/matrix_application2.json b/test/runTest/marks/matrix_application2.json new file mode 100644 index 000000000..a6de55413 --- /dev/null +++ b/test/runTest/marks/matrix_application2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/issues/19807", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750679819284 + } +] \ No newline at end of file diff --git a/test/runTest/marks/parallel-aqi.json b/test/runTest/marks/parallel-aqi.json new file mode 100644 index 000000000..fe5779594 --- /dev/null +++ b/test/runTest/marks/parallel-aqi.json @@ -0,0 +1,10 @@ +[ + { + "link": "", + "comment": "Theme-related issue", + "type": "Others", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750333256544 + } +] \ No newline at end of file diff --git a/test/runTest/marks/pie-coordinate-system.json b/test/runTest/marks/pie-coordinate-system.json new file mode 100644 index 000000000..a3471fb6e --- /dev/null +++ b/test/runTest/marks/pie-coordinate-system.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/21005", + "comment": "Coordinate enhanced", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750676083853 + } +] \ No newline at end of file diff --git a/test/runTest/marks/pie.json b/test/runTest/marks/pie.json new file mode 100644 index 000000000..783f3b38c --- /dev/null +++ b/test/runTest/marks/pie.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20977", + "comment": "rich-inherit-plain-label", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750326354449 + } +] \ No newline at end of file diff --git a/test/runTest/marks/radar4.json b/test/runTest/marks/radar4.json new file mode 100644 index 000000000..800626ac3 --- /dev/null +++ b/test/runTest/marks/radar4.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20865/files#diff-ded55953b512fc90c5e0752fe28ae682eea0f03559982b361a8183aa7bfcbea0R192", + "comment": "6.0 theme uses different axisName.color than axisLine.lineStyle.color because axisLine.lineStyle.color is too light.", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325333262 + } +] \ No newline at end of file diff --git a/test/runTest/marks/rich-inherit-plain-label.json b/test/runTest/marks/rich-inherit-plain-label.json new file mode 100644 index 000000000..90cc6c359 --- /dev/null +++ b/test/runTest/marks/rich-inherit-plain-label.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20977", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325973460 + } +] \ No newline at end of file diff --git a/test/runTest/marks/scatter-jitter.json b/test/runTest/marks/scatter-jitter.json new file mode 100644 index 000000000..a658d35d0 --- /dev/null +++ b/test/runTest/marks/scatter-jitter.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/19941", + "comment": "jittering", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325389957 + } +] \ No newline at end of file diff --git a/test/runTest/marks/series-omitUnusedDimensions.json b/test/runTest/marks/series-omitUnusedDimensions.json new file mode 100644 index 000000000..cb6214cbc --- /dev/null +++ b/test/runTest/marks/series-omitUnusedDimensions.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20682", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325732454 + } +] \ No newline at end of file diff --git a/test/runTest/marks/timeScale2.json b/test/runTest/marks/timeScale2.json new file mode 100644 index 000000000..35624dfa0 --- /dev/null +++ b/test/runTest/marks/timeScale2.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/16978", + "comment": "jittering", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325454650 + } +] \ No newline at end of file diff --git a/test/runTest/marks/tooltip-axisPointer-snap.json b/test/runTest/marks/tooltip-axisPointer-snap.json new file mode 100644 index 000000000..98606698d --- /dev/null +++ b/test/runTest/marks/tooltip-axisPointer-snap.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/19459", + "comment": "break axis", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325517076 + } +] \ No newline at end of file diff --git a/test/runTest/marks/violin.json b/test/runTest/marks/violin.json new file mode 100644 index 000000000..d9a44fdd3 --- /dev/null +++ b/test/runTest/marks/violin.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/19941", + "comment": "", + "type": "New Feature", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325615656 + } +] \ No newline at end of file diff --git a/test/runTest/marks/visualMap-pieces.json b/test/runTest/marks/visualMap-pieces.json new file mode 100644 index 000000000..61bb5c016 --- /dev/null +++ b/test/runTest/marks/visualMap-pieces.json @@ -0,0 +1,10 @@ +[ + { + "link": "https://github.com/apache/echarts/pull/20961", + "comment": "", + "type": "Bug Fixing", + "markedBy": "Ovilia", + "lastVersion": "5.6.0", + "markTime": 1750325685838 + } +] \ No newline at end of file diff --git a/test/theme-list.html b/test/theme-list.html index 0c4abb625..c22a20023 100644 --- a/test/theme-list.html +++ b/test/theme-list.html @@ -109,17 +109,13 @@ under the License. ], function (echarts, geojson) { const charts = []; - let wasDarkMode = false; + const darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)'); function updateDarkMode() { - const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches; - if (isDarkMode !== wasDarkMode) { - for (const chart of charts) { - chart.setTheme(isDarkMode ? 'dark' : 'default'); - } - wasDarkMode = isDarkMode; + const isDarkMode = darkModeMediaQuery.matches; + for (const chart of charts) { + chart.setTheme(isDarkMode ? 'dark' : 'default'); } } - const darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)'); darkModeMediaQuery.addEventListener('change', () => { updateDarkMode(); }); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
