@atlaskit/tmp-editor-statsig 9.4.0 → 9.5.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
+ ## 9.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#184968](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/184968)
8
+ [`a52007f9eed36`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a52007f9eed36) -
9
+ Introduce a performance experiment to avoid running media floating toolbar code unless selected.
10
+
3
11
  ## 9.4.0
4
12
 
5
13
  ### Minor Changes
@@ -287,6 +287,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
287
287
  param: 'isEnabled',
288
288
  defaultValue: false
289
289
  }),
290
+ // Added 2025-07-14
291
+ platform_editor_media_floating_toolbar_early_exit: (0, _experimentBuilders.createBooleanExperiment)({
292
+ productKeys: {
293
+ confluence: 'platform_editor_media_floating_toolbar_early_exit'
294
+ },
295
+ param: 'isEnabled',
296
+ defaultValue: false
297
+ }),
290
298
  // Added 2025-04-23
291
299
  platform_renderer_fix_analytics_memo_callback: (0, _experimentBuilders.createBooleanExperiment)({
292
300
  productKeys: {
@@ -281,6 +281,14 @@ export const editorExperimentsConfig = {
281
281
  param: 'isEnabled',
282
282
  defaultValue: false
283
283
  }),
284
+ // Added 2025-07-14
285
+ platform_editor_media_floating_toolbar_early_exit: createBooleanExperiment({
286
+ productKeys: {
287
+ confluence: 'platform_editor_media_floating_toolbar_early_exit'
288
+ },
289
+ param: 'isEnabled',
290
+ defaultValue: false
291
+ }),
284
292
  // Added 2025-04-23
285
293
  platform_renderer_fix_analytics_memo_callback: createBooleanExperiment({
286
294
  productKeys: {
@@ -281,6 +281,14 @@ export var editorExperimentsConfig = {
281
281
  param: 'isEnabled',
282
282
  defaultValue: false
283
283
  }),
284
+ // Added 2025-07-14
285
+ platform_editor_media_floating_toolbar_early_exit: createBooleanExperiment({
286
+ productKeys: {
287
+ confluence: 'platform_editor_media_floating_toolbar_early_exit'
288
+ },
289
+ param: 'isEnabled',
290
+ defaultValue: false
291
+ }),
284
292
  // Added 2025-04-23
285
293
  platform_renderer_fix_analytics_memo_callback: createBooleanExperiment({
286
294
  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 "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "platform_editor_block_control_optimise_render" | "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_controls_performance_fixes" | "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_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "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_converge_free_gen_on_rovo" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "jira-work-sync-desc-comment-summary" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "platform_editor_ai_remove_trivial_prompts_cc" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert" | "cc_editor_ufo_hold_table_till_resize_complete" | "platform_editor_toggle_expand_on_match_found" | "cc_editor_interactions_trigger_traceufointeraction">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "platform_editor_block_control_optimise_render" | "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_controls_performance_fixes" | "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_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "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_editor_media_floating_toolbar_early_exit" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_converge_free_gen_on_rovo" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "jira-work-sync-desc-comment-summary" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "platform_editor_ai_remove_trivial_prompts_cc" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert" | "cc_editor_ufo_hold_table_till_resize_complete" | "platform_editor_toggle_expand_on_match_found" | "cc_editor_interactions_trigger_traceufointeraction">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -251,6 +251,12 @@ declare namespace eeTest {
251
251
  productKeys?: import("./types").ProductKeys | undefined;
252
252
  param: string;
253
253
  };
254
+ platform_editor_media_floating_toolbar_early_exit: {
255
+ typeGuard: typeof import("./type-guards").isBoolean;
256
+ defaultValue: boolean;
257
+ productKeys?: import("./types").ProductKeys | undefined;
258
+ param: string;
259
+ };
254
260
  platform_renderer_fix_analytics_memo_callback: {
255
261
  typeGuard: typeof import("./type-guards").isBoolean;
256
262
  defaultValue: boolean;
@@ -209,6 +209,12 @@ export declare const editorExperimentsConfig: {
209
209
  productKeys?: import("./types").ProductKeys | undefined;
210
210
  param: string;
211
211
  };
212
+ platform_editor_media_floating_toolbar_early_exit: {
213
+ typeGuard: typeof import("./type-guards").isBoolean;
214
+ defaultValue: boolean;
215
+ productKeys?: import("./types").ProductKeys | undefined;
216
+ param: string;
217
+ };
212
218
  platform_renderer_fix_analytics_memo_callback: {
213
219
  typeGuard: typeof import("./type-guards").isBoolean;
214
220
  defaultValue: boolean;
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
41
41
  platform_editor_tables_drag_and_drop: boolean;
42
42
  platform_editor_tables_table_selector: boolean;
43
43
  platform_editor_usesharedpluginstateselector: boolean;
44
+ platform_editor_media_floating_toolbar_early_exit: boolean;
44
45
  platform_renderer_fix_analytics_memo_callback: boolean;
45
46
  editor_ai_converge_free_gen_on_rovo: boolean;
46
47
  platform_editor_stop_width_reflows: 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 "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "platform_editor_block_control_optimise_render" | "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_controls_performance_fixes" | "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_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "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_converge_free_gen_on_rovo" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "jira-work-sync-desc-comment-summary" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "platform_editor_ai_remove_trivial_prompts_cc" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert" | "cc_editor_ufo_hold_table_till_resize_complete" | "platform_editor_toggle_expand_on_match_found" | "cc_editor_interactions_trigger_traceufointeraction">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "platform_editor_block_control_optimise_render" | "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_controls_performance_fixes" | "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_smart_link_cmd_ctrl_click" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "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_editor_media_floating_toolbar_early_exit" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_converge_free_gen_on_rovo" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "jira-work-sync-desc-comment-summary" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "platform_editor_ai_remove_trivial_prompts_cc" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert" | "cc_editor_ufo_hold_table_till_resize_complete" | "platform_editor_toggle_expand_on_match_found" | "cc_editor_interactions_trigger_traceufointeraction">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -251,6 +251,12 @@ declare namespace eeTest {
251
251
  productKeys?: import("./types").ProductKeys | undefined;
252
252
  param: string;
253
253
  };
254
+ platform_editor_media_floating_toolbar_early_exit: {
255
+ typeGuard: typeof import("./type-guards").isBoolean;
256
+ defaultValue: boolean;
257
+ productKeys?: import("./types").ProductKeys | undefined;
258
+ param: string;
259
+ };
254
260
  platform_renderer_fix_analytics_memo_callback: {
255
261
  typeGuard: typeof import("./type-guards").isBoolean;
256
262
  defaultValue: boolean;
@@ -209,6 +209,12 @@ export declare const editorExperimentsConfig: {
209
209
  productKeys?: import("./types").ProductKeys | undefined;
210
210
  param: string;
211
211
  };
212
+ platform_editor_media_floating_toolbar_early_exit: {
213
+ typeGuard: typeof import("./type-guards").isBoolean;
214
+ defaultValue: boolean;
215
+ productKeys?: import("./types").ProductKeys | undefined;
216
+ param: string;
217
+ };
212
218
  platform_renderer_fix_analytics_memo_callback: {
213
219
  typeGuard: typeof import("./type-guards").isBoolean;
214
220
  defaultValue: boolean;
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
41
41
  platform_editor_tables_drag_and_drop: boolean;
42
42
  platform_editor_tables_table_selector: boolean;
43
43
  platform_editor_usesharedpluginstateselector: boolean;
44
+ platform_editor_media_floating_toolbar_early_exit: boolean;
44
45
  platform_renderer_fix_analytics_memo_callback: boolean;
45
46
  editor_ai_converge_free_gen_on_rovo: boolean;
46
47
  platform_editor_stop_width_reflows: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "9.4.0",
3
+ "version": "9.5.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",