@atlaskit/tmp-editor-statsig 2.1.9 → 2.1.11

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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#140707](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140707)
8
+ [`972fb840acf35`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/972fb840acf35) -
9
+ Switch from fg to experiment for media-from-url
10
+
11
+ ## 2.1.10
12
+
13
+ ### Patch Changes
14
+
15
+ - [#138791](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138791)
16
+ [`80669e45a30e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/80669e45a30e0) -
17
+ EDF-1548 Added experiment config for AI button for block elements.
18
+
3
19
  ## 2.1.9
4
20
 
5
21
  ### Patch Changes
@@ -95,6 +95,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
95
95
  typeGuard: isBoolean,
96
96
  defaultValue: false
97
97
  },
98
+ // Added 2024-08-29
99
+ 'add-media-from-url': {
100
+ productKeys: {
101
+ confluence: 'platform_editor_add_media_from_url'
102
+ },
103
+ param: 'isEnabled',
104
+ typeGuard: isBoolean,
105
+ defaultValue: false
106
+ },
98
107
  // Added 2024-08-30
99
108
  'nested-dnd': {
100
109
  productKeys: {
@@ -148,5 +157,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
148
157
  param: 'isEnabled',
149
158
  typeGuard: isBoolean,
150
159
  defaultValue: false
160
+ },
161
+ // Add 2024-09-16
162
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
163
+ platform_editor_ai_ai_button_block_elements: {
164
+ productKeys: {
165
+ confluence: 'platform_editor_ai_ai_button_block_elements'
166
+ },
167
+ param: 'cohort',
168
+ typeGuard: oneOf(['control', 'test']),
169
+ defaultValue: 'control'
151
170
  }
152
171
  };
@@ -89,6 +89,15 @@ export const editorExperimentsConfig = {
89
89
  typeGuard: isBoolean,
90
90
  defaultValue: false
91
91
  },
92
+ // Added 2024-08-29
93
+ 'add-media-from-url': {
94
+ productKeys: {
95
+ confluence: 'platform_editor_add_media_from_url'
96
+ },
97
+ param: 'isEnabled',
98
+ typeGuard: isBoolean,
99
+ defaultValue: false
100
+ },
92
101
  // Added 2024-08-30
93
102
  'nested-dnd': {
94
103
  productKeys: {
@@ -142,5 +151,15 @@ export const editorExperimentsConfig = {
142
151
  param: 'isEnabled',
143
152
  typeGuard: isBoolean,
144
153
  defaultValue: false
154
+ },
155
+ // Add 2024-09-16
156
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
157
+ platform_editor_ai_ai_button_block_elements: {
158
+ productKeys: {
159
+ confluence: 'platform_editor_ai_ai_button_block_elements'
160
+ },
161
+ param: 'cohort',
162
+ typeGuard: oneOf(['control', 'test']),
163
+ defaultValue: 'control'
145
164
  }
146
165
  };
@@ -89,6 +89,15 @@ export var editorExperimentsConfig = {
89
89
  typeGuard: isBoolean,
90
90
  defaultValue: false
91
91
  },
92
+ // Added 2024-08-29
93
+ 'add-media-from-url': {
94
+ productKeys: {
95
+ confluence: 'platform_editor_add_media_from_url'
96
+ },
97
+ param: 'isEnabled',
98
+ typeGuard: isBoolean,
99
+ defaultValue: false
100
+ },
92
101
  // Added 2024-08-30
93
102
  'nested-dnd': {
94
103
  productKeys: {
@@ -142,5 +151,15 @@ export var editorExperimentsConfig = {
142
151
  param: 'isEnabled',
143
152
  typeGuard: isBoolean,
144
153
  defaultValue: false
154
+ },
155
+ // Add 2024-09-16
156
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_ai_button_block_elements/setup
157
+ platform_editor_ai_ai_button_block_elements: {
158
+ productKeys: {
159
+ confluence: 'platform_editor_ai_ai_button_block_elements'
160
+ },
161
+ param: 'cohort',
162
+ typeGuard: oneOf(['control', 'test']),
163
+ defaultValue: 'control'
145
164
  }
146
165
  };
@@ -71,6 +71,14 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
+ 'add-media-from-url': {
75
+ productKeys: {
76
+ confluence: string;
77
+ };
78
+ param: string;
79
+ typeGuard: typeof isBoolean;
80
+ defaultValue: boolean;
81
+ };
74
82
  'nested-dnd': {
75
83
  productKeys: {
76
84
  confluence: string;
@@ -119,5 +127,13 @@ export declare const editorExperimentsConfig: {
119
127
  typeGuard: typeof isBoolean;
120
128
  defaultValue: boolean;
121
129
  };
130
+ platform_editor_ai_ai_button_block_elements: {
131
+ productKeys: {
132
+ confluence: string;
133
+ };
134
+ param: string;
135
+ typeGuard: (value: unknown) => value is "control" | "test";
136
+ defaultValue: "control" | "test";
137
+ };
122
138
  };
123
139
  export {};
@@ -11,12 +11,14 @@ export declare let _overrides: Partial<{
11
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
12
12
  'dnd-input-performance-optimisation': boolean;
13
13
  'element-level-templates': boolean;
14
+ 'add-media-from-url': boolean;
14
15
  'nested-dnd': boolean;
15
16
  'table-nested-dnd': boolean;
16
17
  'insert-menu-in-right-rail': boolean;
17
18
  platform_editor_empty_line_prompt: boolean;
18
19
  support_table_in_comment: boolean;
19
20
  platform_editor_exp_lazy_node_views: boolean;
21
+ platform_editor_ai_ai_button_block_elements: "control" | "test";
20
22
  }>;
21
23
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
22
24
  /**
@@ -71,6 +71,14 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
+ 'add-media-from-url': {
75
+ productKeys: {
76
+ confluence: string;
77
+ };
78
+ param: string;
79
+ typeGuard: typeof isBoolean;
80
+ defaultValue: boolean;
81
+ };
74
82
  'nested-dnd': {
75
83
  productKeys: {
76
84
  confluence: string;
@@ -119,5 +127,13 @@ export declare const editorExperimentsConfig: {
119
127
  typeGuard: typeof isBoolean;
120
128
  defaultValue: boolean;
121
129
  };
130
+ platform_editor_ai_ai_button_block_elements: {
131
+ productKeys: {
132
+ confluence: string;
133
+ };
134
+ param: string;
135
+ typeGuard: (value: unknown) => value is "control" | "test";
136
+ defaultValue: "control" | "test";
137
+ };
122
138
  };
123
139
  export {};
@@ -11,12 +11,14 @@ export declare let _overrides: Partial<{
11
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
12
12
  'dnd-input-performance-optimisation': boolean;
13
13
  'element-level-templates': boolean;
14
+ 'add-media-from-url': boolean;
14
15
  'nested-dnd': boolean;
15
16
  'table-nested-dnd': boolean;
16
17
  'insert-menu-in-right-rail': boolean;
17
18
  platform_editor_empty_line_prompt: boolean;
18
19
  support_table_in_comment: boolean;
19
20
  platform_editor_exp_lazy_node_views: boolean;
21
+ platform_editor_ai_ai_button_block_elements: "control" | "test";
20
22
  }>;
21
23
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
22
24
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
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",
@@ -36,7 +36,7 @@
36
36
  "./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/feature-gate-js-client": "^4.17.0",
39
+ "@atlaskit/feature-gate-js-client": "^4.19.0",
40
40
  "@babel/runtime": "^7.0.0"
41
41
  },
42
42
  "peerDependencies": {