@atlaskit/tmp-editor-statsig 10.0.0 → 10.1.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 10.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`aa1fb76d0b8a3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aa1fb76d0b8a3) -
8
+ EDITOR-1315 Converted IW experiment to multivariant experiment.
9
+
3
10
  ## 10.0.0
4
11
 
5
12
  ### Major Changes
@@ -14,7 +14,8 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
14
14
  cc_editor_interactions_trigger_traceufointeraction: 'control',
15
15
  platform_editor_insertion: 'control',
16
16
  editor_ai_inline_suggestion_date_v2: 'control',
17
- platform_editor_add_orange_highlight_color: 'control'
17
+ platform_editor_add_orange_highlight_color: 'control',
18
+ platform_editor_ai_iw_adf_streaming: 'control'
18
19
  };
19
20
  var testBooleanOverrides = exports.testBooleanOverrides = {
20
21
  platform_editor_feedback_mandatory_rating: false,
@@ -58,7 +59,6 @@ var testBooleanOverrides = exports.testBooleanOverrides = {
58
59
  platform_editor_toolbar_rerender_optimization_exp: false,
59
60
  platform_editor_block_controls_perf_optimization: false,
60
61
  platform_editor_enable_single_player_step_merging: false,
61
- platform_editor_ai_iw_adf_streaming: false,
62
62
  platform_editor_ai_remove_trivial_prompts_cc: false,
63
63
  platform_editor_find_and_replace_improvements: false,
64
64
  cc_editor_ufo_hold_table_till_resize_complete: false,
@@ -440,12 +440,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
440
440
  defaultValue: false
441
441
  }),
442
442
  // Added 2025-06-18
443
- platform_editor_ai_iw_adf_streaming: (0, _experimentBuilders.createBooleanExperiment)({
443
+ platform_editor_ai_iw_adf_streaming: (0, _experimentBuilders.createMultivariateExperiment)({
444
444
  productKeys: {
445
445
  confluence: 'platform_editor_ai_iw_adf_streaming'
446
446
  },
447
- param: 'isEnabled',
448
- defaultValue: false
447
+ param: 'cohort',
448
+ values: ['control', 'adf', 'adf_personalisation'],
449
+ defaultValue: 'control'
449
450
  }),
450
451
  // Added 2025-06-18
451
452
  platform_editor_ai_ct_sg_adf_streaming: (0, _experimentBuilders.createBooleanExperiment)({
@@ -8,7 +8,8 @@ export const testMultivariateOverrides = {
8
8
  cc_editor_interactions_trigger_traceufointeraction: 'control',
9
9
  platform_editor_insertion: 'control',
10
10
  editor_ai_inline_suggestion_date_v2: 'control',
11
- platform_editor_add_orange_highlight_color: 'control'
11
+ platform_editor_add_orange_highlight_color: 'control',
12
+ platform_editor_ai_iw_adf_streaming: 'control'
12
13
  };
13
14
  export const testBooleanOverrides = {
14
15
  platform_editor_feedback_mandatory_rating: false,
@@ -52,7 +53,6 @@ export const testBooleanOverrides = {
52
53
  platform_editor_toolbar_rerender_optimization_exp: false,
53
54
  platform_editor_block_controls_perf_optimization: false,
54
55
  platform_editor_enable_single_player_step_merging: false,
55
- platform_editor_ai_iw_adf_streaming: false,
56
56
  platform_editor_ai_remove_trivial_prompts_cc: false,
57
57
  platform_editor_find_and_replace_improvements: false,
58
58
  cc_editor_ufo_hold_table_till_resize_complete: false,
@@ -434,12 +434,13 @@ export const editorExperimentsConfig = {
434
434
  defaultValue: false
435
435
  }),
436
436
  // Added 2025-06-18
437
- platform_editor_ai_iw_adf_streaming: createBooleanExperiment({
437
+ platform_editor_ai_iw_adf_streaming: createMultivariateExperiment({
438
438
  productKeys: {
439
439
  confluence: 'platform_editor_ai_iw_adf_streaming'
440
440
  },
441
- param: 'isEnabled',
442
- defaultValue: false
441
+ param: 'cohort',
442
+ values: ['control', 'adf', 'adf_personalisation'],
443
+ defaultValue: 'control'
443
444
  }),
444
445
  // Added 2025-06-18
445
446
  platform_editor_ai_ct_sg_adf_streaming: createBooleanExperiment({
@@ -8,7 +8,8 @@ export var testMultivariateOverrides = {
8
8
  cc_editor_interactions_trigger_traceufointeraction: 'control',
9
9
  platform_editor_insertion: 'control',
10
10
  editor_ai_inline_suggestion_date_v2: 'control',
11
- platform_editor_add_orange_highlight_color: 'control'
11
+ platform_editor_add_orange_highlight_color: 'control',
12
+ platform_editor_ai_iw_adf_streaming: 'control'
12
13
  };
13
14
  export var testBooleanOverrides = {
14
15
  platform_editor_feedback_mandatory_rating: false,
@@ -52,7 +53,6 @@ export var testBooleanOverrides = {
52
53
  platform_editor_toolbar_rerender_optimization_exp: false,
53
54
  platform_editor_block_controls_perf_optimization: false,
54
55
  platform_editor_enable_single_player_step_merging: false,
55
- platform_editor_ai_iw_adf_streaming: false,
56
56
  platform_editor_ai_remove_trivial_prompts_cc: false,
57
57
  platform_editor_find_and_replace_improvements: false,
58
58
  cc_editor_ufo_hold_table_till_resize_complete: false,
@@ -434,12 +434,13 @@ export var editorExperimentsConfig = {
434
434
  defaultValue: false
435
435
  }),
436
436
  // Added 2025-06-18
437
- platform_editor_ai_iw_adf_streaming: createBooleanExperiment({
437
+ platform_editor_ai_iw_adf_streaming: createMultivariateExperiment({
438
438
  productKeys: {
439
439
  confluence: 'platform_editor_ai_iw_adf_streaming'
440
440
  },
441
- param: 'isEnabled',
442
- defaultValue: false
441
+ param: 'cohort',
442
+ values: ['control', 'adf', 'adf_personalisation'],
443
+ defaultValue: 'control'
443
444
  }),
444
445
  // Added 2025-06-18
445
446
  platform_editor_ai_ct_sg_adf_streaming: createBooleanExperiment({
@@ -324,8 +324,9 @@ export declare const editorExperimentsConfig: {
324
324
  param: string;
325
325
  };
326
326
  platform_editor_ai_iw_adf_streaming: {
327
- typeGuard: typeof import("./type-guards").isBoolean;
328
- defaultValue: boolean;
327
+ values: ("control" | "adf" | "adf_personalisation")[];
328
+ typeGuard: (value: unknown) => value is "control" | "adf" | "adf_personalisation";
329
+ defaultValue: "control" | "adf" | "adf_personalisation";
329
330
  productKeys?: import("./types").ProductKeys;
330
331
  param: string;
331
332
  };
@@ -324,8 +324,9 @@ export declare const editorExperimentsConfig: {
324
324
  param: string;
325
325
  };
326
326
  platform_editor_ai_iw_adf_streaming: {
327
- typeGuard: typeof import("./type-guards").isBoolean;
328
- defaultValue: boolean;
327
+ values: ("control" | "adf" | "adf_personalisation")[];
328
+ typeGuard: (value: unknown) => value is "control" | "adf" | "adf_personalisation";
329
+ defaultValue: "control" | "adf" | "adf_personalisation";
329
330
  productKeys?: import("./types").ProductKeys;
330
331
  param: string;
331
332
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "10.0.0",
3
+ "version": "10.1.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",