@atlaskit/tmp-editor-statsig 3.5.0 → 3.6.1
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 +17 -0
- package/dist/cjs/experiments-config.js +10 -1
- package/dist/es2019/experiments-config.js +10 -1
- package/dist/esm/experiments-config.js +10 -1
- package/dist/types/editor-experiments-test-utils.d.ts +10 -2
- package/dist/types/experiments-config.d.ts +9 -1
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +10 -2
- package/dist/types-ts4.5/experiments-config.d.ts +9 -1
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 3.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123036](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/123036)
|
|
8
|
+
[`08a3386cf1088`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08a3386cf1088) -
|
|
9
|
+
Editor virtualization experiment adjustment, fixes
|
|
10
|
+
|
|
11
|
+
## 3.6.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#125840](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/125840)
|
|
16
|
+
[`070cc7406b298`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/070cc7406b298) -
|
|
17
|
+
EDF-2577: Register editor_text_highlight_orange_to_yellow experiment in tmp-editor-statsig
|
|
18
|
+
experiments config
|
|
19
|
+
|
|
3
20
|
## 3.5.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -324,7 +324,7 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
324
324
|
confluence: 'platform_editor_inline_node_virtualization'
|
|
325
325
|
},
|
|
326
326
|
param: 'variant',
|
|
327
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', '
|
|
327
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'fallback-small', 'fallback-large']),
|
|
328
328
|
defaultValue: 'control'
|
|
329
329
|
},
|
|
330
330
|
// Added 2025-03-03
|
|
@@ -335,5 +335,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
335
335
|
param: 'isEnabled',
|
|
336
336
|
typeGuard: _typeGuards.isBoolean,
|
|
337
337
|
defaultValue: false
|
|
338
|
+
},
|
|
339
|
+
// Added 2025-03-13
|
|
340
|
+
editor_text_highlight_orange_to_yellow: {
|
|
341
|
+
productKeys: {
|
|
342
|
+
confluence: 'editor_text_highlight_orange_to_yellow'
|
|
343
|
+
},
|
|
344
|
+
param: 'cohort',
|
|
345
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
346
|
+
defaultValue: 'control'
|
|
338
347
|
}
|
|
339
348
|
};
|
|
@@ -318,7 +318,7 @@ export const editorExperimentsConfig = {
|
|
|
318
318
|
confluence: 'platform_editor_inline_node_virtualization'
|
|
319
319
|
},
|
|
320
320
|
param: 'variant',
|
|
321
|
-
typeGuard: oneOf(['control', '
|
|
321
|
+
typeGuard: oneOf(['control', 'fallback-small', 'fallback-large']),
|
|
322
322
|
defaultValue: 'control'
|
|
323
323
|
},
|
|
324
324
|
// Added 2025-03-03
|
|
@@ -329,5 +329,14 @@ export const editorExperimentsConfig = {
|
|
|
329
329
|
param: 'isEnabled',
|
|
330
330
|
typeGuard: isBoolean,
|
|
331
331
|
defaultValue: false
|
|
332
|
+
},
|
|
333
|
+
// Added 2025-03-13
|
|
334
|
+
editor_text_highlight_orange_to_yellow: {
|
|
335
|
+
productKeys: {
|
|
336
|
+
confluence: 'editor_text_highlight_orange_to_yellow'
|
|
337
|
+
},
|
|
338
|
+
param: 'cohort',
|
|
339
|
+
typeGuard: oneOf(['control', 'test']),
|
|
340
|
+
defaultValue: 'control'
|
|
332
341
|
}
|
|
333
342
|
};
|
|
@@ -318,7 +318,7 @@ export var editorExperimentsConfig = {
|
|
|
318
318
|
confluence: 'platform_editor_inline_node_virtualization'
|
|
319
319
|
},
|
|
320
320
|
param: 'variant',
|
|
321
|
-
typeGuard: oneOf(['control', '
|
|
321
|
+
typeGuard: oneOf(['control', 'fallback-small', 'fallback-large']),
|
|
322
322
|
defaultValue: 'control'
|
|
323
323
|
},
|
|
324
324
|
// Added 2025-03-03
|
|
@@ -329,5 +329,14 @@ export var editorExperimentsConfig = {
|
|
|
329
329
|
param: 'isEnabled',
|
|
330
330
|
typeGuard: isBoolean,
|
|
331
331
|
defaultValue: false
|
|
332
|
+
},
|
|
333
|
+
// Added 2025-03-13
|
|
334
|
+
editor_text_highlight_orange_to_yellow: {
|
|
335
|
+
productKeys: {
|
|
336
|
+
confluence: 'editor_text_highlight_orange_to_yellow'
|
|
337
|
+
},
|
|
338
|
+
param: 'cohort',
|
|
339
|
+
typeGuard: oneOf(['control', 'test']),
|
|
340
|
+
defaultValue: 'control'
|
|
332
341
|
}
|
|
333
342
|
};
|
|
@@ -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" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes">(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" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -317,7 +317,7 @@ declare namespace eeTest {
|
|
|
317
317
|
confluence: string;
|
|
318
318
|
};
|
|
319
319
|
param: string;
|
|
320
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
320
|
+
typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
|
|
321
321
|
defaultValue: string;
|
|
322
322
|
};
|
|
323
323
|
platform_editor_cmd_a_progressively_select_nodes: {
|
|
@@ -328,6 +328,14 @@ declare namespace eeTest {
|
|
|
328
328
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
329
|
defaultValue: boolean;
|
|
330
330
|
};
|
|
331
|
+
editor_text_highlight_orange_to_yellow: {
|
|
332
|
+
productKeys: {
|
|
333
|
+
confluence: string;
|
|
334
|
+
};
|
|
335
|
+
param: string;
|
|
336
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
337
|
+
defaultValue: "test" | "control";
|
|
338
|
+
};
|
|
331
339
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
332
340
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
333
341
|
};
|
|
@@ -276,7 +276,7 @@ export declare const editorExperimentsConfig: {
|
|
|
276
276
|
confluence: string;
|
|
277
277
|
};
|
|
278
278
|
param: string;
|
|
279
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
279
|
+
typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
|
|
280
280
|
defaultValue: string;
|
|
281
281
|
};
|
|
282
282
|
platform_editor_cmd_a_progressively_select_nodes: {
|
|
@@ -287,4 +287,12 @@ export declare const editorExperimentsConfig: {
|
|
|
287
287
|
typeGuard: typeof isBoolean;
|
|
288
288
|
defaultValue: boolean;
|
|
289
289
|
};
|
|
290
|
+
editor_text_highlight_orange_to_yellow: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: string;
|
|
293
|
+
};
|
|
294
|
+
param: string;
|
|
295
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
296
|
+
defaultValue: "test" | "control";
|
|
297
|
+
};
|
|
290
298
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare let _overrides: Partial<{
|
|
|
43
43
|
platform_editor_insertion: "control" | "variant1";
|
|
44
44
|
platform_editor_inline_node_virtualization: string;
|
|
45
45
|
platform_editor_cmd_a_progressively_select_nodes: boolean;
|
|
46
|
+
editor_text_highlight_orange_to_yellow: "test" | "control";
|
|
46
47
|
}>;
|
|
47
48
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
48
49
|
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" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes">(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" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -317,7 +317,7 @@ declare namespace eeTest {
|
|
|
317
317
|
confluence: string;
|
|
318
318
|
};
|
|
319
319
|
param: string;
|
|
320
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
320
|
+
typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
|
|
321
321
|
defaultValue: string;
|
|
322
322
|
};
|
|
323
323
|
platform_editor_cmd_a_progressively_select_nodes: {
|
|
@@ -328,6 +328,14 @@ declare namespace eeTest {
|
|
|
328
328
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
329
|
defaultValue: boolean;
|
|
330
330
|
};
|
|
331
|
+
editor_text_highlight_orange_to_yellow: {
|
|
332
|
+
productKeys: {
|
|
333
|
+
confluence: string;
|
|
334
|
+
};
|
|
335
|
+
param: string;
|
|
336
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
337
|
+
defaultValue: "test" | "control";
|
|
338
|
+
};
|
|
331
339
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
332
340
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
333
341
|
};
|
|
@@ -276,7 +276,7 @@ export declare const editorExperimentsConfig: {
|
|
|
276
276
|
confluence: string;
|
|
277
277
|
};
|
|
278
278
|
param: string;
|
|
279
|
-
typeGuard: (value: unknown) => value is "control" | "
|
|
279
|
+
typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
|
|
280
280
|
defaultValue: string;
|
|
281
281
|
};
|
|
282
282
|
platform_editor_cmd_a_progressively_select_nodes: {
|
|
@@ -287,4 +287,12 @@ export declare const editorExperimentsConfig: {
|
|
|
287
287
|
typeGuard: typeof isBoolean;
|
|
288
288
|
defaultValue: boolean;
|
|
289
289
|
};
|
|
290
|
+
editor_text_highlight_orange_to_yellow: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: string;
|
|
293
|
+
};
|
|
294
|
+
param: string;
|
|
295
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
296
|
+
defaultValue: "test" | "control";
|
|
297
|
+
};
|
|
290
298
|
};
|
|
@@ -43,6 +43,7 @@ export declare let _overrides: Partial<{
|
|
|
43
43
|
platform_editor_insertion: "control" | "variant1";
|
|
44
44
|
platform_editor_inline_node_virtualization: string;
|
|
45
45
|
platform_editor_cmd_a_progressively_select_nodes: boolean;
|
|
46
|
+
editor_text_highlight_orange_to_yellow: "test" | "control";
|
|
46
47
|
}>;
|
|
47
48
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
48
49
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED