@atlaskit/tmp-editor-statsig 5.2.0 → 5.3.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,13 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 5.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#161914](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161914)
8
+ [`b1a7ef0ae8d44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1a7ef0ae8d44) -
9
+ Switches text formatting options optimisation from FG to Experiment flag
10
+
3
11
  ## 5.2.0
4
12
 
5
13
  ### Minor Changes
@@ -360,5 +360,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
360
360
  },
361
361
  param: 'isEnabled',
362
362
  defaultValue: false
363
+ }),
364
+ // Added 2025-05-28
365
+ platform_editor_toolbar_rerender_optimization_exp: (0, _experimentBuilders.createBooleanExperiment)({
366
+ productKeys: {
367
+ confluence: 'platform_editor_toolbar_rerender_optimization_exp'
368
+ },
369
+ param: 'isEnabled',
370
+ defaultValue: false
363
371
  })
364
372
  };
@@ -354,5 +354,13 @@ export const editorExperimentsConfig = {
354
354
  },
355
355
  param: 'isEnabled',
356
356
  defaultValue: false
357
+ }),
358
+ // Added 2025-05-28
359
+ platform_editor_toolbar_rerender_optimization_exp: createBooleanExperiment({
360
+ productKeys: {
361
+ confluence: 'platform_editor_toolbar_rerender_optimization_exp'
362
+ },
363
+ param: 'isEnabled',
364
+ defaultValue: false
357
365
  })
358
366
  };
@@ -354,5 +354,13 @@ export var editorExperimentsConfig = {
354
354
  },
355
355
  param: 'isEnabled',
356
356
  defaultValue: false
357
+ }),
358
+ // Added 2025-05-28
359
+ platform_editor_toolbar_rerender_optimization_exp: createBooleanExperiment({
360
+ productKeys: {
361
+ confluence: 'platform_editor_toolbar_rerender_optimization_exp'
362
+ },
363
+ param: 'isEnabled',
364
+ defaultValue: false
357
365
  })
358
366
  };
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -307,6 +307,12 @@ declare namespace eeTest {
307
307
  productKeys?: import("./types").ProductKeys | undefined;
308
308
  param: string;
309
309
  };
310
+ platform_editor_toolbar_rerender_optimization_exp: {
311
+ typeGuard: typeof import("./type-guards").isBoolean;
312
+ defaultValue: boolean;
313
+ productKeys?: import("./types").ProductKeys | undefined;
314
+ param: string;
315
+ };
310
316
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
311
317
  each: (describeBody: jest.EmptyFunction) => void;
312
318
  };
@@ -265,4 +265,10 @@ export declare const editorExperimentsConfig: {
265
265
  productKeys?: import("./types").ProductKeys | undefined;
266
266
  param: string;
267
267
  };
268
+ platform_editor_toolbar_rerender_optimization_exp: {
269
+ typeGuard: typeof import("./type-guards").isBoolean;
270
+ defaultValue: boolean;
271
+ productKeys?: import("./types").ProductKeys | undefined;
272
+ param: string;
273
+ };
268
274
  };
@@ -50,6 +50,7 @@ export declare let _overrides: Partial<{
50
50
  editor_ai_in_editor_streaming: boolean;
51
51
  platform_editor_hide_floating_toolbar_in_ssr: boolean;
52
52
  platform_editor_smart_card_open_overlay_perf: boolean;
53
+ platform_editor_toolbar_rerender_optimization_exp: boolean;
53
54
  }>;
54
55
  export declare let _paramOverrides: EditorExperimentParamOverrides;
55
56
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming" | "platform_editor_hide_floating_toolbar_in_ssr" | "platform_editor_smart_card_open_overlay_perf" | "platform_editor_toolbar_rerender_optimization_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -307,6 +307,12 @@ declare namespace eeTest {
307
307
  productKeys?: import("./types").ProductKeys | undefined;
308
308
  param: string;
309
309
  };
310
+ platform_editor_toolbar_rerender_optimization_exp: {
311
+ typeGuard: typeof import("./type-guards").isBoolean;
312
+ defaultValue: boolean;
313
+ productKeys?: import("./types").ProductKeys | undefined;
314
+ param: string;
315
+ };
310
316
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
311
317
  each: (describeBody: jest.EmptyFunction) => void;
312
318
  };
@@ -265,4 +265,10 @@ export declare const editorExperimentsConfig: {
265
265
  productKeys?: import("./types").ProductKeys | undefined;
266
266
  param: string;
267
267
  };
268
+ platform_editor_toolbar_rerender_optimization_exp: {
269
+ typeGuard: typeof import("./type-guards").isBoolean;
270
+ defaultValue: boolean;
271
+ productKeys?: import("./types").ProductKeys | undefined;
272
+ param: string;
273
+ };
268
274
  };
@@ -50,6 +50,7 @@ export declare let _overrides: Partial<{
50
50
  editor_ai_in_editor_streaming: boolean;
51
51
  platform_editor_hide_floating_toolbar_in_ssr: boolean;
52
52
  platform_editor_smart_card_open_overlay_perf: boolean;
53
+ platform_editor_toolbar_rerender_optimization_exp: boolean;
53
54
  }>;
54
55
  export declare let _paramOverrides: EditorExperimentParamOverrides;
55
56
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "5.2.0",
3
+ "version": "5.3.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",