@atlaskit/editor-plugin-annotation 16.0.13 → 16.0.14

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
+ ## 16.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`12871125421d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/12871125421d2) -
8
+ Remove `confluence_frontend_new_dangling_comments_ux` feature gate check. The
9
+ `setInlineCommentsFetched` call when annotations return empty is now unconditional.
10
+ - Updated dependencies
11
+
3
12
  ## 16.0.13
4
13
 
5
14
  ### Patch Changes
@@ -72,7 +72,7 @@ var fetchState = /*#__PURE__*/function () {
72
72
  break;
73
73
  }
74
74
  _ref3 = (0, _utils3.getPluginState)(editorView.state) || {}, annotationsLoaded = _ref3.annotationsLoaded;
75
- if (!annotationsLoaded && (0, _fg.fg)('confluence_frontend_new_dangling_comments_ux')) {
75
+ if (!annotationsLoaded) {
76
76
  (0, _editorCommands.setInlineCommentsFetched)()(editorView.state, editorView.dispatch);
77
77
  }
78
78
  return _context2.abrupt("return");
@@ -33,7 +33,7 @@ const fetchState = async (provider, annotationIds, editorView, editorAnalyticsAP
33
33
  const {
34
34
  annotationsLoaded
35
35
  } = getPluginState(editorView.state) || {};
36
- if (!annotationsLoaded && fg('confluence_frontend_new_dangling_comments_ux')) {
36
+ if (!annotationsLoaded) {
37
37
  setInlineCommentsFetched()(editorView.state, editorView.dispatch);
38
38
  }
39
39
  return;
@@ -65,7 +65,7 @@ var fetchState = /*#__PURE__*/function () {
65
65
  break;
66
66
  }
67
67
  _ref3 = getPluginState(editorView.state) || {}, annotationsLoaded = _ref3.annotationsLoaded;
68
- if (!annotationsLoaded && fg('confluence_frontend_new_dangling_comments_ux')) {
68
+ if (!annotationsLoaded) {
69
69
  setInlineCommentsFetched()(editorView.state, editorView.dispatch);
70
70
  }
71
71
  return _context2.abrupt("return");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-annotation",
3
- "version": "16.0.13",
3
+ "version": "16.0.14",
4
4
  "description": "Annotation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,11 +31,11 @@
31
31
  "@atlaskit/editor-toolbar-model": "^1.2.0",
32
32
  "@atlaskit/icon": "^37.6.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
- "@atlaskit/tmp-editor-statsig": "^173.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^174.0.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@atlaskit/editor-common": "^120.11.0",
38
+ "@atlaskit/editor-common": "^120.12.0",
39
39
  "react": "^18.2.0 || ^19.2.0",
40
40
  "react-dom": "^18.2.0 || ^19.2.0",
41
41
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -54,9 +54,6 @@
54
54
  },
55
55
  "editor_inline_comments_on_inline_nodes": {
56
56
  "type": "boolean"
57
- },
58
- "confluence_frontend_new_dangling_comments_ux": {
59
- "type": "boolean"
60
57
  }
61
58
  }
62
59
  }