@atlaskit/tmp-editor-statsig 128.0.0 → 130.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 +34 -0
- package/dist/cjs/dynamic-config-boolean-value.js +36 -0
- package/dist/cjs/experiments-config.js +22 -32
- package/dist/es2019/dynamic-config-boolean-value.js +28 -0
- package/dist/es2019/experiments-config.js +22 -32
- package/dist/esm/dynamic-config-boolean-value.js +29 -0
- package/dist/esm/experiments-config.js +22 -32
- package/dist/types/dynamic-config-boolean-value.d.ts +9 -0
- package/dist/types/experiments-config.d.ts +18 -24
- package/dynamic-config-boolean-value/package.json +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 130.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`d72a5eb291763`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d72a5eb291763) -
|
|
8
|
+
Clean up experiment `platform_editor_table_in_panel_paste_fallback`
|
|
9
|
+
- [`0a6b16efd7f45`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a6b16efd7f45) -
|
|
10
|
+
Clean up sticky header patch feature gates and experiments.
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`9626a6330a844`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9626a6330a844) -
|
|
15
|
+
Add the `platform_editor_fix_ai_streaming_race` experiment to wait for terminal AI streaming
|
|
16
|
+
events before completing queued actions.
|
|
17
|
+
- [`df742d76d83c0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df742d76d83c0) -
|
|
18
|
+
Rely on the backend isSafetyViolation flag to publish aiMateRemixRegenerate operational metrics as
|
|
19
|
+
a success rather than a taskFail when infographic/image generation is blocked by safety/AUP
|
|
20
|
+
guidelines, reducing metric noise. Guarded by the `platform_editor_ai_remix_safety_violation`
|
|
21
|
+
Statsig dynamic config, which acts as a killswitch (read via the new `dynamicConfigBooleanValue`
|
|
22
|
+
helper in `@atlaskit/tmp-editor-statsig`) so the new path can be enabled/disabled at runtime
|
|
23
|
+
without a code change or experiment rollout.
|
|
24
|
+
|
|
25
|
+
## 129.0.0
|
|
26
|
+
|
|
27
|
+
### Major Changes
|
|
28
|
+
|
|
29
|
+
- [`1be28a8784c5c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1be28a8784c5c) -
|
|
30
|
+
Clean up experiment `platform_editor_show_diff_fix_missing_attrs`
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- [`862702aa18c98`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/862702aa18c98) -
|
|
35
|
+
Remove redundant primary toolbar aria-label
|
|
36
|
+
|
|
3
37
|
## 128.0.0
|
|
4
38
|
|
|
5
39
|
### Major Changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.dynamicConfigBooleanValue = dynamicConfigBooleanValue;
|
|
8
|
+
var _featureGates = _interopRequireDefault(require("@atlaskit/feature-gate-js-client/feature-gates"));
|
|
9
|
+
var BOOLEAN_CONFIG_KEY = 'value';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Reads a boolean flag (stored under the `value` key) from a Statsig dynamic
|
|
13
|
+
* config, returning `defaultValue` when the client is not ready, the config is
|
|
14
|
+
* missing, or the value is not a boolean.
|
|
15
|
+
*
|
|
16
|
+
* Use this for a dynamic-config-backed kill switch, e.g.
|
|
17
|
+
* `dynamicConfigBooleanValue('platform_editor_ai_remix_safety_violation')`.
|
|
18
|
+
*/
|
|
19
|
+
function dynamicConfigBooleanValue(configName) {
|
|
20
|
+
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
21
|
+
if (!_featureGates.default.initializeCompleted()) {
|
|
22
|
+
return defaultValue;
|
|
23
|
+
}
|
|
24
|
+
try {
|
|
25
|
+
// Dynamic configs are exposed through the same client surface as experiments.
|
|
26
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
27
|
+
var config = _featureGates.default.getExperiment(configName);
|
|
28
|
+
var candidate = config.value[BOOLEAN_CONFIG_KEY];
|
|
29
|
+
if (typeof candidate !== 'boolean') {
|
|
30
|
+
return defaultValue;
|
|
31
|
+
}
|
|
32
|
+
return candidate;
|
|
33
|
+
} catch (_unused) {
|
|
34
|
+
return defaultValue;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -99,6 +99,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
99
99
|
param: 'isEnabled',
|
|
100
100
|
defaultValue: false
|
|
101
101
|
}),
|
|
102
|
+
// Added 2026-07-20
|
|
103
|
+
'editor_a11y__primary-toolbar-aria-label_fy27': (0, _experimentBuilders.createBooleanExperiment)({
|
|
104
|
+
productKeys: {
|
|
105
|
+
confluence: 'editor_a11y__primary-toolbar-aria-label_fy27',
|
|
106
|
+
jira: 'editor_a11y__primary-toolbar-aria-label_fy27'
|
|
107
|
+
},
|
|
108
|
+
param: 'isEnabled',
|
|
109
|
+
defaultValue: false
|
|
110
|
+
}),
|
|
102
111
|
// Added 2026-06-19
|
|
103
112
|
'enghealth-53346_fix_redaction_marker_editor': (0, _experimentBuilders.createBooleanExperiment)({
|
|
104
113
|
productKeys: {
|
|
@@ -259,14 +268,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
259
268
|
values: ['control', 'test'],
|
|
260
269
|
defaultValue: 'control'
|
|
261
270
|
}),
|
|
262
|
-
// Added 2026-01-7
|
|
263
|
-
platform_editor_table_sticky_header_patch_10: (0, _experimentBuilders.createBooleanExperiment)({
|
|
264
|
-
productKeys: {
|
|
265
|
-
confluence: 'platform_editor_table_sticky_header_patch_10'
|
|
266
|
-
},
|
|
267
|
-
param: 'isEnabled',
|
|
268
|
-
defaultValue: false
|
|
269
|
-
}),
|
|
270
271
|
// Added 2025-11-17
|
|
271
272
|
platform_editor_renderer_extension_width_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
272
273
|
productKeys: {
|
|
@@ -375,6 +376,11 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
375
376
|
param: 'isEnabled',
|
|
376
377
|
defaultValue: false
|
|
377
378
|
}),
|
|
379
|
+
// Added 2026-07-20
|
|
380
|
+
platform_editor_table_sticky_header_patch_12: (0, _experimentBuilders.createBooleanExperiment)({
|
|
381
|
+
param: 'isEnabled',
|
|
382
|
+
defaultValue: false
|
|
383
|
+
}),
|
|
378
384
|
// Added 2026-01-05
|
|
379
385
|
'company_hub_carousel_thumbnails-refactor': (0, _experimentBuilders.createBooleanExperiment)({
|
|
380
386
|
productKeys: {
|
|
@@ -1161,14 +1167,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1161
1167
|
param: 'isEnabled',
|
|
1162
1168
|
defaultValue: false
|
|
1163
1169
|
}),
|
|
1164
|
-
// Added 2025-12-30
|
|
1165
|
-
platform_editor_table_sticky_header_patch_9: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1166
|
-
productKeys: {
|
|
1167
|
-
confluence: 'platform_editor_table_sticky_header_patch_9'
|
|
1168
|
-
},
|
|
1169
|
-
param: 'isEnabled',
|
|
1170
|
-
defaultValue: false
|
|
1171
|
-
}),
|
|
1172
1170
|
// Added 2026-04-13
|
|
1173
1171
|
platform_editor_hide_extension_renderer_support: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1174
1172
|
productKeys: {
|
|
@@ -1323,6 +1321,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1323
1321
|
param: 'isEnabled',
|
|
1324
1322
|
defaultValue: false
|
|
1325
1323
|
}),
|
|
1324
|
+
// Added 2026-07-20
|
|
1325
|
+
platform_editor_fix_ai_streaming_race: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1326
|
+
productKeys: {
|
|
1327
|
+
confluence: 'platform_editor_fix_ai_streaming_race'
|
|
1328
|
+
},
|
|
1329
|
+
param: 'isEnabled',
|
|
1330
|
+
defaultValue: false
|
|
1331
|
+
}),
|
|
1326
1332
|
// Added 2026-02-12
|
|
1327
1333
|
platform_editor_bodiedextension_layoutshift_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1328
1334
|
productKeys: {
|
|
@@ -2196,14 +2202,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2196
2202
|
values: ['control', 'hasSpellingAndGrammar', 'hasAltAiActions'],
|
|
2197
2203
|
defaultValue: 'control'
|
|
2198
2204
|
}),
|
|
2199
|
-
// Added 2026-05-04
|
|
2200
|
-
platform_editor_show_diff_fix_missing_attrs: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2201
|
-
productKeys: {
|
|
2202
|
-
confluence: 'platform_editor_show_diff_fix_missing_attrs'
|
|
2203
|
-
},
|
|
2204
|
-
param: 'isEnabled',
|
|
2205
|
-
defaultValue: false
|
|
2206
|
-
}),
|
|
2207
2205
|
// Added 2026-05-01 — Social proof experiment for unauthorized 3P block cards
|
|
2208
2206
|
social_proof_3p_unauth_block_exp: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2209
2207
|
productKeys: {
|
|
@@ -2238,14 +2236,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2238
2236
|
param: 'isEnabled',
|
|
2239
2237
|
defaultValue: false
|
|
2240
2238
|
}),
|
|
2241
|
-
// Added 2026-06-01
|
|
2242
|
-
platform_editor_table_in_panel_paste_fallback: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2243
|
-
productKeys: {
|
|
2244
|
-
confluence: 'platform_editor_table_in_panel_paste_fallback'
|
|
2245
|
-
},
|
|
2246
|
-
param: 'isEnabled',
|
|
2247
|
-
defaultValue: false
|
|
2248
|
-
}),
|
|
2249
2239
|
// Added 2026-05-20
|
|
2250
2240
|
platform_editor_default_toolbar_state: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2251
2241
|
productKeys: {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
2
|
+
const BOOLEAN_CONFIG_KEY = 'value';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Reads a boolean flag (stored under the `value` key) from a Statsig dynamic
|
|
6
|
+
* config, returning `defaultValue` when the client is not ready, the config is
|
|
7
|
+
* missing, or the value is not a boolean.
|
|
8
|
+
*
|
|
9
|
+
* Use this for a dynamic-config-backed kill switch, e.g.
|
|
10
|
+
* `dynamicConfigBooleanValue('platform_editor_ai_remix_safety_violation')`.
|
|
11
|
+
*/
|
|
12
|
+
export function dynamicConfigBooleanValue(configName, defaultValue = false) {
|
|
13
|
+
if (!FeatureGates.initializeCompleted()) {
|
|
14
|
+
return defaultValue;
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
// Dynamic configs are exposed through the same client surface as experiments.
|
|
18
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
19
|
+
const config = FeatureGates.getExperiment(configName);
|
|
20
|
+
const candidate = config.value[BOOLEAN_CONFIG_KEY];
|
|
21
|
+
if (typeof candidate !== 'boolean') {
|
|
22
|
+
return defaultValue;
|
|
23
|
+
}
|
|
24
|
+
return candidate;
|
|
25
|
+
} catch {
|
|
26
|
+
return defaultValue;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -93,6 +93,15 @@ export const editorExperimentsConfig = {
|
|
|
93
93
|
param: 'isEnabled',
|
|
94
94
|
defaultValue: false
|
|
95
95
|
}),
|
|
96
|
+
// Added 2026-07-20
|
|
97
|
+
'editor_a11y__primary-toolbar-aria-label_fy27': createBooleanExperiment({
|
|
98
|
+
productKeys: {
|
|
99
|
+
confluence: 'editor_a11y__primary-toolbar-aria-label_fy27',
|
|
100
|
+
jira: 'editor_a11y__primary-toolbar-aria-label_fy27'
|
|
101
|
+
},
|
|
102
|
+
param: 'isEnabled',
|
|
103
|
+
defaultValue: false
|
|
104
|
+
}),
|
|
96
105
|
// Added 2026-06-19
|
|
97
106
|
'enghealth-53346_fix_redaction_marker_editor': createBooleanExperiment({
|
|
98
107
|
productKeys: {
|
|
@@ -253,14 +262,6 @@ export const editorExperimentsConfig = {
|
|
|
253
262
|
values: ['control', 'test'],
|
|
254
263
|
defaultValue: 'control'
|
|
255
264
|
}),
|
|
256
|
-
// Added 2026-01-7
|
|
257
|
-
platform_editor_table_sticky_header_patch_10: createBooleanExperiment({
|
|
258
|
-
productKeys: {
|
|
259
|
-
confluence: 'platform_editor_table_sticky_header_patch_10'
|
|
260
|
-
},
|
|
261
|
-
param: 'isEnabled',
|
|
262
|
-
defaultValue: false
|
|
263
|
-
}),
|
|
264
265
|
// Added 2025-11-17
|
|
265
266
|
platform_editor_renderer_extension_width_fix: createBooleanExperiment({
|
|
266
267
|
productKeys: {
|
|
@@ -369,6 +370,11 @@ export const editorExperimentsConfig = {
|
|
|
369
370
|
param: 'isEnabled',
|
|
370
371
|
defaultValue: false
|
|
371
372
|
}),
|
|
373
|
+
// Added 2026-07-20
|
|
374
|
+
platform_editor_table_sticky_header_patch_12: createBooleanExperiment({
|
|
375
|
+
param: 'isEnabled',
|
|
376
|
+
defaultValue: false
|
|
377
|
+
}),
|
|
372
378
|
// Added 2026-01-05
|
|
373
379
|
'company_hub_carousel_thumbnails-refactor': createBooleanExperiment({
|
|
374
380
|
productKeys: {
|
|
@@ -1155,14 +1161,6 @@ export const editorExperimentsConfig = {
|
|
|
1155
1161
|
param: 'isEnabled',
|
|
1156
1162
|
defaultValue: false
|
|
1157
1163
|
}),
|
|
1158
|
-
// Added 2025-12-30
|
|
1159
|
-
platform_editor_table_sticky_header_patch_9: createBooleanExperiment({
|
|
1160
|
-
productKeys: {
|
|
1161
|
-
confluence: 'platform_editor_table_sticky_header_patch_9'
|
|
1162
|
-
},
|
|
1163
|
-
param: 'isEnabled',
|
|
1164
|
-
defaultValue: false
|
|
1165
|
-
}),
|
|
1166
1164
|
// Added 2026-04-13
|
|
1167
1165
|
platform_editor_hide_extension_renderer_support: createBooleanExperiment({
|
|
1168
1166
|
productKeys: {
|
|
@@ -1317,6 +1315,14 @@ export const editorExperimentsConfig = {
|
|
|
1317
1315
|
param: 'isEnabled',
|
|
1318
1316
|
defaultValue: false
|
|
1319
1317
|
}),
|
|
1318
|
+
// Added 2026-07-20
|
|
1319
|
+
platform_editor_fix_ai_streaming_race: createBooleanExperiment({
|
|
1320
|
+
productKeys: {
|
|
1321
|
+
confluence: 'platform_editor_fix_ai_streaming_race'
|
|
1322
|
+
},
|
|
1323
|
+
param: 'isEnabled',
|
|
1324
|
+
defaultValue: false
|
|
1325
|
+
}),
|
|
1320
1326
|
// Added 2026-02-12
|
|
1321
1327
|
platform_editor_bodiedextension_layoutshift_fix: createBooleanExperiment({
|
|
1322
1328
|
productKeys: {
|
|
@@ -2190,14 +2196,6 @@ export const editorExperimentsConfig = {
|
|
|
2190
2196
|
values: ['control', 'hasSpellingAndGrammar', 'hasAltAiActions'],
|
|
2191
2197
|
defaultValue: 'control'
|
|
2192
2198
|
}),
|
|
2193
|
-
// Added 2026-05-04
|
|
2194
|
-
platform_editor_show_diff_fix_missing_attrs: createBooleanExperiment({
|
|
2195
|
-
productKeys: {
|
|
2196
|
-
confluence: 'platform_editor_show_diff_fix_missing_attrs'
|
|
2197
|
-
},
|
|
2198
|
-
param: 'isEnabled',
|
|
2199
|
-
defaultValue: false
|
|
2200
|
-
}),
|
|
2201
2199
|
// Added 2026-05-01 — Social proof experiment for unauthorized 3P block cards
|
|
2202
2200
|
social_proof_3p_unauth_block_exp: createBooleanExperiment({
|
|
2203
2201
|
productKeys: {
|
|
@@ -2232,14 +2230,6 @@ export const editorExperimentsConfig = {
|
|
|
2232
2230
|
param: 'isEnabled',
|
|
2233
2231
|
defaultValue: false
|
|
2234
2232
|
}),
|
|
2235
|
-
// Added 2026-06-01
|
|
2236
|
-
platform_editor_table_in_panel_paste_fallback: createBooleanExperiment({
|
|
2237
|
-
productKeys: {
|
|
2238
|
-
confluence: 'platform_editor_table_in_panel_paste_fallback'
|
|
2239
|
-
},
|
|
2240
|
-
param: 'isEnabled',
|
|
2241
|
-
defaultValue: false
|
|
2242
|
-
}),
|
|
2243
2233
|
// Added 2026-05-20
|
|
2244
2234
|
platform_editor_default_toolbar_state: createBooleanExperiment({
|
|
2245
2235
|
productKeys: {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
2
|
+
var BOOLEAN_CONFIG_KEY = 'value';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Reads a boolean flag (stored under the `value` key) from a Statsig dynamic
|
|
6
|
+
* config, returning `defaultValue` when the client is not ready, the config is
|
|
7
|
+
* missing, or the value is not a boolean.
|
|
8
|
+
*
|
|
9
|
+
* Use this for a dynamic-config-backed kill switch, e.g.
|
|
10
|
+
* `dynamicConfigBooleanValue('platform_editor_ai_remix_safety_violation')`.
|
|
11
|
+
*/
|
|
12
|
+
export function dynamicConfigBooleanValue(configName) {
|
|
13
|
+
var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
14
|
+
if (!FeatureGates.initializeCompleted()) {
|
|
15
|
+
return defaultValue;
|
|
16
|
+
}
|
|
17
|
+
try {
|
|
18
|
+
// Dynamic configs are exposed through the same client surface as experiments.
|
|
19
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
20
|
+
var config = FeatureGates.getExperiment(configName);
|
|
21
|
+
var candidate = config.value[BOOLEAN_CONFIG_KEY];
|
|
22
|
+
if (typeof candidate !== 'boolean') {
|
|
23
|
+
return defaultValue;
|
|
24
|
+
}
|
|
25
|
+
return candidate;
|
|
26
|
+
} catch (_unused) {
|
|
27
|
+
return defaultValue;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -93,6 +93,15 @@ export var editorExperimentsConfig = {
|
|
|
93
93
|
param: 'isEnabled',
|
|
94
94
|
defaultValue: false
|
|
95
95
|
}),
|
|
96
|
+
// Added 2026-07-20
|
|
97
|
+
'editor_a11y__primary-toolbar-aria-label_fy27': createBooleanExperiment({
|
|
98
|
+
productKeys: {
|
|
99
|
+
confluence: 'editor_a11y__primary-toolbar-aria-label_fy27',
|
|
100
|
+
jira: 'editor_a11y__primary-toolbar-aria-label_fy27'
|
|
101
|
+
},
|
|
102
|
+
param: 'isEnabled',
|
|
103
|
+
defaultValue: false
|
|
104
|
+
}),
|
|
96
105
|
// Added 2026-06-19
|
|
97
106
|
'enghealth-53346_fix_redaction_marker_editor': createBooleanExperiment({
|
|
98
107
|
productKeys: {
|
|
@@ -253,14 +262,6 @@ export var editorExperimentsConfig = {
|
|
|
253
262
|
values: ['control', 'test'],
|
|
254
263
|
defaultValue: 'control'
|
|
255
264
|
}),
|
|
256
|
-
// Added 2026-01-7
|
|
257
|
-
platform_editor_table_sticky_header_patch_10: createBooleanExperiment({
|
|
258
|
-
productKeys: {
|
|
259
|
-
confluence: 'platform_editor_table_sticky_header_patch_10'
|
|
260
|
-
},
|
|
261
|
-
param: 'isEnabled',
|
|
262
|
-
defaultValue: false
|
|
263
|
-
}),
|
|
264
265
|
// Added 2025-11-17
|
|
265
266
|
platform_editor_renderer_extension_width_fix: createBooleanExperiment({
|
|
266
267
|
productKeys: {
|
|
@@ -369,6 +370,11 @@ export var editorExperimentsConfig = {
|
|
|
369
370
|
param: 'isEnabled',
|
|
370
371
|
defaultValue: false
|
|
371
372
|
}),
|
|
373
|
+
// Added 2026-07-20
|
|
374
|
+
platform_editor_table_sticky_header_patch_12: createBooleanExperiment({
|
|
375
|
+
param: 'isEnabled',
|
|
376
|
+
defaultValue: false
|
|
377
|
+
}),
|
|
372
378
|
// Added 2026-01-05
|
|
373
379
|
'company_hub_carousel_thumbnails-refactor': createBooleanExperiment({
|
|
374
380
|
productKeys: {
|
|
@@ -1155,14 +1161,6 @@ export var editorExperimentsConfig = {
|
|
|
1155
1161
|
param: 'isEnabled',
|
|
1156
1162
|
defaultValue: false
|
|
1157
1163
|
}),
|
|
1158
|
-
// Added 2025-12-30
|
|
1159
|
-
platform_editor_table_sticky_header_patch_9: createBooleanExperiment({
|
|
1160
|
-
productKeys: {
|
|
1161
|
-
confluence: 'platform_editor_table_sticky_header_patch_9'
|
|
1162
|
-
},
|
|
1163
|
-
param: 'isEnabled',
|
|
1164
|
-
defaultValue: false
|
|
1165
|
-
}),
|
|
1166
1164
|
// Added 2026-04-13
|
|
1167
1165
|
platform_editor_hide_extension_renderer_support: createBooleanExperiment({
|
|
1168
1166
|
productKeys: {
|
|
@@ -1317,6 +1315,14 @@ export var editorExperimentsConfig = {
|
|
|
1317
1315
|
param: 'isEnabled',
|
|
1318
1316
|
defaultValue: false
|
|
1319
1317
|
}),
|
|
1318
|
+
// Added 2026-07-20
|
|
1319
|
+
platform_editor_fix_ai_streaming_race: createBooleanExperiment({
|
|
1320
|
+
productKeys: {
|
|
1321
|
+
confluence: 'platform_editor_fix_ai_streaming_race'
|
|
1322
|
+
},
|
|
1323
|
+
param: 'isEnabled',
|
|
1324
|
+
defaultValue: false
|
|
1325
|
+
}),
|
|
1320
1326
|
// Added 2026-02-12
|
|
1321
1327
|
platform_editor_bodiedextension_layoutshift_fix: createBooleanExperiment({
|
|
1322
1328
|
productKeys: {
|
|
@@ -2190,14 +2196,6 @@ export var editorExperimentsConfig = {
|
|
|
2190
2196
|
values: ['control', 'hasSpellingAndGrammar', 'hasAltAiActions'],
|
|
2191
2197
|
defaultValue: 'control'
|
|
2192
2198
|
}),
|
|
2193
|
-
// Added 2026-05-04
|
|
2194
|
-
platform_editor_show_diff_fix_missing_attrs: createBooleanExperiment({
|
|
2195
|
-
productKeys: {
|
|
2196
|
-
confluence: 'platform_editor_show_diff_fix_missing_attrs'
|
|
2197
|
-
},
|
|
2198
|
-
param: 'isEnabled',
|
|
2199
|
-
defaultValue: false
|
|
2200
|
-
}),
|
|
2201
2199
|
// Added 2026-05-01 — Social proof experiment for unauthorized 3P block cards
|
|
2202
2200
|
social_proof_3p_unauth_block_exp: createBooleanExperiment({
|
|
2203
2201
|
productKeys: {
|
|
@@ -2232,14 +2230,6 @@ export var editorExperimentsConfig = {
|
|
|
2232
2230
|
param: 'isEnabled',
|
|
2233
2231
|
defaultValue: false
|
|
2234
2232
|
}),
|
|
2235
|
-
// Added 2026-06-01
|
|
2236
|
-
platform_editor_table_in_panel_paste_fallback: createBooleanExperiment({
|
|
2237
|
-
productKeys: {
|
|
2238
|
-
confluence: 'platform_editor_table_in_panel_paste_fallback'
|
|
2239
|
-
},
|
|
2240
|
-
param: 'isEnabled',
|
|
2241
|
-
defaultValue: false
|
|
2242
|
-
}),
|
|
2243
2233
|
// Added 2026-05-20
|
|
2244
2234
|
platform_editor_default_toolbar_state: createBooleanExperiment({
|
|
2245
2235
|
productKeys: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads a boolean flag (stored under the `value` key) from a Statsig dynamic
|
|
3
|
+
* config, returning `defaultValue` when the client is not ready, the config is
|
|
4
|
+
* missing, or the value is not a boolean.
|
|
5
|
+
*
|
|
6
|
+
* Use this for a dynamic-config-backed kill switch, e.g.
|
|
7
|
+
* `dynamicConfigBooleanValue('platform_editor_ai_remix_safety_violation')`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function dynamicConfigBooleanValue(configName: string, defaultValue?: boolean): boolean;
|
|
@@ -131,6 +131,12 @@ export declare const editorExperimentsConfig: {
|
|
|
131
131
|
productKeys?: ProductKeys;
|
|
132
132
|
typeGuard: IsBooleanType;
|
|
133
133
|
};
|
|
134
|
+
'editor_a11y__primary-toolbar-aria-label_fy27': {
|
|
135
|
+
defaultValue: boolean;
|
|
136
|
+
param: string;
|
|
137
|
+
productKeys?: ProductKeys;
|
|
138
|
+
typeGuard: IsBooleanType;
|
|
139
|
+
};
|
|
134
140
|
'enghealth-53346_fix_redaction_marker_editor': {
|
|
135
141
|
defaultValue: boolean;
|
|
136
142
|
param: string;
|
|
@@ -339,6 +345,12 @@ export declare const editorExperimentsConfig: {
|
|
|
339
345
|
productKeys?: ProductKeys;
|
|
340
346
|
typeGuard: IsBooleanType;
|
|
341
347
|
};
|
|
348
|
+
platform_editor_fix_ai_streaming_race: {
|
|
349
|
+
defaultValue: boolean;
|
|
350
|
+
param: string;
|
|
351
|
+
productKeys?: ProductKeys;
|
|
352
|
+
typeGuard: IsBooleanType;
|
|
353
|
+
};
|
|
342
354
|
platform_editor_august_a11y: {
|
|
343
355
|
defaultValue: boolean;
|
|
344
356
|
param: string;
|
|
@@ -659,6 +671,12 @@ export declare const editorExperimentsConfig: {
|
|
|
659
671
|
typeGuard: (value: unknown) => value is 'control' | 'test_with_overflow' | 'test_without_overflow';
|
|
660
672
|
values: ('control' | 'test_with_overflow' | 'test_without_overflow')[];
|
|
661
673
|
};
|
|
674
|
+
platform_editor_table_sticky_header_patch_12: {
|
|
675
|
+
defaultValue: boolean;
|
|
676
|
+
param: string;
|
|
677
|
+
productKeys?: ProductKeys;
|
|
678
|
+
typeGuard: IsBooleanType;
|
|
679
|
+
};
|
|
662
680
|
platform_editor_tables_drag_and_drop: {
|
|
663
681
|
defaultValue: boolean;
|
|
664
682
|
param: string;
|
|
@@ -810,12 +828,6 @@ export declare const editorExperimentsConfig: {
|
|
|
810
828
|
productKeys?: ProductKeys;
|
|
811
829
|
typeGuard: IsBooleanType;
|
|
812
830
|
};
|
|
813
|
-
platform_editor_table_sticky_header_patch_9: {
|
|
814
|
-
defaultValue: boolean;
|
|
815
|
-
param: string;
|
|
816
|
-
productKeys?: ProductKeys;
|
|
817
|
-
typeGuard: IsBooleanType;
|
|
818
|
-
};
|
|
819
831
|
platform_use_llm_space_recommendations: {
|
|
820
832
|
defaultValue: boolean;
|
|
821
833
|
param: string;
|
|
@@ -828,12 +840,6 @@ export declare const editorExperimentsConfig: {
|
|
|
828
840
|
productKeys?: ProductKeys;
|
|
829
841
|
typeGuard: IsBooleanType;
|
|
830
842
|
};
|
|
831
|
-
platform_editor_table_sticky_header_patch_10: {
|
|
832
|
-
defaultValue: boolean;
|
|
833
|
-
param: string;
|
|
834
|
-
productKeys?: ProductKeys;
|
|
835
|
-
typeGuard: IsBooleanType;
|
|
836
|
-
};
|
|
837
843
|
smart_link_confluence_short_link_analytics: {
|
|
838
844
|
defaultValue: 'control' | 'test';
|
|
839
845
|
param: string;
|
|
@@ -1600,12 +1606,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1600
1606
|
productKeys?: ProductKeys;
|
|
1601
1607
|
typeGuard: IsBooleanType;
|
|
1602
1608
|
};
|
|
1603
|
-
platform_editor_show_diff_fix_missing_attrs: {
|
|
1604
|
-
defaultValue: boolean;
|
|
1605
|
-
param: string;
|
|
1606
|
-
productKeys?: ProductKeys;
|
|
1607
|
-
typeGuard: IsBooleanType;
|
|
1608
|
-
};
|
|
1609
1609
|
platform_editor_fix_sticky_header_malfunction: {
|
|
1610
1610
|
defaultValue: boolean;
|
|
1611
1611
|
param: string;
|
|
@@ -1655,12 +1655,6 @@ export declare const editorExperimentsConfig: {
|
|
|
1655
1655
|
productKeys?: ProductKeys;
|
|
1656
1656
|
typeGuard: IsBooleanType;
|
|
1657
1657
|
};
|
|
1658
|
-
platform_editor_table_in_panel_paste_fallback: {
|
|
1659
|
-
defaultValue: boolean;
|
|
1660
|
-
param: string;
|
|
1661
|
-
productKeys?: ProductKeys;
|
|
1662
|
-
typeGuard: IsBooleanType;
|
|
1663
|
-
};
|
|
1664
1658
|
platform_rovo_support_create_inline_comment: {
|
|
1665
1659
|
defaultValue: boolean;
|
|
1666
1660
|
param: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/tmp-editor-statsig/dynamic-config-boolean-value",
|
|
3
|
+
"main": "../dist/cjs/dynamic-config-boolean-value.js",
|
|
4
|
+
"module": "../dist/esm/dynamic-config-boolean-value.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/dynamic-config-boolean-value.js",
|
|
6
|
+
"types": "../dist/types/dynamic-config-boolean-value.d.ts"
|
|
7
|
+
}
|
package/package.json
CHANGED