@atlaskit/tmp-editor-statsig 74.8.0 → 74.11.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 +23 -0
- package/dist/cjs/expVal.js +4 -2
- package/dist/cjs/experiments-config.js +21 -9
- package/dist/es2019/expVal.js +5 -3
- package/dist/es2019/experiments-config.js +20 -8
- package/dist/esm/expVal.js +5 -3
- package/dist/esm/experiments-config.js +20 -8
- package/dist/types/experiments-config.d.ts +13 -6
- package/dist/types-ts4.5/experiments-config.d.ts +13 -6
- package/package.json +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 74.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`976ecba9e36d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/976ecba9e36d7) -
|
|
8
|
+
ff cleanup: ccpi_fix_broken_uploaded_img
|
|
9
|
+
|
|
10
|
+
## 74.10.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`76dff28130c6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76dff28130c6a) -
|
|
15
|
+
Add replace-media button to media plugin
|
|
16
|
+
|
|
17
|
+
## 74.9.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [`29bea960652a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/29bea960652a0) -
|
|
22
|
+
Allow product keys for cc-maui-exp
|
|
23
|
+
- [`902c2a2a06799`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/902c2a2a06799) -
|
|
24
|
+
[ux] Fix confusing tooltip on Comment toolbar when offline
|
|
25
|
+
|
|
3
26
|
## 74.8.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/cjs/expVal.js
CHANGED
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.expVal = expVal;
|
|
8
8
|
exports.expValNoExposure = expValNoExposure;
|
|
9
9
|
var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
|
|
10
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
11
|
var _featureFlagsAccessed = require("@atlaskit/react-ufo/feature-flags-accessed");
|
|
11
12
|
var _experimentsConfig = require("./experiments-config");
|
|
12
13
|
var _setup = require("./setup");
|
|
@@ -54,16 +55,17 @@ function expValInternal(_ref) {
|
|
|
54
55
|
// This will be hit in the case of an experiment not being set up for the product
|
|
55
56
|
return defaultValue;
|
|
56
57
|
}
|
|
58
|
+
var resolvedExperimentKey = !_experimentsConfig.disallowsProductKeys.includes(experimentName) && (0, _platformFeatureFlags.fg)('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
|
|
57
59
|
|
|
58
60
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
59
|
-
var experimentValue = _featureGateJsClient.default.getExperimentValue(
|
|
61
|
+
var experimentValue = _featureGateJsClient.default.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
|
|
60
62
|
fireExperimentExposure: fireExperimentExposure
|
|
61
63
|
});
|
|
62
64
|
if (
|
|
63
65
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
64
66
|
_featureGateJsClient.default.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
|
|
65
67
|
// Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
|
|
66
|
-
(0, _featureFlagsAccessed.addFeatureFlagAccessed)("".concat(
|
|
68
|
+
(0, _featureFlagsAccessed.addFeatureFlagAccessed)("".concat(resolvedExperimentKey, ":").concat(experimentParam), experimentValue);
|
|
67
69
|
}
|
|
68
70
|
return experimentValue;
|
|
69
71
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.editorExperimentsConfig = void 0;
|
|
6
|
+
exports.editorExperimentsConfig = exports.disallowsProductKeys = void 0;
|
|
7
7
|
var _experimentBuilders = require("./experiment-builders");
|
|
8
8
|
/* eslint-disable perfectionist/sort-object-types */
|
|
9
9
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
@@ -11,6 +11,10 @@ var _experimentBuilders = require("./experiment-builders");
|
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- Need value import for typeof
|
|
13
13
|
|
|
14
|
+
// These experiments have a jira-specific key that differs from the experiment name,
|
|
15
|
+
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
16
|
+
var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
|
|
17
|
+
|
|
14
18
|
/**
|
|
15
19
|
* Extract valid expected values.
|
|
16
20
|
* - For multivariate experiments: returns union of valid string values (inferred from defaultValue type)
|
|
@@ -745,14 +749,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
745
749
|
param: 'isEnabled',
|
|
746
750
|
defaultValue: false
|
|
747
751
|
}),
|
|
748
|
-
// Added 2026-03-12
|
|
749
|
-
ccpi_fix_broken_uploaded_img: (0, _experimentBuilders.createBooleanExperiment)({
|
|
750
|
-
productKeys: {
|
|
751
|
-
confluence: 'ccpi_fix_broken_uploaded_img'
|
|
752
|
-
},
|
|
753
|
-
param: 'isEnabled',
|
|
754
|
-
defaultValue: false
|
|
755
|
-
}),
|
|
756
752
|
// Added 2026-02-05
|
|
757
753
|
'editor-a11y-fy26-keyboard-move-row-column': (0, _experimentBuilders.createBooleanExperiment)({
|
|
758
754
|
productKeys: {
|
|
@@ -1035,6 +1031,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1035
1031
|
param: 'isEnabled',
|
|
1036
1032
|
defaultValue: false
|
|
1037
1033
|
}),
|
|
1034
|
+
// Added 2026-04-16
|
|
1035
|
+
platform_editor_inline_media_replacement: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1036
|
+
productKeys: {
|
|
1037
|
+
confluence: 'platform_editor_inline_media_replacement'
|
|
1038
|
+
},
|
|
1039
|
+
param: 'isEnabled',
|
|
1040
|
+
defaultValue: false
|
|
1041
|
+
}),
|
|
1038
1042
|
// Added 2025-12-08
|
|
1039
1043
|
platform_editor_add_image_editing: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1040
1044
|
productKeys: {
|
|
@@ -2088,6 +2092,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2088
2092
|
param: 'isEnabled',
|
|
2089
2093
|
defaultValue: false
|
|
2090
2094
|
}),
|
|
2095
|
+
// Added 2026-04-30
|
|
2096
|
+
confluence_fe_disable_comment_if_offline_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2097
|
+
productKeys: {
|
|
2098
|
+
confluence: 'confluence_fe_disable_comment_if_offline_fix'
|
|
2099
|
+
},
|
|
2100
|
+
param: 'isEnabled',
|
|
2101
|
+
defaultValue: false
|
|
2102
|
+
}),
|
|
2091
2103
|
// Added 2026-04-22
|
|
2092
2104
|
platform_editor_korean_characters_split: (0, _experimentBuilders.createBooleanExperiment)({
|
|
2093
2105
|
productKeys: {
|
package/dist/es2019/expVal.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
3
|
import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
|
|
3
|
-
import { editorExperimentsConfig } from './experiments-config';
|
|
4
|
+
import { disallowsProductKeys, editorExperimentsConfig } from './experiments-config';
|
|
4
5
|
import { _overrides, _paramOverrides, _product } from './setup';
|
|
5
6
|
function expValInternal({
|
|
6
7
|
experimentName,
|
|
@@ -47,16 +48,17 @@ function expValInternal({
|
|
|
47
48
|
// This will be hit in the case of an experiment not being set up for the product
|
|
48
49
|
return defaultValue;
|
|
49
50
|
}
|
|
51
|
+
const resolvedExperimentKey = !disallowsProductKeys.includes(experimentName) && fg('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
|
|
50
52
|
|
|
51
53
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
52
|
-
const experimentValue = FeatureGates.getExperimentValue(
|
|
54
|
+
const experimentValue = FeatureGates.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
|
|
53
55
|
fireExperimentExposure: fireExperimentExposure
|
|
54
56
|
});
|
|
55
57
|
if (
|
|
56
58
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
57
59
|
FeatureGates.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
|
|
58
60
|
// Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
|
|
59
|
-
addFeatureFlagAccessed(`${
|
|
61
|
+
addFeatureFlagAccessed(`${resolvedExperimentKey}:${experimentParam}`, experimentValue);
|
|
60
62
|
}
|
|
61
63
|
return experimentValue;
|
|
62
64
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
import { createBooleanExperiment, createMultivariateExperiment } from './experiment-builders';
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- Need value import for typeof
|
|
7
7
|
|
|
8
|
+
// These experiments have a jira-specific key that differs from the experiment name,
|
|
9
|
+
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
10
|
+
export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
|
|
11
|
+
|
|
8
12
|
/**
|
|
9
13
|
* Extract valid expected values.
|
|
10
14
|
* - For multivariate experiments: returns union of valid string values (inferred from defaultValue type)
|
|
@@ -739,14 +743,6 @@ export const editorExperimentsConfig = {
|
|
|
739
743
|
param: 'isEnabled',
|
|
740
744
|
defaultValue: false
|
|
741
745
|
}),
|
|
742
|
-
// Added 2026-03-12
|
|
743
|
-
ccpi_fix_broken_uploaded_img: createBooleanExperiment({
|
|
744
|
-
productKeys: {
|
|
745
|
-
confluence: 'ccpi_fix_broken_uploaded_img'
|
|
746
|
-
},
|
|
747
|
-
param: 'isEnabled',
|
|
748
|
-
defaultValue: false
|
|
749
|
-
}),
|
|
750
746
|
// Added 2026-02-05
|
|
751
747
|
'editor-a11y-fy26-keyboard-move-row-column': createBooleanExperiment({
|
|
752
748
|
productKeys: {
|
|
@@ -1029,6 +1025,14 @@ export const editorExperimentsConfig = {
|
|
|
1029
1025
|
param: 'isEnabled',
|
|
1030
1026
|
defaultValue: false
|
|
1031
1027
|
}),
|
|
1028
|
+
// Added 2026-04-16
|
|
1029
|
+
platform_editor_inline_media_replacement: createBooleanExperiment({
|
|
1030
|
+
productKeys: {
|
|
1031
|
+
confluence: 'platform_editor_inline_media_replacement'
|
|
1032
|
+
},
|
|
1033
|
+
param: 'isEnabled',
|
|
1034
|
+
defaultValue: false
|
|
1035
|
+
}),
|
|
1032
1036
|
// Added 2025-12-08
|
|
1033
1037
|
platform_editor_add_image_editing: createBooleanExperiment({
|
|
1034
1038
|
productKeys: {
|
|
@@ -2082,6 +2086,14 @@ export const editorExperimentsConfig = {
|
|
|
2082
2086
|
param: 'isEnabled',
|
|
2083
2087
|
defaultValue: false
|
|
2084
2088
|
}),
|
|
2089
|
+
// Added 2026-04-30
|
|
2090
|
+
confluence_fe_disable_comment_if_offline_fix: createBooleanExperiment({
|
|
2091
|
+
productKeys: {
|
|
2092
|
+
confluence: 'confluence_fe_disable_comment_if_offline_fix'
|
|
2093
|
+
},
|
|
2094
|
+
param: 'isEnabled',
|
|
2095
|
+
defaultValue: false
|
|
2096
|
+
}),
|
|
2085
2097
|
// Added 2026-04-22
|
|
2086
2098
|
platform_editor_korean_characters_split: createBooleanExperiment({
|
|
2087
2099
|
productKeys: {
|
package/dist/esm/expVal.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
3
|
import { addFeatureFlagAccessed } from '@atlaskit/react-ufo/feature-flags-accessed';
|
|
3
|
-
import { editorExperimentsConfig } from './experiments-config';
|
|
4
|
+
import { disallowsProductKeys, editorExperimentsConfig } from './experiments-config';
|
|
4
5
|
import { _overrides, _paramOverrides, _product } from './setup';
|
|
5
6
|
function expValInternal(_ref) {
|
|
6
7
|
var _paramOverrides2, _experimentConfig$pro;
|
|
@@ -46,16 +47,17 @@ function expValInternal(_ref) {
|
|
|
46
47
|
// This will be hit in the case of an experiment not being set up for the product
|
|
47
48
|
return defaultValue;
|
|
48
49
|
}
|
|
50
|
+
var resolvedExperimentKey = !disallowsProductKeys.includes(experimentName) && fg('platform_editor_experiments_use_product_keys') ? experimentKey : experimentName;
|
|
49
51
|
|
|
50
52
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
51
|
-
var experimentValue = FeatureGates.getExperimentValue(
|
|
53
|
+
var experimentValue = FeatureGates.getExperimentValue(resolvedExperimentKey, experimentParam, defaultValue, {
|
|
52
54
|
fireExperimentExposure: fireExperimentExposure
|
|
53
55
|
});
|
|
54
56
|
if (
|
|
55
57
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
56
58
|
FeatureGates.getExperimentValue('cc_editor_experiments_ufo_gate_reporting_expval', 'isEnabled', false)) {
|
|
57
59
|
// Duplicated from /confluence/next/packages/feature-experiments/src/index.ts
|
|
58
|
-
addFeatureFlagAccessed("".concat(
|
|
60
|
+
addFeatureFlagAccessed("".concat(resolvedExperimentKey, ":").concat(experimentParam), experimentValue);
|
|
59
61
|
}
|
|
60
62
|
return experimentValue;
|
|
61
63
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
import { createBooleanExperiment, createMultivariateExperiment } from './experiment-builders';
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- Need value import for typeof
|
|
7
7
|
|
|
8
|
+
// These experiments have a jira-specific key that differs from the experiment name,
|
|
9
|
+
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
10
|
+
export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
|
|
11
|
+
|
|
8
12
|
/**
|
|
9
13
|
* Extract valid expected values.
|
|
10
14
|
* - For multivariate experiments: returns union of valid string values (inferred from defaultValue type)
|
|
@@ -739,14 +743,6 @@ export var editorExperimentsConfig = {
|
|
|
739
743
|
param: 'isEnabled',
|
|
740
744
|
defaultValue: false
|
|
741
745
|
}),
|
|
742
|
-
// Added 2026-03-12
|
|
743
|
-
ccpi_fix_broken_uploaded_img: createBooleanExperiment({
|
|
744
|
-
productKeys: {
|
|
745
|
-
confluence: 'ccpi_fix_broken_uploaded_img'
|
|
746
|
-
},
|
|
747
|
-
param: 'isEnabled',
|
|
748
|
-
defaultValue: false
|
|
749
|
-
}),
|
|
750
746
|
// Added 2026-02-05
|
|
751
747
|
'editor-a11y-fy26-keyboard-move-row-column': createBooleanExperiment({
|
|
752
748
|
productKeys: {
|
|
@@ -1029,6 +1025,14 @@ export var editorExperimentsConfig = {
|
|
|
1029
1025
|
param: 'isEnabled',
|
|
1030
1026
|
defaultValue: false
|
|
1031
1027
|
}),
|
|
1028
|
+
// Added 2026-04-16
|
|
1029
|
+
platform_editor_inline_media_replacement: createBooleanExperiment({
|
|
1030
|
+
productKeys: {
|
|
1031
|
+
confluence: 'platform_editor_inline_media_replacement'
|
|
1032
|
+
},
|
|
1033
|
+
param: 'isEnabled',
|
|
1034
|
+
defaultValue: false
|
|
1035
|
+
}),
|
|
1032
1036
|
// Added 2025-12-08
|
|
1033
1037
|
platform_editor_add_image_editing: createBooleanExperiment({
|
|
1034
1038
|
productKeys: {
|
|
@@ -2082,6 +2086,14 @@ export var editorExperimentsConfig = {
|
|
|
2082
2086
|
param: 'isEnabled',
|
|
2083
2087
|
defaultValue: false
|
|
2084
2088
|
}),
|
|
2089
|
+
// Added 2026-04-30
|
|
2090
|
+
confluence_fe_disable_comment_if_offline_fix: createBooleanExperiment({
|
|
2091
|
+
productKeys: {
|
|
2092
|
+
confluence: 'confluence_fe_disable_comment_if_offline_fix'
|
|
2093
|
+
},
|
|
2094
|
+
param: 'isEnabled',
|
|
2095
|
+
defaultValue: false
|
|
2096
|
+
}),
|
|
2085
2097
|
// Added 2026-04-22
|
|
2086
2098
|
platform_editor_korean_characters_split: createBooleanExperiment({
|
|
2087
2099
|
productKeys: {
|
|
@@ -2,6 +2,7 @@ import { isBoolean } from './type-guards';
|
|
|
2
2
|
import type { ProductKeys } from './types';
|
|
3
3
|
type IsBooleanType = typeof isBoolean;
|
|
4
4
|
export type EditorExperimentsConfig = typeof editorExperimentsConfig;
|
|
5
|
+
export declare const disallowsProductKeys: (keyof EditorExperimentsConfig)[];
|
|
5
6
|
/**
|
|
6
7
|
* Extract valid expected values.
|
|
7
8
|
* - For multivariate experiments: returns union of valid string values (inferred from defaultValue type)
|
|
@@ -202,12 +203,6 @@ export declare const editorExperimentsConfig: {
|
|
|
202
203
|
productKeys?: ProductKeys;
|
|
203
204
|
typeGuard: IsBooleanType;
|
|
204
205
|
};
|
|
205
|
-
ccpi_fix_broken_uploaded_img: {
|
|
206
|
-
defaultValue: boolean;
|
|
207
|
-
param: string;
|
|
208
|
-
productKeys?: ProductKeys;
|
|
209
|
-
typeGuard: IsBooleanType;
|
|
210
|
-
};
|
|
211
206
|
'editor-a11y-fy26-keyboard-move-row-column': {
|
|
212
207
|
defaultValue: boolean;
|
|
213
208
|
param: string;
|
|
@@ -674,6 +669,12 @@ export declare const editorExperimentsConfig: {
|
|
|
674
669
|
productKeys?: ProductKeys;
|
|
675
670
|
typeGuard: IsBooleanType;
|
|
676
671
|
};
|
|
672
|
+
platform_editor_inline_media_replacement: {
|
|
673
|
+
defaultValue: boolean;
|
|
674
|
+
param: string;
|
|
675
|
+
productKeys?: ProductKeys;
|
|
676
|
+
typeGuard: IsBooleanType;
|
|
677
|
+
};
|
|
677
678
|
platform_editor_add_image_editing: {
|
|
678
679
|
defaultValue: boolean;
|
|
679
680
|
param: string;
|
|
@@ -1530,6 +1531,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1530
1531
|
productKeys?: ProductKeys;
|
|
1531
1532
|
typeGuard: IsBooleanType;
|
|
1532
1533
|
};
|
|
1534
|
+
confluence_fe_disable_comment_if_offline_fix: {
|
|
1535
|
+
defaultValue: boolean;
|
|
1536
|
+
param: string;
|
|
1537
|
+
productKeys?: ProductKeys;
|
|
1538
|
+
typeGuard: IsBooleanType;
|
|
1539
|
+
};
|
|
1533
1540
|
platform_editor_korean_characters_split: {
|
|
1534
1541
|
defaultValue: boolean;
|
|
1535
1542
|
param: string;
|
|
@@ -2,6 +2,7 @@ import { isBoolean } from './type-guards';
|
|
|
2
2
|
import type { ProductKeys } from './types';
|
|
3
3
|
type IsBooleanType = typeof isBoolean;
|
|
4
4
|
export type EditorExperimentsConfig = typeof editorExperimentsConfig;
|
|
5
|
+
export declare const disallowsProductKeys: (keyof EditorExperimentsConfig)[];
|
|
5
6
|
/**
|
|
6
7
|
* Extract valid expected values.
|
|
7
8
|
* - For multivariate experiments: returns union of valid string values (inferred from defaultValue type)
|
|
@@ -202,12 +203,6 @@ export declare const editorExperimentsConfig: {
|
|
|
202
203
|
productKeys?: ProductKeys;
|
|
203
204
|
typeGuard: IsBooleanType;
|
|
204
205
|
};
|
|
205
|
-
ccpi_fix_broken_uploaded_img: {
|
|
206
|
-
defaultValue: boolean;
|
|
207
|
-
param: string;
|
|
208
|
-
productKeys?: ProductKeys;
|
|
209
|
-
typeGuard: IsBooleanType;
|
|
210
|
-
};
|
|
211
206
|
'editor-a11y-fy26-keyboard-move-row-column': {
|
|
212
207
|
defaultValue: boolean;
|
|
213
208
|
param: string;
|
|
@@ -674,6 +669,12 @@ export declare const editorExperimentsConfig: {
|
|
|
674
669
|
productKeys?: ProductKeys;
|
|
675
670
|
typeGuard: IsBooleanType;
|
|
676
671
|
};
|
|
672
|
+
platform_editor_inline_media_replacement: {
|
|
673
|
+
defaultValue: boolean;
|
|
674
|
+
param: string;
|
|
675
|
+
productKeys?: ProductKeys;
|
|
676
|
+
typeGuard: IsBooleanType;
|
|
677
|
+
};
|
|
677
678
|
platform_editor_add_image_editing: {
|
|
678
679
|
defaultValue: boolean;
|
|
679
680
|
param: string;
|
|
@@ -1530,6 +1531,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1530
1531
|
productKeys?: ProductKeys;
|
|
1531
1532
|
typeGuard: IsBooleanType;
|
|
1532
1533
|
};
|
|
1534
|
+
confluence_fe_disable_comment_if_offline_fix: {
|
|
1535
|
+
defaultValue: boolean;
|
|
1536
|
+
param: string;
|
|
1537
|
+
productKeys?: ProductKeys;
|
|
1538
|
+
typeGuard: IsBooleanType;
|
|
1539
|
+
};
|
|
1533
1540
|
platform_editor_korean_characters_split: {
|
|
1534
1541
|
defaultValue: boolean;
|
|
1535
1542
|
param: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "74.
|
|
3
|
+
"version": "74.11.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",
|
|
@@ -34,9 +34,18 @@
|
|
|
34
34
|
"atlaskit:src": "src/index.ts",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
37
|
-
"@atlaskit/
|
|
37
|
+
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
38
|
+
"@atlaskit/react-ufo": "^5.19.0",
|
|
38
39
|
"@babel/runtime": "^7.0.0"
|
|
39
40
|
},
|
|
41
|
+
"platform-feature-flags": {
|
|
42
|
+
"platform_editor_experiments_use_product_keys": {
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@atlassian/feature-flags-test-utils": "^1.0.0"
|
|
48
|
+
},
|
|
40
49
|
"peerDependencies": {
|
|
41
50
|
"react": "^18.2.0"
|
|
42
51
|
}
|