@atlaskit/tmp-editor-statsig 2.1.2 → 2.1.4

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,27 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#136760](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136760)
8
+ [`67e70c0779b86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67e70c0779b86) -
9
+ [EDF-1274](https://product-fabric.atlassian.net/browse/EDF-1274) - replace
10
+ platform_editor_ai_command_palate_improvement_fg FG by
11
+ platform_editor_ai_command_palate_improvement Statsig experiment
12
+
13
+ ## 2.1.3
14
+
15
+ ### Patch Changes
16
+
17
+ - [#137041](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137041)
18
+ [`060aff106c5ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/060aff106c5ac) -
19
+ Add insert-right-rail experiment and reimplement right rail logic
20
+ - [#137041](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137041)
21
+ [`060aff106c5ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/060aff106c5ac) -
22
+ Add new experiment for insert menu in right rail, allow right menu to be opened from main toolbar
23
+ '+' button
24
+
3
25
  ## 2.1.2
4
26
 
5
27
  ### Patch Changes
@@ -58,6 +58,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
58
58
  typeGuard: isBoolean,
59
59
  defaultValue: false
60
60
  },
61
+ // Add 2024-08-27
62
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
63
+ platform_editor_ai_command_palate_improvement: {
64
+ productKeys: {
65
+ confluence: 'platform_editor_ai_command_palate_improvement'
66
+ },
67
+ param: 'cohort',
68
+ typeGuard: oneOf(['control', 'test']),
69
+ defaultValue: 'control'
70
+ },
61
71
  // Added 2024-08-23
62
72
  'platform-editor-ai-condensed-floating-toobar': {
63
73
  productKeys: {
@@ -102,5 +112,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
102
112
  param: 'isEnabled',
103
113
  typeGuard: isBoolean,
104
114
  defaultValue: false
115
+ },
116
+ // Added 2024-08-29
117
+ 'insert-menu-in-right-rail': {
118
+ productKeys: {
119
+ confluence: 'platform_editor_insert_menu_in_right_rail'
120
+ },
121
+ param: 'isEnabled',
122
+ typeGuard: isBoolean,
123
+ defaultValue: false
105
124
  }
106
125
  };
@@ -52,6 +52,16 @@ export const editorExperimentsConfig = {
52
52
  typeGuard: isBoolean,
53
53
  defaultValue: false
54
54
  },
55
+ // Add 2024-08-27
56
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
57
+ platform_editor_ai_command_palate_improvement: {
58
+ productKeys: {
59
+ confluence: 'platform_editor_ai_command_palate_improvement'
60
+ },
61
+ param: 'cohort',
62
+ typeGuard: oneOf(['control', 'test']),
63
+ defaultValue: 'control'
64
+ },
55
65
  // Added 2024-08-23
56
66
  'platform-editor-ai-condensed-floating-toobar': {
57
67
  productKeys: {
@@ -96,5 +106,14 @@ export const editorExperimentsConfig = {
96
106
  param: 'isEnabled',
97
107
  typeGuard: isBoolean,
98
108
  defaultValue: false
109
+ },
110
+ // Added 2024-08-29
111
+ 'insert-menu-in-right-rail': {
112
+ productKeys: {
113
+ confluence: 'platform_editor_insert_menu_in_right_rail'
114
+ },
115
+ param: 'isEnabled',
116
+ typeGuard: isBoolean,
117
+ defaultValue: false
99
118
  }
100
119
  };
@@ -52,6 +52,16 @@ export var editorExperimentsConfig = {
52
52
  typeGuard: isBoolean,
53
53
  defaultValue: false
54
54
  },
55
+ // Add 2024-08-27
56
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
57
+ platform_editor_ai_command_palate_improvement: {
58
+ productKeys: {
59
+ confluence: 'platform_editor_ai_command_palate_improvement'
60
+ },
61
+ param: 'cohort',
62
+ typeGuard: oneOf(['control', 'test']),
63
+ defaultValue: 'control'
64
+ },
55
65
  // Added 2024-08-23
56
66
  'platform-editor-ai-condensed-floating-toobar': {
57
67
  productKeys: {
@@ -96,5 +106,14 @@ export var editorExperimentsConfig = {
96
106
  param: 'isEnabled',
97
107
  typeGuard: isBoolean,
98
108
  defaultValue: false
109
+ },
110
+ // Added 2024-08-29
111
+ 'insert-menu-in-right-rail': {
112
+ productKeys: {
113
+ confluence: 'platform_editor_insert_menu_in_right_rail'
114
+ },
115
+ param: 'isEnabled',
116
+ typeGuard: isBoolean,
117
+ defaultValue: false
99
118
  }
100
119
  };
@@ -35,7 +35,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
35
35
  * })
36
36
  * ```
37
37
  */
38
- export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName] extends string ? Record<EditorExperimentsConfig[ExperimentName], () => void | Promise<void>> : {
38
+ export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName]['defaultValue'] extends string ? Record<EditorExperimentsConfig[ExperimentName]['defaultValue'], () => void | Promise<void>> : {
39
39
  true: () => void | Promise<void>;
40
40
  false: () => void | Promise<void>;
41
41
  }, otherExperiments?: EditorExperimentOverrides): void;
@@ -39,6 +39,14 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
+ platform_editor_ai_command_palate_improvement: {
43
+ productKeys: {
44
+ confluence: string;
45
+ };
46
+ param: string;
47
+ typeGuard: (value: unknown) => value is "control" | "test";
48
+ defaultValue: "control" | "test";
49
+ };
42
50
  'platform-editor-ai-condensed-floating-toobar': {
43
51
  productKeys: {
44
52
  confluence: string;
@@ -79,5 +87,13 @@ export declare const editorExperimentsConfig: {
79
87
  typeGuard: typeof isBoolean;
80
88
  defaultValue: boolean;
81
89
  };
90
+ 'insert-menu-in-right-rail': {
91
+ productKeys: {
92
+ confluence: string;
93
+ };
94
+ param: string;
95
+ typeGuard: typeof isBoolean;
96
+ defaultValue: boolean;
97
+ };
82
98
  };
83
99
  export {};
@@ -7,11 +7,13 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
+ platform_editor_ai_command_palate_improvement: "control" | "test";
10
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
12
  'dnd-input-performance-optimisation': boolean;
12
13
  'element-level-templates': boolean;
13
14
  'nested-dnd': boolean;
14
15
  'table-nested-dnd': boolean;
16
+ 'insert-menu-in-right-rail': boolean;
15
17
  }>;
16
18
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
17
19
  /**
@@ -35,7 +35,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
35
35
  * })
36
36
  * ```
37
37
  */
38
- export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName] extends string ? Record<EditorExperimentsConfig[ExperimentName], () => void | Promise<void>> : {
38
+ export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName]['defaultValue'] extends string ? Record<EditorExperimentsConfig[ExperimentName]['defaultValue'], () => void | Promise<void>> : {
39
39
  true: () => void | Promise<void>;
40
40
  false: () => void | Promise<void>;
41
41
  }, otherExperiments?: EditorExperimentOverrides): void;
@@ -39,6 +39,14 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
+ platform_editor_ai_command_palate_improvement: {
43
+ productKeys: {
44
+ confluence: string;
45
+ };
46
+ param: string;
47
+ typeGuard: (value: unknown) => value is "control" | "test";
48
+ defaultValue: "control" | "test";
49
+ };
42
50
  'platform-editor-ai-condensed-floating-toobar': {
43
51
  productKeys: {
44
52
  confluence: string;
@@ -79,5 +87,13 @@ export declare const editorExperimentsConfig: {
79
87
  typeGuard: typeof isBoolean;
80
88
  defaultValue: boolean;
81
89
  };
90
+ 'insert-menu-in-right-rail': {
91
+ productKeys: {
92
+ confluence: string;
93
+ };
94
+ param: string;
95
+ typeGuard: typeof isBoolean;
96
+ defaultValue: boolean;
97
+ };
82
98
  };
83
99
  export {};
@@ -7,11 +7,13 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
+ platform_editor_ai_command_palate_improvement: "control" | "test";
10
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
12
  'dnd-input-performance-optimisation': boolean;
12
13
  'element-level-templates': boolean;
13
14
  'nested-dnd': boolean;
14
15
  'table-nested-dnd': boolean;
16
+ 'insert-menu-in-right-rail': boolean;
15
17
  }>;
16
18
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
17
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
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",