@atlaskit/tmp-editor-statsig 2.0.0 → 2.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#136054](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136054)
8
+ [`9887c32fede77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9887c32fede77) -
9
+ EDF-1449 Fix floating toolbar experiment
10
+
11
+ ## 2.0.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#136295](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136295)
16
+ [`0150dad7ca580`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0150dad7ca580) -
17
+ Add new experiment for insert menu in right rail, allow right menu to be opened from main toolbar
18
+ '+' button
19
+
3
20
  ## 2.0.0
4
21
 
5
22
  ### Major Changes
@@ -63,9 +63,9 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
63
63
  productKeys: {
64
64
  confluence: 'platform_editor_ai_condensed_floating_toobar'
65
65
  },
66
- param: 'isEnabled',
67
- typeGuard: isBoolean,
68
- defaultValue: false
66
+ param: 'cohort',
67
+ typeGuard: oneOf(['control', 'dropdown', 'editor_ai_button']),
68
+ defaultValue: 'control'
69
69
  },
70
70
  // Added 2024-08-27
71
71
  'dnd-input-performance-optimisation': {
@@ -93,5 +93,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
93
93
  param: 'isEnabled',
94
94
  typeGuard: isBoolean,
95
95
  defaultValue: false
96
+ },
97
+ // Added 2024-08-29
98
+ 'insert-menu-in-right-rail': {
99
+ productKeys: {
100
+ confluence: 'platform_editor_insert_menu_in_right_rail'
101
+ },
102
+ param: 'isEnabled',
103
+ typeGuard: isBoolean,
104
+ defaultValue: false
96
105
  }
97
106
  };
@@ -57,9 +57,9 @@ export const editorExperimentsConfig = {
57
57
  productKeys: {
58
58
  confluence: 'platform_editor_ai_condensed_floating_toobar'
59
59
  },
60
- param: 'isEnabled',
61
- typeGuard: isBoolean,
62
- defaultValue: false
60
+ param: 'cohort',
61
+ typeGuard: oneOf(['control', 'dropdown', 'editor_ai_button']),
62
+ defaultValue: 'control'
63
63
  },
64
64
  // Added 2024-08-27
65
65
  'dnd-input-performance-optimisation': {
@@ -87,5 +87,14 @@ export const editorExperimentsConfig = {
87
87
  param: 'isEnabled',
88
88
  typeGuard: isBoolean,
89
89
  defaultValue: false
90
+ },
91
+ // Added 2024-08-29
92
+ 'insert-menu-in-right-rail': {
93
+ productKeys: {
94
+ confluence: 'platform_editor_insert_menu_in_right_rail'
95
+ },
96
+ param: 'isEnabled',
97
+ typeGuard: isBoolean,
98
+ defaultValue: false
90
99
  }
91
100
  };
@@ -57,9 +57,9 @@ export var editorExperimentsConfig = {
57
57
  productKeys: {
58
58
  confluence: 'platform_editor_ai_condensed_floating_toobar'
59
59
  },
60
- param: 'isEnabled',
61
- typeGuard: isBoolean,
62
- defaultValue: false
60
+ param: 'cohort',
61
+ typeGuard: oneOf(['control', 'dropdown', 'editor_ai_button']),
62
+ defaultValue: 'control'
63
63
  },
64
64
  // Added 2024-08-27
65
65
  'dnd-input-performance-optimisation': {
@@ -87,5 +87,14 @@ export var editorExperimentsConfig = {
87
87
  param: 'isEnabled',
88
88
  typeGuard: isBoolean,
89
89
  defaultValue: false
90
+ },
91
+ // Added 2024-08-29
92
+ 'insert-menu-in-right-rail': {
93
+ productKeys: {
94
+ confluence: 'platform_editor_insert_menu_in_right_rail'
95
+ },
96
+ param: 'isEnabled',
97
+ typeGuard: isBoolean,
98
+ defaultValue: false
90
99
  }
91
100
  };
@@ -44,8 +44,8 @@ export declare const editorExperimentsConfig: {
44
44
  confluence: string;
45
45
  };
46
46
  param: string;
47
- typeGuard: typeof isBoolean;
48
- defaultValue: boolean;
47
+ typeGuard: (value: unknown) => value is "control" | "dropdown" | "editor_ai_button";
48
+ defaultValue: "control" | "dropdown" | "editor_ai_button";
49
49
  };
50
50
  'dnd-input-performance-optimisation': {
51
51
  productKeys: {
@@ -71,5 +71,13 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
+ 'insert-menu-in-right-rail': {
75
+ productKeys: {
76
+ confluence: string;
77
+ };
78
+ param: string;
79
+ typeGuard: typeof isBoolean;
80
+ defaultValue: boolean;
81
+ };
74
82
  };
75
83
  export {};
@@ -7,10 +7,11 @@ 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-condensed-floating-toobar': boolean;
10
+ 'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
11
  'dnd-input-performance-optimisation': boolean;
12
12
  'element-level-templates': boolean;
13
13
  'nested-dnd': boolean;
14
+ 'insert-menu-in-right-rail': boolean;
14
15
  }>;
15
16
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
16
17
  /**
@@ -44,8 +44,8 @@ export declare const editorExperimentsConfig: {
44
44
  confluence: string;
45
45
  };
46
46
  param: string;
47
- typeGuard: typeof isBoolean;
48
- defaultValue: boolean;
47
+ typeGuard: (value: unknown) => value is "control" | "dropdown" | "editor_ai_button";
48
+ defaultValue: "control" | "dropdown" | "editor_ai_button";
49
49
  };
50
50
  'dnd-input-performance-optimisation': {
51
51
  productKeys: {
@@ -71,5 +71,13 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
+ 'insert-menu-in-right-rail': {
75
+ productKeys: {
76
+ confluence: string;
77
+ };
78
+ param: string;
79
+ typeGuard: typeof isBoolean;
80
+ defaultValue: boolean;
81
+ };
74
82
  };
75
83
  export {};
@@ -7,10 +7,11 @@ 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-condensed-floating-toobar': boolean;
10
+ 'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
11
  'dnd-input-performance-optimisation': boolean;
12
12
  'element-level-templates': boolean;
13
13
  'nested-dnd': boolean;
14
+ 'insert-menu-in-right-rail': boolean;
14
15
  }>;
15
16
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
16
17
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.0.0",
3
+ "version": "2.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",