@atlaskit/editor-plugin-collab-edit 7.1.5 → 7.1.6

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-collab-edit
2
2
 
3
+ ## 7.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0d237a5696b06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d237a5696b06) -
8
+ Uncoupled several block of changes from the aifc FG and moved them behind their own FG so they can
9
+ be rolled out quicker
10
+ - Updated dependencies
11
+
3
12
  ## 7.1.5
4
13
 
5
14
  ### Patch Changes
@@ -48,7 +48,7 @@ var sendTransaction = exports.sendTransaction = function sendTransaction(_ref) {
48
48
  sessionId = currentPluginState.sessionId;
49
49
  var selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
50
50
  var participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
51
- if ((0, _platformFeatureFlags.fg)('aifc_create_enabled')) {
51
+ if ((0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
52
52
  if (!sessionId || viewMode !== 'edit') {
53
53
  return;
54
54
  }
@@ -174,7 +174,7 @@ var PluginState = exports.PluginState = /*#__PURE__*/function () {
174
174
  } catch (err) {
175
175
  this.onError(err);
176
176
  }
177
- if (!(0, _platformFeatureFlags.fg)('aifc_create_enabled')) {
177
+ if (!(0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
178
178
  // Remove any selection decoration within the change range,
179
179
  // takes care of the issue when after pasting we end up with a dead selection
180
180
  tr.steps.filter(_utils.isReplaceStep).forEach(function (s) {
@@ -43,7 +43,7 @@ export const sendTransaction = ({
43
43
  } = currentPluginState;
44
44
  const selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
45
45
  const participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
46
- if (fg('aifc_create_enabled')) {
46
+ if (fg('platform_editor_ai_generic_prep_for_aifc')) {
47
47
  if (!sessionId || viewMode !== 'edit') {
48
48
  return;
49
49
  }
@@ -155,7 +155,7 @@ export class PluginState {
155
155
  } catch (err) {
156
156
  this.onError(err);
157
157
  }
158
- if (!fg('aifc_create_enabled')) {
158
+ if (!fg('platform_editor_ai_generic_prep_for_aifc')) {
159
159
  // Remove any selection decoration within the change range,
160
160
  // takes care of the issue when after pasting we end up with a dead selection
161
161
  tr.steps.filter(isReplaceStep).forEach(s => {
@@ -42,7 +42,7 @@ export var sendTransaction = function sendTransaction(_ref) {
42
42
  sessionId = currentPluginState.sessionId;
43
43
  var selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
44
44
  var participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
45
- if (fg('aifc_create_enabled')) {
45
+ if (fg('platform_editor_ai_generic_prep_for_aifc')) {
46
46
  if (!sessionId || viewMode !== 'edit') {
47
47
  return;
48
48
  }
@@ -168,7 +168,7 @@ export var PluginState = /*#__PURE__*/function () {
168
168
  } catch (err) {
169
169
  this.onError(err);
170
170
  }
171
- if (!fg('aifc_create_enabled')) {
171
+ if (!fg('platform_editor_ai_generic_prep_for_aifc')) {
172
172
  // Remove any selection decoration within the change range,
173
173
  // takes care of the issue when after pasting we end up with a dead selection
174
174
  tr.steps.filter(isReplaceStep).forEach(function (s) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "7.1.5",
3
+ "version": "7.1.6",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,12 +39,12 @@
39
39
  "@atlaskit/frontend-utilities": "^3.2.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
41
  "@atlaskit/prosemirror-collab": "^0.22.0",
42
- "@atlaskit/tmp-editor-statsig": "^13.38.0",
42
+ "@atlaskit/tmp-editor-statsig": "^13.42.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "memoize-one": "^6.0.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^110.32.0",
47
+ "@atlaskit/editor-common": "^110.34.0",
48
48
  "react": "^18.2.0",
49
49
  "react-dom": "^18.2.0"
50
50
  },
@@ -97,7 +97,7 @@
97
97
  }
98
98
  },
99
99
  "platform-feature-flags": {
100
- "aifc_create_enabled": {
100
+ "platform_editor_ai_generic_prep_for_aifc": {
101
101
  "type": "boolean"
102
102
  },
103
103
  "platform_editor_inorganic_batchattrsstep_localid": {