@atlaskit/tmp-editor-statsig 124.7.0 → 124.8.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,30 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 124.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`900a71f62a8fe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/900a71f62a8fe) -
8
+ Add multi-cohort should-improve-writing routing for the cc-smarts migration experiment.
9
+
10
+ The `cc_smarts_should_improve_writing_migration` editor experiment is configured through
11
+ `@atlaskit/tmp-editor-statsig` and can return `control`, `shadow_compare`, or `live_cc_smarts`.
12
+ Consumers can also emit the new shadow-comparison divergence analytics event when a user-visible
13
+ convo-ai result differs from the cc-smarts shadow result.
14
+
15
+ ```ts
16
+ fireAiQuickPromptShadowComparisonDivergedEvent({
17
+ api,
18
+ experienceName: 'should-improve-writing',
19
+ convoAiOk: true,
20
+ ccSmartsOk: true,
21
+ convoAiShouldImprove: true,
22
+ ccSmartsShouldImprove: false,
23
+ convoAiStatus: 200,
24
+ ccSmartsStatus: 200,
25
+ });
26
+ ```
27
+
3
28
  ## 124.7.0
4
29
 
5
30
  ### Minor Changes
@@ -16,6 +16,7 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
16
16
  cc_fd_db_top_editor_toolbar: 'control',
17
17
  cc_fd_cwr_quick_insert: 'control',
18
18
  platform_editor_paste_actions_menu_v2: 'control',
19
+ cc_smarts_should_improve_writing_migration: 'control',
19
20
  confluence_quick_insert_embeds: 'control',
20
21
  cc_cwr_prompt_strength_indicator: 'control'
21
22
  };
@@ -963,6 +963,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
963
963
  param: 'isEnabled',
964
964
  defaultValue: false
965
965
  }),
966
+ // Added 2026-07-15
967
+ cc_smarts_should_improve_writing_migration: (0, _experimentBuilders.createMultivariateExperiment)({
968
+ productKeys: {
969
+ confluence: 'cc_smarts_should_improve_writing_migration'
970
+ },
971
+ param: 'routingMode',
972
+ values: ['control', 'shadow_compare', 'live_cc_smarts'],
973
+ defaultValue: 'control'
974
+ }),
966
975
  // Added 2026-03-05
967
976
  platform_editor_abort_ufo_on_user_interaction: (0, _experimentBuilders.createBooleanExperiment)({
968
977
  productKeys: {
@@ -10,6 +10,7 @@ export const testMultivariateOverrides = {
10
10
  cc_fd_db_top_editor_toolbar: 'control',
11
11
  cc_fd_cwr_quick_insert: 'control',
12
12
  platform_editor_paste_actions_menu_v2: 'control',
13
+ cc_smarts_should_improve_writing_migration: 'control',
13
14
  confluence_quick_insert_embeds: 'control',
14
15
  cc_cwr_prompt_strength_indicator: 'control'
15
16
  };
@@ -957,6 +957,15 @@ export const editorExperimentsConfig = {
957
957
  param: 'isEnabled',
958
958
  defaultValue: false
959
959
  }),
960
+ // Added 2026-07-15
961
+ cc_smarts_should_improve_writing_migration: createMultivariateExperiment({
962
+ productKeys: {
963
+ confluence: 'cc_smarts_should_improve_writing_migration'
964
+ },
965
+ param: 'routingMode',
966
+ values: ['control', 'shadow_compare', 'live_cc_smarts'],
967
+ defaultValue: 'control'
968
+ }),
960
969
  // Added 2026-03-05
961
970
  platform_editor_abort_ufo_on_user_interaction: createBooleanExperiment({
962
971
  productKeys: {
@@ -10,6 +10,7 @@ export var testMultivariateOverrides = {
10
10
  cc_fd_db_top_editor_toolbar: 'control',
11
11
  cc_fd_cwr_quick_insert: 'control',
12
12
  platform_editor_paste_actions_menu_v2: 'control',
13
+ cc_smarts_should_improve_writing_migration: 'control',
13
14
  confluence_quick_insert_embeds: 'control',
14
15
  cc_cwr_prompt_strength_indicator: 'control'
15
16
  };
@@ -957,6 +957,15 @@ export var editorExperimentsConfig = {
957
957
  param: 'isEnabled',
958
958
  defaultValue: false
959
959
  }),
960
+ // Added 2026-07-15
961
+ cc_smarts_should_improve_writing_migration: createMultivariateExperiment({
962
+ productKeys: {
963
+ confluence: 'cc_smarts_should_improve_writing_migration'
964
+ },
965
+ param: 'routingMode',
966
+ values: ['control', 'shadow_compare', 'live_cc_smarts'],
967
+ defaultValue: 'control'
968
+ }),
960
969
  // Added 2026-03-05
961
970
  platform_editor_abort_ufo_on_user_interaction: createBooleanExperiment({
962
971
  productKeys: {
@@ -185,6 +185,13 @@ export declare const editorExperimentsConfig: {
185
185
  productKeys?: ProductKeys;
186
186
  typeGuard: IsBooleanType;
187
187
  };
188
+ cc_smarts_should_improve_writing_migration: {
189
+ defaultValue: 'control' | 'shadow_compare' | 'live_cc_smarts';
190
+ param: string;
191
+ productKeys?: ProductKeys;
192
+ typeGuard: (value: unknown) => value is 'control' | 'shadow_compare' | 'live_cc_smarts';
193
+ values: ('control' | 'shadow_compare' | 'live_cc_smarts')[];
194
+ };
188
195
  ai_speech_to_text_in_editor: {
189
196
  defaultValue: boolean;
190
197
  param: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "124.7.0",
3
+ "version": "124.8.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",