@atlaskit/tmp-editor-statsig 2.21.0 → 2.22.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.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#170373](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170373)
8
+ [`999f7f7bcd35c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/999f7f7bcd35c) -
9
+ [https://product-fabric.atlassian.net/browse/EDF-1798](EDF-1798) - the Link Picker was added into
10
+ the Editor AI Command Palette prompts
11
+
12
+ ## 2.21.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#168879](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168879)
17
+ [`b6dd0c637ded9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6dd0c637ded9) -
18
+ [EDF-1903] Add platform_editor_ai_unsplash_page_header experiment
19
+
3
20
  ## 2.21.0
4
21
 
5
22
  ### Minor Changes
@@ -267,6 +267,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
267
267
  typeGuard: _typeGuards.isBoolean,
268
268
  defaultValue: false
269
269
  },
270
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
271
+ platform_editor_ai_prompt_link_picker: {
272
+ productKeys: {
273
+ confluence: 'platform_editor_ai_prompt_link_picker'
274
+ },
275
+ param: 'isEnabled',
276
+ typeGuard: _typeGuards.isBoolean,
277
+ defaultValue: false
278
+ },
270
279
  'platform_editor_ai-prompts-placeholder': {
271
280
  productKeys: {
272
281
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -355,5 +364,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
355
364
  param: 'isEnabled',
356
365
  typeGuard: _typeGuards.isBoolean,
357
366
  defaultValue: false
367
+ },
368
+ // Added 2024-11-26
369
+ platform_editor_ai_unsplash_page_header: {
370
+ productKeys: {
371
+ confluence: 'platform_editor_ai_unsplash_page_header'
372
+ },
373
+ param: 'isEnabled',
374
+ typeGuard: _typeGuards.isBoolean,
375
+ defaultValue: false
358
376
  }
359
377
  };
@@ -261,6 +261,15 @@ export const editorExperimentsConfig = {
261
261
  typeGuard: isBoolean,
262
262
  defaultValue: false
263
263
  },
264
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
265
+ platform_editor_ai_prompt_link_picker: {
266
+ productKeys: {
267
+ confluence: 'platform_editor_ai_prompt_link_picker'
268
+ },
269
+ param: 'isEnabled',
270
+ typeGuard: isBoolean,
271
+ defaultValue: false
272
+ },
264
273
  'platform_editor_ai-prompts-placeholder': {
265
274
  productKeys: {
266
275
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -349,5 +358,14 @@ export const editorExperimentsConfig = {
349
358
  param: 'isEnabled',
350
359
  typeGuard: isBoolean,
351
360
  defaultValue: false
361
+ },
362
+ // Added 2024-11-26
363
+ platform_editor_ai_unsplash_page_header: {
364
+ productKeys: {
365
+ confluence: 'platform_editor_ai_unsplash_page_header'
366
+ },
367
+ param: 'isEnabled',
368
+ typeGuard: isBoolean,
369
+ defaultValue: false
352
370
  }
353
371
  };
@@ -261,6 +261,15 @@ export var editorExperimentsConfig = {
261
261
  typeGuard: isBoolean,
262
262
  defaultValue: false
263
263
  },
264
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
265
+ platform_editor_ai_prompt_link_picker: {
266
+ productKeys: {
267
+ confluence: 'platform_editor_ai_prompt_link_picker'
268
+ },
269
+ param: 'isEnabled',
270
+ typeGuard: isBoolean,
271
+ defaultValue: false
272
+ },
264
273
  'platform_editor_ai-prompts-placeholder': {
265
274
  productKeys: {
266
275
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -349,5 +358,14 @@ export var editorExperimentsConfig = {
349
358
  param: 'isEnabled',
350
359
  typeGuard: isBoolean,
351
360
  defaultValue: false
361
+ },
362
+ // Added 2024-11-26
363
+ platform_editor_ai_unsplash_page_header: {
364
+ productKeys: {
365
+ confluence: 'platform_editor_ai_unsplash_page_header'
366
+ },
367
+ param: 'isEnabled',
368
+ typeGuard: isBoolean,
369
+ defaultValue: false
352
370
  }
353
371
  };
@@ -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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -264,6 +264,14 @@ declare namespace eeTest {
264
264
  typeGuard: typeof import("./type-guards").isBoolean;
265
265
  defaultValue: boolean;
266
266
  };
267
+ platform_editor_ai_prompt_link_picker: {
268
+ productKeys: {
269
+ confluence: string;
270
+ };
271
+ param: string;
272
+ typeGuard: typeof import("./type-guards").isBoolean;
273
+ defaultValue: boolean;
274
+ };
267
275
  'platform_editor_ai-prompts-placeholder': {
268
276
  productKeys: {
269
277
  confluence: string;
@@ -344,6 +352,14 @@ declare namespace eeTest {
344
352
  typeGuard: typeof import("./type-guards").isBoolean;
345
353
  defaultValue: boolean;
346
354
  };
355
+ platform_editor_ai_unsplash_page_header: {
356
+ productKeys: {
357
+ confluence: string;
358
+ };
359
+ param: string;
360
+ typeGuard: typeof import("./type-guards").isBoolean;
361
+ defaultValue: boolean;
362
+ };
347
363
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
348
364
  each: (describeBody: jest.EmptyFunction) => void;
349
365
  };
@@ -223,6 +223,14 @@ export declare const editorExperimentsConfig: {
223
223
  typeGuard: typeof isBoolean;
224
224
  defaultValue: boolean;
225
225
  };
226
+ platform_editor_ai_prompt_link_picker: {
227
+ productKeys: {
228
+ confluence: string;
229
+ };
230
+ param: string;
231
+ typeGuard: typeof isBoolean;
232
+ defaultValue: boolean;
233
+ };
226
234
  'platform_editor_ai-prompts-placeholder': {
227
235
  productKeys: {
228
236
  confluence: string;
@@ -303,4 +311,12 @@ export declare const editorExperimentsConfig: {
303
311
  typeGuard: typeof isBoolean;
304
312
  defaultValue: boolean;
305
313
  };
314
+ platform_editor_ai_unsplash_page_header: {
315
+ productKeys: {
316
+ confluence: string;
317
+ };
318
+ param: string;
319
+ typeGuard: typeof isBoolean;
320
+ defaultValue: boolean;
321
+ };
306
322
  };
@@ -30,6 +30,7 @@ export declare let _overrides: Partial<{
30
30
  comment_on_inline_node_spotlight: boolean;
31
31
  'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
32
32
  platform_editor_ai_refine_response_button: boolean;
33
+ platform_editor_ai_prompt_link_picker: boolean;
33
34
  'platform_editor_ai-prompts-placeholder': "test" | "control";
34
35
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
35
36
  platform_editor_ai_facepile: boolean;
@@ -40,6 +41,7 @@ export declare let _overrides: Partial<{
40
41
  contextual_formatting_toolbar: boolean;
41
42
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
42
43
  platform_editor_ai_draft_with_ai: boolean;
44
+ platform_editor_ai_unsplash_page_header: boolean;
43
45
  }>;
44
46
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
45
47
  /**
@@ -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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -264,6 +264,14 @@ declare namespace eeTest {
264
264
  typeGuard: typeof import("./type-guards").isBoolean;
265
265
  defaultValue: boolean;
266
266
  };
267
+ platform_editor_ai_prompt_link_picker: {
268
+ productKeys: {
269
+ confluence: string;
270
+ };
271
+ param: string;
272
+ typeGuard: typeof import("./type-guards").isBoolean;
273
+ defaultValue: boolean;
274
+ };
267
275
  'platform_editor_ai-prompts-placeholder': {
268
276
  productKeys: {
269
277
  confluence: string;
@@ -344,6 +352,14 @@ declare namespace eeTest {
344
352
  typeGuard: typeof import("./type-guards").isBoolean;
345
353
  defaultValue: boolean;
346
354
  };
355
+ platform_editor_ai_unsplash_page_header: {
356
+ productKeys: {
357
+ confluence: string;
358
+ };
359
+ param: string;
360
+ typeGuard: typeof import("./type-guards").isBoolean;
361
+ defaultValue: boolean;
362
+ };
347
363
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
348
364
  each: (describeBody: jest.EmptyFunction) => void;
349
365
  };
@@ -223,6 +223,14 @@ export declare const editorExperimentsConfig: {
223
223
  typeGuard: typeof isBoolean;
224
224
  defaultValue: boolean;
225
225
  };
226
+ platform_editor_ai_prompt_link_picker: {
227
+ productKeys: {
228
+ confluence: string;
229
+ };
230
+ param: string;
231
+ typeGuard: typeof isBoolean;
232
+ defaultValue: boolean;
233
+ };
226
234
  'platform_editor_ai-prompts-placeholder': {
227
235
  productKeys: {
228
236
  confluence: string;
@@ -303,4 +311,12 @@ export declare const editorExperimentsConfig: {
303
311
  typeGuard: typeof isBoolean;
304
312
  defaultValue: boolean;
305
313
  };
314
+ platform_editor_ai_unsplash_page_header: {
315
+ productKeys: {
316
+ confluence: string;
317
+ };
318
+ param: string;
319
+ typeGuard: typeof isBoolean;
320
+ defaultValue: boolean;
321
+ };
306
322
  };
@@ -30,6 +30,7 @@ export declare let _overrides: Partial<{
30
30
  comment_on_inline_node_spotlight: boolean;
31
31
  'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
32
32
  platform_editor_ai_refine_response_button: boolean;
33
+ platform_editor_ai_prompt_link_picker: boolean;
33
34
  'platform_editor_ai-prompts-placeholder': "test" | "control";
34
35
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
35
36
  platform_editor_ai_facepile: boolean;
@@ -40,6 +41,7 @@ export declare let _overrides: Partial<{
40
41
  contextual_formatting_toolbar: boolean;
41
42
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
42
43
  platform_editor_ai_draft_with_ai: boolean;
44
+ platform_editor_ai_unsplash_page_header: boolean;
43
45
  }>;
44
46
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
45
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.21.0",
3
+ "version": "2.22.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",