@atlaskit/tmp-editor-statsig 90.0.0 → 90.2.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,29 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 90.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ec2c29c3c63b3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec2c29c3c63b3) -
8
+ [ux] Reaction button a11y fixes
9
+ - [`98bc3bac22bb2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/98bc3bac22bb2) -
10
+ Add platform_editor_blocks editor experiment that routes to platform_editor_blocks_conf on
11
+ Confluence and platform_editor_blocks_jira on Jira; migrate internal callsites of the old
12
+ per-product Blocks experiments to the unified key
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
18
+ ## 90.1.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [`1f87c5cc71aa3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f87c5cc71aa3) -
23
+ Improve reliability of editor controls positioning by using ProseMirror node decorations to apply
24
+ CSS anchor-name, replacing fragile CSS adjacency selectors. Gated behind
25
+ platform_editor_controls_reliable_anchor experiment.
26
+
3
27
  ## 90.0.0
4
28
 
5
29
  ### Major Changes
@@ -15,7 +15,8 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
15
15
  platform_editor_table_sticky_header_improvements: 'test_with_overflow',
16
16
  cc_fd_db_top_editor_toolbar: 'control',
17
17
  cc_fd_cwr_quick_insert: 'control',
18
- platform_editor_paste_actions_menu_v2: 'control'
18
+ platform_editor_paste_actions_menu_v2: 'control',
19
+ confluence_quick_insert_embeds: 'control'
19
20
  };
20
21
  var testBooleanOverrides = exports.testBooleanOverrides = {
21
22
  'cc-maui-ai-edit-loading-experiment': true,
@@ -13,7 +13,7 @@ var _experimentBuilders = require("./experiment-builders");
13
13
 
14
14
  // These experiments have a jira-specific key that differs from the experiment name,
15
15
  // so they must opt out of product-key routing to avoid sending the wrong key on jira.
16
- var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
16
+ var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
17
17
 
18
18
  /**
19
19
  * Extract valid expected values.
@@ -147,12 +147,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
147
147
  param: 'isEnabled',
148
148
  defaultValue: false
149
149
  }),
150
- confluence_quick_insert_embeds: (0, _experimentBuilders.createBooleanExperiment)({
150
+ confluence_quick_insert_embeds: (0, _experimentBuilders.createMultivariateExperiment)({
151
151
  productKeys: {
152
152
  confluence: 'confluence_quick_insert_embeds'
153
153
  },
154
- param: 'isEnabled',
155
- defaultValue: false
154
+ param: 'cohort',
155
+ values: ['control', 'prioritizeLinkInQIM', 'prioritizeEmbedInQIM'],
156
+ defaultValue: 'control'
156
157
  }),
157
158
  confluence_remix_icon_right_side: (0, _experimentBuilders.createBooleanExperiment)({
158
159
  productKeys: {
@@ -447,6 +448,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
447
448
  param: 'isEnabled',
448
449
  defaultValue: false
449
450
  }),
451
+ // Added 2026-05-19
452
+ platform_editor_controls_reliable_anchor: (0, _experimentBuilders.createBooleanExperiment)({
453
+ productKeys: {
454
+ confluence: 'platform_editor_controls_reliable_anchor'
455
+ },
456
+ param: 'isEnabled',
457
+ defaultValue: false
458
+ }),
450
459
  // Added 2025-02-10
451
460
  platform_editor_controls: (0, _experimentBuilders.createMultivariateExperiment)({
452
461
  productKeys: {
@@ -737,7 +746,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
737
746
  platform_editor_block_menu: (0, _experimentBuilders.createBooleanExperiment)({
738
747
  productKeys: {
739
748
  confluence: 'platform_editor_block_menu',
740
- jira: 'platform_editor_block_menu_jira'
749
+ jira: 'platform_editor_blocks_jira'
750
+ },
751
+ param: 'isEnabled',
752
+ defaultValue: false
753
+ }),
754
+ // Added 2026-06-09
755
+ platform_editor_blocks: (0, _experimentBuilders.createBooleanExperiment)({
756
+ productKeys: {
757
+ confluence: 'platform_editor_blocks_conf',
758
+ jira: 'platform_editor_blocks_jira'
741
759
  },
742
760
  param: 'isEnabled',
743
761
  defaultValue: false
@@ -9,7 +9,8 @@ export const testMultivariateOverrides = {
9
9
  platform_editor_table_sticky_header_improvements: 'test_with_overflow',
10
10
  cc_fd_db_top_editor_toolbar: 'control',
11
11
  cc_fd_cwr_quick_insert: 'control',
12
- platform_editor_paste_actions_menu_v2: 'control'
12
+ platform_editor_paste_actions_menu_v2: 'control',
13
+ confluence_quick_insert_embeds: 'control'
13
14
  };
14
15
  export const testBooleanOverrides = {
15
16
  'cc-maui-ai-edit-loading-experiment': true,
@@ -7,7 +7,7 @@ import { createBooleanExperiment, createMultivariateExperiment } from './experim
7
7
 
8
8
  // These experiments have a jira-specific key that differs from the experiment name,
9
9
  // so they must opt out of product-key routing to avoid sending the wrong key on jira.
10
- export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
10
+ export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
11
11
 
12
12
  /**
13
13
  * Extract valid expected values.
@@ -141,12 +141,13 @@ export const editorExperimentsConfig = {
141
141
  param: 'isEnabled',
142
142
  defaultValue: false
143
143
  }),
144
- confluence_quick_insert_embeds: createBooleanExperiment({
144
+ confluence_quick_insert_embeds: createMultivariateExperiment({
145
145
  productKeys: {
146
146
  confluence: 'confluence_quick_insert_embeds'
147
147
  },
148
- param: 'isEnabled',
149
- defaultValue: false
148
+ param: 'cohort',
149
+ values: ['control', 'prioritizeLinkInQIM', 'prioritizeEmbedInQIM'],
150
+ defaultValue: 'control'
150
151
  }),
151
152
  confluence_remix_icon_right_side: createBooleanExperiment({
152
153
  productKeys: {
@@ -441,6 +442,14 @@ export const editorExperimentsConfig = {
441
442
  param: 'isEnabled',
442
443
  defaultValue: false
443
444
  }),
445
+ // Added 2026-05-19
446
+ platform_editor_controls_reliable_anchor: createBooleanExperiment({
447
+ productKeys: {
448
+ confluence: 'platform_editor_controls_reliable_anchor'
449
+ },
450
+ param: 'isEnabled',
451
+ defaultValue: false
452
+ }),
444
453
  // Added 2025-02-10
445
454
  platform_editor_controls: createMultivariateExperiment({
446
455
  productKeys: {
@@ -731,7 +740,16 @@ export const editorExperimentsConfig = {
731
740
  platform_editor_block_menu: createBooleanExperiment({
732
741
  productKeys: {
733
742
  confluence: 'platform_editor_block_menu',
734
- jira: 'platform_editor_block_menu_jira'
743
+ jira: 'platform_editor_blocks_jira'
744
+ },
745
+ param: 'isEnabled',
746
+ defaultValue: false
747
+ }),
748
+ // Added 2026-06-09
749
+ platform_editor_blocks: createBooleanExperiment({
750
+ productKeys: {
751
+ confluence: 'platform_editor_blocks_conf',
752
+ jira: 'platform_editor_blocks_jira'
735
753
  },
736
754
  param: 'isEnabled',
737
755
  defaultValue: false
@@ -9,7 +9,8 @@ export var testMultivariateOverrides = {
9
9
  platform_editor_table_sticky_header_improvements: 'test_with_overflow',
10
10
  cc_fd_db_top_editor_toolbar: 'control',
11
11
  cc_fd_cwr_quick_insert: 'control',
12
- platform_editor_paste_actions_menu_v2: 'control'
12
+ platform_editor_paste_actions_menu_v2: 'control',
13
+ confluence_quick_insert_embeds: 'control'
13
14
  };
14
15
  export var testBooleanOverrides = {
15
16
  'cc-maui-ai-edit-loading-experiment': true,
@@ -7,7 +7,7 @@ import { createBooleanExperiment, createMultivariateExperiment } from './experim
7
7
 
8
8
  // These experiments have a jira-specific key that differs from the experiment name,
9
9
  // so they must opt out of product-key routing to avoid sending the wrong key on jira.
10
- export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
10
+ export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'smart_link_confluence_short_link_analytics', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'platform_editor_ignore_metadata_connection_errors', 'comment_on_bodied_extensions'];
11
11
 
12
12
  /**
13
13
  * Extract valid expected values.
@@ -141,12 +141,13 @@ export var editorExperimentsConfig = {
141
141
  param: 'isEnabled',
142
142
  defaultValue: false
143
143
  }),
144
- confluence_quick_insert_embeds: createBooleanExperiment({
144
+ confluence_quick_insert_embeds: createMultivariateExperiment({
145
145
  productKeys: {
146
146
  confluence: 'confluence_quick_insert_embeds'
147
147
  },
148
- param: 'isEnabled',
149
- defaultValue: false
148
+ param: 'cohort',
149
+ values: ['control', 'prioritizeLinkInQIM', 'prioritizeEmbedInQIM'],
150
+ defaultValue: 'control'
150
151
  }),
151
152
  confluence_remix_icon_right_side: createBooleanExperiment({
152
153
  productKeys: {
@@ -441,6 +442,14 @@ export var editorExperimentsConfig = {
441
442
  param: 'isEnabled',
442
443
  defaultValue: false
443
444
  }),
445
+ // Added 2026-05-19
446
+ platform_editor_controls_reliable_anchor: createBooleanExperiment({
447
+ productKeys: {
448
+ confluence: 'platform_editor_controls_reliable_anchor'
449
+ },
450
+ param: 'isEnabled',
451
+ defaultValue: false
452
+ }),
444
453
  // Added 2025-02-10
445
454
  platform_editor_controls: createMultivariateExperiment({
446
455
  productKeys: {
@@ -731,7 +740,16 @@ export var editorExperimentsConfig = {
731
740
  platform_editor_block_menu: createBooleanExperiment({
732
741
  productKeys: {
733
742
  confluence: 'platform_editor_block_menu',
734
- jira: 'platform_editor_block_menu_jira'
743
+ jira: 'platform_editor_blocks_jira'
744
+ },
745
+ param: 'isEnabled',
746
+ defaultValue: false
747
+ }),
748
+ // Added 2026-06-09
749
+ platform_editor_blocks: createBooleanExperiment({
750
+ productKeys: {
751
+ confluence: 'platform_editor_blocks_conf',
752
+ jira: 'platform_editor_blocks_jira'
735
753
  },
736
754
  param: 'isEnabled',
737
755
  defaultValue: false
@@ -270,10 +270,11 @@ export declare const editorExperimentsConfig: {
270
270
  typeGuard: IsBooleanType;
271
271
  };
272
272
  confluence_quick_insert_embeds: {
273
- defaultValue: boolean;
273
+ defaultValue: 'control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM';
274
274
  param: string;
275
275
  productKeys?: ProductKeys;
276
- typeGuard: IsBooleanType;
276
+ typeGuard: (value: unknown) => value is 'control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM';
277
+ values: ('control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM')[];
277
278
  };
278
279
  platform_editor_layout_keywords: {
279
280
  defaultValue: boolean;
@@ -373,6 +374,12 @@ export declare const editorExperimentsConfig: {
373
374
  productKeys?: ProductKeys;
374
375
  typeGuard: IsBooleanType;
375
376
  };
377
+ platform_editor_blocks: {
378
+ defaultValue: boolean;
379
+ param: string;
380
+ productKeys?: ProductKeys;
381
+ typeGuard: IsBooleanType;
382
+ };
376
383
  platform_editor_blockquote_in_text_formatting_menu: {
377
384
  defaultValue: boolean;
378
385
  param: string;
@@ -422,6 +429,12 @@ export declare const editorExperimentsConfig: {
422
429
  productKeys?: ProductKeys;
423
430
  typeGuard: IsBooleanType;
424
431
  };
432
+ platform_editor_controls_reliable_anchor: {
433
+ defaultValue: boolean;
434
+ param: string;
435
+ productKeys?: ProductKeys;
436
+ typeGuard: IsBooleanType;
437
+ };
425
438
  platform_editor_confluence_base_preset: {
426
439
  defaultValue: boolean;
427
440
  param: string;
@@ -270,10 +270,11 @@ export declare const editorExperimentsConfig: {
270
270
  typeGuard: IsBooleanType;
271
271
  };
272
272
  confluence_quick_insert_embeds: {
273
- defaultValue: boolean;
273
+ defaultValue: 'control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM';
274
274
  param: string;
275
275
  productKeys?: ProductKeys;
276
- typeGuard: IsBooleanType;
276
+ typeGuard: (value: unknown) => value is 'control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM';
277
+ values: ('control' | 'prioritizeLinkInQIM' | 'prioritizeEmbedInQIM')[];
277
278
  };
278
279
  platform_editor_layout_keywords: {
279
280
  defaultValue: boolean;
@@ -373,6 +374,12 @@ export declare const editorExperimentsConfig: {
373
374
  productKeys?: ProductKeys;
374
375
  typeGuard: IsBooleanType;
375
376
  };
377
+ platform_editor_blocks: {
378
+ defaultValue: boolean;
379
+ param: string;
380
+ productKeys?: ProductKeys;
381
+ typeGuard: IsBooleanType;
382
+ };
376
383
  platform_editor_blockquote_in_text_formatting_menu: {
377
384
  defaultValue: boolean;
378
385
  param: string;
@@ -422,6 +429,12 @@ export declare const editorExperimentsConfig: {
422
429
  productKeys?: ProductKeys;
423
430
  typeGuard: IsBooleanType;
424
431
  };
432
+ platform_editor_controls_reliable_anchor: {
433
+ defaultValue: boolean;
434
+ param: string;
435
+ productKeys?: ProductKeys;
436
+ typeGuard: IsBooleanType;
437
+ };
425
438
  platform_editor_confluence_base_preset: {
426
439
  defaultValue: boolean;
427
440
  param: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "90.0.0",
3
+ "version": "90.2.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",