@atlaskit/tmp-editor-statsig 9.4.0 → 9.6.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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 9.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#185643](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185643)
8
+ [`5954e6c1fbac5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5954e6c1fbac5) -
9
+ [ux] [ED-28432] Add orange highlight color and reorder color swatches
10
+
11
+ ## 9.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#184968](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/184968)
16
+ [`a52007f9eed36`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a52007f9eed36) -
17
+ Introduce a performance experiment to avoid running media floating toolbar code unless selected.
18
+
3
19
  ## 9.4.0
4
20
 
5
21
  ### 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: {
@@ -466,5 +474,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
466
474
  param: 'cohort',
467
475
  values: ['control', 'all_events', 'only_mousedown_event'],
468
476
  defaultValue: 'control'
477
+ }),
478
+ // Added 2025-07-14
479
+ platform_editor_add_orange_highlight_color: (0, _experimentBuilders.createMultivariateExperiment)({
480
+ productKeys: {
481
+ confluence: 'platform_editor_add_orange_highlight_color'
482
+ },
483
+ param: 'cohort',
484
+ values: ['control', 'test'],
485
+ defaultValue: 'control'
469
486
  })
470
487
  };
@@ -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: {
@@ -460,5 +468,14 @@ export const editorExperimentsConfig = {
460
468
  param: 'cohort',
461
469
  values: ['control', 'all_events', 'only_mousedown_event'],
462
470
  defaultValue: 'control'
471
+ }),
472
+ // Added 2025-07-14
473
+ platform_editor_add_orange_highlight_color: createMultivariateExperiment({
474
+ productKeys: {
475
+ confluence: 'platform_editor_add_orange_highlight_color'
476
+ },
477
+ param: 'cohort',
478
+ values: ['control', 'test'],
479
+ defaultValue: 'control'
463
480
  })
464
481
  };
@@ -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: {
@@ -460,5 +468,14 @@ export var editorExperimentsConfig = {
460
468
  param: 'cohort',
461
469
  values: ['control', 'all_events', 'only_mousedown_event'],
462
470
  defaultValue: 'control'
471
+ }),
472
+ // Added 2025-07-14
473
+ platform_editor_add_orange_highlight_color: createMultivariateExperiment({
474
+ productKeys: {
475
+ confluence: 'platform_editor_add_orange_highlight_color'
476
+ },
477
+ param: 'cohort',
478
+ values: ['control', 'test'],
479
+ defaultValue: 'control'
463
480
  })
464
481
  };
@@ -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" | "platform_editor_add_orange_highlight_color">(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;
@@ -386,6 +392,13 @@ declare namespace eeTest {
386
392
  productKeys?: import("./types").ProductKeys | undefined;
387
393
  param: string;
388
394
  };
395
+ platform_editor_add_orange_highlight_color: {
396
+ values: ("test" | "control")[];
397
+ typeGuard: (value: unknown) => value is "test" | "control";
398
+ defaultValue: "test" | "control";
399
+ productKeys?: import("./types").ProductKeys | undefined;
400
+ param: string;
401
+ };
389
402
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
390
403
  each: (describeBody: jest.EmptyFunction) => void;
391
404
  };
@@ -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;
@@ -344,4 +350,11 @@ export declare const editorExperimentsConfig: {
344
350
  productKeys?: import("./types").ProductKeys | undefined;
345
351
  param: string;
346
352
  };
353
+ platform_editor_add_orange_highlight_color: {
354
+ values: ("test" | "control")[];
355
+ typeGuard: (value: unknown) => value is "test" | "control";
356
+ defaultValue: "test" | "control";
357
+ productKeys?: import("./types").ProductKeys | undefined;
358
+ param: string;
359
+ };
347
360
  };
@@ -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;
@@ -63,6 +64,7 @@ export declare let _overrides: Partial<{
63
64
  cc_editor_ufo_hold_table_till_resize_complete: boolean;
64
65
  platform_editor_toggle_expand_on_match_found: boolean;
65
66
  cc_editor_interactions_trigger_traceufointeraction: "control" | "all_events" | "only_mousedown_event";
67
+ platform_editor_add_orange_highlight_color: "test" | "control";
66
68
  }>;
67
69
  export declare let _paramOverrides: EditorExperimentParamOverrides;
68
70
  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" | "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" | "platform_editor_add_orange_highlight_color">(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;
@@ -386,6 +392,13 @@ declare namespace eeTest {
386
392
  productKeys?: import("./types").ProductKeys | undefined;
387
393
  param: string;
388
394
  };
395
+ platform_editor_add_orange_highlight_color: {
396
+ values: ("test" | "control")[];
397
+ typeGuard: (value: unknown) => value is "test" | "control";
398
+ defaultValue: "test" | "control";
399
+ productKeys?: import("./types").ProductKeys | undefined;
400
+ param: string;
401
+ };
389
402
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
390
403
  each: (describeBody: jest.EmptyFunction) => void;
391
404
  };
@@ -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;
@@ -344,4 +350,11 @@ export declare const editorExperimentsConfig: {
344
350
  productKeys?: import("./types").ProductKeys | undefined;
345
351
  param: string;
346
352
  };
353
+ platform_editor_add_orange_highlight_color: {
354
+ values: ("test" | "control")[];
355
+ typeGuard: (value: unknown) => value is "test" | "control";
356
+ defaultValue: "test" | "control";
357
+ productKeys?: import("./types").ProductKeys | undefined;
358
+ param: string;
359
+ };
347
360
  };
@@ -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;
@@ -63,6 +64,7 @@ export declare let _overrides: Partial<{
63
64
  cc_editor_ufo_hold_table_till_resize_complete: boolean;
64
65
  platform_editor_toggle_expand_on_match_found: boolean;
65
66
  cc_editor_interactions_trigger_traceufointeraction: "control" | "all_events" | "only_mousedown_event";
67
+ platform_editor_add_orange_highlight_color: "test" | "control";
66
68
  }>;
67
69
  export declare let _paramOverrides: EditorExperimentParamOverrides;
68
70
  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.4.0",
3
+ "version": "9.6.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",