@atlaskit/editor-common 137.5.1 → 137.6.0
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 +28 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +5 -2
- package/dist/cjs/expand/index.js +1 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/table/getStickyHeaderHeight.js +1 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/ai-xstate-migration-no-exposure.js +5 -4
- package/dist/cjs/utils/ai-xstate-migration.js +8 -5
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +5 -2
- package/dist/es2019/expand/index.js +1 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/table/getStickyHeaderHeight.js +1 -3
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/ai-xstate-migration-no-exposure.js +5 -4
- package/dist/es2019/utils/ai-xstate-migration.js +8 -5
- package/dist/esm/element-browser/components/ElementList/ElementList.js +5 -2
- package/dist/esm/expand/index.js +1 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/table/getStickyHeaderHeight.js +1 -3
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/ai-xstate-migration-no-exposure.js +5 -4
- package/dist/esm/utils/ai-xstate-migration.js +8 -5
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +8 -4
- package/dist/types/utils/ai-xstate-migration-no-exposure.d.ts +4 -3
- package/dist/types/utils/ai-xstate-migration.d.ts +7 -4
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 137.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b7b9e9bfa653f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b7b9e9bfa653f) -
|
|
8
|
+
Correlate suggested-edits reviews from every entry point with a reviewSessionId, keeping source on
|
|
9
|
+
the initial click and retaining the ID across retries. Enable session tracking and duplicate-start
|
|
10
|
+
protection behind the treatment variants of platform_editor_rovo_chat_review_cta.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`499573c4f48b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/499573c4f48b2) -
|
|
15
|
+
Remove the inappropriate current state from editor insertion actions behind
|
|
16
|
+
a11y_remediation_pipeline_2.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 137.5.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [`721ebae8b9b14`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/721ebae8b9b14) -
|
|
24
|
+
Add platform_editor_ai_xstate_migration_other to the shared Editor AI migration checks for
|
|
25
|
+
remaining products.
|
|
26
|
+
- [`3a4337d2e4a60`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a4337d2e4a60) -
|
|
27
|
+
Clean up feature gate `platform_editor_ai_show_diff_patch_2`; the show-diff improvements are now
|
|
28
|
+
always on.
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 137.5.1
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -18,6 +18,7 @@ var _CellMeasurer = require("react-virtualized/dist/commonjs/CellMeasurer");
|
|
|
18
18
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
19
19
|
var _main = require("@atlaskit/editor-shared-styles/shortcut/main");
|
|
20
20
|
var _buttonItem = _interopRequireDefault(require("@atlaskit/menu/button-item"));
|
|
21
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
21
22
|
var _flex = require("@atlaskit/primitives/compiled/flex");
|
|
22
23
|
var _stack = require("@atlaskit/primitives/compiled/stack");
|
|
23
24
|
var _text = require("@atlaskit/primitives/compiled/text");
|
|
@@ -441,7 +442,7 @@ function ElementItem(_ref6) {
|
|
|
441
442
|
}) : renderItem();
|
|
442
443
|
}
|
|
443
444
|
var ElementItemButton = function ElementItemButton(_ref7) {
|
|
444
|
-
var _triggerProps$isSelec;
|
|
445
|
+
var _triggerProps$isSelec, _triggerProps$isSelec2;
|
|
445
446
|
var item = _ref7.item,
|
|
446
447
|
index = _ref7.index,
|
|
447
448
|
inlineMode = _ref7.inlineMode,
|
|
@@ -469,6 +470,7 @@ var ElementItemButton = function ElementItemButton(_ref7) {
|
|
|
469
470
|
keyshortcut = item.keyshortcut,
|
|
470
471
|
isDisabled = item.isDisabled,
|
|
471
472
|
lozenge = item.lozenge;
|
|
473
|
+
var ariaCurrent = ((_triggerProps$isSelec = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec !== void 0 ? _triggerProps$isSelec : selected) ? 'true' : undefined;
|
|
472
474
|
return (0, _react2.jsx)(_Tooltip.default, {
|
|
473
475
|
content: description,
|
|
474
476
|
testId: "element-item-tooltip-".concat(index)
|
|
@@ -478,7 +480,8 @@ var ElementItemButton = function ElementItemButton(_ref7) {
|
|
|
478
480
|
icon: icon,
|
|
479
481
|
title: title
|
|
480
482
|
}),
|
|
481
|
-
isSelected: (_triggerProps$
|
|
483
|
+
isSelected: (_triggerProps$isSelec2 = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec2 !== void 0 ? _triggerProps$isSelec2 : selected,
|
|
484
|
+
"aria-current": (0, _isExperimentEnabled.isExperimentEnabled)('a11y_remediation_pipeline_2') ? undefined : ariaCurrent,
|
|
482
485
|
"aria-controls": triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps['aria-controls'],
|
|
483
486
|
"aria-label": title,
|
|
484
487
|
ref: setTriggerRef,
|
package/dist/cjs/expand/index.js
CHANGED
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.toggleExpandRange = exports.isExpandCollapsed = exports.getNextNodeExpandPos = exports.expandedState = exports.TOGGLE_EXPAND_RANGE_META_KEY = void 0;
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
9
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
10
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
11
10
|
// Used to store the state of the new single player expand node
|
|
12
11
|
var expandedState = exports.expandedState = new WeakMap();
|
|
13
12
|
|
|
@@ -42,7 +41,7 @@ var toggleExpandRange = exports.toggleExpandRange = function toggleExpandRange(f
|
|
|
42
41
|
// preserve positions from earlier calls on the same transaction so callers can target disjoint ranges
|
|
43
42
|
// without opening unrelated expands between them.
|
|
44
43
|
var existingMeta = tr.getMeta(TOGGLE_EXPAND_RANGE_META_KEY);
|
|
45
|
-
var combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open
|
|
44
|
+
var combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open ? Array.from(new Set([].concat((0, _toConsumableArray2.default)(existingMeta.positions), positions))) : positions;
|
|
46
45
|
|
|
47
46
|
// Set meta so the expand PM plugin can add node decorations.
|
|
48
47
|
// This ensures ExpandNodeView.update() receives the decoration and visually
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "137.5.
|
|
30
|
+
var packageVersion = "137.5.2";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getStickyHeaderHeight = getStickyHeaderHeight;
|
|
7
7
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
8
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
8
|
/**
|
|
10
9
|
* Returns the outermost table's sticky header height for `targetPos` if its a table row and eligible to be
|
|
11
10
|
* sticky. Table headers at least half the viewport high intentionally do not become sticky.
|
|
@@ -28,7 +27,7 @@ function getStickyHeaderHeight(view, targetPos) {
|
|
|
28
27
|
var firstRowPos = outermostTable.pos + 1;
|
|
29
28
|
|
|
30
29
|
// do not add sticky header offset if the target is in the sticky header
|
|
31
|
-
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize
|
|
30
|
+
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize) {
|
|
32
31
|
return undefined;
|
|
33
32
|
}
|
|
34
33
|
var firstRowDom = view.nodeDOM(firstRowPos);
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "137.5.
|
|
26
|
+
var packageVersion = "137.5.2";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -8,11 +8,12 @@ var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/un
|
|
|
8
8
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
9
9
|
/**
|
|
10
10
|
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
11
|
-
* (Confluence `platform_editor_ai_xstate_migration
|
|
12
|
-
* `platform_editor_ai_xstate_migration_jira
|
|
11
|
+
* (Confluence `platform_editor_ai_xstate_migration`, Jira
|
|
12
|
+
* `platform_editor_ai_xstate_migration_jira`, OR remaining products
|
|
13
|
+
* `platform_editor_ai_xstate_migration_other`), but never fires exposure.
|
|
13
14
|
*
|
|
14
|
-
* Cleanup: only remove once
|
|
15
|
+
* Cleanup: only remove once ALL three experiments have shipped.
|
|
15
16
|
*/
|
|
16
17
|
var isAiXstateMigrationEnabledNoExposure = exports.isAiXstateMigrationEnabledNoExposure = function isAiXstateMigrationEnabledNoExposure() {
|
|
17
|
-
return (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
18
|
+
return (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_ai_xstate_migration_other', 'isEnabled', false) === true;
|
|
18
19
|
};
|
|
@@ -9,22 +9,25 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether the editor AI xstate migration is enabled for the current product.
|
|
11
11
|
*
|
|
12
|
-
* The migration is rolled out via
|
|
12
|
+
* The migration is rolled out via three audience-specific experiments:
|
|
13
13
|
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
14
14
|
* read via `@atlaskit/tmp-editor-statsig`
|
|
15
15
|
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
16
16
|
* read via `@atlaskit/platform-feature-experiments`
|
|
17
|
+
* - `platform_editor_ai_xstate_migration_other` (remaining products), a platform
|
|
18
|
+
* feature experiment. Targeting must exclude Jira and Confluence, and the existing
|
|
19
|
+
* experiments must exclude the remaining products to preserve their control group.
|
|
17
20
|
*
|
|
18
|
-
* Use this helper instead of checking
|
|
21
|
+
* Use this helper instead of checking an experiment directly so every call site
|
|
19
22
|
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
20
23
|
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
21
24
|
*
|
|
22
25
|
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
23
|
-
*
|
|
24
|
-
*
|
|
26
|
+
* ALL three experiments have shipped. Cleaning up one experiment alone by replacing
|
|
27
|
+
* it with `true` would also force the migration on for the other products.
|
|
25
28
|
*
|
|
26
29
|
* Note: This method fires exposure for the evaluated experiment(s).
|
|
27
30
|
*/
|
|
28
31
|
var isAiXstateMigrationEnabled = exports.isAiXstateMigrationEnabled = function isAiXstateMigrationEnabled() {
|
|
29
|
-
return (0, _expValEquals.expValEquals)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_ai_xstate_migration_jira');
|
|
32
|
+
return (0, _expValEquals.expValEquals)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_ai_xstate_migration_jira') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_ai_xstate_migration_other');
|
|
30
33
|
};
|
|
@@ -16,6 +16,7 @@ import { CellMeasurer, CellMeasurerCache } from 'react-virtualized/dist/commonjs
|
|
|
16
16
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
17
17
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut/main';
|
|
18
18
|
import ButtonItem from '@atlaskit/menu/button-item';
|
|
19
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
19
20
|
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
20
21
|
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
21
22
|
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
@@ -440,7 +441,7 @@ const ElementItemButton = ({
|
|
|
440
441
|
focusRef,
|
|
441
442
|
triggerProps
|
|
442
443
|
}) => {
|
|
443
|
-
var _triggerProps$isSelec;
|
|
444
|
+
var _triggerProps$isSelec, _triggerProps$isSelec2;
|
|
444
445
|
const popupRef = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.ref;
|
|
445
446
|
const setTriggerRef = useCallback(element => {
|
|
446
447
|
Object.assign(focusRef, {
|
|
@@ -462,6 +463,7 @@ const ElementItemButton = ({
|
|
|
462
463
|
isDisabled,
|
|
463
464
|
lozenge
|
|
464
465
|
} = item;
|
|
466
|
+
const ariaCurrent = ((_triggerProps$isSelec = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec !== void 0 ? _triggerProps$isSelec : selected) ? 'true' : undefined;
|
|
465
467
|
return jsx(Tooltip, {
|
|
466
468
|
content: description,
|
|
467
469
|
testId: `element-item-tooltip-${index}`
|
|
@@ -471,7 +473,8 @@ const ElementItemButton = ({
|
|
|
471
473
|
icon: icon,
|
|
472
474
|
title: title
|
|
473
475
|
}),
|
|
474
|
-
isSelected: (_triggerProps$
|
|
476
|
+
isSelected: (_triggerProps$isSelec2 = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec2 !== void 0 ? _triggerProps$isSelec2 : selected,
|
|
477
|
+
"aria-current": isExperimentEnabled('a11y_remediation_pipeline_2') ? undefined : ariaCurrent,
|
|
475
478
|
"aria-controls": triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps['aria-controls'],
|
|
476
479
|
"aria-label": title,
|
|
477
480
|
ref: setTriggerRef,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
2
|
// Used to store the state of the new single player expand node
|
|
4
3
|
export const expandedState = new WeakMap();
|
|
5
4
|
|
|
@@ -34,7 +33,7 @@ export const toggleExpandRange = (from, to, open = true) => ({
|
|
|
34
33
|
// preserve positions from earlier calls on the same transaction so callers can target disjoint ranges
|
|
35
34
|
// without opening unrelated expands between them.
|
|
36
35
|
const existingMeta = tr.getMeta(TOGGLE_EXPAND_RANGE_META_KEY);
|
|
37
|
-
const combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open
|
|
36
|
+
const combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open ? Array.from(new Set([...existingMeta.positions, ...positions])) : positions;
|
|
38
37
|
|
|
39
38
|
// Set meta so the expand PM plugin can add node decorations.
|
|
40
39
|
// This ensures ExpandNodeView.update() receives the decoration and visually
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "137.5.
|
|
16
|
+
const packageVersion = "137.5.2";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { findParentNodeOfTypeClosestToPos } from '@atlaskit/editor-prosemirror/utils';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
|
|
4
2
|
/**
|
|
5
3
|
* Returns the outermost table's sticky header height for `targetPos` if its a table row and eligible to be
|
|
6
4
|
* sticky. Table headers at least half the viewport high intentionally do not become sticky.
|
|
@@ -23,7 +21,7 @@ export function getStickyHeaderHeight(view, targetPos) {
|
|
|
23
21
|
const firstRowPos = outermostTable.pos + 1;
|
|
24
22
|
|
|
25
23
|
// do not add sticky header offset if the target is in the sticky header
|
|
26
|
-
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize
|
|
24
|
+
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize) {
|
|
27
25
|
return undefined;
|
|
28
26
|
}
|
|
29
27
|
const firstRowDom = view.nodeDOM(firstRowPos);
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "137.5.
|
|
16
|
+
const packageVersion = "137.5.2";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -3,9 +3,10 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
6
|
-
* (Confluence `platform_editor_ai_xstate_migration
|
|
7
|
-
* `platform_editor_ai_xstate_migration_jira
|
|
6
|
+
* (Confluence `platform_editor_ai_xstate_migration`, Jira
|
|
7
|
+
* `platform_editor_ai_xstate_migration_jira`, OR remaining products
|
|
8
|
+
* `platform_editor_ai_xstate_migration_other`), but never fires exposure.
|
|
8
9
|
*
|
|
9
|
-
* Cleanup: only remove once
|
|
10
|
+
* Cleanup: only remove once ALL three experiments have shipped.
|
|
10
11
|
*/
|
|
11
|
-
export const isAiXstateMigrationEnabledNoExposure = () => expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
12
|
+
export const isAiXstateMigrationEnabledNoExposure = () => expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_other', 'isEnabled', false) === true;
|
|
@@ -4,20 +4,23 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
|
4
4
|
/**
|
|
5
5
|
* Whether the editor AI xstate migration is enabled for the current product.
|
|
6
6
|
*
|
|
7
|
-
* The migration is rolled out via
|
|
7
|
+
* The migration is rolled out via three audience-specific experiments:
|
|
8
8
|
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
9
9
|
* read via `@atlaskit/tmp-editor-statsig`
|
|
10
10
|
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
11
11
|
* read via `@atlaskit/platform-feature-experiments`
|
|
12
|
+
* - `platform_editor_ai_xstate_migration_other` (remaining products), a platform
|
|
13
|
+
* feature experiment. Targeting must exclude Jira and Confluence, and the existing
|
|
14
|
+
* experiments must exclude the remaining products to preserve their control group.
|
|
12
15
|
*
|
|
13
|
-
* Use this helper instead of checking
|
|
16
|
+
* Use this helper instead of checking an experiment directly so every call site
|
|
14
17
|
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
15
18
|
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
16
19
|
*
|
|
17
20
|
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
18
|
-
*
|
|
19
|
-
*
|
|
21
|
+
* ALL three experiments have shipped. Cleaning up one experiment alone by replacing
|
|
22
|
+
* it with `true` would also force the migration on for the other products.
|
|
20
23
|
*
|
|
21
24
|
* Note: This method fires exposure for the evaluated experiment(s).
|
|
22
25
|
*/
|
|
23
|
-
export const isAiXstateMigrationEnabled = () => expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira');
|
|
26
|
+
export const isAiXstateMigrationEnabled = () => expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira') || isExperimentEnabled('platform_editor_ai_xstate_migration_other');
|
|
@@ -17,6 +17,7 @@ import { CellMeasurer, CellMeasurerCache } from 'react-virtualized/dist/commonjs
|
|
|
17
17
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
18
18
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut/main';
|
|
19
19
|
import ButtonItem from '@atlaskit/menu/button-item';
|
|
20
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
20
21
|
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
21
22
|
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
22
23
|
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
@@ -431,7 +432,7 @@ export function ElementItem(_ref6) {
|
|
|
431
432
|
}) : renderItem();
|
|
432
433
|
}
|
|
433
434
|
var ElementItemButton = function ElementItemButton(_ref7) {
|
|
434
|
-
var _triggerProps$isSelec;
|
|
435
|
+
var _triggerProps$isSelec, _triggerProps$isSelec2;
|
|
435
436
|
var item = _ref7.item,
|
|
436
437
|
index = _ref7.index,
|
|
437
438
|
inlineMode = _ref7.inlineMode,
|
|
@@ -459,6 +460,7 @@ var ElementItemButton = function ElementItemButton(_ref7) {
|
|
|
459
460
|
keyshortcut = item.keyshortcut,
|
|
460
461
|
isDisabled = item.isDisabled,
|
|
461
462
|
lozenge = item.lozenge;
|
|
463
|
+
var ariaCurrent = ((_triggerProps$isSelec = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec !== void 0 ? _triggerProps$isSelec : selected) ? 'true' : undefined;
|
|
462
464
|
return jsx(Tooltip, {
|
|
463
465
|
content: description,
|
|
464
466
|
testId: "element-item-tooltip-".concat(index)
|
|
@@ -468,7 +470,8 @@ var ElementItemButton = function ElementItemButton(_ref7) {
|
|
|
468
470
|
icon: icon,
|
|
469
471
|
title: title
|
|
470
472
|
}),
|
|
471
|
-
isSelected: (_triggerProps$
|
|
473
|
+
isSelected: (_triggerProps$isSelec2 = triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps.isSelected) !== null && _triggerProps$isSelec2 !== void 0 ? _triggerProps$isSelec2 : selected,
|
|
474
|
+
"aria-current": isExperimentEnabled('a11y_remediation_pipeline_2') ? undefined : ariaCurrent,
|
|
472
475
|
"aria-controls": triggerProps === null || triggerProps === void 0 ? void 0 : triggerProps['aria-controls'],
|
|
473
476
|
"aria-label": title,
|
|
474
477
|
ref: setTriggerRef,
|
package/dist/esm/expand/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
3
|
// Used to store the state of the new single player expand node
|
|
5
4
|
export var expandedState = new WeakMap();
|
|
6
5
|
|
|
@@ -35,7 +34,7 @@ export var toggleExpandRange = function toggleExpandRange(from, to) {
|
|
|
35
34
|
// preserve positions from earlier calls on the same transaction so callers can target disjoint ranges
|
|
36
35
|
// without opening unrelated expands between them.
|
|
37
36
|
var existingMeta = tr.getMeta(TOGGLE_EXPAND_RANGE_META_KEY);
|
|
38
|
-
var combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open
|
|
37
|
+
var combinedPositions = (existingMeta === null || existingMeta === void 0 ? void 0 : existingMeta.open) === open ? Array.from(new Set([].concat(_toConsumableArray(existingMeta.positions), positions))) : positions;
|
|
39
38
|
|
|
40
39
|
// Set meta so the expand PM plugin can add node decorations.
|
|
41
40
|
// This ensures ExpandNodeView.update() receives the decoration and visually
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "137.5.
|
|
22
|
+
var packageVersion = "137.5.2";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { findParentNodeOfTypeClosestToPos } from '@atlaskit/editor-prosemirror/utils';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
-
|
|
4
2
|
/**
|
|
5
3
|
* Returns the outermost table's sticky header height for `targetPos` if its a table row and eligible to be
|
|
6
4
|
* sticky. Table headers at least half the viewport high intentionally do not become sticky.
|
|
@@ -23,7 +21,7 @@ export function getStickyHeaderHeight(view, targetPos) {
|
|
|
23
21
|
var firstRowPos = outermostTable.pos + 1;
|
|
24
22
|
|
|
25
23
|
// do not add sticky header offset if the target is in the sticky header
|
|
26
|
-
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize
|
|
24
|
+
if (firstRow && targetPos >= firstRowPos && targetPos < firstRowPos + firstRow.nodeSize) {
|
|
27
25
|
return undefined;
|
|
28
26
|
}
|
|
29
27
|
var firstRowDom = view.nodeDOM(firstRowPos);
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "137.5.
|
|
23
|
+
var packageVersion = "137.5.2";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -3,11 +3,12 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
6
|
-
* (Confluence `platform_editor_ai_xstate_migration
|
|
7
|
-
* `platform_editor_ai_xstate_migration_jira
|
|
6
|
+
* (Confluence `platform_editor_ai_xstate_migration`, Jira
|
|
7
|
+
* `platform_editor_ai_xstate_migration_jira`, OR remaining products
|
|
8
|
+
* `platform_editor_ai_xstate_migration_other`), but never fires exposure.
|
|
8
9
|
*
|
|
9
|
-
* Cleanup: only remove once
|
|
10
|
+
* Cleanup: only remove once ALL three experiments have shipped.
|
|
10
11
|
*/
|
|
11
12
|
export var isAiXstateMigrationEnabledNoExposure = function isAiXstateMigrationEnabledNoExposure() {
|
|
12
|
-
return expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
13
|
+
return expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_other', 'isEnabled', false) === true;
|
|
13
14
|
};
|
|
@@ -4,22 +4,25 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
|
4
4
|
/**
|
|
5
5
|
* Whether the editor AI xstate migration is enabled for the current product.
|
|
6
6
|
*
|
|
7
|
-
* The migration is rolled out via
|
|
7
|
+
* The migration is rolled out via three audience-specific experiments:
|
|
8
8
|
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
9
9
|
* read via `@atlaskit/tmp-editor-statsig`
|
|
10
10
|
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
11
11
|
* read via `@atlaskit/platform-feature-experiments`
|
|
12
|
+
* - `platform_editor_ai_xstate_migration_other` (remaining products), a platform
|
|
13
|
+
* feature experiment. Targeting must exclude Jira and Confluence, and the existing
|
|
14
|
+
* experiments must exclude the remaining products to preserve their control group.
|
|
12
15
|
*
|
|
13
|
-
* Use this helper instead of checking
|
|
16
|
+
* Use this helper instead of checking an experiment directly so every call site
|
|
14
17
|
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
15
18
|
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
16
19
|
*
|
|
17
20
|
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
18
|
-
*
|
|
19
|
-
*
|
|
21
|
+
* ALL three experiments have shipped. Cleaning up one experiment alone by replacing
|
|
22
|
+
* it with `true` would also force the migration on for the other products.
|
|
20
23
|
*
|
|
21
24
|
* Note: This method fires exposure for the evaluated experiment(s).
|
|
22
25
|
*/
|
|
23
26
|
export var isAiXstateMigrationEnabled = function isAiXstateMigrationEnabled() {
|
|
24
|
-
return expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira');
|
|
27
|
+
return expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira') || isExperimentEnabled('platform_editor_ai_xstate_migration_other');
|
|
25
28
|
};
|
|
@@ -94,7 +94,11 @@ type RegenerateSuggestionsCompletedAEP = OperationalAEP<ACTION.REGENERATION_COMP
|
|
|
94
94
|
stillStaleSuggestionCount: number;
|
|
95
95
|
updatedSuggestionCount: number;
|
|
96
96
|
}>;
|
|
97
|
-
type
|
|
97
|
+
type ReviewSessionAttributes = {
|
|
98
|
+
/** Client review flow ID shared by lifecycle events and retries. */
|
|
99
|
+
reviewSessionId?: string;
|
|
100
|
+
};
|
|
101
|
+
type EntryPointClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, ReviewSessionAttributes & {
|
|
98
102
|
entryPoint: AiSuggestionsEntryPoint;
|
|
99
103
|
}, undefined>;
|
|
100
104
|
/**
|
|
@@ -102,7 +106,7 @@ type EntryPointClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIO
|
|
|
102
106
|
* edits error screen (the thinking bar's error state). Lets us measure how
|
|
103
107
|
* often users attempt to recover from a suggestions failure.
|
|
104
108
|
*/
|
|
105
|
-
type SuggestionsErrorRetryClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIONS, ACTION_SUBJECT_ID.SUGGESTIONS_ERROR_RETRY, undefined, undefined>;
|
|
109
|
+
type SuggestionsErrorRetryClickedAEP = TrackAEP<ACTION.CLICKED, ACTION_SUBJECT.AI_SUGGESTIONS, ACTION_SUBJECT_ID.SUGGESTIONS_ERROR_RETRY, ReviewSessionAttributes | undefined, undefined>;
|
|
106
110
|
type EntryPointExposureAEP = TrackAEP<ACTION.EXPOSED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
107
111
|
entryPoint: AiSuggestionsEntryPoint;
|
|
108
112
|
}, undefined> & {
|
|
@@ -130,7 +134,7 @@ type UndoAcceptedSuggestionAEP = TrackAEP<ACTION.UNDO_PERFORMED, ACTION_SUBJECT.
|
|
|
130
134
|
suggestionType?: string;
|
|
131
135
|
}, undefined>;
|
|
132
136
|
type DiscardedSuggestionAttributes = SuggestionLifecycleAttributes;
|
|
133
|
-
type CancelSuggestionsAEP = TrackAEP<ACTION.CANCELLED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
137
|
+
type CancelSuggestionsAEP = TrackAEP<ACTION.CANCELLED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, ReviewSessionAttributes & {
|
|
134
138
|
interactionPoint: AiSuggestionInteractionPoint;
|
|
135
139
|
}, undefined>;
|
|
136
140
|
type DiscardSuggestionAEP = TrackAEP<ACTION.DISCARDED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, DiscardedSuggestionAttributes, undefined>;
|
|
@@ -167,7 +171,7 @@ type ViewSuggestionReasoningAEP = TrackAEP<ACTION.REASONING_VIEWED, ACTION_SUBJE
|
|
|
167
171
|
suggestionId: string;
|
|
168
172
|
suggestionType?: string;
|
|
169
173
|
}, undefined>;
|
|
170
|
-
type SuggestionsGeneratedAEP = TrackAEP<ACTION.GENERATED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
174
|
+
type SuggestionsGeneratedAEP = TrackAEP<ACTION.GENERATED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, ReviewSessionAttributes & {
|
|
171
175
|
generationDurationMs: number;
|
|
172
176
|
hadExistingSuggestions: boolean;
|
|
173
177
|
numberOfSuggestions: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
3
|
-
* (Confluence `platform_editor_ai_xstate_migration
|
|
4
|
-
* `platform_editor_ai_xstate_migration_jira
|
|
3
|
+
* (Confluence `platform_editor_ai_xstate_migration`, Jira
|
|
4
|
+
* `platform_editor_ai_xstate_migration_jira`, OR remaining products
|
|
5
|
+
* `platform_editor_ai_xstate_migration_other`), but never fires exposure.
|
|
5
6
|
*
|
|
6
|
-
* Cleanup: only remove once
|
|
7
|
+
* Cleanup: only remove once ALL three experiments have shipped.
|
|
7
8
|
*/
|
|
8
9
|
export declare const isAiXstateMigrationEnabledNoExposure: () => boolean;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Whether the editor AI xstate migration is enabled for the current product.
|
|
3
3
|
*
|
|
4
|
-
* The migration is rolled out via
|
|
4
|
+
* The migration is rolled out via three audience-specific experiments:
|
|
5
5
|
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
6
6
|
* read via `@atlaskit/tmp-editor-statsig`
|
|
7
7
|
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
8
8
|
* read via `@atlaskit/platform-feature-experiments`
|
|
9
|
+
* - `platform_editor_ai_xstate_migration_other` (remaining products), a platform
|
|
10
|
+
* feature experiment. Targeting must exclude Jira and Confluence, and the existing
|
|
11
|
+
* experiments must exclude the remaining products to preserve their control group.
|
|
9
12
|
*
|
|
10
|
-
* Use this helper instead of checking
|
|
13
|
+
* Use this helper instead of checking an experiment directly so every call site
|
|
11
14
|
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
12
15
|
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
13
16
|
*
|
|
14
17
|
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
15
|
-
*
|
|
16
|
-
*
|
|
18
|
+
* ALL three experiments have shipped. Cleaning up one experiment alone by replacing
|
|
19
|
+
* it with `true` would also force the migration on for the other products.
|
|
17
20
|
*
|
|
18
21
|
* Note: This method fires exposure for the evaluated experiment(s).
|
|
19
22
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "137.
|
|
3
|
+
"version": "137.6.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/link": "^5.1.0",
|
|
57
57
|
"@atlaskit/link-datasource": "^7.15.0",
|
|
58
58
|
"@atlaskit/link-picker": "^6.22.0",
|
|
59
|
-
"@atlaskit/linking-common": "^13.
|
|
59
|
+
"@atlaskit/linking-common": "^13.1.0",
|
|
60
60
|
"@atlaskit/logo": "^23.3.0",
|
|
61
61
|
"@atlaskit/media-card": "^82.3.0",
|
|
62
62
|
"@atlaskit/media-client": "^39.4.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@atlaskit/popper": "^9.4.0",
|
|
77
77
|
"@atlaskit/popup": "^10.2.0",
|
|
78
78
|
"@atlaskit/primitives": "^22.8.0",
|
|
79
|
-
"@atlaskit/profilecard": "^27.
|
|
79
|
+
"@atlaskit/profilecard": "^27.12.0",
|
|
80
80
|
"@atlaskit/prosemirror-history": "^1.3.0",
|
|
81
81
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
82
82
|
"@atlaskit/react-ufo": "^8.5.0",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"@atlaskit/task-decision": "^21.16.0",
|
|
88
88
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
89
89
|
"@atlaskit/textfield": "^11.0.0",
|
|
90
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
90
|
+
"@atlaskit/tmp-editor-statsig": "^267.0.0",
|
|
91
91
|
"@atlaskit/tokens": "^20.14.0",
|
|
92
92
|
"@atlaskit/tooltip": "^24.4.0",
|
|
93
93
|
"@atlaskit/width-detector": "^7.2.0",
|
|
94
94
|
"@babel/runtime": "^7.0.0",
|
|
95
|
-
"@compiled/react": "^
|
|
95
|
+
"@compiled/react": "^2.0.0",
|
|
96
96
|
"@emotion/react": "^11.7.1",
|
|
97
97
|
"@popperjs/core": "^2.11.8",
|
|
98
98
|
"@sentry/browser": "^6.18.2",
|
|
@@ -161,9 +161,6 @@
|
|
|
161
161
|
"type": "boolean",
|
|
162
162
|
"referenceOnly": true
|
|
163
163
|
},
|
|
164
|
-
"platform_editor_ai_show_diff_patch_2": {
|
|
165
|
-
"type": "boolean"
|
|
166
|
-
},
|
|
167
164
|
"platform_editor_hide_configure_lozenge_non_configurable": {
|
|
168
165
|
"type": "boolean"
|
|
169
166
|
},
|