@atlaskit/tmp-editor-statsig 2.21.1 → 2.23.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,23 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#173124](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/173124)
8
+ [`58ca6c04a3498`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/58ca6c04a3498) -
9
+ [https://product-fabric.atlassian.net/browse/EDF-2050](EDF-2050) - add @mention support into the
10
+ Editor AI Command Palette
11
+
12
+ ## 2.22.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#170373](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170373)
17
+ [`999f7f7bcd35c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/999f7f7bcd35c) -
18
+ [https://product-fabric.atlassian.net/browse/EDF-1798](EDF-1798) - the Link Picker was added into
19
+ the Editor AI Command Palette prompts
20
+
3
21
  ## 2.21.1
4
22
 
5
23
  ### Patch 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'
@@ -302,6 +311,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
302
311
  typeGuard: _typeGuards.isBoolean,
303
312
  defaultValue: false
304
313
  },
314
+ // added 2024-11-06
315
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
316
+ platform_editor_ai_mentions_support: {
317
+ productKeys: {
318
+ confluence: 'platform_editor_ai_mentions_support'
319
+ },
320
+ param: 'isEnabled',
321
+ typeGuard: _typeGuards.isBoolean,
322
+ defaultValue: false
323
+ },
305
324
  // Added 2024-11-06
306
325
  platform_editor_ai_change_tone_floating_toolbar: {
307
326
  productKeys: {
@@ -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'
@@ -296,6 +305,16 @@ export const editorExperimentsConfig = {
296
305
  typeGuard: isBoolean,
297
306
  defaultValue: false
298
307
  },
308
+ // added 2024-11-06
309
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
310
+ platform_editor_ai_mentions_support: {
311
+ productKeys: {
312
+ confluence: 'platform_editor_ai_mentions_support'
313
+ },
314
+ param: 'isEnabled',
315
+ typeGuard: isBoolean,
316
+ defaultValue: false
317
+ },
299
318
  // Added 2024-11-06
300
319
  platform_editor_ai_change_tone_floating_toolbar: {
301
320
  productKeys: {
@@ -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'
@@ -296,6 +305,16 @@ export var editorExperimentsConfig = {
296
305
  typeGuard: isBoolean,
297
306
  defaultValue: false
298
307
  },
308
+ // added 2024-11-06
309
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
310
+ platform_editor_ai_mentions_support: {
311
+ productKeys: {
312
+ confluence: 'platform_editor_ai_mentions_support'
313
+ },
314
+ param: 'isEnabled',
315
+ typeGuard: isBoolean,
316
+ defaultValue: false
317
+ },
299
318
  // Added 2024-11-06
300
319
  platform_editor_ai_change_tone_floating_toolbar: {
301
320
  productKeys: {
@@ -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" | "platform_editor_ai_unsplash_page_header">(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_mentions_support" | "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;
@@ -296,6 +304,14 @@ declare namespace eeTest {
296
304
  typeGuard: typeof import("./type-guards").isBoolean;
297
305
  defaultValue: boolean;
298
306
  };
307
+ platform_editor_ai_mentions_support: {
308
+ productKeys: {
309
+ confluence: string;
310
+ };
311
+ param: string;
312
+ typeGuard: typeof import("./type-guards").isBoolean;
313
+ defaultValue: boolean;
314
+ };
299
315
  platform_editor_ai_change_tone_floating_toolbar: {
300
316
  productKeys: {
301
317
  confluence: string;
@@ -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;
@@ -255,6 +263,14 @@ export declare const editorExperimentsConfig: {
255
263
  typeGuard: typeof isBoolean;
256
264
  defaultValue: boolean;
257
265
  };
266
+ platform_editor_ai_mentions_support: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: typeof isBoolean;
272
+ defaultValue: boolean;
273
+ };
258
274
  platform_editor_ai_change_tone_floating_toolbar: {
259
275
  productKeys: {
260
276
  confluence: string;
@@ -30,10 +30,12 @@ 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;
36
37
  'nested-tables-in-tables': boolean;
38
+ platform_editor_ai_mentions_support: boolean;
37
39
  platform_editor_ai_change_tone_floating_toolbar: boolean;
38
40
  platform_editor_ai_response_history: boolean;
39
41
  issue_view_action_items: boolean;
@@ -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" | "platform_editor_ai_unsplash_page_header">(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_mentions_support" | "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;
@@ -296,6 +304,14 @@ declare namespace eeTest {
296
304
  typeGuard: typeof import("./type-guards").isBoolean;
297
305
  defaultValue: boolean;
298
306
  };
307
+ platform_editor_ai_mentions_support: {
308
+ productKeys: {
309
+ confluence: string;
310
+ };
311
+ param: string;
312
+ typeGuard: typeof import("./type-guards").isBoolean;
313
+ defaultValue: boolean;
314
+ };
299
315
  platform_editor_ai_change_tone_floating_toolbar: {
300
316
  productKeys: {
301
317
  confluence: string;
@@ -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;
@@ -255,6 +263,14 @@ export declare const editorExperimentsConfig: {
255
263
  typeGuard: typeof isBoolean;
256
264
  defaultValue: boolean;
257
265
  };
266
+ platform_editor_ai_mentions_support: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: typeof isBoolean;
272
+ defaultValue: boolean;
273
+ };
258
274
  platform_editor_ai_change_tone_floating_toolbar: {
259
275
  productKeys: {
260
276
  confluence: string;
@@ -30,10 +30,12 @@ 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;
36
37
  'nested-tables-in-tables': boolean;
38
+ platform_editor_ai_mentions_support: boolean;
37
39
  platform_editor_ai_change_tone_floating_toolbar: boolean;
38
40
  platform_editor_ai_response_history: boolean;
39
41
  issue_view_action_items: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.21.1",
3
+ "version": "2.23.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",