@atlaskit/editor-plugin-analytics 1.10.11 → 1.10.12
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-analytics
|
|
2
2
|
|
|
3
|
+
## 1.10.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103031)
|
|
8
|
+
[`1501b8ff757bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1501b8ff757bb) -
|
|
9
|
+
EDF-2195 - Updated commands and components to use analytics via the injection API
|
|
10
|
+
|
|
3
11
|
## 1.10.11
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -91,7 +91,7 @@ function getStateContext(selection, payload, tr) {
|
|
|
91
91
|
payload.attributes.selectionPosition = position;
|
|
92
92
|
}
|
|
93
93
|
var insertLocation = findInsertLocation(selection);
|
|
94
|
-
if (payload.action === _analytics.ACTION.INSERTED && payload.actionSubject !== _analytics.ACTION_SUBJECT.ANNOTATION) {
|
|
94
|
+
if (payload.action === _analytics.ACTION.INSERTED && payload.actionSubject !== _analytics.ACTION_SUBJECT.ANNOTATION && payload.actionSubject !== _analytics.ACTION_SUBJECT.EDITOR_PLUGIN_AI) {
|
|
95
95
|
payload.attributes.insertedLocation = findInsertedLocation(selection, tr.selection);
|
|
96
96
|
}
|
|
97
97
|
if (payload.action === _analytics.ACTION.INSERTED && payload.actionSubject === _analytics.ACTION_SUBJECT.DOCUMENT && payload.attributes) {
|
|
@@ -87,7 +87,7 @@ export function getStateContext(selection, payload, tr) {
|
|
|
87
87
|
payload.attributes.selectionPosition = position;
|
|
88
88
|
}
|
|
89
89
|
const insertLocation = findInsertLocation(selection);
|
|
90
|
-
if (payload.action === ACTION.INSERTED && payload.actionSubject !== ACTION_SUBJECT.ANNOTATION) {
|
|
90
|
+
if (payload.action === ACTION.INSERTED && payload.actionSubject !== ACTION_SUBJECT.ANNOTATION && payload.actionSubject !== ACTION_SUBJECT.EDITOR_PLUGIN_AI) {
|
|
91
91
|
payload.attributes.insertedLocation = findInsertedLocation(selection, tr.selection);
|
|
92
92
|
}
|
|
93
93
|
if (payload.action === ACTION.INSERTED && payload.actionSubject === ACTION_SUBJECT.DOCUMENT && payload.attributes) {
|
|
@@ -82,7 +82,7 @@ export function getStateContext(selection, payload, tr) {
|
|
|
82
82
|
payload.attributes.selectionPosition = position;
|
|
83
83
|
}
|
|
84
84
|
var insertLocation = findInsertLocation(selection);
|
|
85
|
-
if (payload.action === ACTION.INSERTED && payload.actionSubject !== ACTION_SUBJECT.ANNOTATION) {
|
|
85
|
+
if (payload.action === ACTION.INSERTED && payload.actionSubject !== ACTION_SUBJECT.ANNOTATION && payload.actionSubject !== ACTION_SUBJECT.EDITOR_PLUGIN_AI) {
|
|
86
86
|
payload.attributes.insertedLocation = findInsertedLocation(selection, tr.selection);
|
|
87
87
|
}
|
|
88
88
|
if (payload.action === ACTION.INSERTED && payload.actionSubject === ACTION_SUBJECT.DOCUMENT && payload.attributes) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-analytics",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.12",
|
|
4
4
|
"description": "Analytics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
35
|
"@atlaskit/analytics-listeners": "^8.13.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
37
|
-
"@atlaskit/editor-common": "^99.
|
|
37
|
+
"@atlaskit/editor-common": "^99.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-feature-flags": "^1.2.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
40
40
|
"@atlaskit/editor-tables": "^2.8.0",
|