@atlaskit/tmp-editor-statsig 4.4.3 → 4.5.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 -10
- package/dist/es2019/experiments-config.js +9 -10
- package/dist/esm/experiments-config.js +9 -10
- package/dist/types/editor-experiments-test-utils.d.ts +9 -9
- package/dist/types/experiments-config.d.ts +8 -8
- package/dist/types/setup.d.ts +1 -1
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +9 -9
- package/dist/types-ts4.5/experiments-config.d.ts +8 -8
- package/dist/types-ts4.5/setup.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#127912](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127912)
|
|
8
|
+
[`d3364031ea983`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3364031ea983) -
|
|
9
|
+
[NO-ISSUE] Cleaning up remaining pass experiments + follow ups
|
|
10
|
+
|
|
3
11
|
## 4.4.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -91,16 +91,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
91
91
|
typeGuard: _typeGuards.isBoolean,
|
|
92
92
|
defaultValue: false
|
|
93
93
|
},
|
|
94
|
-
// Added 2024-09-23
|
|
95
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
|
|
96
|
-
'editor_ai_-_multi_prompts': {
|
|
97
|
-
productKeys: {
|
|
98
|
-
confluence: 'editor_ai_-_multi_prompts'
|
|
99
|
-
},
|
|
100
|
-
param: 'cohort',
|
|
101
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
102
|
-
defaultValue: 'control'
|
|
103
|
-
},
|
|
104
94
|
// Added 2024-10-01
|
|
105
95
|
comment_on_bodied_extensions: {
|
|
106
96
|
productKeys: {
|
|
@@ -282,5 +272,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
282
272
|
param: 'cohort',
|
|
283
273
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
284
274
|
defaultValue: 'control'
|
|
275
|
+
},
|
|
276
|
+
// Added 2025-03-26
|
|
277
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
278
|
+
productKeys: {
|
|
279
|
+
confluence: 'platform_editor_markdown_next_media_plugin_exp'
|
|
280
|
+
},
|
|
281
|
+
param: 'isEnabled',
|
|
282
|
+
typeGuard: _typeGuards.isBoolean,
|
|
283
|
+
defaultValue: false
|
|
285
284
|
}
|
|
286
285
|
};
|
|
@@ -85,16 +85,6 @@ export const editorExperimentsConfig = {
|
|
|
85
85
|
typeGuard: isBoolean,
|
|
86
86
|
defaultValue: false
|
|
87
87
|
},
|
|
88
|
-
// Added 2024-09-23
|
|
89
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
|
|
90
|
-
'editor_ai_-_multi_prompts': {
|
|
91
|
-
productKeys: {
|
|
92
|
-
confluence: 'editor_ai_-_multi_prompts'
|
|
93
|
-
},
|
|
94
|
-
param: 'cohort',
|
|
95
|
-
typeGuard: oneOf(['control', 'test']),
|
|
96
|
-
defaultValue: 'control'
|
|
97
|
-
},
|
|
98
88
|
// Added 2024-10-01
|
|
99
89
|
comment_on_bodied_extensions: {
|
|
100
90
|
productKeys: {
|
|
@@ -276,5 +266,14 @@ export const editorExperimentsConfig = {
|
|
|
276
266
|
param: 'cohort',
|
|
277
267
|
typeGuard: oneOf(['control', 'test']),
|
|
278
268
|
defaultValue: 'control'
|
|
269
|
+
},
|
|
270
|
+
// Added 2025-03-26
|
|
271
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
272
|
+
productKeys: {
|
|
273
|
+
confluence: 'platform_editor_markdown_next_media_plugin_exp'
|
|
274
|
+
},
|
|
275
|
+
param: 'isEnabled',
|
|
276
|
+
typeGuard: isBoolean,
|
|
277
|
+
defaultValue: false
|
|
279
278
|
}
|
|
280
279
|
};
|
|
@@ -85,16 +85,6 @@ export var editorExperimentsConfig = {
|
|
|
85
85
|
typeGuard: isBoolean,
|
|
86
86
|
defaultValue: false
|
|
87
87
|
},
|
|
88
|
-
// Added 2024-09-23
|
|
89
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
|
|
90
|
-
'editor_ai_-_multi_prompts': {
|
|
91
|
-
productKeys: {
|
|
92
|
-
confluence: 'editor_ai_-_multi_prompts'
|
|
93
|
-
},
|
|
94
|
-
param: 'cohort',
|
|
95
|
-
typeGuard: oneOf(['control', 'test']),
|
|
96
|
-
defaultValue: 'control'
|
|
97
|
-
},
|
|
98
88
|
// Added 2024-10-01
|
|
99
89
|
comment_on_bodied_extensions: {
|
|
100
90
|
productKeys: {
|
|
@@ -276,5 +266,14 @@ export var editorExperimentsConfig = {
|
|
|
276
266
|
param: 'cohort',
|
|
277
267
|
typeGuard: oneOf(['control', 'test']),
|
|
278
268
|
defaultValue: 'control'
|
|
269
|
+
},
|
|
270
|
+
// Added 2025-03-26
|
|
271
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
272
|
+
productKeys: {
|
|
273
|
+
confluence: 'platform_editor_markdown_next_media_plugin_exp'
|
|
274
|
+
},
|
|
275
|
+
param: 'isEnabled',
|
|
276
|
+
typeGuard: isBoolean,
|
|
277
|
+
defaultValue: false
|
|
279
278
|
}
|
|
280
279
|
};
|
|
@@ -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" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "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" | "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_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" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -112,14 +112,6 @@ declare namespace eeTest {
|
|
|
112
112
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
113
113
|
defaultValue: boolean;
|
|
114
114
|
};
|
|
115
|
-
'editor_ai_-_multi_prompts': {
|
|
116
|
-
productKeys: {
|
|
117
|
-
confluence: string;
|
|
118
|
-
};
|
|
119
|
-
param: string;
|
|
120
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
121
|
-
defaultValue: "test" | "control";
|
|
122
|
-
};
|
|
123
115
|
comment_on_bodied_extensions: {
|
|
124
116
|
productKeys: {
|
|
125
117
|
confluence: string;
|
|
@@ -280,6 +272,14 @@ declare namespace eeTest {
|
|
|
280
272
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
281
273
|
defaultValue: "test" | "control";
|
|
282
274
|
};
|
|
275
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
276
|
+
productKeys: {
|
|
277
|
+
confluence: string;
|
|
278
|
+
};
|
|
279
|
+
param: string;
|
|
280
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
281
|
+
defaultValue: boolean;
|
|
282
|
+
};
|
|
283
283
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
284
284
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
285
285
|
};
|
|
@@ -71,14 +71,6 @@ export declare const editorExperimentsConfig: {
|
|
|
71
71
|
typeGuard: typeof isBoolean;
|
|
72
72
|
defaultValue: boolean;
|
|
73
73
|
};
|
|
74
|
-
'editor_ai_-_multi_prompts': {
|
|
75
|
-
productKeys: {
|
|
76
|
-
confluence: string;
|
|
77
|
-
};
|
|
78
|
-
param: string;
|
|
79
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
80
|
-
defaultValue: "test" | "control";
|
|
81
|
-
};
|
|
82
74
|
comment_on_bodied_extensions: {
|
|
83
75
|
productKeys: {
|
|
84
76
|
confluence: string;
|
|
@@ -239,4 +231,12 @@ export declare const editorExperimentsConfig: {
|
|
|
239
231
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
240
232
|
defaultValue: "test" | "control";
|
|
241
233
|
};
|
|
234
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
235
|
+
productKeys: {
|
|
236
|
+
confluence: string;
|
|
237
|
+
};
|
|
238
|
+
param: string;
|
|
239
|
+
typeGuard: typeof isBoolean;
|
|
240
|
+
defaultValue: boolean;
|
|
241
|
+
};
|
|
242
242
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
|
|
|
16
16
|
platform_editor_exp_lazy_node_views: boolean;
|
|
17
17
|
platform_renderer_table_sticky_scrollbar: boolean;
|
|
18
18
|
'nested-expand-in-expand': boolean;
|
|
19
|
-
'editor_ai_-_multi_prompts': "test" | "control";
|
|
20
19
|
comment_on_bodied_extensions: boolean;
|
|
21
20
|
advanced_layouts: boolean;
|
|
22
21
|
single_column_layouts: boolean;
|
|
@@ -37,6 +36,7 @@ export declare let _overrides: Partial<{
|
|
|
37
36
|
platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
|
|
38
37
|
platform_editor_cmd_a_progressively_select_nodes: boolean;
|
|
39
38
|
editor_text_highlight_orange_to_yellow: "test" | "control";
|
|
39
|
+
platform_editor_markdown_next_media_plugin_exp: boolean;
|
|
40
40
|
}>;
|
|
41
41
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
42
42
|
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" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "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" | "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_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" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -112,14 +112,6 @@ declare namespace eeTest {
|
|
|
112
112
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
113
113
|
defaultValue: boolean;
|
|
114
114
|
};
|
|
115
|
-
'editor_ai_-_multi_prompts': {
|
|
116
|
-
productKeys: {
|
|
117
|
-
confluence: string;
|
|
118
|
-
};
|
|
119
|
-
param: string;
|
|
120
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
121
|
-
defaultValue: "test" | "control";
|
|
122
|
-
};
|
|
123
115
|
comment_on_bodied_extensions: {
|
|
124
116
|
productKeys: {
|
|
125
117
|
confluence: string;
|
|
@@ -280,6 +272,14 @@ declare namespace eeTest {
|
|
|
280
272
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
281
273
|
defaultValue: "test" | "control";
|
|
282
274
|
};
|
|
275
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
276
|
+
productKeys: {
|
|
277
|
+
confluence: string;
|
|
278
|
+
};
|
|
279
|
+
param: string;
|
|
280
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
281
|
+
defaultValue: boolean;
|
|
282
|
+
};
|
|
283
283
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
284
284
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
285
285
|
};
|
|
@@ -71,14 +71,6 @@ export declare const editorExperimentsConfig: {
|
|
|
71
71
|
typeGuard: typeof isBoolean;
|
|
72
72
|
defaultValue: boolean;
|
|
73
73
|
};
|
|
74
|
-
'editor_ai_-_multi_prompts': {
|
|
75
|
-
productKeys: {
|
|
76
|
-
confluence: string;
|
|
77
|
-
};
|
|
78
|
-
param: string;
|
|
79
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
80
|
-
defaultValue: "test" | "control";
|
|
81
|
-
};
|
|
82
74
|
comment_on_bodied_extensions: {
|
|
83
75
|
productKeys: {
|
|
84
76
|
confluence: string;
|
|
@@ -239,4 +231,12 @@ export declare const editorExperimentsConfig: {
|
|
|
239
231
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
240
232
|
defaultValue: "test" | "control";
|
|
241
233
|
};
|
|
234
|
+
platform_editor_markdown_next_media_plugin_exp: {
|
|
235
|
+
productKeys: {
|
|
236
|
+
confluence: string;
|
|
237
|
+
};
|
|
238
|
+
param: string;
|
|
239
|
+
typeGuard: typeof isBoolean;
|
|
240
|
+
defaultValue: boolean;
|
|
241
|
+
};
|
|
242
242
|
};
|
|
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
|
|
|
16
16
|
platform_editor_exp_lazy_node_views: boolean;
|
|
17
17
|
platform_renderer_table_sticky_scrollbar: boolean;
|
|
18
18
|
'nested-expand-in-expand': boolean;
|
|
19
|
-
'editor_ai_-_multi_prompts': "test" | "control";
|
|
20
19
|
comment_on_bodied_extensions: boolean;
|
|
21
20
|
advanced_layouts: boolean;
|
|
22
21
|
single_column_layouts: boolean;
|
|
@@ -37,6 +36,7 @@ export declare let _overrides: Partial<{
|
|
|
37
36
|
platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
|
|
38
37
|
platform_editor_cmd_a_progressively_select_nodes: boolean;
|
|
39
38
|
editor_text_highlight_orange_to_yellow: "test" | "control";
|
|
39
|
+
platform_editor_markdown_next_media_plugin_exp: boolean;
|
|
40
40
|
}>;
|
|
41
41
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
42
42
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED