@atlaskit/tmp-editor-statsig 3.3.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 +8 -0
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/experiments-config.js +9 -0
- package/dist/types/editor-experiments-test-utils.d.ts +9 -1
- package/dist/types/experiments-config.d.ts +8 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +9 -1
- package/dist/types-ts4.5/experiments-config.d.ts +8 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 3.3.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -317,5 +317,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
317
317
|
param: 'cohort',
|
|
318
318
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
|
|
319
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'
|
|
320
329
|
}
|
|
321
330
|
};
|
|
@@ -311,5 +311,14 @@ export const editorExperimentsConfig = {
|
|
|
311
311
|
param: 'cohort',
|
|
312
312
|
typeGuard: oneOf(['control', 'variant1']),
|
|
313
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'
|
|
314
323
|
}
|
|
315
324
|
};
|
|
@@ -311,5 +311,14 @@ export var editorExperimentsConfig = {
|
|
|
311
311
|
param: 'cohort',
|
|
312
312
|
typeGuard: oneOf(['control', 'variant1']),
|
|
313
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'
|
|
314
323
|
}
|
|
315
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" | "platform_editor_insertion">(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: {
|
|
@@ -312,6 +312,14 @@ declare namespace eeTest {
|
|
|
312
312
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
313
313
|
defaultValue: "control" | "variant1";
|
|
314
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
|
+
};
|
|
315
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
316
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
317
325
|
};
|
|
@@ -271,4 +271,12 @@ export declare const editorExperimentsConfig: {
|
|
|
271
271
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
272
272
|
defaultValue: "control" | "variant1";
|
|
273
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
|
+
};
|
|
274
282
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
41
41
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
42
42
|
editor_ai_inline_suggestion_date: "test" | "control";
|
|
43
43
|
platform_editor_insertion: "control" | "variant1";
|
|
44
|
+
platform_editor_inline_node_virtualization: string;
|
|
44
45
|
}>;
|
|
45
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
46
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" | "platform_editor_insertion">(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: {
|
|
@@ -312,6 +312,14 @@ declare namespace eeTest {
|
|
|
312
312
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
313
313
|
defaultValue: "control" | "variant1";
|
|
314
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
|
+
};
|
|
315
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
316
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
317
325
|
};
|
|
@@ -271,4 +271,12 @@ export declare const editorExperimentsConfig: {
|
|
|
271
271
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
272
272
|
defaultValue: "control" | "variant1";
|
|
273
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
|
+
};
|
|
274
282
|
};
|
|
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
41
41
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
42
42
|
editor_ai_inline_suggestion_date: "test" | "control";
|
|
43
43
|
platform_editor_insertion: "control" | "variant1";
|
|
44
|
+
platform_editor_inline_node_virtualization: string;
|
|
44
45
|
}>;
|
|
45
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
46
47
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED