@atlaskit/tmp-editor-statsig 4.8.0 → 4.9.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
+ ## 4.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#141582](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141582)
8
+ [`60370566f23be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/60370566f23be) -
9
+ [ux] EDITOR-604 Introduce alternative confidence score for nudges. Allow to configure various
10
+ cutoff values.
11
+
3
12
  ## 4.8.0
4
13
 
5
14
  ### Minor Changes
@@ -267,9 +267,9 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
267
267
  defaultValue: 'control'
268
268
  },
269
269
  // Added 2025-03-28
270
- platform_editor_ai_proactive_ai_nudge_score: {
270
+ platform_editor_ai_proactive_ai_nudge_parameters: {
271
271
  productKeys: {
272
- confluence: 'platform_editor_ai_proactive_ai_nudge_score'
272
+ confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
273
273
  },
274
274
  param: 'cohort',
275
275
  typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
@@ -261,9 +261,9 @@ export const editorExperimentsConfig = {
261
261
  defaultValue: 'control'
262
262
  },
263
263
  // Added 2025-03-28
264
- platform_editor_ai_proactive_ai_nudge_score: {
264
+ platform_editor_ai_proactive_ai_nudge_parameters: {
265
265
  productKeys: {
266
- confluence: 'platform_editor_ai_proactive_ai_nudge_score'
266
+ confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
267
267
  },
268
268
  param: 'cohort',
269
269
  typeGuard: oneOf(['control', 'variant1']),
@@ -261,9 +261,9 @@ export var editorExperimentsConfig = {
261
261
  defaultValue: 'control'
262
262
  },
263
263
  // Added 2025-03-28
264
- platform_editor_ai_proactive_ai_nudge_score: {
264
+ platform_editor_ai_proactive_ai_nudge_parameters: {
265
265
  productKeys: {
266
- confluence: 'platform_editor_ai_proactive_ai_nudge_score'
266
+ confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
267
267
  },
268
268
  param: 'cohort',
269
269
  typeGuard: oneOf(['control', 'variant1']),
@@ -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 "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -264,7 +264,7 @@ declare namespace eeTest {
264
264
  typeGuard: (value: unknown) => value is "test" | "control";
265
265
  defaultValue: "test" | "control";
266
266
  };
267
- platform_editor_ai_proactive_ai_nudge_score: {
267
+ platform_editor_ai_proactive_ai_nudge_parameters: {
268
268
  productKeys: {
269
269
  confluence: string;
270
270
  };
@@ -223,7 +223,7 @@ export declare const editorExperimentsConfig: {
223
223
  typeGuard: (value: unknown) => value is "test" | "control";
224
224
  defaultValue: "test" | "control";
225
225
  };
226
- platform_editor_ai_proactive_ai_nudge_score: {
226
+ platform_editor_ai_proactive_ai_nudge_parameters: {
227
227
  productKeys: {
228
228
  confluence: string;
229
229
  };
@@ -48,8 +48,8 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
- platform_editor_ai_proactive_ai_nudge_score: {
52
- params: 'score';
51
+ platform_editor_ai_proactive_ai_nudge_parameters: {
52
+ params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
53
53
  };
54
54
  };
55
55
  /**
@@ -35,7 +35,7 @@ export declare let _overrides: Partial<{
35
35
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
36
36
  platform_editor_vanilla_dom: boolean;
37
37
  editor_text_highlight_orange_to_yellow: "test" | "control";
38
- platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
38
+ platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
39
39
  platform_editor_offline_editing_web: boolean;
40
40
  platform_editor_markdown_next_media_plugin_exp: boolean;
41
41
  }>;
@@ -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 "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -264,7 +264,7 @@ declare namespace eeTest {
264
264
  typeGuard: (value: unknown) => value is "test" | "control";
265
265
  defaultValue: "test" | "control";
266
266
  };
267
- platform_editor_ai_proactive_ai_nudge_score: {
267
+ platform_editor_ai_proactive_ai_nudge_parameters: {
268
268
  productKeys: {
269
269
  confluence: string;
270
270
  };
@@ -223,7 +223,7 @@ export declare const editorExperimentsConfig: {
223
223
  typeGuard: (value: unknown) => value is "test" | "control";
224
224
  defaultValue: "test" | "control";
225
225
  };
226
- platform_editor_ai_proactive_ai_nudge_score: {
226
+ platform_editor_ai_proactive_ai_nudge_parameters: {
227
227
  productKeys: {
228
228
  confluence: string;
229
229
  };
@@ -48,8 +48,8 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
- platform_editor_ai_proactive_ai_nudge_score: {
52
- params: 'score';
51
+ platform_editor_ai_proactive_ai_nudge_parameters: {
52
+ params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
53
53
  };
54
54
  };
55
55
  /**
@@ -35,7 +35,7 @@ export declare let _overrides: Partial<{
35
35
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
36
36
  platform_editor_vanilla_dom: boolean;
37
37
  editor_text_highlight_orange_to_yellow: "test" | "control";
38
- platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
38
+ platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
39
39
  platform_editor_offline_editing_web: boolean;
40
40
  platform_editor_markdown_next_media_plugin_exp: boolean;
41
41
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "4.8.0",
3
+ "version": "4.9.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",