@atlaskit/tmp-editor-statsig 12.4.0 → 12.6.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 +14 -0
- package/dist/cjs/exp-test-overrides.js +1 -0
- package/dist/cjs/experiments-config.js +16 -6
- package/dist/cjs/setup.js +2 -2
- package/dist/es2019/exp-test-overrides.js +1 -0
- package/dist/es2019/experiments-config.js +16 -6
- package/dist/es2019/setup.js +2 -2
- package/dist/esm/exp-test-overrides.js +1 -0
- package/dist/esm/experiments-config.js +16 -6
- package/dist/esm/setup.js +2 -2
- package/dist/types/experiments-config.d.ts +12 -5
- package/dist/types/setup.d.ts +7 -1
- package/dist/types-ts4.5/experiments-config.d.ts +12 -5
- package/dist/types-ts4.5/setup.d.ts +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 12.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`9fd320fad58ed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9fd320fad58ed) -
|
|
8
|
+
EDITOR-1516 Updated ADF experiments
|
|
9
|
+
|
|
10
|
+
## 12.5.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`db97eb262cc5a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db97eb262cc5a) -
|
|
15
|
+
replace platform_editor_toolbar_aifc with separate experiements for jira and confluence
|
|
16
|
+
|
|
3
17
|
## 12.4.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -16,6 +16,7 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
|
16
16
|
editor_ai_inline_suggestion_date_v2: 'control',
|
|
17
17
|
platform_editor_add_orange_highlight_color: 'control',
|
|
18
18
|
platform_editor_ai_iw_adf_streaming: 'control',
|
|
19
|
+
platform_editor_ai_non_iw_adf_streaming: 'control',
|
|
19
20
|
platform_hover_card_preview_panel: 'control'
|
|
20
21
|
};
|
|
21
22
|
var testBooleanOverrides = exports.testBooleanOverrides = {
|
|
@@ -437,7 +437,7 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
437
437
|
confluence: 'platform_editor_ai_iw_adf_streaming'
|
|
438
438
|
},
|
|
439
439
|
param: 'cohort',
|
|
440
|
-
values: ['control', '
|
|
440
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
441
441
|
defaultValue: 'control'
|
|
442
442
|
}),
|
|
443
443
|
// Added 2025-06-18
|
|
@@ -449,12 +449,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
449
449
|
defaultValue: false
|
|
450
450
|
}),
|
|
451
451
|
// Added 2025-08-20
|
|
452
|
-
platform_editor_ai_non_iw_adf_streaming: (0, _experimentBuilders.
|
|
452
|
+
platform_editor_ai_non_iw_adf_streaming: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
453
453
|
productKeys: {
|
|
454
454
|
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
455
455
|
},
|
|
456
|
-
param: '
|
|
457
|
-
|
|
456
|
+
param: 'cohort',
|
|
457
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
458
|
+
defaultValue: 'control'
|
|
458
459
|
}),
|
|
459
460
|
// Added 2025-07-07
|
|
460
461
|
platform_editor_ai_remove_trivial_prompts_cc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
@@ -610,8 +611,8 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
610
611
|
//Added 2025-07-16
|
|
611
612
|
platform_editor_toolbar_aifc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
612
613
|
productKeys: {
|
|
613
|
-
jira: '
|
|
614
|
-
confluence: '
|
|
614
|
+
jira: 'platform_editor_toolbar_aifc_jira',
|
|
615
|
+
confluence: 'platform_editor_toolbar_aifc_confluence'
|
|
615
616
|
},
|
|
616
617
|
param: 'isEnabled',
|
|
617
618
|
defaultValue: false
|
|
@@ -846,5 +847,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
846
847
|
},
|
|
847
848
|
param: 'isEnabled',
|
|
848
849
|
defaultValue: false
|
|
850
|
+
}),
|
|
851
|
+
// Added 03-09-2025
|
|
852
|
+
cc_editor_interactivity_monitoring: (0, _experimentBuilders.createBooleanExperiment)({
|
|
853
|
+
productKeys: {
|
|
854
|
+
confluence: 'cc_editor_interactivity_monitoring',
|
|
855
|
+
jira: 'cc_editor_interactivity_monitoring'
|
|
856
|
+
},
|
|
857
|
+
param: 'isEnabled',
|
|
858
|
+
defaultValue: false
|
|
849
859
|
})
|
|
850
860
|
};
|
package/dist/cjs/setup.js
CHANGED
|
@@ -37,7 +37,7 @@ groupOverrides,
|
|
|
37
37
|
* Param overrides are used to set the experiment parameters for testing purposes.
|
|
38
38
|
* This is useful when you want to tweak the experiment parameters for testing.
|
|
39
39
|
*/
|
|
40
|
-
paramOverrides) {
|
|
40
|
+
paramOverrides, options) {
|
|
41
41
|
if (groupOverrides) {
|
|
42
42
|
// When setting up overrides, we want to ensure that experiments don't end up with invalid
|
|
43
43
|
// values.
|
|
@@ -56,7 +56,7 @@ paramOverrides) {
|
|
|
56
56
|
}, {});
|
|
57
57
|
exports._overrides = _overrides = groupOverrides;
|
|
58
58
|
}
|
|
59
|
-
if (product === 'test') {
|
|
59
|
+
if (product === 'test' && !(options !== null && options !== void 0 && options.disableTestOverrides)) {
|
|
60
60
|
// Enforce expectation - file overrides, then global overrides, then default to true for boolean
|
|
61
61
|
// experiments, then last result use the default value
|
|
62
62
|
var testOverrides = Object.fromEntries(Object.entries(_experimentsConfig.editorExperimentsConfig).map(function (_ref3) {
|
|
@@ -10,6 +10,7 @@ export const testMultivariateOverrides = {
|
|
|
10
10
|
editor_ai_inline_suggestion_date_v2: 'control',
|
|
11
11
|
platform_editor_add_orange_highlight_color: 'control',
|
|
12
12
|
platform_editor_ai_iw_adf_streaming: 'control',
|
|
13
|
+
platform_editor_ai_non_iw_adf_streaming: 'control',
|
|
13
14
|
platform_hover_card_preview_panel: 'control'
|
|
14
15
|
};
|
|
15
16
|
export const testBooleanOverrides = {
|
|
@@ -431,7 +431,7 @@ export const editorExperimentsConfig = {
|
|
|
431
431
|
confluence: 'platform_editor_ai_iw_adf_streaming'
|
|
432
432
|
},
|
|
433
433
|
param: 'cohort',
|
|
434
|
-
values: ['control', '
|
|
434
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
435
435
|
defaultValue: 'control'
|
|
436
436
|
}),
|
|
437
437
|
// Added 2025-06-18
|
|
@@ -443,12 +443,13 @@ export const editorExperimentsConfig = {
|
|
|
443
443
|
defaultValue: false
|
|
444
444
|
}),
|
|
445
445
|
// Added 2025-08-20
|
|
446
|
-
platform_editor_ai_non_iw_adf_streaming:
|
|
446
|
+
platform_editor_ai_non_iw_adf_streaming: createMultivariateExperiment({
|
|
447
447
|
productKeys: {
|
|
448
448
|
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
449
449
|
},
|
|
450
|
-
param: '
|
|
451
|
-
|
|
450
|
+
param: 'cohort',
|
|
451
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
452
|
+
defaultValue: 'control'
|
|
452
453
|
}),
|
|
453
454
|
// Added 2025-07-07
|
|
454
455
|
platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
|
|
@@ -604,8 +605,8 @@ export const editorExperimentsConfig = {
|
|
|
604
605
|
//Added 2025-07-16
|
|
605
606
|
platform_editor_toolbar_aifc: createBooleanExperiment({
|
|
606
607
|
productKeys: {
|
|
607
|
-
jira: '
|
|
608
|
-
confluence: '
|
|
608
|
+
jira: 'platform_editor_toolbar_aifc_jira',
|
|
609
|
+
confluence: 'platform_editor_toolbar_aifc_confluence'
|
|
609
610
|
},
|
|
610
611
|
param: 'isEnabled',
|
|
611
612
|
defaultValue: false
|
|
@@ -840,5 +841,14 @@ export const editorExperimentsConfig = {
|
|
|
840
841
|
},
|
|
841
842
|
param: 'isEnabled',
|
|
842
843
|
defaultValue: false
|
|
844
|
+
}),
|
|
845
|
+
// Added 03-09-2025
|
|
846
|
+
cc_editor_interactivity_monitoring: createBooleanExperiment({
|
|
847
|
+
productKeys: {
|
|
848
|
+
confluence: 'cc_editor_interactivity_monitoring',
|
|
849
|
+
jira: 'cc_editor_interactivity_monitoring'
|
|
850
|
+
},
|
|
851
|
+
param: 'isEnabled',
|
|
852
|
+
defaultValue: false
|
|
843
853
|
})
|
|
844
854
|
};
|
package/dist/es2019/setup.js
CHANGED
|
@@ -28,7 +28,7 @@ groupOverrides,
|
|
|
28
28
|
* Param overrides are used to set the experiment parameters for testing purposes.
|
|
29
29
|
* This is useful when you want to tweak the experiment parameters for testing.
|
|
30
30
|
*/
|
|
31
|
-
paramOverrides) {
|
|
31
|
+
paramOverrides, options) {
|
|
32
32
|
if (groupOverrides) {
|
|
33
33
|
// When setting up overrides, we want to ensure that experiments don't end up with invalid
|
|
34
34
|
// values.
|
|
@@ -47,7 +47,7 @@ paramOverrides) {
|
|
|
47
47
|
}, {});
|
|
48
48
|
_overrides = groupOverrides;
|
|
49
49
|
}
|
|
50
|
-
if (product === 'test') {
|
|
50
|
+
if (product === 'test' && !(options !== null && options !== void 0 && options.disableTestOverrides)) {
|
|
51
51
|
// Enforce expectation - file overrides, then global overrides, then default to true for boolean
|
|
52
52
|
// experiments, then last result use the default value
|
|
53
53
|
const testOverrides = Object.fromEntries(Object.entries(editorExperimentsConfig).map(([key, value]) => {
|
|
@@ -10,6 +10,7 @@ export var testMultivariateOverrides = {
|
|
|
10
10
|
editor_ai_inline_suggestion_date_v2: 'control',
|
|
11
11
|
platform_editor_add_orange_highlight_color: 'control',
|
|
12
12
|
platform_editor_ai_iw_adf_streaming: 'control',
|
|
13
|
+
platform_editor_ai_non_iw_adf_streaming: 'control',
|
|
13
14
|
platform_hover_card_preview_panel: 'control'
|
|
14
15
|
};
|
|
15
16
|
export var testBooleanOverrides = {
|
|
@@ -431,7 +431,7 @@ export var editorExperimentsConfig = {
|
|
|
431
431
|
confluence: 'platform_editor_ai_iw_adf_streaming'
|
|
432
432
|
},
|
|
433
433
|
param: 'cohort',
|
|
434
|
-
values: ['control', '
|
|
434
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
435
435
|
defaultValue: 'control'
|
|
436
436
|
}),
|
|
437
437
|
// Added 2025-06-18
|
|
@@ -443,12 +443,13 @@ export var editorExperimentsConfig = {
|
|
|
443
443
|
defaultValue: false
|
|
444
444
|
}),
|
|
445
445
|
// Added 2025-08-20
|
|
446
|
-
platform_editor_ai_non_iw_adf_streaming:
|
|
446
|
+
platform_editor_ai_non_iw_adf_streaming: createMultivariateExperiment({
|
|
447
447
|
productKeys: {
|
|
448
448
|
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
449
449
|
},
|
|
450
|
-
param: '
|
|
451
|
-
|
|
450
|
+
param: 'cohort',
|
|
451
|
+
values: ['control', 'adf_gemini25flash', 'adf_gpt41mini'],
|
|
452
|
+
defaultValue: 'control'
|
|
452
453
|
}),
|
|
453
454
|
// Added 2025-07-07
|
|
454
455
|
platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
|
|
@@ -604,8 +605,8 @@ export var editorExperimentsConfig = {
|
|
|
604
605
|
//Added 2025-07-16
|
|
605
606
|
platform_editor_toolbar_aifc: createBooleanExperiment({
|
|
606
607
|
productKeys: {
|
|
607
|
-
jira: '
|
|
608
|
-
confluence: '
|
|
608
|
+
jira: 'platform_editor_toolbar_aifc_jira',
|
|
609
|
+
confluence: 'platform_editor_toolbar_aifc_confluence'
|
|
609
610
|
},
|
|
610
611
|
param: 'isEnabled',
|
|
611
612
|
defaultValue: false
|
|
@@ -840,5 +841,14 @@ export var editorExperimentsConfig = {
|
|
|
840
841
|
},
|
|
841
842
|
param: 'isEnabled',
|
|
842
843
|
defaultValue: false
|
|
844
|
+
}),
|
|
845
|
+
// Added 03-09-2025
|
|
846
|
+
cc_editor_interactivity_monitoring: createBooleanExperiment({
|
|
847
|
+
productKeys: {
|
|
848
|
+
confluence: 'cc_editor_interactivity_monitoring',
|
|
849
|
+
jira: 'cc_editor_interactivity_monitoring'
|
|
850
|
+
},
|
|
851
|
+
param: 'isEnabled',
|
|
852
|
+
defaultValue: false
|
|
843
853
|
})
|
|
844
854
|
};
|
package/dist/esm/setup.js
CHANGED
|
@@ -32,7 +32,7 @@ groupOverrides,
|
|
|
32
32
|
* Param overrides are used to set the experiment parameters for testing purposes.
|
|
33
33
|
* This is useful when you want to tweak the experiment parameters for testing.
|
|
34
34
|
*/
|
|
35
|
-
paramOverrides) {
|
|
35
|
+
paramOverrides, options) {
|
|
36
36
|
if (groupOverrides) {
|
|
37
37
|
// When setting up overrides, we want to ensure that experiments don't end up with invalid
|
|
38
38
|
// values.
|
|
@@ -51,7 +51,7 @@ paramOverrides) {
|
|
|
51
51
|
}, {});
|
|
52
52
|
_overrides = groupOverrides;
|
|
53
53
|
}
|
|
54
|
-
if (product === 'test') {
|
|
54
|
+
if (product === 'test' && !(options !== null && options !== void 0 && options.disableTestOverrides)) {
|
|
55
55
|
// Enforce expectation - file overrides, then global overrides, then default to true for boolean
|
|
56
56
|
// experiments, then last result use the default value
|
|
57
57
|
var testOverrides = Object.fromEntries(Object.entries(editorExperimentsConfig).map(function (_ref3) {
|
|
@@ -318,9 +318,9 @@ export declare const editorExperimentsConfig: {
|
|
|
318
318
|
productKeys?: import("./types").ProductKeys;
|
|
319
319
|
};
|
|
320
320
|
platform_editor_ai_iw_adf_streaming: {
|
|
321
|
-
values: ("control" | "
|
|
322
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
323
|
-
defaultValue: "control" | "
|
|
321
|
+
values: ("control" | "adf_gemini25flash" | "adf_gpt41mini")[];
|
|
322
|
+
typeGuard: (value: unknown) => value is "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
323
|
+
defaultValue: "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
324
324
|
param: string;
|
|
325
325
|
productKeys?: import("./types").ProductKeys;
|
|
326
326
|
};
|
|
@@ -331,8 +331,9 @@ export declare const editorExperimentsConfig: {
|
|
|
331
331
|
productKeys?: import("./types").ProductKeys;
|
|
332
332
|
};
|
|
333
333
|
platform_editor_ai_non_iw_adf_streaming: {
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
values: ("control" | "adf_gemini25flash" | "adf_gpt41mini")[];
|
|
335
|
+
typeGuard: (value: unknown) => value is "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
336
|
+
defaultValue: "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
336
337
|
param: string;
|
|
337
338
|
productKeys?: import("./types").ProductKeys;
|
|
338
339
|
};
|
|
@@ -623,4 +624,10 @@ export declare const editorExperimentsConfig: {
|
|
|
623
624
|
param: string;
|
|
624
625
|
productKeys?: import("./types").ProductKeys;
|
|
625
626
|
};
|
|
627
|
+
cc_editor_interactivity_monitoring: {
|
|
628
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
629
|
+
defaultValue: boolean;
|
|
630
|
+
param: string;
|
|
631
|
+
productKeys?: import("./types").ProductKeys;
|
|
632
|
+
};
|
|
626
633
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -31,4 +31,10 @@ groupOverrides?: EditorExperimentOverrides,
|
|
|
31
31
|
* Param overrides are used to set the experiment parameters for testing purposes.
|
|
32
32
|
* This is useful when you want to tweak the experiment parameters for testing.
|
|
33
33
|
*/
|
|
34
|
-
paramOverrides?: EditorExperimentParamOverrides
|
|
34
|
+
paramOverrides?: EditorExperimentParamOverrides, options?: {
|
|
35
|
+
/**
|
|
36
|
+
* By default, boolean experiments are enabled when using `product === test`
|
|
37
|
+
* This option allows you to disable this behaviour (ie. for examples)
|
|
38
|
+
*/
|
|
39
|
+
disableTestOverrides?: boolean;
|
|
40
|
+
}): void;
|
|
@@ -318,9 +318,9 @@ export declare const editorExperimentsConfig: {
|
|
|
318
318
|
productKeys?: import("./types").ProductKeys;
|
|
319
319
|
};
|
|
320
320
|
platform_editor_ai_iw_adf_streaming: {
|
|
321
|
-
values: ("control" | "
|
|
322
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
323
|
-
defaultValue: "control" | "
|
|
321
|
+
values: ("control" | "adf_gemini25flash" | "adf_gpt41mini")[];
|
|
322
|
+
typeGuard: (value: unknown) => value is "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
323
|
+
defaultValue: "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
324
324
|
param: string;
|
|
325
325
|
productKeys?: import("./types").ProductKeys;
|
|
326
326
|
};
|
|
@@ -331,8 +331,9 @@ export declare const editorExperimentsConfig: {
|
|
|
331
331
|
productKeys?: import("./types").ProductKeys;
|
|
332
332
|
};
|
|
333
333
|
platform_editor_ai_non_iw_adf_streaming: {
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
values: ("control" | "adf_gemini25flash" | "adf_gpt41mini")[];
|
|
335
|
+
typeGuard: (value: unknown) => value is "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
336
|
+
defaultValue: "control" | "adf_gemini25flash" | "adf_gpt41mini";
|
|
336
337
|
param: string;
|
|
337
338
|
productKeys?: import("./types").ProductKeys;
|
|
338
339
|
};
|
|
@@ -623,4 +624,10 @@ export declare const editorExperimentsConfig: {
|
|
|
623
624
|
param: string;
|
|
624
625
|
productKeys?: import("./types").ProductKeys;
|
|
625
626
|
};
|
|
627
|
+
cc_editor_interactivity_monitoring: {
|
|
628
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
629
|
+
defaultValue: boolean;
|
|
630
|
+
param: string;
|
|
631
|
+
productKeys?: import("./types").ProductKeys;
|
|
632
|
+
};
|
|
626
633
|
};
|
|
@@ -31,4 +31,10 @@ groupOverrides?: EditorExperimentOverrides,
|
|
|
31
31
|
* Param overrides are used to set the experiment parameters for testing purposes.
|
|
32
32
|
* This is useful when you want to tweak the experiment parameters for testing.
|
|
33
33
|
*/
|
|
34
|
-
paramOverrides?: EditorExperimentParamOverrides
|
|
34
|
+
paramOverrides?: EditorExperimentParamOverrides, options?: {
|
|
35
|
+
/**
|
|
36
|
+
* By default, boolean experiments are enabled when using `product === test`
|
|
37
|
+
* This option allows you to disable this behaviour (ie. for examples)
|
|
38
|
+
*/
|
|
39
|
+
disableTestOverrides?: boolean;
|
|
40
|
+
}): void;
|
package/package.json
CHANGED