Skip to content

Commit 3a8bb67

Browse files
committed
add changelog
1 parent f7400af commit 3a8bb67

File tree

2 files changed

+49
-72
lines changed

2 files changed

+49
-72
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- Fix Keyframe marker modifications on source chart.
8+
59
## [0.17.0] - 2025-07-31
610

711
### Fixed

test/e2e/tests/fixes/keyframes.mjs

Lines changed: 45 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -8,107 +8,80 @@ const testSteps = [
88
(chart) =>
99
chart.animate([
1010
{
11-
"target": {
12-
"data": {
13-
"filter": (input) => input['Genres'] === 'Pop'
11+
target: {
12+
data: {
13+
filter: (input) => input.Genres === 'Pop'
1414
},
15-
"config": {
16-
"channels": {
17-
"x": {
18-
"set": [
19-
{ "name": "Genres" }
20-
]
15+
config: {
16+
channels: {
17+
x: {
18+
set: [{ name: 'Genres' }]
2119
},
22-
"y": {
23-
"set": [
24-
{ "name": "Popularity" },
25-
{ "name": "Kinds" }
26-
]
20+
y: {
21+
set: [{ name: 'Popularity' }, { name: 'Kinds' }]
2722
},
28-
"color": {
29-
"set": [
30-
{ "name": "Kinds" }
31-
]
23+
color: {
24+
set: [{ name: 'Kinds' }]
3225
},
33-
"label": {
34-
"set": [
35-
{ "name": "Popularity" }
36-
]
26+
label: {
27+
set: [{ name: 'Popularity' }]
3728
}
3829
}
3930
}
4031
}
4132
},
4233
{
43-
"target": {
44-
"data": {
45-
"filter": (input) => input['Genres'] === 'Pop'
34+
target: {
35+
data: {
36+
filter: (input) => input.Genres === 'Pop'
4637
},
47-
"config": {
48-
"channels": {
49-
"x": {
50-
"set": [
51-
{ "name": "Genres" }
52-
]
38+
config: {
39+
channels: {
40+
x: {
41+
set: [{ name: 'Genres' }]
5342
},
54-
"y": {
55-
"set": [
56-
{ "name": "Popularity" }
57-
]
43+
y: {
44+
set: [{ name: 'Popularity' }]
5845
},
59-
"color": {
60-
"set": [
61-
{ "name": "Kinds" }
62-
]
46+
color: {
47+
set: [{ name: 'Kinds' }]
6348
},
64-
"label": {
65-
"set": [
66-
{ "name": "Popularity" }
67-
]
49+
label: {
50+
set: [{ name: 'Popularity' }]
6851
}
6952
},
70-
"geometry": "circle"
53+
geometry: 'circle'
7154
}
7255
}
7356
},
7457
{
75-
"target": {
76-
"data": {
77-
"filter": null
58+
target: {
59+
data: {
60+
filter: null
7861
},
79-
"config": {
80-
"channels": {
81-
"x": {
82-
"set": []
62+
config: {
63+
channels: {
64+
x: {
65+
set: []
8366
},
84-
"y": {
85-
"set": [
86-
{ "name": "Popularity" },
87-
{ "name": "Kinds" },
88-
{ "name": "Genres" }
89-
]
67+
y: {
68+
set: [{ name: 'Popularity' }, { name: 'Kinds' }, { name: 'Genres' }]
9069
},
91-
"color": {
92-
"set": [
93-
{ "name": "Kinds" }
94-
]
70+
color: {
71+
set: [{ name: 'Kinds' }]
9572
},
96-
"lightness": {
97-
"set": [
98-
{ "name": "Genres" }
99-
]
73+
lightness: {
74+
set: [{ name: 'Genres' }]
10075
},
101-
"label": {
102-
"set": [
103-
{ "name": "Genres" },
104-
{ "name": "Popularity" }
105-
]
76+
label: {
77+
set: [{ name: 'Genres' }, { name: 'Popularity' }]
10678
}
10779
},
108-
"geometry": "rectangle"
80+
geometry: 'rectangle'
10981
}
11082
}
111-
}]),
83+
}
84+
])
11285
]
11386

11487
export default testSteps

0 commit comments

Comments
 (0)