@atlaskit/tmp-editor-statsig 2.12.1 → 2.12.2

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.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#162710](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162710)
8
+ [`a661bece58fb8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a661bece58fb8) -
9
+ [ux] EDF-1864 Updates the improve writing button from the floating toolbar to use the change tone
10
+ to professional prompt. Added platform_editor_ai_change_tone_floating_toolbar experiment.
11
+
3
12
  ## 2.12.1
4
13
 
5
14
  ### Patch Changes
@@ -336,5 +336,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
336
336
  param: 'isEnabled',
337
337
  typeGuard: _typeGuards.isBoolean,
338
338
  defaultValue: false
339
+ },
340
+ // Added 2024-11-06
341
+ platform_editor_ai_change_tone_floating_toolbar: {
342
+ productKeys: {
343
+ confluence: 'platform_editor_ai_change_tone_floating_toolbar'
344
+ },
345
+ param: 'isEnabled',
346
+ typeGuard: _typeGuards.isBoolean,
347
+ defaultValue: false
339
348
  }
340
349
  };
@@ -330,5 +330,14 @@ export const editorExperimentsConfig = {
330
330
  param: 'isEnabled',
331
331
  typeGuard: isBoolean,
332
332
  defaultValue: false
333
+ },
334
+ // Added 2024-11-06
335
+ platform_editor_ai_change_tone_floating_toolbar: {
336
+ productKeys: {
337
+ confluence: 'platform_editor_ai_change_tone_floating_toolbar'
338
+ },
339
+ param: 'isEnabled',
340
+ typeGuard: isBoolean,
341
+ defaultValue: false
333
342
  }
334
343
  };
@@ -330,5 +330,14 @@ export var editorExperimentsConfig = {
330
330
  param: 'isEnabled',
331
331
  typeGuard: isBoolean,
332
332
  defaultValue: false
333
+ },
334
+ // Added 2024-11-06
335
+ platform_editor_ai_change_tone_floating_toolbar: {
336
+ productKeys: {
337
+ confluence: 'platform_editor_ai_change_tone_floating_toolbar'
338
+ },
339
+ param: 'isEnabled',
340
+ typeGuard: isBoolean,
341
+ defaultValue: false
333
342
  }
334
343
  };
@@ -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" | "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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile">(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" | "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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "platform_editor_ai_change_tone_floating_toolbar">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -328,6 +328,14 @@ declare namespace eeTest {
328
328
  typeGuard: typeof import("./type-guards").isBoolean;
329
329
  defaultValue: boolean;
330
330
  };
331
+ platform_editor_ai_change_tone_floating_toolbar: {
332
+ productKeys: {
333
+ confluence: string;
334
+ };
335
+ param: string;
336
+ typeGuard: typeof import("./type-guards").isBoolean;
337
+ defaultValue: boolean;
338
+ };
331
339
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
332
340
  each: (describeBody: jest.EmptyFunction) => void;
333
341
  };
@@ -287,4 +287,12 @@ export declare const editorExperimentsConfig: {
287
287
  typeGuard: typeof isBoolean;
288
288
  defaultValue: boolean;
289
289
  };
290
+ platform_editor_ai_change_tone_floating_toolbar: {
291
+ productKeys: {
292
+ confluence: string;
293
+ };
294
+ param: string;
295
+ typeGuard: typeof isBoolean;
296
+ defaultValue: boolean;
297
+ };
290
298
  };
@@ -38,6 +38,7 @@ export declare let _overrides: Partial<{
38
38
  'platform_editor_ai-prompts-placeholder': "test" | "control";
39
39
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
40
40
  platform_editor_ai_facepile: boolean;
41
+ platform_editor_ai_change_tone_floating_toolbar: boolean;
41
42
  }>;
42
43
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
43
44
  /**
@@ -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" | "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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile">(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" | "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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "platform_editor_ai_change_tone_floating_toolbar">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -328,6 +328,14 @@ declare namespace eeTest {
328
328
  typeGuard: typeof import("./type-guards").isBoolean;
329
329
  defaultValue: boolean;
330
330
  };
331
+ platform_editor_ai_change_tone_floating_toolbar: {
332
+ productKeys: {
333
+ confluence: string;
334
+ };
335
+ param: string;
336
+ typeGuard: typeof import("./type-guards").isBoolean;
337
+ defaultValue: boolean;
338
+ };
331
339
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
332
340
  each: (describeBody: jest.EmptyFunction) => void;
333
341
  };
@@ -287,4 +287,12 @@ export declare const editorExperimentsConfig: {
287
287
  typeGuard: typeof isBoolean;
288
288
  defaultValue: boolean;
289
289
  };
290
+ platform_editor_ai_change_tone_floating_toolbar: {
291
+ productKeys: {
292
+ confluence: string;
293
+ };
294
+ param: string;
295
+ typeGuard: typeof isBoolean;
296
+ defaultValue: boolean;
297
+ };
290
298
  };
@@ -38,6 +38,7 @@ export declare let _overrides: Partial<{
38
38
  'platform_editor_ai-prompts-placeholder': "test" | "control";
39
39
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
40
40
  platform_editor_ai_facepile: boolean;
41
+ platform_editor_ai_change_tone_floating_toolbar: boolean;
41
42
  }>;
42
43
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
43
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.12.1",
3
+ "version": "2.12.2",
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",