@atlaskit/tmp-editor-statsig 2.3.1 → 2.3.2

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
+ ## 2.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#151153](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151153)
8
+ [`b08ca9cb58898`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b08ca9cb58898) -
9
+ Added a new proactive ai prosemirror plugin to the editor ai plugin. This plugin will be used for
10
+ generating recommendations using AI and providing them to the user for inserting
11
+
3
12
  ## 2.3.1
4
13
 
5
14
  ### Patch Changes
@@ -255,5 +255,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
255
255
  param: 'isEnabled',
256
256
  typeGuard: _typeGuards.isBoolean,
257
257
  defaultValue: false
258
+ },
259
+ // Added 2024-10-03
260
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_proactive_ai_improve_writing/setup
261
+ 'editor_ai_-_proactive_ai_improve_writing': {
262
+ productKeys: {
263
+ confluence: 'editor_ai_-_proactive_ai_improve_writing'
264
+ },
265
+ param: 'cohort',
266
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
267
+ defaultValue: 'control'
258
268
  }
259
269
  };
@@ -249,5 +249,15 @@ export const editorExperimentsConfig = {
249
249
  param: 'isEnabled',
250
250
  typeGuard: isBoolean,
251
251
  defaultValue: false
252
+ },
253
+ // Added 2024-10-03
254
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_proactive_ai_improve_writing/setup
255
+ 'editor_ai_-_proactive_ai_improve_writing': {
256
+ productKeys: {
257
+ confluence: 'editor_ai_-_proactive_ai_improve_writing'
258
+ },
259
+ param: 'cohort',
260
+ typeGuard: oneOf(['control', 'test']),
261
+ defaultValue: 'control'
252
262
  }
253
263
  };
@@ -249,5 +249,15 @@ export var editorExperimentsConfig = {
249
249
  param: 'isEnabled',
250
250
  typeGuard: isBoolean,
251
251
  defaultValue: false
252
+ },
253
+ // Added 2024-10-03
254
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_proactive_ai_improve_writing/setup
255
+ 'editor_ai_-_proactive_ai_improve_writing': {
256
+ productKeys: {
257
+ confluence: 'editor_ai_-_proactive_ai_improve_writing'
258
+ },
259
+ param: 'cohort',
260
+ typeGuard: oneOf(['control', 'test']),
261
+ defaultValue: 'control'
252
262
  }
253
263
  };
@@ -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" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc" | "editor_ai_-_proactive_ai_improve_writing">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -256,6 +256,14 @@ declare namespace eeTest {
256
256
  typeGuard: typeof import("./type-guards").isBoolean;
257
257
  defaultValue: boolean;
258
258
  };
259
+ 'editor_ai_-_proactive_ai_improve_writing': {
260
+ productKeys: {
261
+ confluence: string;
262
+ };
263
+ param: string;
264
+ typeGuard: (value: unknown) => value is "test" | "control";
265
+ defaultValue: "test" | "control";
266
+ };
259
267
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
260
268
  each: (describeBody: jest.EmptyFunction) => void;
261
269
  };
@@ -215,4 +215,12 @@ export declare const editorExperimentsConfig: {
215
215
  typeGuard: typeof isBoolean;
216
216
  defaultValue: boolean;
217
217
  };
218
+ 'editor_ai_-_proactive_ai_improve_writing': {
219
+ productKeys: {
220
+ confluence: string;
221
+ };
222
+ param: string;
223
+ typeGuard: (value: unknown) => value is "test" | "control";
224
+ defaultValue: "test" | "control";
225
+ };
218
226
  };
@@ -29,6 +29,7 @@ export declare let _overrides: Partial<{
29
29
  comment_on_bodied_extensions: boolean;
30
30
  platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
31
31
  typography_migration_ugc: boolean;
32
+ 'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
32
33
  }>;
33
34
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
34
35
  /**
@@ -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" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc" | "editor_ai_-_proactive_ai_improve_writing">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -256,6 +256,14 @@ declare namespace eeTest {
256
256
  typeGuard: typeof import("./type-guards").isBoolean;
257
257
  defaultValue: boolean;
258
258
  };
259
+ 'editor_ai_-_proactive_ai_improve_writing': {
260
+ productKeys: {
261
+ confluence: string;
262
+ };
263
+ param: string;
264
+ typeGuard: (value: unknown) => value is "test" | "control";
265
+ defaultValue: "test" | "control";
266
+ };
259
267
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
260
268
  each: (describeBody: jest.EmptyFunction) => void;
261
269
  };
@@ -215,4 +215,12 @@ export declare const editorExperimentsConfig: {
215
215
  typeGuard: typeof isBoolean;
216
216
  defaultValue: boolean;
217
217
  };
218
+ 'editor_ai_-_proactive_ai_improve_writing': {
219
+ productKeys: {
220
+ confluence: string;
221
+ };
222
+ param: string;
223
+ typeGuard: (value: unknown) => value is "test" | "control";
224
+ defaultValue: "test" | "control";
225
+ };
218
226
  };
@@ -29,6 +29,7 @@ export declare let _overrides: Partial<{
29
29
  comment_on_bodied_extensions: boolean;
30
30
  platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
31
31
  typography_migration_ugc: boolean;
32
+ 'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
32
33
  }>;
33
34
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
34
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
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",