@atlaskit/tmp-editor-statsig 16.10.0 → 16.12.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/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +9 -17
- package/dist/cjs/experiments.js +3 -1
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +9 -17
- package/dist/es2019/experiments.js +3 -1
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +9 -17
- package/dist/esm/experiments.js +3 -1
- package/dist/types/experiments-config.d.ts +3 -10
- package/dist/types/experiments.d.ts +1 -5
- package/dist/types-ts4.5/experiments-config.d.ts +3 -10
- package/dist/types-ts4.5/experiments.d.ts +1 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 16.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`7b39652e2fb7e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b39652e2fb7e) -
|
|
8
|
+
Updates editor to only show placeholder once collab has connected.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`0432552b0f173`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0432552b0f173) -
|
|
13
|
+
Cleaning up platform_editor_ai_proactive_ai_nudge
|
|
14
|
+
|
|
15
|
+
## 16.11.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`0095cf9cd3e6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0095cf9cd3e6f) -
|
|
20
|
+
NOISSUE Clean up feature gate cc_editor_limited_mode_table_align_bttn
|
|
21
|
+
|
|
22
|
+
Remove the feature gate `cc_editor_limited_mode_table_align_bttn` and assume it's always enabled.
|
|
23
|
+
The performance optimization for table column distribution in limited mode is now always active
|
|
24
|
+
when limited mode is enabled.
|
|
25
|
+
|
|
3
26
|
## 16.10.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
|
@@ -7,7 +7,6 @@ exports.testMultivariateOverrides = exports.testBooleanOverrides = void 0;
|
|
|
7
7
|
var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
8
8
|
'example-multivariate': 'one',
|
|
9
9
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
10
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
11
10
|
platform_editor_controls: 'control',
|
|
12
11
|
confluence_whiteboards_quick_insert: 'control',
|
|
13
12
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -37,6 +37,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
37
37
|
|
|
38
38
|
// Editor Platform experiments
|
|
39
39
|
// lwoollard experiments
|
|
40
|
+
|
|
41
|
+
// Added 22-12-2025
|
|
42
|
+
cc_editor_placeholder_collab_wait: (0, _experimentBuilders.createBooleanExperiment)({
|
|
43
|
+
productKeys: {
|
|
44
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
45
|
+
},
|
|
46
|
+
param: 'isEnabled',
|
|
47
|
+
defaultValue: false
|
|
48
|
+
}),
|
|
40
49
|
// Added 02-12-2025
|
|
41
50
|
cc_fix_hydration_ttvc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
42
51
|
productKeys: {
|
|
@@ -354,15 +363,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
354
363
|
param: 'isEnabled',
|
|
355
364
|
defaultValue: false
|
|
356
365
|
}),
|
|
357
|
-
// Added 2025-03-28
|
|
358
|
-
platform_editor_ai_proactive_ai_nudge_parameters: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
359
|
-
productKeys: {
|
|
360
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
361
|
-
},
|
|
362
|
-
param: 'cohort',
|
|
363
|
-
values: ['control', 'variant1'],
|
|
364
|
-
defaultValue: 'control'
|
|
365
|
-
}),
|
|
366
366
|
// Added 2025-04-14
|
|
367
367
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
368
368
|
platform_editor_offline_editing_web: (0, _experimentBuilders.createBooleanExperiment)({
|
|
@@ -1048,14 +1048,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1048
1048
|
param: 'isEnabled',
|
|
1049
1049
|
defaultValue: false
|
|
1050
1050
|
}),
|
|
1051
|
-
// Added 2025-11-07
|
|
1052
|
-
cc_editor_limited_mode_table_align_bttn: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1053
|
-
productKeys: {
|
|
1054
|
-
confluence: 'cc_editor_limited_mode_table_align_bttn'
|
|
1055
|
-
},
|
|
1056
|
-
param: 'isEnabled',
|
|
1057
|
-
defaultValue: false
|
|
1058
|
-
}),
|
|
1059
1051
|
// Added 2025-12-18
|
|
1060
1052
|
platform_editor_blockquote_zero_padding: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1061
1053
|
productKeys: {
|
package/dist/cjs/experiments.js
CHANGED
|
@@ -108,7 +108,9 @@ function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
108
108
|
}
|
|
109
109
|
return expectedExperimentValue === experimentValue;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
|
|
112
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
113
|
+
|
|
112
114
|
/**
|
|
113
115
|
* @warning This currently lacks type safety on the param names and return values
|
|
114
116
|
* and has limited associated test tooling.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export const testMultivariateOverrides = {
|
|
2
2
|
'example-multivariate': 'one',
|
|
3
3
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
4
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
5
4
|
platform_editor_controls: 'control',
|
|
6
5
|
confluence_whiteboards_quick_insert: 'control',
|
|
7
6
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -31,6 +31,15 @@ export const editorExperimentsConfig = {
|
|
|
31
31
|
|
|
32
32
|
// Editor Platform experiments
|
|
33
33
|
// lwoollard experiments
|
|
34
|
+
|
|
35
|
+
// Added 22-12-2025
|
|
36
|
+
cc_editor_placeholder_collab_wait: createBooleanExperiment({
|
|
37
|
+
productKeys: {
|
|
38
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
39
|
+
},
|
|
40
|
+
param: 'isEnabled',
|
|
41
|
+
defaultValue: false
|
|
42
|
+
}),
|
|
34
43
|
// Added 02-12-2025
|
|
35
44
|
cc_fix_hydration_ttvc: createBooleanExperiment({
|
|
36
45
|
productKeys: {
|
|
@@ -348,15 +357,6 @@ export const editorExperimentsConfig = {
|
|
|
348
357
|
param: 'isEnabled',
|
|
349
358
|
defaultValue: false
|
|
350
359
|
}),
|
|
351
|
-
// Added 2025-03-28
|
|
352
|
-
platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
|
|
353
|
-
productKeys: {
|
|
354
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
355
|
-
},
|
|
356
|
-
param: 'cohort',
|
|
357
|
-
values: ['control', 'variant1'],
|
|
358
|
-
defaultValue: 'control'
|
|
359
|
-
}),
|
|
360
360
|
// Added 2025-04-14
|
|
361
361
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
362
362
|
platform_editor_offline_editing_web: createBooleanExperiment({
|
|
@@ -1042,14 +1042,6 @@ export const editorExperimentsConfig = {
|
|
|
1042
1042
|
param: 'isEnabled',
|
|
1043
1043
|
defaultValue: false
|
|
1044
1044
|
}),
|
|
1045
|
-
// Added 2025-11-07
|
|
1046
|
-
cc_editor_limited_mode_table_align_bttn: createBooleanExperiment({
|
|
1047
|
-
productKeys: {
|
|
1048
|
-
confluence: 'cc_editor_limited_mode_table_align_bttn'
|
|
1049
|
-
},
|
|
1050
|
-
param: 'isEnabled',
|
|
1051
|
-
defaultValue: false
|
|
1052
|
-
}),
|
|
1053
1045
|
// Added 2025-12-18
|
|
1054
1046
|
platform_editor_blockquote_zero_padding: createBooleanExperiment({
|
|
1055
1047
|
productKeys: {
|
|
@@ -100,7 +100,9 @@ export function editorExperiment(experimentName, expectedExperimentValue, option
|
|
|
100
100
|
}
|
|
101
101
|
return expectedExperimentValue === experimentValue;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
|
|
104
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
105
|
+
|
|
104
106
|
/**
|
|
105
107
|
* @warning This currently lacks type safety on the param names and return values
|
|
106
108
|
* and has limited associated test tooling.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export var testMultivariateOverrides = {
|
|
2
2
|
'example-multivariate': 'one',
|
|
3
3
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
4
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
5
4
|
platform_editor_controls: 'control',
|
|
6
5
|
confluence_whiteboards_quick_insert: 'control',
|
|
7
6
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -31,6 +31,15 @@ export var editorExperimentsConfig = {
|
|
|
31
31
|
|
|
32
32
|
// Editor Platform experiments
|
|
33
33
|
// lwoollard experiments
|
|
34
|
+
|
|
35
|
+
// Added 22-12-2025
|
|
36
|
+
cc_editor_placeholder_collab_wait: createBooleanExperiment({
|
|
37
|
+
productKeys: {
|
|
38
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
39
|
+
},
|
|
40
|
+
param: 'isEnabled',
|
|
41
|
+
defaultValue: false
|
|
42
|
+
}),
|
|
34
43
|
// Added 02-12-2025
|
|
35
44
|
cc_fix_hydration_ttvc: createBooleanExperiment({
|
|
36
45
|
productKeys: {
|
|
@@ -348,15 +357,6 @@ export var editorExperimentsConfig = {
|
|
|
348
357
|
param: 'isEnabled',
|
|
349
358
|
defaultValue: false
|
|
350
359
|
}),
|
|
351
|
-
// Added 2025-03-28
|
|
352
|
-
platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
|
|
353
|
-
productKeys: {
|
|
354
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
355
|
-
},
|
|
356
|
-
param: 'cohort',
|
|
357
|
-
values: ['control', 'variant1'],
|
|
358
|
-
defaultValue: 'control'
|
|
359
|
-
}),
|
|
360
360
|
// Added 2025-04-14
|
|
361
361
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
362
362
|
platform_editor_offline_editing_web: createBooleanExperiment({
|
|
@@ -1042,14 +1042,6 @@ export var editorExperimentsConfig = {
|
|
|
1042
1042
|
param: 'isEnabled',
|
|
1043
1043
|
defaultValue: false
|
|
1044
1044
|
}),
|
|
1045
|
-
// Added 2025-11-07
|
|
1046
|
-
cc_editor_limited_mode_table_align_bttn: createBooleanExperiment({
|
|
1047
|
-
productKeys: {
|
|
1048
|
-
confluence: 'cc_editor_limited_mode_table_align_bttn'
|
|
1049
|
-
},
|
|
1050
|
-
param: 'isEnabled',
|
|
1051
|
-
defaultValue: false
|
|
1052
|
-
}),
|
|
1053
1045
|
// Added 2025-12-18
|
|
1054
1046
|
platform_editor_blockquote_zero_padding: createBooleanExperiment({
|
|
1055
1047
|
productKeys: {
|
package/dist/esm/experiments.js
CHANGED
|
@@ -101,7 +101,9 @@ export function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
101
101
|
}
|
|
102
102
|
return expectedExperimentValue === experimentValue;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
|
|
105
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* @warning This currently lacks type safety on the param names and return values
|
|
107
109
|
* and has limited associated test tooling.
|
|
@@ -70,19 +70,19 @@ export declare const editorExperimentsConfig: {
|
|
|
70
70
|
productKeys?: ProductKeys;
|
|
71
71
|
typeGuard: IsBooleanType;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
cc_editor_placeholder_collab_wait: {
|
|
74
74
|
defaultValue: boolean;
|
|
75
75
|
param: string;
|
|
76
76
|
productKeys?: ProductKeys;
|
|
77
77
|
typeGuard: IsBooleanType;
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
cc_fix_hydration_ttvc: {
|
|
80
80
|
defaultValue: boolean;
|
|
81
81
|
param: string;
|
|
82
82
|
productKeys?: ProductKeys;
|
|
83
83
|
typeGuard: IsBooleanType;
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
cc_editor_limited_mode_include_lcm: {
|
|
86
86
|
defaultValue: boolean;
|
|
87
87
|
param: string;
|
|
88
88
|
productKeys?: ProductKeys;
|
|
@@ -227,13 +227,6 @@ export declare const editorExperimentsConfig: {
|
|
|
227
227
|
typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
|
|
228
228
|
values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
|
|
229
229
|
};
|
|
230
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
231
|
-
defaultValue: 'control' | 'variant1';
|
|
232
|
-
param: string;
|
|
233
|
-
productKeys?: ProductKeys;
|
|
234
|
-
typeGuard: (value: unknown) => value is 'control' | 'variant1';
|
|
235
|
-
values: ('control' | 'variant1')[];
|
|
236
|
-
};
|
|
237
230
|
platform_editor_ai_quickstart_command: {
|
|
238
231
|
defaultValue: boolean;
|
|
239
232
|
param: string;
|
|
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
50
50
|
export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
|
|
51
51
|
exposure: boolean;
|
|
52
52
|
}): boolean;
|
|
53
|
-
type Unstable_EditorExperimentParams = {
|
|
54
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
55
|
-
params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
|
|
56
|
-
};
|
|
57
|
-
};
|
|
53
|
+
type Unstable_EditorExperimentParams = {};
|
|
58
54
|
/**
|
|
59
55
|
* @warning This currently lacks type safety on the param names and return values
|
|
60
56
|
* and has limited associated test tooling.
|
|
@@ -70,19 +70,19 @@ export declare const editorExperimentsConfig: {
|
|
|
70
70
|
productKeys?: ProductKeys;
|
|
71
71
|
typeGuard: IsBooleanType;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
cc_editor_placeholder_collab_wait: {
|
|
74
74
|
defaultValue: boolean;
|
|
75
75
|
param: string;
|
|
76
76
|
productKeys?: ProductKeys;
|
|
77
77
|
typeGuard: IsBooleanType;
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
cc_fix_hydration_ttvc: {
|
|
80
80
|
defaultValue: boolean;
|
|
81
81
|
param: string;
|
|
82
82
|
productKeys?: ProductKeys;
|
|
83
83
|
typeGuard: IsBooleanType;
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
cc_editor_limited_mode_include_lcm: {
|
|
86
86
|
defaultValue: boolean;
|
|
87
87
|
param: string;
|
|
88
88
|
productKeys?: ProductKeys;
|
|
@@ -227,13 +227,6 @@ export declare const editorExperimentsConfig: {
|
|
|
227
227
|
typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
|
|
228
228
|
values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
|
|
229
229
|
};
|
|
230
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
231
|
-
defaultValue: 'control' | 'variant1';
|
|
232
|
-
param: string;
|
|
233
|
-
productKeys?: ProductKeys;
|
|
234
|
-
typeGuard: (value: unknown) => value is 'control' | 'variant1';
|
|
235
|
-
values: ('control' | 'variant1')[];
|
|
236
|
-
};
|
|
237
230
|
platform_editor_ai_quickstart_command: {
|
|
238
231
|
defaultValue: boolean;
|
|
239
232
|
param: string;
|
|
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
50
50
|
export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
|
|
51
51
|
exposure: boolean;
|
|
52
52
|
}): boolean;
|
|
53
|
-
type Unstable_EditorExperimentParams = {
|
|
54
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
55
|
-
params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
|
|
56
|
-
};
|
|
57
|
-
};
|
|
53
|
+
type Unstable_EditorExperimentParams = {};
|
|
58
54
|
/**
|
|
59
55
|
* @warning This currently lacks type safety on the param names and return values
|
|
60
56
|
* and has limited associated test tooling.
|
package/package.json
CHANGED