@atlaskit/tmp-editor-statsig 5.13.0 → 5.14.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
+ ## 5.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#167295](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/167295)
8
+ [`6c94765105520`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6c94765105520) -
9
+ [https://product-fabric.atlassian.net/browse/ED-28212](ED-28212) - the `validNode()` function from
10
+ @atlaskit/editor-core package will use memoization
11
+
3
12
  ## 5.13.0
4
13
 
5
14
  ### Minor Changes
@@ -22,6 +22,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
22
22
  param: 'isEnabled',
23
23
  defaultValue: false
24
24
  }),
25
+ platform_editor_memoized_node_check: (0, _experimentBuilders.createBooleanExperiment)({
26
+ productKeys: {
27
+ confluence: 'platform_editor_memoized_node_check'
28
+ },
29
+ param: 'isEnabled',
30
+ defaultValue: false
31
+ }),
25
32
  // Added 2025-06-02
26
33
  platform_editor_block_control_optimise_render: (0, _experimentBuilders.createBooleanExperiment)({
27
34
  productKeys: {
@@ -16,6 +16,13 @@ export const editorExperimentsConfig = {
16
16
  param: 'isEnabled',
17
17
  defaultValue: false
18
18
  }),
19
+ platform_editor_memoized_node_check: createBooleanExperiment({
20
+ productKeys: {
21
+ confluence: 'platform_editor_memoized_node_check'
22
+ },
23
+ param: 'isEnabled',
24
+ defaultValue: false
25
+ }),
19
26
  // Added 2025-06-02
20
27
  platform_editor_block_control_optimise_render: createBooleanExperiment({
21
28
  productKeys: {
@@ -16,6 +16,13 @@ export var editorExperimentsConfig = {
16
16
  param: 'isEnabled',
17
17
  defaultValue: false
18
18
  }),
19
+ platform_editor_memoized_node_check: createBooleanExperiment({
20
+ productKeys: {
21
+ confluence: 'platform_editor_memoized_node_check'
22
+ },
23
+ param: 'isEnabled',
24
+ defaultValue: false
25
+ }),
19
26
  // Added 2025-06-02
20
27
  platform_editor_block_control_optimise_render: createBooleanExperiment({
21
28
  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_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_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_exp_disable_lnv" | "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" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "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_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_exp_disable_lnv" | "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" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -53,6 +53,12 @@ declare namespace eeTest {
53
53
  productKeys?: import("./types").ProductKeys | undefined;
54
54
  param: string;
55
55
  };
56
+ platform_editor_memoized_node_check: {
57
+ typeGuard: typeof import("./type-guards").isBoolean;
58
+ defaultValue: boolean;
59
+ productKeys?: import("./types").ProductKeys | undefined;
60
+ param: string;
61
+ };
56
62
  platform_editor_block_control_optimise_render: {
57
63
  typeGuard: typeof import("./type-guards").isBoolean;
58
64
  defaultValue: boolean;
@@ -11,6 +11,12 @@ export declare const editorExperimentsConfig: {
11
11
  productKeys?: import("./types").ProductKeys | undefined;
12
12
  param: string;
13
13
  };
14
+ platform_editor_memoized_node_check: {
15
+ typeGuard: typeof import("./type-guards").isBoolean;
16
+ defaultValue: boolean;
17
+ productKeys?: import("./types").ProductKeys | undefined;
18
+ param: string;
19
+ };
14
20
  platform_editor_block_control_optimise_render: {
15
21
  typeGuard: typeof import("./type-guards").isBoolean;
16
22
  defaultValue: boolean;
@@ -9,6 +9,7 @@ export type EditorExperimentParamOverrides = {
9
9
  };
10
10
  export declare let _overrides: Partial<{
11
11
  platform_editor_reduce_noisy_steps_ncs: boolean;
12
+ platform_editor_memoized_node_check: boolean;
12
13
  platform_editor_block_control_optimise_render: boolean;
13
14
  'example-boolean': boolean;
14
15
  'example-multivariate': "one" | "two" | "three";
@@ -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_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_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_exp_disable_lnv" | "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" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "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_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_exp_disable_lnv" | "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" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_ai_iw_full_page_adf_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  platform_editor_reduce_noisy_steps_ncs: {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -53,6 +53,12 @@ declare namespace eeTest {
53
53
  productKeys?: import("./types").ProductKeys | undefined;
54
54
  param: string;
55
55
  };
56
+ platform_editor_memoized_node_check: {
57
+ typeGuard: typeof import("./type-guards").isBoolean;
58
+ defaultValue: boolean;
59
+ productKeys?: import("./types").ProductKeys | undefined;
60
+ param: string;
61
+ };
56
62
  platform_editor_block_control_optimise_render: {
57
63
  typeGuard: typeof import("./type-guards").isBoolean;
58
64
  defaultValue: boolean;
@@ -11,6 +11,12 @@ export declare const editorExperimentsConfig: {
11
11
  productKeys?: import("./types").ProductKeys | undefined;
12
12
  param: string;
13
13
  };
14
+ platform_editor_memoized_node_check: {
15
+ typeGuard: typeof import("./type-guards").isBoolean;
16
+ defaultValue: boolean;
17
+ productKeys?: import("./types").ProductKeys | undefined;
18
+ param: string;
19
+ };
14
20
  platform_editor_block_control_optimise_render: {
15
21
  typeGuard: typeof import("./type-guards").isBoolean;
16
22
  defaultValue: boolean;
@@ -9,6 +9,7 @@ export type EditorExperimentParamOverrides = {
9
9
  };
10
10
  export declare let _overrides: Partial<{
11
11
  platform_editor_reduce_noisy_steps_ncs: boolean;
12
+ platform_editor_memoized_node_check: boolean;
12
13
  platform_editor_block_control_optimise_render: boolean;
13
14
  'example-boolean': boolean;
14
15
  'example-multivariate': "one" | "two" | "three";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "5.13.0",
3
+ "version": "5.14.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",