@atlaskit/tmp-editor-statsig 2.2.1 → 2.3.1

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,31 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#150384](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/150384)
8
+ [`d3dad252dbe46`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d3dad252dbe46) -
9
+ [EDF-1177](https://product-fabric.atlassian.net/browse/EDF-1177) - add pulse effect support into
10
+ editor floating toolbar
11
+
12
+ ## 2.3.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#149558](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149558)
17
+ [`5e8619ac0f6e4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e8619ac0f6e4) -
18
+ [ux] [ED-25085] Migrate typography \
19
+
20
+ editor-plugin-media:
21
+
22
+ - replace caption placeholder span with button
23
+ - replace x between width and height pixel entry with symbol × \
24
+
25
+ tmp-editor-statsig:
26
+
27
+ - Add experiment `platform_editor_typography_migration_ugc`
28
+
3
29
  ## 2.2.1
4
30
 
5
31
  ### Patch Changes
@@ -218,6 +218,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
218
218
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
219
219
  defaultValue: 'control'
220
220
  },
221
+ // Added 2024-10-03
222
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
223
+ platform_editor_ai_onboarding: {
224
+ productKeys: {
225
+ confluence: 'platform_editor_ai_onboarding'
226
+ },
227
+ param: 'cohort',
228
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
229
+ defaultValue: 'control'
230
+ },
221
231
  // Added 2024-10-01
222
232
  comment_on_bodied_extensions: {
223
233
  productKeys: {
@@ -232,6 +242,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
232
242
  productKeys: {
233
243
  confluence: 'platform_editor_ai_floating_toolbar_v2'
234
244
  },
245
+ param: 'cohort',
246
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'leading', 'trailing']),
247
+ defaultValue: 'control'
248
+ },
249
+ // Added 2024-10-04
250
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
251
+ typography_migration_ugc: {
252
+ productKeys: {
253
+ confluence: 'platform_editor_typography_migration_ugc'
254
+ },
235
255
  param: 'isEnabled',
236
256
  typeGuard: _typeGuards.isBoolean,
237
257
  defaultValue: false
@@ -212,6 +212,16 @@ export const editorExperimentsConfig = {
212
212
  typeGuard: oneOf(['control', 'test']),
213
213
  defaultValue: 'control'
214
214
  },
215
+ // Added 2024-10-03
216
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
217
+ platform_editor_ai_onboarding: {
218
+ productKeys: {
219
+ confluence: 'platform_editor_ai_onboarding'
220
+ },
221
+ param: 'cohort',
222
+ typeGuard: oneOf(['control', 'test']),
223
+ defaultValue: 'control'
224
+ },
215
225
  // Added 2024-10-01
216
226
  comment_on_bodied_extensions: {
217
227
  productKeys: {
@@ -226,6 +236,16 @@ export const editorExperimentsConfig = {
226
236
  productKeys: {
227
237
  confluence: 'platform_editor_ai_floating_toolbar_v2'
228
238
  },
239
+ param: 'cohort',
240
+ typeGuard: oneOf(['control', 'leading', 'trailing']),
241
+ defaultValue: 'control'
242
+ },
243
+ // Added 2024-10-04
244
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
245
+ typography_migration_ugc: {
246
+ productKeys: {
247
+ confluence: 'platform_editor_typography_migration_ugc'
248
+ },
229
249
  param: 'isEnabled',
230
250
  typeGuard: isBoolean,
231
251
  defaultValue: false
@@ -212,6 +212,16 @@ export var editorExperimentsConfig = {
212
212
  typeGuard: oneOf(['control', 'test']),
213
213
  defaultValue: 'control'
214
214
  },
215
+ // Added 2024-10-03
216
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
217
+ platform_editor_ai_onboarding: {
218
+ productKeys: {
219
+ confluence: 'platform_editor_ai_onboarding'
220
+ },
221
+ param: 'cohort',
222
+ typeGuard: oneOf(['control', 'test']),
223
+ defaultValue: 'control'
224
+ },
215
225
  // Added 2024-10-01
216
226
  comment_on_bodied_extensions: {
217
227
  productKeys: {
@@ -226,6 +236,16 @@ export var editorExperimentsConfig = {
226
236
  productKeys: {
227
237
  confluence: 'platform_editor_ai_floating_toolbar_v2'
228
238
  },
239
+ param: 'cohort',
240
+ typeGuard: oneOf(['control', 'leading', 'trailing']),
241
+ defaultValue: 'control'
242
+ },
243
+ // Added 2024-10-04
244
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
245
+ typography_migration_ugc: {
246
+ productKeys: {
247
+ confluence: 'platform_editor_typography_migration_ugc'
248
+ },
229
249
  param: 'isEnabled',
230
250
  typeGuard: isBoolean,
231
251
  defaultValue: false
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -224,6 +224,14 @@ declare namespace eeTest {
224
224
  typeGuard: (value: unknown) => value is "test" | "control";
225
225
  defaultValue: "test" | "control";
226
226
  };
227
+ platform_editor_ai_onboarding: {
228
+ productKeys: {
229
+ confluence: string;
230
+ };
231
+ param: string;
232
+ typeGuard: (value: unknown) => value is "test" | "control";
233
+ defaultValue: "test" | "control";
234
+ };
227
235
  comment_on_bodied_extensions: {
228
236
  productKeys: {
229
237
  confluence: string;
@@ -233,6 +241,14 @@ declare namespace eeTest {
233
241
  defaultValue: boolean;
234
242
  };
235
243
  platform_editor_ai_floating_toolbar_v2: {
244
+ productKeys: {
245
+ confluence: string;
246
+ };
247
+ param: string;
248
+ typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
249
+ defaultValue: "control" | "leading" | "trailing";
250
+ };
251
+ typography_migration_ugc: {
236
252
  productKeys: {
237
253
  confluence: string;
238
254
  };
@@ -183,6 +183,14 @@ export declare const editorExperimentsConfig: {
183
183
  typeGuard: (value: unknown) => value is "test" | "control";
184
184
  defaultValue: "test" | "control";
185
185
  };
186
+ platform_editor_ai_onboarding: {
187
+ productKeys: {
188
+ confluence: string;
189
+ };
190
+ param: string;
191
+ typeGuard: (value: unknown) => value is "test" | "control";
192
+ defaultValue: "test" | "control";
193
+ };
186
194
  comment_on_bodied_extensions: {
187
195
  productKeys: {
188
196
  confluence: string;
@@ -192,6 +200,14 @@ export declare const editorExperimentsConfig: {
192
200
  defaultValue: boolean;
193
201
  };
194
202
  platform_editor_ai_floating_toolbar_v2: {
203
+ productKeys: {
204
+ confluence: string;
205
+ };
206
+ param: string;
207
+ typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
208
+ defaultValue: "control" | "leading" | "trailing";
209
+ };
210
+ typography_migration_ugc: {
195
211
  productKeys: {
196
212
  confluence: string;
197
213
  };
@@ -25,8 +25,10 @@ export declare let _overrides: Partial<{
25
25
  platform_editor_table_use_shared_state_hook: boolean;
26
26
  'editor_ai_-_multi_prompts': "test" | "control";
27
27
  platform_editor_ai_additional_editor_prompts: "test" | "control";
28
+ platform_editor_ai_onboarding: "test" | "control";
28
29
  comment_on_bodied_extensions: boolean;
29
- platform_editor_ai_floating_toolbar_v2: boolean;
30
+ platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
31
+ typography_migration_ugc: boolean;
30
32
  }>;
31
33
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
32
34
  /**
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -224,6 +224,14 @@ declare namespace eeTest {
224
224
  typeGuard: (value: unknown) => value is "test" | "control";
225
225
  defaultValue: "test" | "control";
226
226
  };
227
+ platform_editor_ai_onboarding: {
228
+ productKeys: {
229
+ confluence: string;
230
+ };
231
+ param: string;
232
+ typeGuard: (value: unknown) => value is "test" | "control";
233
+ defaultValue: "test" | "control";
234
+ };
227
235
  comment_on_bodied_extensions: {
228
236
  productKeys: {
229
237
  confluence: string;
@@ -233,6 +241,14 @@ declare namespace eeTest {
233
241
  defaultValue: boolean;
234
242
  };
235
243
  platform_editor_ai_floating_toolbar_v2: {
244
+ productKeys: {
245
+ confluence: string;
246
+ };
247
+ param: string;
248
+ typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
249
+ defaultValue: "control" | "leading" | "trailing";
250
+ };
251
+ typography_migration_ugc: {
236
252
  productKeys: {
237
253
  confluence: string;
238
254
  };
@@ -183,6 +183,14 @@ export declare const editorExperimentsConfig: {
183
183
  typeGuard: (value: unknown) => value is "test" | "control";
184
184
  defaultValue: "test" | "control";
185
185
  };
186
+ platform_editor_ai_onboarding: {
187
+ productKeys: {
188
+ confluence: string;
189
+ };
190
+ param: string;
191
+ typeGuard: (value: unknown) => value is "test" | "control";
192
+ defaultValue: "test" | "control";
193
+ };
186
194
  comment_on_bodied_extensions: {
187
195
  productKeys: {
188
196
  confluence: string;
@@ -192,6 +200,14 @@ export declare const editorExperimentsConfig: {
192
200
  defaultValue: boolean;
193
201
  };
194
202
  platform_editor_ai_floating_toolbar_v2: {
203
+ productKeys: {
204
+ confluence: string;
205
+ };
206
+ param: string;
207
+ typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
208
+ defaultValue: "control" | "leading" | "trailing";
209
+ };
210
+ typography_migration_ugc: {
195
211
  productKeys: {
196
212
  confluence: string;
197
213
  };
@@ -25,8 +25,10 @@ export declare let _overrides: Partial<{
25
25
  platform_editor_table_use_shared_state_hook: boolean;
26
26
  'editor_ai_-_multi_prompts': "test" | "control";
27
27
  platform_editor_ai_additional_editor_prompts: "test" | "control";
28
+ platform_editor_ai_onboarding: "test" | "control";
28
29
  comment_on_bodied_extensions: boolean;
29
- platform_editor_ai_floating_toolbar_v2: boolean;
30
+ platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
31
+ typography_migration_ugc: boolean;
30
32
  }>;
31
33
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
32
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.2.1",
3
+ "version": "2.3.1",
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",