@atlaskit/tmp-editor-statsig 83.1.0 → 84.1.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 +14 -0
- package/dist/cjs/editor-experiments-test-utils.js +3 -3
- package/dist/cjs/experiments-config.js +8 -17
- package/dist/es2019/experiments-config.js +8 -17
- package/dist/esm/editor-experiments-test-utils.js +3 -3
- package/dist/esm/experiments-config.js +8 -17
- package/dist/types/experiments-config.d.ts +6 -12
- package/dist/types-ts4.5/experiments-config.d.ts +6 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 84.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`f8a73491895c4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f8a73491895c4) -
|
|
8
|
+
Export Smart Link summarize action helpers for caller-owned UI.
|
|
9
|
+
|
|
10
|
+
## 84.0.0
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- [`5e34be0ba10b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5e34be0ba10b6) -
|
|
15
|
+
Cleanup show diff experiments
|
|
16
|
+
|
|
3
17
|
## 83.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -67,16 +67,16 @@ function eeTest(experimentName, cases, otherExperiments) {
|
|
|
67
67
|
test.each(Object.keys(cases))("".concat(experimentName, ": %s"), /*#__PURE__*/function () {
|
|
68
68
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(value) {
|
|
69
69
|
var testCaseKey, convertedValue, testCase;
|
|
70
|
-
return _regenerator.default.wrap(function
|
|
70
|
+
return _regenerator.default.wrap(function (_context) {
|
|
71
71
|
while (1) switch (_context.prev = _context.next) {
|
|
72
72
|
case 0:
|
|
73
73
|
testCaseKey = value; // For boolean experiments, we need to convert the 'on' and 'off' cases to boolean `true` and `false` values.
|
|
74
74
|
convertedValue = isBooleanExperiment ? testCaseKey === 'true' ? true : false : testCaseKey;
|
|
75
75
|
(0, _setup.setupEditorExperiments)('test', _objectSpread((0, _defineProperty2.default)({}, experimentName, convertedValue), otherExperiments));
|
|
76
76
|
testCase = cases[testCaseKey]; // @ts-ignore
|
|
77
|
-
_context.next =
|
|
77
|
+
_context.next = 1;
|
|
78
78
|
return Promise.resolve(testCase());
|
|
79
|
-
case
|
|
79
|
+
case 1:
|
|
80
80
|
case "end":
|
|
81
81
|
return _context.stop();
|
|
82
82
|
}
|
|
@@ -408,6 +408,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
408
408
|
param: 'isEnabled',
|
|
409
409
|
defaultValue: false
|
|
410
410
|
}),
|
|
411
|
+
// Added 2026-05-22
|
|
412
|
+
confluence_editor_paste_3p_link_actions_menu: (0, _experimentBuilders.createBooleanExperiment)({
|
|
413
|
+
productKeys: {
|
|
414
|
+
confluence: 'confluence_editor_paste_3p_link_actions_menu'
|
|
415
|
+
},
|
|
416
|
+
param: 'isEnabled',
|
|
417
|
+
defaultValue: false
|
|
418
|
+
}),
|
|
411
419
|
// Added 2024-12-05
|
|
412
420
|
platform_editor_blockquote_in_text_formatting_menu: (0, _experimentBuilders.createBooleanExperiment)({
|
|
413
421
|
productKeys: {
|
|
@@ -1688,15 +1696,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1688
1696
|
param: 'isEnabled',
|
|
1689
1697
|
defaultValue: false
|
|
1690
1698
|
}),
|
|
1691
|
-
// Added 2026-03-11
|
|
1692
|
-
platform_editor_are_nodes_equal_ignore_mark_order: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1693
|
-
productKeys: {
|
|
1694
|
-
confluence: 'platform_editor_are_nodes_equal_ignore_mark_order',
|
|
1695
|
-
jira: 'platform_editor_are_nodes_equal_ignore_mark_order'
|
|
1696
|
-
},
|
|
1697
|
-
param: 'isEnabled',
|
|
1698
|
-
defaultValue: false
|
|
1699
|
-
}),
|
|
1700
1699
|
platform_editor_table_fit_to_content_auto_convert: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1701
1700
|
productKeys: {
|
|
1702
1701
|
confluence: 'platform_editor_table_fit_to_content_auto_convert'
|
|
@@ -2218,14 +2217,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2218
2217
|
param: 'isEnabled',
|
|
2219
2218
|
defaultValue: false
|
|
2220
2219
|
}),
|
|
2221
|
-
// Added 2026-05-13
|
|
2222
|
-
platform_editor_show_diff_improvements: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2223
|
-
productKeys: {
|
|
2224
|
-
confluence: 'platform_editor_show_diff_improvements'
|
|
2225
|
-
},
|
|
2226
|
-
param: 'isEnabled',
|
|
2227
|
-
defaultValue: false
|
|
2228
|
-
}),
|
|
2229
2220
|
// Added 2026-05-18
|
|
2230
2221
|
platform_editor_nest_table_in_panel: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2231
2222
|
productKeys: {
|
|
@@ -402,6 +402,14 @@ export const editorExperimentsConfig = {
|
|
|
402
402
|
param: 'isEnabled',
|
|
403
403
|
defaultValue: false
|
|
404
404
|
}),
|
|
405
|
+
// Added 2026-05-22
|
|
406
|
+
confluence_editor_paste_3p_link_actions_menu: createBooleanExperiment({
|
|
407
|
+
productKeys: {
|
|
408
|
+
confluence: 'confluence_editor_paste_3p_link_actions_menu'
|
|
409
|
+
},
|
|
410
|
+
param: 'isEnabled',
|
|
411
|
+
defaultValue: false
|
|
412
|
+
}),
|
|
405
413
|
// Added 2024-12-05
|
|
406
414
|
platform_editor_blockquote_in_text_formatting_menu: createBooleanExperiment({
|
|
407
415
|
productKeys: {
|
|
@@ -1682,15 +1690,6 @@ export const editorExperimentsConfig = {
|
|
|
1682
1690
|
param: 'isEnabled',
|
|
1683
1691
|
defaultValue: false
|
|
1684
1692
|
}),
|
|
1685
|
-
// Added 2026-03-11
|
|
1686
|
-
platform_editor_are_nodes_equal_ignore_mark_order: createBooleanExperiment({
|
|
1687
|
-
productKeys: {
|
|
1688
|
-
confluence: 'platform_editor_are_nodes_equal_ignore_mark_order',
|
|
1689
|
-
jira: 'platform_editor_are_nodes_equal_ignore_mark_order'
|
|
1690
|
-
},
|
|
1691
|
-
param: 'isEnabled',
|
|
1692
|
-
defaultValue: false
|
|
1693
|
-
}),
|
|
1694
1693
|
platform_editor_table_fit_to_content_auto_convert: createBooleanExperiment({
|
|
1695
1694
|
productKeys: {
|
|
1696
1695
|
confluence: 'platform_editor_table_fit_to_content_auto_convert'
|
|
@@ -2212,14 +2211,6 @@ export const editorExperimentsConfig = {
|
|
|
2212
2211
|
param: 'isEnabled',
|
|
2213
2212
|
defaultValue: false
|
|
2214
2213
|
}),
|
|
2215
|
-
// Added 2026-05-13
|
|
2216
|
-
platform_editor_show_diff_improvements: createBooleanExperiment({
|
|
2217
|
-
productKeys: {
|
|
2218
|
-
confluence: 'platform_editor_show_diff_improvements'
|
|
2219
|
-
},
|
|
2220
|
-
param: 'isEnabled',
|
|
2221
|
-
defaultValue: false
|
|
2222
|
-
}),
|
|
2223
2214
|
// Added 2026-05-18
|
|
2224
2215
|
platform_editor_nest_table_in_panel: createBooleanExperiment({
|
|
2225
2216
|
productKeys: {
|
|
@@ -64,16 +64,16 @@ function eeTest(experimentName, cases, otherExperiments) {
|
|
|
64
64
|
test.each(Object.keys(cases))("".concat(experimentName, ": %s"), /*#__PURE__*/function () {
|
|
65
65
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
|
|
66
66
|
var testCaseKey, convertedValue, testCase;
|
|
67
|
-
return _regeneratorRuntime.wrap(function
|
|
67
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
68
68
|
while (1) switch (_context.prev = _context.next) {
|
|
69
69
|
case 0:
|
|
70
70
|
testCaseKey = value; // For boolean experiments, we need to convert the 'on' and 'off' cases to boolean `true` and `false` values.
|
|
71
71
|
convertedValue = isBooleanExperiment ? testCaseKey === 'true' ? true : false : testCaseKey;
|
|
72
72
|
setupEditorExperiments('test', _objectSpread(_defineProperty({}, experimentName, convertedValue), otherExperiments));
|
|
73
73
|
testCase = cases[testCaseKey]; // @ts-ignore
|
|
74
|
-
_context.next =
|
|
74
|
+
_context.next = 1;
|
|
75
75
|
return Promise.resolve(testCase());
|
|
76
|
-
case
|
|
76
|
+
case 1:
|
|
77
77
|
case "end":
|
|
78
78
|
return _context.stop();
|
|
79
79
|
}
|
|
@@ -402,6 +402,14 @@ export var editorExperimentsConfig = {
|
|
|
402
402
|
param: 'isEnabled',
|
|
403
403
|
defaultValue: false
|
|
404
404
|
}),
|
|
405
|
+
// Added 2026-05-22
|
|
406
|
+
confluence_editor_paste_3p_link_actions_menu: createBooleanExperiment({
|
|
407
|
+
productKeys: {
|
|
408
|
+
confluence: 'confluence_editor_paste_3p_link_actions_menu'
|
|
409
|
+
},
|
|
410
|
+
param: 'isEnabled',
|
|
411
|
+
defaultValue: false
|
|
412
|
+
}),
|
|
405
413
|
// Added 2024-12-05
|
|
406
414
|
platform_editor_blockquote_in_text_formatting_menu: createBooleanExperiment({
|
|
407
415
|
productKeys: {
|
|
@@ -1682,15 +1690,6 @@ export var editorExperimentsConfig = {
|
|
|
1682
1690
|
param: 'isEnabled',
|
|
1683
1691
|
defaultValue: false
|
|
1684
1692
|
}),
|
|
1685
|
-
// Added 2026-03-11
|
|
1686
|
-
platform_editor_are_nodes_equal_ignore_mark_order: createBooleanExperiment({
|
|
1687
|
-
productKeys: {
|
|
1688
|
-
confluence: 'platform_editor_are_nodes_equal_ignore_mark_order',
|
|
1689
|
-
jira: 'platform_editor_are_nodes_equal_ignore_mark_order'
|
|
1690
|
-
},
|
|
1691
|
-
param: 'isEnabled',
|
|
1692
|
-
defaultValue: false
|
|
1693
|
-
}),
|
|
1694
1693
|
platform_editor_table_fit_to_content_auto_convert: createBooleanExperiment({
|
|
1695
1694
|
productKeys: {
|
|
1696
1695
|
confluence: 'platform_editor_table_fit_to_content_auto_convert'
|
|
@@ -2212,14 +2211,6 @@ export var editorExperimentsConfig = {
|
|
|
2212
2211
|
param: 'isEnabled',
|
|
2213
2212
|
defaultValue: false
|
|
2214
2213
|
}),
|
|
2215
|
-
// Added 2026-05-13
|
|
2216
|
-
platform_editor_show_diff_improvements: createBooleanExperiment({
|
|
2217
|
-
productKeys: {
|
|
2218
|
-
confluence: 'platform_editor_show_diff_improvements'
|
|
2219
|
-
},
|
|
2220
|
-
param: 'isEnabled',
|
|
2221
|
-
defaultValue: false
|
|
2222
|
-
}),
|
|
2223
2214
|
// Added 2026-05-18
|
|
2224
2215
|
platform_editor_nest_table_in_panel: createBooleanExperiment({
|
|
2225
2216
|
productKeys: {
|
|
@@ -245,6 +245,12 @@ export declare const editorExperimentsConfig: {
|
|
|
245
245
|
productKeys?: ProductKeys;
|
|
246
246
|
typeGuard: IsBooleanType;
|
|
247
247
|
};
|
|
248
|
+
confluence_editor_paste_3p_link_actions_menu: {
|
|
249
|
+
defaultValue: boolean;
|
|
250
|
+
param: string;
|
|
251
|
+
productKeys?: ProductKeys;
|
|
252
|
+
typeGuard: IsBooleanType;
|
|
253
|
+
};
|
|
248
254
|
editor_tinymce_full_width_mode: {
|
|
249
255
|
defaultValue: boolean;
|
|
250
256
|
param: string;
|
|
@@ -1303,12 +1309,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1303
1309
|
productKeys?: ProductKeys;
|
|
1304
1310
|
typeGuard: IsBooleanType;
|
|
1305
1311
|
};
|
|
1306
|
-
platform_editor_are_nodes_equal_ignore_mark_order: {
|
|
1307
|
-
defaultValue: boolean;
|
|
1308
|
-
param: string;
|
|
1309
|
-
productKeys?: ProductKeys;
|
|
1310
|
-
typeGuard: IsBooleanType;
|
|
1311
|
-
};
|
|
1312
1312
|
platform_editor_remove_collab_step_metrics: {
|
|
1313
1313
|
defaultValue: boolean;
|
|
1314
1314
|
param: string;
|
|
@@ -1609,12 +1609,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1609
1609
|
productKeys?: ProductKeys;
|
|
1610
1610
|
typeGuard: IsBooleanType;
|
|
1611
1611
|
};
|
|
1612
|
-
platform_editor_show_diff_improvements: {
|
|
1613
|
-
defaultValue: boolean;
|
|
1614
|
-
param: string;
|
|
1615
|
-
productKeys?: ProductKeys;
|
|
1616
|
-
typeGuard: IsBooleanType;
|
|
1617
|
-
};
|
|
1618
1612
|
platform_editor_fix_sticky_header_malfunction: {
|
|
1619
1613
|
defaultValue: boolean;
|
|
1620
1614
|
param: string;
|
|
@@ -245,6 +245,12 @@ export declare const editorExperimentsConfig: {
|
|
|
245
245
|
productKeys?: ProductKeys;
|
|
246
246
|
typeGuard: IsBooleanType;
|
|
247
247
|
};
|
|
248
|
+
confluence_editor_paste_3p_link_actions_menu: {
|
|
249
|
+
defaultValue: boolean;
|
|
250
|
+
param: string;
|
|
251
|
+
productKeys?: ProductKeys;
|
|
252
|
+
typeGuard: IsBooleanType;
|
|
253
|
+
};
|
|
248
254
|
editor_tinymce_full_width_mode: {
|
|
249
255
|
defaultValue: boolean;
|
|
250
256
|
param: string;
|
|
@@ -1303,12 +1309,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1303
1309
|
productKeys?: ProductKeys;
|
|
1304
1310
|
typeGuard: IsBooleanType;
|
|
1305
1311
|
};
|
|
1306
|
-
platform_editor_are_nodes_equal_ignore_mark_order: {
|
|
1307
|
-
defaultValue: boolean;
|
|
1308
|
-
param: string;
|
|
1309
|
-
productKeys?: ProductKeys;
|
|
1310
|
-
typeGuard: IsBooleanType;
|
|
1311
|
-
};
|
|
1312
1312
|
platform_editor_remove_collab_step_metrics: {
|
|
1313
1313
|
defaultValue: boolean;
|
|
1314
1314
|
param: string;
|
|
@@ -1609,12 +1609,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1609
1609
|
productKeys?: ProductKeys;
|
|
1610
1610
|
typeGuard: IsBooleanType;
|
|
1611
1611
|
};
|
|
1612
|
-
platform_editor_show_diff_improvements: {
|
|
1613
|
-
defaultValue: boolean;
|
|
1614
|
-
param: string;
|
|
1615
|
-
productKeys?: ProductKeys;
|
|
1616
|
-
typeGuard: IsBooleanType;
|
|
1617
|
-
};
|
|
1618
1612
|
platform_editor_fix_sticky_header_malfunction: {
|
|
1619
1613
|
defaultValue: boolean;
|
|
1620
1614
|
param: string;
|
package/package.json
CHANGED