@atlaskit/tmp-editor-statsig 84.0.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 +7 -0
- package/dist/cjs/editor-experiments-test-utils.js +3 -3
- package/dist/cjs/experiments-config.js +8 -0
- package/dist/es2019/experiments-config.js +8 -0
- package/dist/esm/editor-experiments-test-utils.js +3 -3
- package/dist/esm/experiments-config.js +8 -0
- package/dist/types/experiments-config.d.ts +6 -0
- package/dist/types-ts4.5/experiments-config.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## 84.0.0
|
|
4
11
|
|
|
5
12
|
### Major 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: {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -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;
|
package/package.json
CHANGED