@atlaskit/tmp-editor-statsig 3.2.0 → 3.4.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#119706](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119706)
8
+ [`42fd258ba482e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42fd258ba482e) -
9
+ ED-26704: enables editor node virtualization experiment
10
+
11
+ ## 3.3.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#120426](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120426)
16
+ [`1fc7b1519dbcf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1fc7b1519dbcf) -
17
+ Uses a separate FF for the new QuickInsert and Right rail to split them from the other Editor
18
+ Controls features.
19
+
3
20
  ## 3.2.0
4
21
 
5
22
  ### Minor Changes
@@ -308,5 +308,23 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
308
308
  param: 'cohort',
309
309
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
310
310
  defaultValue: 'control'
311
+ },
312
+ // Added 28-02-2025
313
+ platform_editor_insertion: {
314
+ productKeys: {
315
+ confluence: 'platform_editor_insertion'
316
+ },
317
+ param: 'cohort',
318
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
319
+ defaultValue: 'control'
320
+ },
321
+ // Added 2025-02-25
322
+ platform_editor_inline_node_virtualization: {
323
+ productKeys: {
324
+ confluence: 'platform_editor_inline_node_virtualization'
325
+ },
326
+ param: 'variant',
327
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'fallbackall', 'fallbackoffscreen']),
328
+ defaultValue: 'control'
311
329
  }
312
330
  };
@@ -302,5 +302,23 @@ export const editorExperimentsConfig = {
302
302
  param: 'cohort',
303
303
  typeGuard: oneOf(['control', 'test']),
304
304
  defaultValue: 'control'
305
+ },
306
+ // Added 28-02-2025
307
+ platform_editor_insertion: {
308
+ productKeys: {
309
+ confluence: 'platform_editor_insertion'
310
+ },
311
+ param: 'cohort',
312
+ typeGuard: oneOf(['control', 'variant1']),
313
+ defaultValue: 'control'
314
+ },
315
+ // Added 2025-02-25
316
+ platform_editor_inline_node_virtualization: {
317
+ productKeys: {
318
+ confluence: 'platform_editor_inline_node_virtualization'
319
+ },
320
+ param: 'variant',
321
+ typeGuard: oneOf(['control', 'fallbackall', 'fallbackoffscreen']),
322
+ defaultValue: 'control'
305
323
  }
306
324
  };
@@ -302,5 +302,23 @@ export var editorExperimentsConfig = {
302
302
  param: 'cohort',
303
303
  typeGuard: oneOf(['control', 'test']),
304
304
  defaultValue: 'control'
305
+ },
306
+ // Added 28-02-2025
307
+ platform_editor_insertion: {
308
+ productKeys: {
309
+ confluence: 'platform_editor_insertion'
310
+ },
311
+ param: 'cohort',
312
+ typeGuard: oneOf(['control', 'variant1']),
313
+ defaultValue: 'control'
314
+ },
315
+ // Added 2025-02-25
316
+ platform_editor_inline_node_virtualization: {
317
+ productKeys: {
318
+ confluence: 'platform_editor_inline_node_virtualization'
319
+ },
320
+ param: 'variant',
321
+ typeGuard: oneOf(['control', 'fallbackall', 'fallbackoffscreen']),
322
+ defaultValue: 'control'
305
323
  }
306
324
  };
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "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_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "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_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -304,6 +304,22 @@ declare namespace eeTest {
304
304
  typeGuard: (value: unknown) => value is "test" | "control";
305
305
  defaultValue: "test" | "control";
306
306
  };
307
+ platform_editor_insertion: {
308
+ productKeys: {
309
+ confluence: string;
310
+ };
311
+ param: string;
312
+ typeGuard: (value: unknown) => value is "control" | "variant1";
313
+ defaultValue: "control" | "variant1";
314
+ };
315
+ platform_editor_inline_node_virtualization: {
316
+ productKeys: {
317
+ confluence: string;
318
+ };
319
+ param: string;
320
+ typeGuard: (value: unknown) => value is "control" | "fallbackall" | "fallbackoffscreen";
321
+ defaultValue: string;
322
+ };
307
323
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
308
324
  each: (describeBody: jest.EmptyFunction) => void;
309
325
  };
@@ -263,4 +263,20 @@ export declare const editorExperimentsConfig: {
263
263
  typeGuard: (value: unknown) => value is "test" | "control";
264
264
  defaultValue: "test" | "control";
265
265
  };
266
+ platform_editor_insertion: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: (value: unknown) => value is "control" | "variant1";
272
+ defaultValue: "control" | "variant1";
273
+ };
274
+ platform_editor_inline_node_virtualization: {
275
+ productKeys: {
276
+ confluence: string;
277
+ };
278
+ param: string;
279
+ typeGuard: (value: unknown) => value is "control" | "fallbackall" | "fallbackoffscreen";
280
+ defaultValue: string;
281
+ };
266
282
  };
@@ -40,6 +40,8 @@ export declare let _overrides: Partial<{
40
40
  platform_editor_controls: "control" | "variant1";
41
41
  platform_editor_nested_non_bodied_macros: "test" | "control";
42
42
  editor_ai_inline_suggestion_date: "test" | "control";
43
+ platform_editor_insertion: "control" | "variant1";
44
+ platform_editor_inline_node_virtualization: string;
43
45
  }>;
44
46
  export declare let _paramOverrides: EditorExperimentParamOverrides;
45
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "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_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "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_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -304,6 +304,22 @@ declare namespace eeTest {
304
304
  typeGuard: (value: unknown) => value is "test" | "control";
305
305
  defaultValue: "test" | "control";
306
306
  };
307
+ platform_editor_insertion: {
308
+ productKeys: {
309
+ confluence: string;
310
+ };
311
+ param: string;
312
+ typeGuard: (value: unknown) => value is "control" | "variant1";
313
+ defaultValue: "control" | "variant1";
314
+ };
315
+ platform_editor_inline_node_virtualization: {
316
+ productKeys: {
317
+ confluence: string;
318
+ };
319
+ param: string;
320
+ typeGuard: (value: unknown) => value is "control" | "fallbackall" | "fallbackoffscreen";
321
+ defaultValue: string;
322
+ };
307
323
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
308
324
  each: (describeBody: jest.EmptyFunction) => void;
309
325
  };
@@ -263,4 +263,20 @@ export declare const editorExperimentsConfig: {
263
263
  typeGuard: (value: unknown) => value is "test" | "control";
264
264
  defaultValue: "test" | "control";
265
265
  };
266
+ platform_editor_insertion: {
267
+ productKeys: {
268
+ confluence: string;
269
+ };
270
+ param: string;
271
+ typeGuard: (value: unknown) => value is "control" | "variant1";
272
+ defaultValue: "control" | "variant1";
273
+ };
274
+ platform_editor_inline_node_virtualization: {
275
+ productKeys: {
276
+ confluence: string;
277
+ };
278
+ param: string;
279
+ typeGuard: (value: unknown) => value is "control" | "fallbackall" | "fallbackoffscreen";
280
+ defaultValue: string;
281
+ };
266
282
  };
@@ -40,6 +40,8 @@ export declare let _overrides: Partial<{
40
40
  platform_editor_controls: "control" | "variant1";
41
41
  platform_editor_nested_non_bodied_macros: "test" | "control";
42
42
  editor_ai_inline_suggestion_date: "test" | "control";
43
+ platform_editor_insertion: "control" | "variant1";
44
+ platform_editor_inline_node_virtualization: string;
43
45
  }>;
44
46
  export declare let _paramOverrides: EditorExperimentParamOverrides;
45
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "3.2.0",
3
+ "version": "3.4.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",