@knime/hub-features 1.24.1 → 1.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/package.json +4 -4
- package/src/analytics/schema/schema.d.ts +48 -0
- package/src/analytics/schema/schema.json +175 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 1.24.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7d53d49: Add events: node created via datafile drag-drop and via floating canvas actions
|
|
8
|
+
Adjust event: add direction for quick-action-menu (QAM) related events
|
|
9
|
+
|
|
10
|
+
## 1.24.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- e3472ce: Add more analytics events
|
|
15
|
+
|
|
3
16
|
## 1.24.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.3",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"ofetch": "^1.4.1",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
42
|
"@knime/components": "1.46.0",
|
|
43
|
-
"@knime/
|
|
44
|
-
"@knime/
|
|
43
|
+
"@knime/utils": "1.10.1",
|
|
44
|
+
"@knime/styles": "1.15.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"consola": "3.x",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"scripts": {
|
|
63
63
|
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
|
64
64
|
"test:unit": "TZ='Europe/Berlin' vitest",
|
|
65
|
-
"generate-analytics-events": "json2ts ./src/
|
|
65
|
+
"generate-analytics-events": "json2ts ./src/analytics/schema/schema.json > ./src/analytics/schema/schema.d.ts"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -23,6 +23,34 @@ export interface AnalyticsEventSchema {
|
|
|
23
23
|
kaibuild_button_: EmptyPayload;
|
|
24
24
|
qam_button_: KaiPromptedPayload;
|
|
25
25
|
};
|
|
26
|
+
session_started: {
|
|
27
|
+
autotrigger: EmptyPayload;
|
|
28
|
+
};
|
|
29
|
+
session_ended: {
|
|
30
|
+
session_tab_closed: EmptyPayload;
|
|
31
|
+
autotrigger_timedout_: EmptyPayload;
|
|
32
|
+
autotrigger_disconnect_: EmptyPayload;
|
|
33
|
+
};
|
|
34
|
+
session_interrupted: {
|
|
35
|
+
session_tab: EmptyPayload;
|
|
36
|
+
};
|
|
37
|
+
session_resumed: {
|
|
38
|
+
session_tab: EmptyPayload;
|
|
39
|
+
};
|
|
40
|
+
containernode_created: {
|
|
41
|
+
canvas_ctxmenu_: ContainerNodeCreatedPayload;
|
|
42
|
+
keyboard_shortcut_: ContainerNodeCreatedPayload;
|
|
43
|
+
};
|
|
44
|
+
hint_shown: {
|
|
45
|
+
autotrigger: HintIdPayload;
|
|
46
|
+
};
|
|
47
|
+
hint_closed: {
|
|
48
|
+
hint_button_: HintIdPayload;
|
|
49
|
+
};
|
|
50
|
+
configuration_completed: {
|
|
51
|
+
nodedialog_button_apply: ConfigurationCompletedPayload;
|
|
52
|
+
nodedialog_click_autoapply: ConfigurationCompletedPayload;
|
|
53
|
+
};
|
|
26
54
|
layouteditor_opened: {
|
|
27
55
|
canvas_ctxmenu_openlayouteditor: EmptyPayload;
|
|
28
56
|
keyboard_shortcut_openlayouteditor: EmptyPayload;
|
|
@@ -48,6 +76,8 @@ export interface AnalyticsEventSchema {
|
|
|
48
76
|
noderepo_dragdrop_: NodeCreated_Base;
|
|
49
77
|
noderepo_doubleclick_: NodeCreated_WithOptionalConnectedTo;
|
|
50
78
|
noderepo_keyboard_enter: NodeCreated_WithOptionalConnectedTo;
|
|
79
|
+
canvas_dragdrop_datafile: NodeCreated_Base;
|
|
80
|
+
floatingcanvastools_button_addnodebyfile: NodeCreated_Base;
|
|
51
81
|
explorer_dragdrop_: NodeCreated_Base;
|
|
52
82
|
qam_click_: NodeCreated_WithOptionalConnectedToPorts;
|
|
53
83
|
qam_keyboard_enter: NodeCreated_WithOptionalConnectedToPorts;
|
|
@@ -81,12 +111,29 @@ export interface AnalyticsEventSchema {
|
|
|
81
111
|
wftoolbar_button_: EmptyPayload;
|
|
82
112
|
keyboard_shortcut_: EmptyPayload;
|
|
83
113
|
};
|
|
114
|
+
version_created: {
|
|
115
|
+
versionhistorypanel_button_: EmptyPayload;
|
|
116
|
+
};
|
|
84
117
|
};
|
|
85
118
|
}
|
|
86
119
|
export interface KaiPromptedPayload {
|
|
87
120
|
nodeFactoryId?: string;
|
|
88
121
|
nodeType?: "node" | "component" | "metanode";
|
|
89
122
|
}
|
|
123
|
+
export interface ContainerNodeCreatedPayload {
|
|
124
|
+
nodeType: "component" | "metanode";
|
|
125
|
+
childrenNodes: {
|
|
126
|
+
nodeType: "component" | "metanode" | "node";
|
|
127
|
+
nodeFactoryId?: string;
|
|
128
|
+
}[];
|
|
129
|
+
}
|
|
130
|
+
export interface HintIdPayload {
|
|
131
|
+
hintId: string;
|
|
132
|
+
}
|
|
133
|
+
export interface ConfigurationCompletedPayload {
|
|
134
|
+
nodeFactoryId?: string;
|
|
135
|
+
state: "success" | "failed_invalid_setting";
|
|
136
|
+
}
|
|
90
137
|
export interface WorkflowSavedPayload {
|
|
91
138
|
isAutosyncEnabled: boolean;
|
|
92
139
|
}
|
|
@@ -116,6 +163,7 @@ export interface ConnectedTo_WithPorts {
|
|
|
116
163
|
nodeFactoryId: string;
|
|
117
164
|
nodePortIndex?: number;
|
|
118
165
|
nodePortId?: string;
|
|
166
|
+
direction: "forward" | "backward";
|
|
119
167
|
}
|
|
120
168
|
export interface QAMOpened_Payload {
|
|
121
169
|
connectedTo: ConnectedTo_WithPorts;
|
|
@@ -25,7 +25,16 @@
|
|
|
25
25
|
"node_searched",
|
|
26
26
|
"sidepanel_opened",
|
|
27
27
|
"action_undone",
|
|
28
|
-
"action_redone"
|
|
28
|
+
"action_redone",
|
|
29
|
+
"configuration_completed",
|
|
30
|
+
"version_created",
|
|
31
|
+
"session_started",
|
|
32
|
+
"session_ended",
|
|
33
|
+
"session_interrupted",
|
|
34
|
+
"session_resumed",
|
|
35
|
+
"containernode_created",
|
|
36
|
+
"hint_shown",
|
|
37
|
+
"hint_closed"
|
|
29
38
|
],
|
|
30
39
|
"properties": {
|
|
31
40
|
"kai_prompted": {
|
|
@@ -44,6 +53,98 @@
|
|
|
44
53
|
}
|
|
45
54
|
}
|
|
46
55
|
},
|
|
56
|
+
"session_started": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"additionalProperties": false,
|
|
59
|
+
"required": ["autotrigger"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"autotrigger": {
|
|
62
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"session_ended": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"required": [
|
|
70
|
+
"session_tab_closed",
|
|
71
|
+
"autotrigger_timedout_",
|
|
72
|
+
"autotrigger_disconnect_"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"session_tab_closed": {
|
|
76
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
77
|
+
},
|
|
78
|
+
"autotrigger_timedout_": {
|
|
79
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
80
|
+
},
|
|
81
|
+
"autotrigger_disconnect_": {
|
|
82
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"session_interrupted": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"required": ["session_tab"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"session_tab": {
|
|
92
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"session_resumed": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["session_tab"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"session_tab": {
|
|
102
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"containernode_created": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"required": ["canvas_ctxmenu_", "keyboard_shortcut_"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"canvas_ctxmenu_": {
|
|
112
|
+
"$ref": "#/definitions/ContainerNodeCreatedPayload"
|
|
113
|
+
},
|
|
114
|
+
"keyboard_shortcut_": {
|
|
115
|
+
"$ref": "#/definitions/ContainerNodeCreatedPayload"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"hint_shown": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"required": ["autotrigger"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"autotrigger": { "$ref": "#/definitions/HintIdPayload" }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"hint_closed": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": false,
|
|
130
|
+
"required": ["hint_button_"],
|
|
131
|
+
"properties": {
|
|
132
|
+
"hint_button_": { "$ref": "#/definitions/HintIdPayload" }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"configuration_completed": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": ["nodedialog_button_apply", "nodedialog_click_autoapply"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"nodedialog_button_apply": {
|
|
141
|
+
"$ref": "#/definitions/ConfigurationCompletedPayload"
|
|
142
|
+
},
|
|
143
|
+
"nodedialog_click_autoapply": {
|
|
144
|
+
"$ref": "#/definitions/ConfigurationCompletedPayload"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
47
148
|
"layouteditor_opened": {
|
|
48
149
|
"type": "object",
|
|
49
150
|
"additionalProperties": false,
|
|
@@ -132,6 +233,8 @@
|
|
|
132
233
|
"noderepo_dragdrop_",
|
|
133
234
|
"noderepo_doubleclick_",
|
|
134
235
|
"noderepo_keyboard_enter",
|
|
236
|
+
"canvas_dragdrop_datafile",
|
|
237
|
+
"floatingcanvastools_button_addnodebyfile",
|
|
135
238
|
"explorer_dragdrop_",
|
|
136
239
|
"qam_click_",
|
|
137
240
|
"qam_keyboard_enter",
|
|
@@ -148,6 +251,12 @@
|
|
|
148
251
|
"noderepo_keyboard_enter": {
|
|
149
252
|
"$ref": "#/definitions/NodeCreated_WithOptionalConnectedTo"
|
|
150
253
|
},
|
|
254
|
+
"canvas_dragdrop_datafile": {
|
|
255
|
+
"$ref": "#/definitions/NodeCreated_Base"
|
|
256
|
+
},
|
|
257
|
+
"floatingcanvastools_button_addnodebyfile": {
|
|
258
|
+
"$ref": "#/definitions/NodeCreated_Base"
|
|
259
|
+
},
|
|
151
260
|
"explorer_dragdrop_": {
|
|
152
261
|
"$ref": "#/definitions/NodeCreated_Base"
|
|
153
262
|
},
|
|
@@ -263,6 +372,16 @@
|
|
|
263
372
|
"$ref": "#/definitions/EmptyPayload"
|
|
264
373
|
}
|
|
265
374
|
}
|
|
375
|
+
},
|
|
376
|
+
"version_created": {
|
|
377
|
+
"type": "object",
|
|
378
|
+
"additionalProperties": false,
|
|
379
|
+
"required": ["versionhistorypanel_button_"],
|
|
380
|
+
"properties": {
|
|
381
|
+
"versionhistorypanel_button_": {
|
|
382
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
266
385
|
}
|
|
267
386
|
}
|
|
268
387
|
}
|
|
@@ -273,6 +392,48 @@
|
|
|
273
392
|
"additionalProperties": false,
|
|
274
393
|
"maxProperties": 0
|
|
275
394
|
},
|
|
395
|
+
"ContainerNodeCreatedPayload": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"additionalProperties": false,
|
|
398
|
+
"required": ["nodeType", "childrenNodes"],
|
|
399
|
+
"properties": {
|
|
400
|
+
"nodeType": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"enum": ["component", "metanode"]
|
|
403
|
+
},
|
|
404
|
+
"childrenNodes": {
|
|
405
|
+
"type": "array",
|
|
406
|
+
"items": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"additionalProperties": false,
|
|
409
|
+
"required": ["nodeType"],
|
|
410
|
+
"properties": {
|
|
411
|
+
"nodeType": {
|
|
412
|
+
"type": "string",
|
|
413
|
+
"enum": ["component", "metanode", "node"]
|
|
414
|
+
},
|
|
415
|
+
"nodeFactoryId": {
|
|
416
|
+
"type": "string"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"ConfigurationCompletedPayload": {
|
|
424
|
+
"type": "object",
|
|
425
|
+
"additionalProperties": false,
|
|
426
|
+
"required": ["state"],
|
|
427
|
+
"properties": {
|
|
428
|
+
"nodeFactoryId": {
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
431
|
+
"state": {
|
|
432
|
+
"type": "string",
|
|
433
|
+
"enum": ["success", "failed_invalid_setting"]
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
276
437
|
"WorkflowSavedPayload": {
|
|
277
438
|
"type": "object",
|
|
278
439
|
"additionalProperties": false,
|
|
@@ -370,7 +531,7 @@
|
|
|
370
531
|
"ConnectedTo_WithPorts": {
|
|
371
532
|
"type": "object",
|
|
372
533
|
"additionalProperties": false,
|
|
373
|
-
"required": ["nodeType", "nodeFactoryId"],
|
|
534
|
+
"required": ["nodeType", "nodeFactoryId", "direction"],
|
|
374
535
|
"properties": {
|
|
375
536
|
"nodeType": {
|
|
376
537
|
"type": "string",
|
|
@@ -384,6 +545,10 @@
|
|
|
384
545
|
},
|
|
385
546
|
"nodePortId": {
|
|
386
547
|
"type": "string"
|
|
548
|
+
},
|
|
549
|
+
"direction": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"enum": ["forward", "backward"]
|
|
387
552
|
}
|
|
388
553
|
}
|
|
389
554
|
},
|
|
@@ -467,6 +632,14 @@
|
|
|
467
632
|
"type": "string"
|
|
468
633
|
}
|
|
469
634
|
}
|
|
635
|
+
},
|
|
636
|
+
"HintIdPayload": {
|
|
637
|
+
"type": "object",
|
|
638
|
+
"additionalProperties": false,
|
|
639
|
+
"required": ["hintId"],
|
|
640
|
+
"properties": {
|
|
641
|
+
"hintId": { "type": "string" }
|
|
642
|
+
}
|
|
470
643
|
}
|
|
471
644
|
}
|
|
472
645
|
}
|