@atlaskit/tmp-editor-statsig 90.1.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,20 @@
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
+
3
18
  ## 90.1.0
4
19
 
5
20
  ### Minor 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: {
@@ -745,7 +746,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
745
746
  platform_editor_block_menu: (0, _experimentBuilders.createBooleanExperiment)({
746
747
  productKeys: {
747
748
  confluence: 'platform_editor_block_menu',
748
- 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'
749
759
  },
750
760
  param: 'isEnabled',
751
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: {
@@ -739,7 +740,16 @@ export const editorExperimentsConfig = {
739
740
  platform_editor_block_menu: createBooleanExperiment({
740
741
  productKeys: {
741
742
  confluence: 'platform_editor_block_menu',
742
- 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'
743
753
  },
744
754
  param: 'isEnabled',
745
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: {
@@ -739,7 +740,16 @@ export var editorExperimentsConfig = {
739
740
  platform_editor_block_menu: createBooleanExperiment({
740
741
  productKeys: {
741
742
  confluence: 'platform_editor_block_menu',
742
- 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'
743
753
  },
744
754
  param: 'isEnabled',
745
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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "90.1.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",