@atlaskit/editor-plugin-annotation 2.7.0 → 2.7.1

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,14 @@
1
1
  # @atlaskit/editor-plugin-annotation
2
2
 
3
+ ## 2.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#143960](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/143960)
8
+ [`e1bf8964b3cf8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e1bf8964b3cf8) -
9
+ Adding press interaction performance tracking to Comment action in floating toolbar. No UI change.
10
+ - Updated dependencies
11
+
3
12
  ## 2.7.0
4
13
 
5
14
  ### Minor Changes
@@ -79,6 +79,7 @@ var buildToolbar = exports.buildToolbar = function buildToolbar(editorAnalyticsA
79
79
  showTitle: true,
80
80
  disabled: selectionValid === _types.AnnotationSelectionType.DISABLED || (api === null || api === void 0 || (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.sharedState) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.currentState()) === null || _api$connectivity === void 0 ? void 0 : _api$connectivity.mode) === 'offline',
81
81
  testId: _types.AnnotationTestIds.floatingToolbarCreateButton,
82
+ interactionName: 'start-inline-comment-action',
82
83
  icon: _comment.default,
83
84
  iconFallback: _comment.default,
84
85
  tooltipContent: selectionValid === _types.AnnotationSelectionType.DISABLED ? commentDisabledMessage : /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
@@ -79,6 +79,7 @@ export const buildToolbar = editorAnalyticsAPI => ({
79
79
  showTitle: true,
80
80
  disabled: selectionValid === AnnotationSelectionType.DISABLED || (api === null || api === void 0 ? void 0 : (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 ? void 0 : (_api$connectivity$sha = _api$connectivity.sharedState) === null || _api$connectivity$sha === void 0 ? void 0 : (_api$connectivity$sha2 = _api$connectivity$sha.currentState()) === null || _api$connectivity$sha2 === void 0 ? void 0 : _api$connectivity$sha2.mode) === 'offline',
81
81
  testId: AnnotationTestIds.floatingToolbarCreateButton,
82
+ interactionName: 'start-inline-comment-action',
82
83
  icon: CommentIcon,
83
84
  iconFallback: CommentIcon,
84
85
  tooltipContent: selectionValid === AnnotationSelectionType.DISABLED ? commentDisabledMessage : /*#__PURE__*/React.createElement(ToolTipContent, {
@@ -72,6 +72,7 @@ export var buildToolbar = function buildToolbar(editorAnalyticsAPI) {
72
72
  showTitle: true,
73
73
  disabled: selectionValid === AnnotationSelectionType.DISABLED || (api === null || api === void 0 || (_api$connectivity = api.connectivity) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.sharedState) === null || _api$connectivity === void 0 || (_api$connectivity = _api$connectivity.currentState()) === null || _api$connectivity === void 0 ? void 0 : _api$connectivity.mode) === 'offline',
74
74
  testId: AnnotationTestIds.floatingToolbarCreateButton,
75
+ interactionName: 'start-inline-comment-action',
75
76
  icon: CommentIcon,
76
77
  iconFallback: CommentIcon,
77
78
  tooltipContent: selectionValid === AnnotationSelectionType.DISABLED ? commentDisabledMessage : /*#__PURE__*/React.createElement(ToolTipContent, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",