@atlaskit/tmp-editor-statsig 9.0.0 → 9.1.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
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#179798](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/179798)
8
+ [`b74544d17393f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b74544d17393f) -
9
+ [ux] [ED-27963] this change is creating a new Editor Command inside expandPlugin to toggle open
10
+ expands with active matches from Find&Replace
11
+
3
12
  ## 9.0.0
4
13
 
5
14
  ### Major Changes
@@ -433,5 +433,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
433
433
  param: 'cohort',
434
434
  values: ['control', 'test_blank', 'test_diagram'],
435
435
  defaultValue: 'control'
436
+ }),
437
+ // Added 2025-07-07
438
+ platform_editor_toggle_expand_on_match_found: (0, _experimentBuilders.createBooleanExperiment)({
439
+ productKeys: {
440
+ confluence: 'platform_editor_toggle_expand_on_match_found'
441
+ },
442
+ param: 'isEnabled',
443
+ defaultValue: false
436
444
  })
437
445
  };
@@ -427,5 +427,13 @@ export const editorExperimentsConfig = {
427
427
  param: 'cohort',
428
428
  values: ['control', 'test_blank', 'test_diagram'],
429
429
  defaultValue: 'control'
430
+ }),
431
+ // Added 2025-07-07
432
+ platform_editor_toggle_expand_on_match_found: createBooleanExperiment({
433
+ productKeys: {
434
+ confluence: 'platform_editor_toggle_expand_on_match_found'
435
+ },
436
+ param: 'isEnabled',
437
+ defaultValue: false
430
438
  })
431
439
  };
@@ -427,5 +427,13 @@ export var editorExperimentsConfig = {
427
427
  param: 'cohort',
428
428
  values: ['control', 'test_blank', 'test_diagram'],
429
429
  defaultValue: 'control'
430
+ }),
431
+ // Added 2025-07-07
432
+ platform_editor_toggle_expand_on_match_found: createBooleanExperiment({
433
+ productKeys: {
434
+ confluence: 'platform_editor_toggle_expand_on_match_found'
435
+ },
436
+ param: 'isEnabled',
437
+ defaultValue: false
430
438
  })
431
439
  };
@@ -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" | "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_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" | "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">(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" | "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_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" | "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" | "platform_editor_toggle_expand_on_match_found">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -362,6 +362,12 @@ declare namespace eeTest {
362
362
  productKeys?: import("./types").ProductKeys | undefined;
363
363
  param: string;
364
364
  };
365
+ platform_editor_toggle_expand_on_match_found: {
366
+ typeGuard: typeof import("./type-guards").isBoolean;
367
+ defaultValue: boolean;
368
+ productKeys?: import("./types").ProductKeys | undefined;
369
+ param: string;
370
+ };
365
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
366
372
  each: (describeBody: jest.EmptyFunction) => void;
367
373
  };
@@ -320,4 +320,10 @@ export declare const editorExperimentsConfig: {
320
320
  productKeys?: import("./types").ProductKeys | undefined;
321
321
  param: string;
322
322
  };
323
+ platform_editor_toggle_expand_on_match_found: {
324
+ typeGuard: typeof import("./type-guards").isBoolean;
325
+ defaultValue: boolean;
326
+ productKeys?: import("./types").ProductKeys | undefined;
327
+ param: string;
328
+ };
323
329
  };
@@ -59,6 +59,7 @@ export declare let _overrides: Partial<{
59
59
  confluence_whiteboards_quick_insert_aa: "control" | "test_blank" | "test_diagram";
60
60
  platform_editor_find_and_replace_improvements: boolean;
61
61
  confluence_whiteboards_quick_insert: "control" | "test_blank" | "test_diagram";
62
+ platform_editor_toggle_expand_on_match_found: boolean;
62
63
  }>;
63
64
  export declare let _paramOverrides: EditorExperimentParamOverrides;
64
65
  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 "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" | "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_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" | "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">(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" | "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_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" | "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" | "platform_editor_toggle_expand_on_match_found">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -362,6 +362,12 @@ declare namespace eeTest {
362
362
  productKeys?: import("./types").ProductKeys | undefined;
363
363
  param: string;
364
364
  };
365
+ platform_editor_toggle_expand_on_match_found: {
366
+ typeGuard: typeof import("./type-guards").isBoolean;
367
+ defaultValue: boolean;
368
+ productKeys?: import("./types").ProductKeys | undefined;
369
+ param: string;
370
+ };
365
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
366
372
  each: (describeBody: jest.EmptyFunction) => void;
367
373
  };
@@ -320,4 +320,10 @@ export declare const editorExperimentsConfig: {
320
320
  productKeys?: import("./types").ProductKeys | undefined;
321
321
  param: string;
322
322
  };
323
+ platform_editor_toggle_expand_on_match_found: {
324
+ typeGuard: typeof import("./type-guards").isBoolean;
325
+ defaultValue: boolean;
326
+ productKeys?: import("./types").ProductKeys | undefined;
327
+ param: string;
328
+ };
323
329
  };
@@ -59,6 +59,7 @@ export declare let _overrides: Partial<{
59
59
  confluence_whiteboards_quick_insert_aa: "control" | "test_blank" | "test_diagram";
60
60
  platform_editor_find_and_replace_improvements: boolean;
61
61
  confluence_whiteboards_quick_insert: "control" | "test_blank" | "test_diagram";
62
+ platform_editor_toggle_expand_on_match_found: boolean;
62
63
  }>;
63
64
  export declare let _paramOverrides: EditorExperimentParamOverrides;
64
65
  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": "9.0.0",
3
+ "version": "9.1.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",