@atlaskit/tmp-editor-statsig 199.0.0 → 201.0.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 +19 -0
- package/dist/cjs/editor-experiment.js +1 -0
- package/dist/cjs/editor-experiments-test-utils.js +1 -1
- package/dist/cjs/exp-test-overrides.js +4 -7
- package/dist/cjs/experiments-config.js +1 -35
- package/dist/cjs/setup.js +2 -1
- package/dist/cjs/unstable-editor-experiment-param.js +1 -0
- package/dist/es2019/editor-experiment.js +1 -0
- package/dist/es2019/editor-experiments-test-utils.js +1 -1
- package/dist/es2019/exp-test-overrides.js +4 -7
- package/dist/es2019/expVal.js +1 -0
- package/dist/es2019/experiments-config.js +1 -35
- package/dist/es2019/experiments.js +1 -0
- package/dist/es2019/setup.js +2 -1
- package/dist/es2019/unstable-editor-experiment-param.js +1 -0
- package/dist/esm/editor-experiment.js +1 -0
- package/dist/esm/editor-experiments-test-utils.js +1 -1
- package/dist/esm/exp-test-overrides.js +4 -7
- package/dist/esm/expVal.js +1 -0
- package/dist/esm/experiments-config.js +1 -35
- package/dist/esm/experiments.js +1 -0
- package/dist/esm/setup.js +2 -1
- package/dist/esm/unstable-editor-experiment-param.js +1 -0
- package/dist/types/editor-experiments-test-utils.d.ts +1 -1
- package/dist/types/experiments-config.d.ts +0 -24
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 201.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`1e8d2aad8e882`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e8d2aad8e882) -
|
|
8
|
+
Remove the permanent `platform_editor_layout_typeahead_reorder` experiment and its temporary
|
|
9
|
+
Editor Statsig registration.
|
|
10
|
+
|
|
11
|
+
## 200.0.0
|
|
12
|
+
|
|
13
|
+
### Major Changes
|
|
14
|
+
|
|
15
|
+
- [`8d37dc7e55d62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8d37dc7e55d62) -
|
|
16
|
+
Clean up shipped experiment `platform_editor_block_menu`
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 199.0.0
|
|
4
23
|
|
|
5
24
|
### Major Changes
|
|
@@ -60,6 +60,7 @@ var _setup = require("./setup");
|
|
|
60
60
|
* It also closely aligns with similar utilities in other Atlassian products.
|
|
61
61
|
* For no exposure option use `expValEqualsNoExposure` from `@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure`.
|
|
62
62
|
*/
|
|
63
|
+
|
|
63
64
|
function editorExperiment(experimentName, expectedExperimentValue) {
|
|
64
65
|
var _experimentConfig$pro;
|
|
65
66
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
@@ -8,8 +8,8 @@ exports.eeTest = eeTest;
|
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
-
var _setup = require("./setup");
|
|
12
11
|
var _experimentsConfig = require("./experiments-config");
|
|
12
|
+
var _setup = require("./setup");
|
|
13
13
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
14
14
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
15
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -50,13 +50,10 @@ var testBooleanOverrides = exports.testBooleanOverrides = {
|
|
|
50
50
|
'cwr-reduce-prompt-suggestion-max-chars': false,
|
|
51
51
|
'cwr-staging-area-close-as-minimize-button': false,
|
|
52
52
|
prompt_tile_content_type_localizaiton: false,
|
|
53
|
-
// [CCI-15904] New AIFC Editor Experience —
|
|
54
|
-
// `
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
// `platform_editor_ai_replace_doc` as the AND partner; the unrelated
|
|
58
|
-
// `platform_editor_ai_replace_doc: false` override has been removed since
|
|
59
|
-
// it does not gate this feature.
|
|
53
|
+
// [CCI-15904] New AIFC Editor Experience — read by the inline chat prompt view
|
|
54
|
+
// in `conversation-assistant-chat-prompt-input`. Review moment eligibility is a
|
|
55
|
+
// separate check (`editor-plugin-ai/src/ui/utils/review-moment-enabled.ts`) and
|
|
56
|
+
// does not read this key.
|
|
60
57
|
platform_editor_ai_new_aifc_editor_experience: false,
|
|
61
58
|
cc_page_experiences_editor_image_generation: false,
|
|
62
59
|
platform_use_unicode_emojis: false,
|
|
@@ -14,7 +14,7 @@ var _createMultivariateExperiment = require("./create-multivariate-experiment");
|
|
|
14
14
|
|
|
15
15
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
16
16
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
17
|
-
var disallowsProductKeys = exports.disallowsProductKeys = ['
|
|
17
|
+
var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_blocks', 'platform_editor_controls', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc'];
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Extract valid expected values.
|
|
@@ -515,15 +515,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
515
515
|
param: 'isEnabled',
|
|
516
516
|
defaultValue: false
|
|
517
517
|
}),
|
|
518
|
-
// Added 2025--8-05
|
|
519
|
-
platform_editor_block_menu: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
520
|
-
productKeys: {
|
|
521
|
-
confluence: 'platform_editor_block_menu',
|
|
522
|
-
jira: 'platform_editor_blocks_jira'
|
|
523
|
-
},
|
|
524
|
-
param: 'isEnabled',
|
|
525
|
-
defaultValue: false
|
|
526
|
-
}),
|
|
527
518
|
// Added 2026-06-09
|
|
528
519
|
platform_editor_blocks: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
529
520
|
productKeys: {
|
|
@@ -944,22 +935,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
944
935
|
param: 'isEnabled',
|
|
945
936
|
defaultValue: false
|
|
946
937
|
}),
|
|
947
|
-
// Added 2026-02-19
|
|
948
|
-
platform_editor_flexible_list_indentation: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
949
|
-
productKeys: {
|
|
950
|
-
confluence: 'platform_editor_flexible_list_indentation'
|
|
951
|
-
},
|
|
952
|
-
param: 'isEnabled',
|
|
953
|
-
defaultValue: false
|
|
954
|
-
}),
|
|
955
|
-
// Added 2026-03-24
|
|
956
|
-
platform_editor_flexible_list_schema: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
957
|
-
productKeys: {
|
|
958
|
-
confluence: 'platform_editor_flexible_list_schema'
|
|
959
|
-
},
|
|
960
|
-
param: 'isEnabled',
|
|
961
|
-
defaultValue: false
|
|
962
|
-
}),
|
|
963
938
|
// Added 2026-02-24
|
|
964
939
|
platform_editor_emoji_default_scale: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
965
940
|
productKeys: {
|
|
@@ -1189,15 +1164,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1189
1164
|
param: 'isEnabled',
|
|
1190
1165
|
defaultValue: false
|
|
1191
1166
|
}),
|
|
1192
|
-
// Added 2026-05-21
|
|
1193
|
-
platform_editor_layout_typeahead_reorder: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
1194
|
-
productKeys: {
|
|
1195
|
-
confluence: 'platform_editor_layout_typeahead_reorder',
|
|
1196
|
-
jira: 'platform_editor_layout_typeahead_reorder'
|
|
1197
|
-
},
|
|
1198
|
-
param: 'isEnabled',
|
|
1199
|
-
defaultValue: false
|
|
1200
|
-
}),
|
|
1201
1167
|
// Added 2026-06-11
|
|
1202
1168
|
platform_editor_external_embed_grid_fix: (0, _createBooleanExperiment.createBooleanExperiment)({
|
|
1203
1169
|
productKeys: {
|
package/dist/cjs/setup.js
CHANGED
|
@@ -8,8 +8,8 @@ exports._product = exports._paramOverrides = exports._overrides = void 0;
|
|
|
8
8
|
exports.setupEditorExperiments = setupEditorExperiments;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
|
-
var _experimentsConfig = require("./experiments-config");
|
|
12
11
|
var _expTestOverrides = require("./exp-test-overrides");
|
|
12
|
+
var _experimentsConfig = require("./experiments-config");
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable @atlaskit/editor/no-re-export */ // Entry file in package.json
|
|
15
15
|
var _overrides = exports._overrides = {};
|
|
@@ -27,6 +27,7 @@ var _product;
|
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
+
|
|
30
31
|
function setupEditorExperiments(product,
|
|
31
32
|
/**
|
|
32
33
|
* Overrides are used to set the group of an experiment for testing purposes.
|
|
@@ -20,6 +20,7 @@ var _setup = require("./setup");
|
|
|
20
20
|
*
|
|
21
21
|
* The typeguard and default value is also expected to move to the experiment config
|
|
22
22
|
*/
|
|
23
|
+
|
|
23
24
|
function unstable_editorExperimentParam(experimentName, paramName, options) {
|
|
24
25
|
var _paramOverrides$exper, _options$exposure;
|
|
25
26
|
if (((_paramOverrides$exper = _setup._paramOverrides[experimentName]) === null || _paramOverrides$exper === void 0 ? void 0 : _paramOverrides$exper[paramName]) !== undefined) {
|
|
@@ -54,6 +54,7 @@ import { _overrides, _product } from './setup';
|
|
|
54
54
|
* It also closely aligns with similar utilities in other Atlassian products.
|
|
55
55
|
* For no exposure option use `expValEqualsNoExposure` from `@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure`.
|
|
56
56
|
*/
|
|
57
|
+
|
|
57
58
|
export function editorExperiment(experimentName, expectedExperimentValue, options = {
|
|
58
59
|
exposure: false
|
|
59
60
|
}) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
// This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
|
|
5
5
|
|
|
6
|
-
import { setupEditorExperiments } from './setup';
|
|
7
6
|
import { editorExperimentsConfig } from './experiments-config';
|
|
7
|
+
import { setupEditorExperiments } from './setup';
|
|
8
8
|
/**
|
|
9
9
|
* This is a utility function for testing editor experiments.
|
|
10
10
|
*
|
|
@@ -44,13 +44,10 @@ export const testBooleanOverrides = {
|
|
|
44
44
|
'cwr-reduce-prompt-suggestion-max-chars': false,
|
|
45
45
|
'cwr-staging-area-close-as-minimize-button': false,
|
|
46
46
|
prompt_tile_content_type_localizaiton: false,
|
|
47
|
-
// [CCI-15904] New AIFC Editor Experience —
|
|
48
|
-
// `
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
// `platform_editor_ai_replace_doc` as the AND partner; the unrelated
|
|
52
|
-
// `platform_editor_ai_replace_doc: false` override has been removed since
|
|
53
|
-
// it does not gate this feature.
|
|
47
|
+
// [CCI-15904] New AIFC Editor Experience — read by the inline chat prompt view
|
|
48
|
+
// in `conversation-assistant-chat-prompt-input`. Review moment eligibility is a
|
|
49
|
+
// separate check (`editor-plugin-ai/src/ui/utils/review-moment-enabled.ts`) and
|
|
50
|
+
// does not read this key.
|
|
54
51
|
platform_editor_ai_new_aifc_editor_experience: false,
|
|
55
52
|
cc_page_experiences_editor_image_generation: false,
|
|
56
53
|
platform_use_unicode_emojis: false,
|
package/dist/es2019/expVal.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
2
|
/* eslint-disable @atlaskit/editor/no-re-export -- deprecated shims re-exporting the split `expVal`/`expValNoExposure` modules for backwards compatibility (VOLTC-139). */
|
|
3
|
+
|
|
3
4
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
4
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
6
|
import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
|
|
@@ -8,7 +8,7 @@ import { createMultivariateExperiment } from './create-multivariate-experiment';
|
|
|
8
8
|
|
|
9
9
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
10
10
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
11
|
-
export const disallowsProductKeys = ['
|
|
11
|
+
export const disallowsProductKeys = ['platform_editor_blocks', 'platform_editor_controls', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc'];
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Extract valid expected values.
|
|
@@ -509,15 +509,6 @@ export const editorExperimentsConfig = {
|
|
|
509
509
|
param: 'isEnabled',
|
|
510
510
|
defaultValue: false
|
|
511
511
|
}),
|
|
512
|
-
// Added 2025--8-05
|
|
513
|
-
platform_editor_block_menu: createBooleanExperiment({
|
|
514
|
-
productKeys: {
|
|
515
|
-
confluence: 'platform_editor_block_menu',
|
|
516
|
-
jira: 'platform_editor_blocks_jira'
|
|
517
|
-
},
|
|
518
|
-
param: 'isEnabled',
|
|
519
|
-
defaultValue: false
|
|
520
|
-
}),
|
|
521
512
|
// Added 2026-06-09
|
|
522
513
|
platform_editor_blocks: createBooleanExperiment({
|
|
523
514
|
productKeys: {
|
|
@@ -938,22 +929,6 @@ export const editorExperimentsConfig = {
|
|
|
938
929
|
param: 'isEnabled',
|
|
939
930
|
defaultValue: false
|
|
940
931
|
}),
|
|
941
|
-
// Added 2026-02-19
|
|
942
|
-
platform_editor_flexible_list_indentation: createBooleanExperiment({
|
|
943
|
-
productKeys: {
|
|
944
|
-
confluence: 'platform_editor_flexible_list_indentation'
|
|
945
|
-
},
|
|
946
|
-
param: 'isEnabled',
|
|
947
|
-
defaultValue: false
|
|
948
|
-
}),
|
|
949
|
-
// Added 2026-03-24
|
|
950
|
-
platform_editor_flexible_list_schema: createBooleanExperiment({
|
|
951
|
-
productKeys: {
|
|
952
|
-
confluence: 'platform_editor_flexible_list_schema'
|
|
953
|
-
},
|
|
954
|
-
param: 'isEnabled',
|
|
955
|
-
defaultValue: false
|
|
956
|
-
}),
|
|
957
932
|
// Added 2026-02-24
|
|
958
933
|
platform_editor_emoji_default_scale: createBooleanExperiment({
|
|
959
934
|
productKeys: {
|
|
@@ -1183,15 +1158,6 @@ export const editorExperimentsConfig = {
|
|
|
1183
1158
|
param: 'isEnabled',
|
|
1184
1159
|
defaultValue: false
|
|
1185
1160
|
}),
|
|
1186
|
-
// Added 2026-05-21
|
|
1187
|
-
platform_editor_layout_typeahead_reorder: createBooleanExperiment({
|
|
1188
|
-
productKeys: {
|
|
1189
|
-
confluence: 'platform_editor_layout_typeahead_reorder',
|
|
1190
|
-
jira: 'platform_editor_layout_typeahead_reorder'
|
|
1191
|
-
},
|
|
1192
|
-
param: 'isEnabled',
|
|
1193
|
-
defaultValue: false
|
|
1194
|
-
}),
|
|
1195
1161
|
// Added 2026-06-11
|
|
1196
1162
|
platform_editor_external_embed_grid_fix: createBooleanExperiment({
|
|
1197
1163
|
productKeys: {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use `import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments'` instead.
|
|
7
7
|
*/
|
|
8
|
+
|
|
8
9
|
export { editorExperiment } from './editor-experiment';
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated Use `import { unstable_editorExperimentParam } from '@atlaskit/tmp-editor-statsig/experiments'` instead.
|
package/dist/es2019/setup.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
2
2
|
// Entry file in package.json
|
|
3
3
|
|
|
4
|
-
import { editorExperimentsConfig } from './experiments-config';
|
|
5
4
|
import { testBooleanOverrides, testMultivariateOverrides } from './exp-test-overrides';
|
|
5
|
+
import { editorExperimentsConfig } from './experiments-config';
|
|
6
6
|
export let _overrides = {};
|
|
7
7
|
export let _paramOverrides = {};
|
|
8
8
|
export let _product;
|
|
@@ -18,6 +18,7 @@ export let _product;
|
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
+
|
|
21
22
|
export function setupEditorExperiments(product,
|
|
22
23
|
/**
|
|
23
24
|
* Overrides are used to set the group of an experiment for testing purposes.
|
|
@@ -14,6 +14,7 @@ import { _paramOverrides } from './setup';
|
|
|
14
14
|
*
|
|
15
15
|
* The typeguard and default value is also expected to move to the experiment config
|
|
16
16
|
*/
|
|
17
|
+
|
|
17
18
|
export function unstable_editorExperimentParam(experimentName, paramName, options) {
|
|
18
19
|
var _paramOverrides$exper, _options$exposure;
|
|
19
20
|
if (((_paramOverrides$exper = _paramOverrides[experimentName]) === null || _paramOverrides$exper === void 0 ? void 0 : _paramOverrides$exper[paramName]) !== undefined) {
|
|
@@ -54,6 +54,7 @@ import { _overrides, _product } from './setup';
|
|
|
54
54
|
* It also closely aligns with similar utilities in other Atlassian products.
|
|
55
55
|
* For no exposure option use `expValEqualsNoExposure` from `@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure`.
|
|
56
56
|
*/
|
|
57
|
+
|
|
57
58
|
export function editorExperiment(experimentName, expectedExperimentValue) {
|
|
58
59
|
var _experimentConfig$pro;
|
|
59
60
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
@@ -11,8 +11,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
|
|
12
12
|
// This is loosely based on the `ffTest` util from `@atlassian/feature-flags-test-utils` package.
|
|
13
13
|
|
|
14
|
-
import { setupEditorExperiments } from './setup';
|
|
15
14
|
import { editorExperimentsConfig } from './experiments-config';
|
|
15
|
+
import { setupEditorExperiments } from './setup';
|
|
16
16
|
/**
|
|
17
17
|
* This is a utility function for testing editor experiments.
|
|
18
18
|
*
|
|
@@ -44,13 +44,10 @@ export var testBooleanOverrides = {
|
|
|
44
44
|
'cwr-reduce-prompt-suggestion-max-chars': false,
|
|
45
45
|
'cwr-staging-area-close-as-minimize-button': false,
|
|
46
46
|
prompt_tile_content_type_localizaiton: false,
|
|
47
|
-
// [CCI-15904] New AIFC Editor Experience —
|
|
48
|
-
// `
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
// `platform_editor_ai_replace_doc` as the AND partner; the unrelated
|
|
52
|
-
// `platform_editor_ai_replace_doc: false` override has been removed since
|
|
53
|
-
// it does not gate this feature.
|
|
47
|
+
// [CCI-15904] New AIFC Editor Experience — read by the inline chat prompt view
|
|
48
|
+
// in `conversation-assistant-chat-prompt-input`. Review moment eligibility is a
|
|
49
|
+
// separate check (`editor-plugin-ai/src/ui/utils/review-moment-enabled.ts`) and
|
|
50
|
+
// does not read this key.
|
|
54
51
|
platform_editor_ai_new_aifc_editor_experience: false,
|
|
55
52
|
cc_page_experiences_editor_image_generation: false,
|
|
56
53
|
platform_use_unicode_emojis: false,
|
package/dist/esm/expVal.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
2
|
/* eslint-disable @atlaskit/editor/no-re-export -- deprecated shims re-exporting the split `expVal`/`expValNoExposure` modules for backwards compatibility (VOLTC-139). */
|
|
3
|
+
|
|
3
4
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
4
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
6
|
import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
|
|
@@ -8,7 +8,7 @@ import { createMultivariateExperiment } from './create-multivariate-experiment';
|
|
|
8
8
|
|
|
9
9
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
10
10
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
11
|
-
export var disallowsProductKeys = ['
|
|
11
|
+
export var disallowsProductKeys = ['platform_editor_blocks', 'platform_editor_controls', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc'];
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Extract valid expected values.
|
|
@@ -509,15 +509,6 @@ export var editorExperimentsConfig = {
|
|
|
509
509
|
param: 'isEnabled',
|
|
510
510
|
defaultValue: false
|
|
511
511
|
}),
|
|
512
|
-
// Added 2025--8-05
|
|
513
|
-
platform_editor_block_menu: createBooleanExperiment({
|
|
514
|
-
productKeys: {
|
|
515
|
-
confluence: 'platform_editor_block_menu',
|
|
516
|
-
jira: 'platform_editor_blocks_jira'
|
|
517
|
-
},
|
|
518
|
-
param: 'isEnabled',
|
|
519
|
-
defaultValue: false
|
|
520
|
-
}),
|
|
521
512
|
// Added 2026-06-09
|
|
522
513
|
platform_editor_blocks: createBooleanExperiment({
|
|
523
514
|
productKeys: {
|
|
@@ -938,22 +929,6 @@ export var editorExperimentsConfig = {
|
|
|
938
929
|
param: 'isEnabled',
|
|
939
930
|
defaultValue: false
|
|
940
931
|
}),
|
|
941
|
-
// Added 2026-02-19
|
|
942
|
-
platform_editor_flexible_list_indentation: createBooleanExperiment({
|
|
943
|
-
productKeys: {
|
|
944
|
-
confluence: 'platform_editor_flexible_list_indentation'
|
|
945
|
-
},
|
|
946
|
-
param: 'isEnabled',
|
|
947
|
-
defaultValue: false
|
|
948
|
-
}),
|
|
949
|
-
// Added 2026-03-24
|
|
950
|
-
platform_editor_flexible_list_schema: createBooleanExperiment({
|
|
951
|
-
productKeys: {
|
|
952
|
-
confluence: 'platform_editor_flexible_list_schema'
|
|
953
|
-
},
|
|
954
|
-
param: 'isEnabled',
|
|
955
|
-
defaultValue: false
|
|
956
|
-
}),
|
|
957
932
|
// Added 2026-02-24
|
|
958
933
|
platform_editor_emoji_default_scale: createBooleanExperiment({
|
|
959
934
|
productKeys: {
|
|
@@ -1183,15 +1158,6 @@ export var editorExperimentsConfig = {
|
|
|
1183
1158
|
param: 'isEnabled',
|
|
1184
1159
|
defaultValue: false
|
|
1185
1160
|
}),
|
|
1186
|
-
// Added 2026-05-21
|
|
1187
|
-
platform_editor_layout_typeahead_reorder: createBooleanExperiment({
|
|
1188
|
-
productKeys: {
|
|
1189
|
-
confluence: 'platform_editor_layout_typeahead_reorder',
|
|
1190
|
-
jira: 'platform_editor_layout_typeahead_reorder'
|
|
1191
|
-
},
|
|
1192
|
-
param: 'isEnabled',
|
|
1193
|
-
defaultValue: false
|
|
1194
|
-
}),
|
|
1195
1161
|
// Added 2026-06-11
|
|
1196
1162
|
platform_editor_external_embed_grid_fix: createBooleanExperiment({
|
|
1197
1163
|
productKeys: {
|
package/dist/esm/experiments.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use `import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments'` instead.
|
|
7
7
|
*/
|
|
8
|
+
|
|
8
9
|
export { editorExperiment } from './editor-experiment';
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated Use `import { unstable_editorExperimentParam } from '@atlaskit/tmp-editor-statsig/experiments'` instead.
|
package/dist/esm/setup.js
CHANGED
|
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
6
6
|
// Entry file in package.json
|
|
7
7
|
|
|
8
|
-
import { editorExperimentsConfig } from './experiments-config';
|
|
9
8
|
import { testBooleanOverrides, testMultivariateOverrides } from './exp-test-overrides';
|
|
9
|
+
import { editorExperimentsConfig } from './experiments-config';
|
|
10
10
|
export var _overrides = {};
|
|
11
11
|
export var _paramOverrides = {};
|
|
12
12
|
export var _product;
|
|
@@ -22,6 +22,7 @@ export var _product;
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
+
|
|
25
26
|
export function setupEditorExperiments(product,
|
|
26
27
|
/**
|
|
27
28
|
* Overrides are used to set the group of an experiment for testing purposes.
|
|
@@ -14,6 +14,7 @@ import { _paramOverrides } from './setup';
|
|
|
14
14
|
*
|
|
15
15
|
* The typeguard and default value is also expected to move to the experiment config
|
|
16
16
|
*/
|
|
17
|
+
|
|
17
18
|
export function unstable_editorExperimentParam(experimentName, paramName, options) {
|
|
18
19
|
var _paramOverrides$exper, _options$exposure;
|
|
19
20
|
if (((_paramOverrides$exper = _paramOverrides[experimentName]) === null || _paramOverrides$exper === void 0 ? void 0 : _paramOverrides$exper[paramName]) !== undefined) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EditorExperimentOverrides } from './setup';
|
|
2
1
|
import type { EditorExperimentsConfig } from './experiments-config';
|
|
2
|
+
import type { EditorExperimentOverrides } from './setup';
|
|
3
3
|
type DescribeBody = Parameters<typeof describe>[1];
|
|
4
4
|
/**
|
|
5
5
|
* This is a utility function for testing editor experiments.
|
|
@@ -297,12 +297,6 @@ export declare const editorExperimentsConfig: {
|
|
|
297
297
|
productKeys?: ProductKeys;
|
|
298
298
|
typeGuard: IsBooleanType;
|
|
299
299
|
};
|
|
300
|
-
platform_editor_block_menu: {
|
|
301
|
-
defaultValue: boolean;
|
|
302
|
-
param: string;
|
|
303
|
-
productKeys?: ProductKeys;
|
|
304
|
-
typeGuard: IsBooleanType;
|
|
305
|
-
};
|
|
306
300
|
platform_editor_blocks: {
|
|
307
301
|
defaultValue: boolean;
|
|
308
302
|
param: string;
|
|
@@ -625,12 +619,6 @@ export declare const editorExperimentsConfig: {
|
|
|
625
619
|
productKeys?: ProductKeys;
|
|
626
620
|
typeGuard: IsBooleanType;
|
|
627
621
|
};
|
|
628
|
-
platform_editor_layout_typeahead_reorder: {
|
|
629
|
-
defaultValue: boolean;
|
|
630
|
-
param: string;
|
|
631
|
-
productKeys?: ProductKeys;
|
|
632
|
-
typeGuard: IsBooleanType;
|
|
633
|
-
};
|
|
634
622
|
cc_page_experiences_editor_image_generation: {
|
|
635
623
|
defaultValue: boolean;
|
|
636
624
|
param: string;
|
|
@@ -734,18 +722,6 @@ export declare const editorExperimentsConfig: {
|
|
|
734
722
|
productKeys?: ProductKeys;
|
|
735
723
|
typeGuard: IsBooleanType;
|
|
736
724
|
};
|
|
737
|
-
platform_editor_flexible_list_indentation: {
|
|
738
|
-
defaultValue: boolean;
|
|
739
|
-
param: string;
|
|
740
|
-
productKeys?: ProductKeys;
|
|
741
|
-
typeGuard: IsBooleanType;
|
|
742
|
-
};
|
|
743
|
-
platform_editor_flexible_list_schema: {
|
|
744
|
-
defaultValue: boolean;
|
|
745
|
-
param: string;
|
|
746
|
-
productKeys?: ProductKeys;
|
|
747
|
-
typeGuard: IsBooleanType;
|
|
748
|
-
};
|
|
749
725
|
platform_editor_vc90_transition_panel_icon: {
|
|
750
726
|
defaultValue: boolean;
|
|
751
727
|
param: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "201.0.0",
|
|
4
4
|
"description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
29
29
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
30
|
-
"@atlaskit/react-ufo": "^7.
|
|
30
|
+
"@atlaskit/react-ufo": "^7.13.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0"
|
|
32
32
|
},
|
|
33
33
|
"platform-feature-flags": {
|