@atlaskit/tmp-editor-statsig 15.9.0 → 15.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 +20 -0
- package/dist/cjs/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +8 -9
- package/dist/cjs/type-guards.js +1 -3
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +8 -9
- package/dist/es2019/type-guards.js +1 -1
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +8 -9
- package/dist/esm/type-guards.js +1 -2
- package/dist/types/experiments-config.d.ts +6 -7
- package/dist/types-ts4.5/experiments-config.d.ts +6 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 15.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`810632761780a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/810632761780a) -
|
|
8
|
+
EDITOR-3937 Cleanup usage of confluence_content_mode_replace_dense_with_compact from the frontend
|
|
9
|
+
as this is now only needed in the Confluence backend
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`d0cc21488265c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d0cc21488265c) -
|
|
14
|
+
NO-ISSUE: Fix undefined typeof check for process
|
|
15
|
+
|
|
16
|
+
## 15.10.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- [`31417f38e1e12`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31417f38e1e12) -
|
|
21
|
+
Update toolbar experiments configuration
|
|
22
|
+
|
|
3
23
|
## 15.9.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -20,7 +20,6 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
|
20
20
|
platform_hover_card_preview_panel_modal: 'control',
|
|
21
21
|
smart_link_confluence_short_link_analytics: 'control',
|
|
22
22
|
platform_inline_smartcard_connect_button_exp: 'control',
|
|
23
|
-
confluence_content_mode_replace_dense_with_compact: 'control',
|
|
24
23
|
cc_editor_insm_outlier_events: 'test',
|
|
25
24
|
platform_editor_hoverlink_ui_fixes_exp: 'control',
|
|
26
25
|
platform_editor_table_sticky_header_improvements: 'control',
|
|
@@ -994,15 +994,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
994
994
|
param: 'isEnabled',
|
|
995
995
|
defaultValue: false
|
|
996
996
|
}),
|
|
997
|
-
// Added 2025-10-17
|
|
998
|
-
confluence_content_mode_replace_dense_with_compact: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
999
|
-
productKeys: {
|
|
1000
|
-
confluence: 'confluence_content_mode_replace_dense_with_compact'
|
|
1001
|
-
},
|
|
1002
|
-
param: 'cohort',
|
|
1003
|
-
values: ['control', 'test'],
|
|
1004
|
-
defaultValue: 'control'
|
|
1005
|
-
}),
|
|
1006
997
|
// Added 2025-10-01
|
|
1007
998
|
platform_inline_smartcard_connect_button_exp: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
1008
999
|
productKeys: {
|
|
@@ -1164,6 +1155,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1164
1155
|
param: 'isEnabled',
|
|
1165
1156
|
defaultValue: false
|
|
1166
1157
|
}),
|
|
1158
|
+
// Added 2025-12-12
|
|
1159
|
+
platform_editor_toolbar_delay_render_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1160
|
+
productKeys: {
|
|
1161
|
+
confluence: 'platform_editor_toolbar_delay_render_fix'
|
|
1162
|
+
},
|
|
1163
|
+
param: 'isEnabled',
|
|
1164
|
+
defaultValue: false
|
|
1165
|
+
}),
|
|
1167
1166
|
// Added 2025-12-03
|
|
1168
1167
|
platform_editor_nested_media_selection_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1169
1168
|
productKeys: {
|
package/dist/cjs/type-guards.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.isBoolean = isBoolean;
|
|
8
7
|
exports.oneOf = oneOf;
|
|
9
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
10
8
|
var _process, _process2;
|
|
11
9
|
function isBoolean(value) {
|
|
12
10
|
return typeof value === 'boolean';
|
|
@@ -26,4 +24,4 @@ function oneOf(values) {
|
|
|
26
24
|
|
|
27
25
|
// @ts-ignore
|
|
28
26
|
|
|
29
|
-
var IS_TESTING_ENV =
|
|
27
|
+
var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
|
|
@@ -14,7 +14,6 @@ export const testMultivariateOverrides = {
|
|
|
14
14
|
platform_hover_card_preview_panel_modal: 'control',
|
|
15
15
|
smart_link_confluence_short_link_analytics: 'control',
|
|
16
16
|
platform_inline_smartcard_connect_button_exp: 'control',
|
|
17
|
-
confluence_content_mode_replace_dense_with_compact: 'control',
|
|
18
17
|
cc_editor_insm_outlier_events: 'test',
|
|
19
18
|
platform_editor_hoverlink_ui_fixes_exp: 'control',
|
|
20
19
|
platform_editor_table_sticky_header_improvements: 'control',
|
|
@@ -988,15 +988,6 @@ export const editorExperimentsConfig = {
|
|
|
988
988
|
param: 'isEnabled',
|
|
989
989
|
defaultValue: false
|
|
990
990
|
}),
|
|
991
|
-
// Added 2025-10-17
|
|
992
|
-
confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
|
|
993
|
-
productKeys: {
|
|
994
|
-
confluence: 'confluence_content_mode_replace_dense_with_compact'
|
|
995
|
-
},
|
|
996
|
-
param: 'cohort',
|
|
997
|
-
values: ['control', 'test'],
|
|
998
|
-
defaultValue: 'control'
|
|
999
|
-
}),
|
|
1000
991
|
// Added 2025-10-01
|
|
1001
992
|
platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
|
|
1002
993
|
productKeys: {
|
|
@@ -1158,6 +1149,14 @@ export const editorExperimentsConfig = {
|
|
|
1158
1149
|
param: 'isEnabled',
|
|
1159
1150
|
defaultValue: false
|
|
1160
1151
|
}),
|
|
1152
|
+
// Added 2025-12-12
|
|
1153
|
+
platform_editor_toolbar_delay_render_fix: createBooleanExperiment({
|
|
1154
|
+
productKeys: {
|
|
1155
|
+
confluence: 'platform_editor_toolbar_delay_render_fix'
|
|
1156
|
+
},
|
|
1157
|
+
param: 'isEnabled',
|
|
1158
|
+
defaultValue: false
|
|
1159
|
+
}),
|
|
1161
1160
|
// Added 2025-12-03
|
|
1162
1161
|
platform_editor_nested_media_selection_fix: createBooleanExperiment({
|
|
1163
1162
|
productKeys: {
|
|
@@ -17,4 +17,4 @@ export function oneOf(values) {
|
|
|
17
17
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
|
|
20
|
-
const IS_TESTING_ENV = typeof process !== undefined && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
|
|
20
|
+
const IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
|
|
@@ -14,7 +14,6 @@ export var testMultivariateOverrides = {
|
|
|
14
14
|
platform_hover_card_preview_panel_modal: 'control',
|
|
15
15
|
smart_link_confluence_short_link_analytics: 'control',
|
|
16
16
|
platform_inline_smartcard_connect_button_exp: 'control',
|
|
17
|
-
confluence_content_mode_replace_dense_with_compact: 'control',
|
|
18
17
|
cc_editor_insm_outlier_events: 'test',
|
|
19
18
|
platform_editor_hoverlink_ui_fixes_exp: 'control',
|
|
20
19
|
platform_editor_table_sticky_header_improvements: 'control',
|
|
@@ -988,15 +988,6 @@ export var editorExperimentsConfig = {
|
|
|
988
988
|
param: 'isEnabled',
|
|
989
989
|
defaultValue: false
|
|
990
990
|
}),
|
|
991
|
-
// Added 2025-10-17
|
|
992
|
-
confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
|
|
993
|
-
productKeys: {
|
|
994
|
-
confluence: 'confluence_content_mode_replace_dense_with_compact'
|
|
995
|
-
},
|
|
996
|
-
param: 'cohort',
|
|
997
|
-
values: ['control', 'test'],
|
|
998
|
-
defaultValue: 'control'
|
|
999
|
-
}),
|
|
1000
991
|
// Added 2025-10-01
|
|
1001
992
|
platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
|
|
1002
993
|
productKeys: {
|
|
@@ -1158,6 +1149,14 @@ export var editorExperimentsConfig = {
|
|
|
1158
1149
|
param: 'isEnabled',
|
|
1159
1150
|
defaultValue: false
|
|
1160
1151
|
}),
|
|
1152
|
+
// Added 2025-12-12
|
|
1153
|
+
platform_editor_toolbar_delay_render_fix: createBooleanExperiment({
|
|
1154
|
+
productKeys: {
|
|
1155
|
+
confluence: 'platform_editor_toolbar_delay_render_fix'
|
|
1156
|
+
},
|
|
1157
|
+
param: 'isEnabled',
|
|
1158
|
+
defaultValue: false
|
|
1159
|
+
}),
|
|
1161
1160
|
// Added 2025-12-03
|
|
1162
1161
|
platform_editor_nested_media_selection_fix: createBooleanExperiment({
|
|
1163
1162
|
productKeys: {
|
package/dist/esm/type-guards.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
var _process, _process2;
|
|
3
2
|
export function isBoolean(value) {
|
|
4
3
|
return typeof value === 'boolean';
|
|
@@ -18,4 +17,4 @@ export function oneOf(values) {
|
|
|
18
17
|
|
|
19
18
|
// @ts-ignore
|
|
20
19
|
|
|
21
|
-
var IS_TESTING_ENV =
|
|
20
|
+
var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
|
|
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
|
|
|
106
106
|
productKeys?: ProductKeys;
|
|
107
107
|
typeGuard: IsBooleanType;
|
|
108
108
|
};
|
|
109
|
-
confluence_content_mode_replace_dense_with_compact: {
|
|
110
|
-
defaultValue: 'control' | 'test';
|
|
111
|
-
param: string;
|
|
112
|
-
productKeys?: ProductKeys;
|
|
113
|
-
typeGuard: (value: unknown) => value is 'control' | 'test';
|
|
114
|
-
values: ('control' | 'test')[];
|
|
115
|
-
};
|
|
116
109
|
confluence_whiteboards_quick_insert: {
|
|
117
110
|
defaultValue: 'control' | 'test_blank' | 'test_diagram';
|
|
118
111
|
param: string;
|
|
@@ -868,6 +861,12 @@ export declare const editorExperimentsConfig: {
|
|
|
868
861
|
productKeys?: ProductKeys;
|
|
869
862
|
typeGuard: IsBooleanType;
|
|
870
863
|
};
|
|
864
|
+
platform_editor_toolbar_delay_render_fix: {
|
|
865
|
+
defaultValue: boolean;
|
|
866
|
+
param: string;
|
|
867
|
+
productKeys?: ProductKeys;
|
|
868
|
+
typeGuard: IsBooleanType;
|
|
869
|
+
};
|
|
871
870
|
platform_editor_nested_media_selection_fix: {
|
|
872
871
|
defaultValue: boolean;
|
|
873
872
|
param: string;
|
|
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
|
|
|
106
106
|
productKeys?: ProductKeys;
|
|
107
107
|
typeGuard: IsBooleanType;
|
|
108
108
|
};
|
|
109
|
-
confluence_content_mode_replace_dense_with_compact: {
|
|
110
|
-
defaultValue: 'control' | 'test';
|
|
111
|
-
param: string;
|
|
112
|
-
productKeys?: ProductKeys;
|
|
113
|
-
typeGuard: (value: unknown) => value is 'control' | 'test';
|
|
114
|
-
values: ('control' | 'test')[];
|
|
115
|
-
};
|
|
116
109
|
confluence_whiteboards_quick_insert: {
|
|
117
110
|
defaultValue: 'control' | 'test_blank' | 'test_diagram';
|
|
118
111
|
param: string;
|
|
@@ -868,6 +861,12 @@ export declare const editorExperimentsConfig: {
|
|
|
868
861
|
productKeys?: ProductKeys;
|
|
869
862
|
typeGuard: IsBooleanType;
|
|
870
863
|
};
|
|
864
|
+
platform_editor_toolbar_delay_render_fix: {
|
|
865
|
+
defaultValue: boolean;
|
|
866
|
+
param: string;
|
|
867
|
+
productKeys?: ProductKeys;
|
|
868
|
+
typeGuard: IsBooleanType;
|
|
869
|
+
};
|
|
871
870
|
platform_editor_nested_media_selection_fix: {
|
|
872
871
|
defaultValue: boolean;
|
|
873
872
|
param: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.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,7 +34,7 @@
|
|
|
34
34
|
"atlaskit:src": "src/index.ts",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
37
|
-
"@atlaskit/react-ufo": "^4.
|
|
37
|
+
"@atlaskit/react-ufo": "^4.16.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|