@atlaskit/tmp-editor-statsig 2.22.0 → 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,14 @@
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
+
3
12
  ## 2.22.0
4
13
 
5
14
  ### Minor Changes
@@ -311,6 +311,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
311
311
  typeGuard: _typeGuards.isBoolean,
312
312
  defaultValue: false
313
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
+ },
314
324
  // Added 2024-11-06
315
325
  platform_editor_ai_change_tone_floating_toolbar: {
316
326
  productKeys: {
@@ -305,6 +305,16 @@ export const editorExperimentsConfig = {
305
305
  typeGuard: isBoolean,
306
306
  defaultValue: false
307
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
+ },
308
318
  // Added 2024-11-06
309
319
  platform_editor_ai_change_tone_floating_toolbar: {
310
320
  productKeys: {
@@ -305,6 +305,16 @@ export var editorExperimentsConfig = {
305
305
  typeGuard: isBoolean,
306
306
  defaultValue: false
307
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
+ },
308
318
  // Added 2024-11-06
309
319
  platform_editor_ai_change_tone_floating_toolbar: {
310
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_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) => {
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: {
@@ -304,6 +304,14 @@ declare namespace eeTest {
304
304
  typeGuard: typeof import("./type-guards").isBoolean;
305
305
  defaultValue: boolean;
306
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
+ };
307
315
  platform_editor_ai_change_tone_floating_toolbar: {
308
316
  productKeys: {
309
317
  confluence: string;
@@ -263,6 +263,14 @@ export declare const editorExperimentsConfig: {
263
263
  typeGuard: typeof isBoolean;
264
264
  defaultValue: boolean;
265
265
  };
266
+ platform_editor_ai_mentions_support: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: typeof isBoolean;
272
+ defaultValue: boolean;
273
+ };
266
274
  platform_editor_ai_change_tone_floating_toolbar: {
267
275
  productKeys: {
268
276
  confluence: string;
@@ -35,6 +35,7 @@ export declare let _overrides: Partial<{
35
35
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
36
36
  platform_editor_ai_facepile: boolean;
37
37
  'nested-tables-in-tables': boolean;
38
+ platform_editor_ai_mentions_support: boolean;
38
39
  platform_editor_ai_change_tone_floating_toolbar: boolean;
39
40
  platform_editor_ai_response_history: boolean;
40
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_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) => {
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: {
@@ -304,6 +304,14 @@ declare namespace eeTest {
304
304
  typeGuard: typeof import("./type-guards").isBoolean;
305
305
  defaultValue: boolean;
306
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
+ };
307
315
  platform_editor_ai_change_tone_floating_toolbar: {
308
316
  productKeys: {
309
317
  confluence: string;
@@ -263,6 +263,14 @@ export declare const editorExperimentsConfig: {
263
263
  typeGuard: typeof isBoolean;
264
264
  defaultValue: boolean;
265
265
  };
266
+ platform_editor_ai_mentions_support: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: typeof isBoolean;
272
+ defaultValue: boolean;
273
+ };
266
274
  platform_editor_ai_change_tone_floating_toolbar: {
267
275
  productKeys: {
268
276
  confluence: string;
@@ -35,6 +35,7 @@ export declare let _overrides: Partial<{
35
35
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
36
36
  platform_editor_ai_facepile: boolean;
37
37
  'nested-tables-in-tables': boolean;
38
+ platform_editor_ai_mentions_support: boolean;
38
39
  platform_editor_ai_change_tone_floating_toolbar: boolean;
39
40
  platform_editor_ai_response_history: boolean;
40
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.22.0",
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",