@atlaskit/tmp-editor-statsig 4.9.0 → 4.10.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 -9
- package/dist/es2019/experiments-config.js +9 -9
- package/dist/esm/experiments-config.js +9 -9
- 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.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#141495](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141495)
|
|
8
|
+
[`b336d6ee33b41`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b336d6ee33b41) -
|
|
9
|
+
[EDFITOR-306] Cleaned up old inline suggestion experiment, prepping for experiment v2
|
|
10
|
+
|
|
3
11
|
## 4.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -220,15 +220,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
220
220
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
221
221
|
defaultValue: 'control'
|
|
222
222
|
},
|
|
223
|
-
// Added 2025-02-24
|
|
224
|
-
editor_ai_inline_suggestion_date: {
|
|
225
|
-
productKeys: {
|
|
226
|
-
confluence: 'editor_ai_inline_suggestion_date'
|
|
227
|
-
},
|
|
228
|
-
param: 'cohort',
|
|
229
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
230
|
-
defaultValue: 'control'
|
|
231
|
-
},
|
|
232
223
|
// Added 28-02-2025
|
|
233
224
|
platform_editor_insertion: {
|
|
234
225
|
productKeys: {
|
|
@@ -293,5 +284,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
293
284
|
param: 'isEnabled',
|
|
294
285
|
typeGuard: _typeGuards.isBoolean,
|
|
295
286
|
defaultValue: false
|
|
287
|
+
},
|
|
288
|
+
// Added 2025-04-14
|
|
289
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
290
|
+
productKeys: {
|
|
291
|
+
confluence: 'editor_ai_inline_suggestion_date_v2'
|
|
292
|
+
},
|
|
293
|
+
param: 'cohort',
|
|
294
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
295
|
+
defaultValue: 'control'
|
|
296
296
|
}
|
|
297
297
|
};
|
|
@@ -214,15 +214,6 @@ export const editorExperimentsConfig = {
|
|
|
214
214
|
typeGuard: oneOf(['control', 'test']),
|
|
215
215
|
defaultValue: 'control'
|
|
216
216
|
},
|
|
217
|
-
// Added 2025-02-24
|
|
218
|
-
editor_ai_inline_suggestion_date: {
|
|
219
|
-
productKeys: {
|
|
220
|
-
confluence: 'editor_ai_inline_suggestion_date'
|
|
221
|
-
},
|
|
222
|
-
param: 'cohort',
|
|
223
|
-
typeGuard: oneOf(['control', 'test']),
|
|
224
|
-
defaultValue: 'control'
|
|
225
|
-
},
|
|
226
217
|
// Added 28-02-2025
|
|
227
218
|
platform_editor_insertion: {
|
|
228
219
|
productKeys: {
|
|
@@ -287,5 +278,14 @@ export const editorExperimentsConfig = {
|
|
|
287
278
|
param: 'isEnabled',
|
|
288
279
|
typeGuard: isBoolean,
|
|
289
280
|
defaultValue: false
|
|
281
|
+
},
|
|
282
|
+
// Added 2025-04-14
|
|
283
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: 'editor_ai_inline_suggestion_date_v2'
|
|
286
|
+
},
|
|
287
|
+
param: 'cohort',
|
|
288
|
+
typeGuard: oneOf(['control', 'test']),
|
|
289
|
+
defaultValue: 'control'
|
|
290
290
|
}
|
|
291
291
|
};
|
|
@@ -214,15 +214,6 @@ export var editorExperimentsConfig = {
|
|
|
214
214
|
typeGuard: oneOf(['control', 'test']),
|
|
215
215
|
defaultValue: 'control'
|
|
216
216
|
},
|
|
217
|
-
// Added 2025-02-24
|
|
218
|
-
editor_ai_inline_suggestion_date: {
|
|
219
|
-
productKeys: {
|
|
220
|
-
confluence: 'editor_ai_inline_suggestion_date'
|
|
221
|
-
},
|
|
222
|
-
param: 'cohort',
|
|
223
|
-
typeGuard: oneOf(['control', 'test']),
|
|
224
|
-
defaultValue: 'control'
|
|
225
|
-
},
|
|
226
217
|
// Added 28-02-2025
|
|
227
218
|
platform_editor_insertion: {
|
|
228
219
|
productKeys: {
|
|
@@ -287,5 +278,14 @@ export var editorExperimentsConfig = {
|
|
|
287
278
|
param: 'isEnabled',
|
|
288
279
|
typeGuard: isBoolean,
|
|
289
280
|
defaultValue: false
|
|
281
|
+
},
|
|
282
|
+
// Added 2025-04-14
|
|
283
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: 'editor_ai_inline_suggestion_date_v2'
|
|
286
|
+
},
|
|
287
|
+
param: 'cohort',
|
|
288
|
+
typeGuard: oneOf(['control', 'test']),
|
|
289
|
+
defaultValue: 'control'
|
|
290
290
|
}
|
|
291
291
|
};
|
|
@@ -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" | "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" | "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_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "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" | "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_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp" | "editor_ai_inline_suggestion_date_v2">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -224,14 +224,6 @@ declare namespace eeTest {
|
|
|
224
224
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
225
225
|
defaultValue: "test" | "control";
|
|
226
226
|
};
|
|
227
|
-
editor_ai_inline_suggestion_date: {
|
|
228
|
-
productKeys: {
|
|
229
|
-
confluence: string;
|
|
230
|
-
};
|
|
231
|
-
param: string;
|
|
232
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
233
|
-
defaultValue: "test" | "control";
|
|
234
|
-
};
|
|
235
227
|
platform_editor_insertion: {
|
|
236
228
|
productKeys: {
|
|
237
229
|
confluence: string;
|
|
@@ -288,6 +280,14 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
281
|
defaultValue: boolean;
|
|
290
282
|
};
|
|
283
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: string;
|
|
286
|
+
};
|
|
287
|
+
param: string;
|
|
288
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
289
|
+
defaultValue: "test" | "control";
|
|
290
|
+
};
|
|
291
291
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
292
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
293
|
};
|
|
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
|
|
|
183
183
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
184
184
|
defaultValue: "test" | "control";
|
|
185
185
|
};
|
|
186
|
-
editor_ai_inline_suggestion_date: {
|
|
187
|
-
productKeys: {
|
|
188
|
-
confluence: string;
|
|
189
|
-
};
|
|
190
|
-
param: string;
|
|
191
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
192
|
-
defaultValue: "test" | "control";
|
|
193
|
-
};
|
|
194
186
|
platform_editor_insertion: {
|
|
195
187
|
productKeys: {
|
|
196
188
|
confluence: string;
|
|
@@ -247,4 +239,12 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: typeof isBoolean;
|
|
248
240
|
defaultValue: boolean;
|
|
249
241
|
};
|
|
242
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
confluence: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
248
|
+
defaultValue: "test" | "control";
|
|
249
|
+
};
|
|
250
250
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ export declare let _overrides: Partial<{
|
|
|
30
30
|
platform_editor_controls: "control" | "variant1";
|
|
31
31
|
platform_editor_controls_shadow: "control" | "variant1";
|
|
32
32
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
33
|
-
editor_ai_inline_suggestion_date: "test" | "control";
|
|
34
33
|
platform_editor_insertion: "control" | "variant1";
|
|
35
34
|
platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
|
|
36
35
|
platform_editor_vanilla_dom: boolean;
|
|
@@ -38,6 +37,7 @@ export declare let _overrides: Partial<{
|
|
|
38
37
|
platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
|
|
39
38
|
platform_editor_offline_editing_web: boolean;
|
|
40
39
|
platform_editor_markdown_next_media_plugin_exp: boolean;
|
|
40
|
+
editor_ai_inline_suggestion_date_v2: "test" | "control";
|
|
41
41
|
}>;
|
|
42
42
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
43
43
|
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" | "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" | "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_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "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" | "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_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "platform_editor_markdown_next_media_plugin_exp" | "editor_ai_inline_suggestion_date_v2">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -224,14 +224,6 @@ declare namespace eeTest {
|
|
|
224
224
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
225
225
|
defaultValue: "test" | "control";
|
|
226
226
|
};
|
|
227
|
-
editor_ai_inline_suggestion_date: {
|
|
228
|
-
productKeys: {
|
|
229
|
-
confluence: string;
|
|
230
|
-
};
|
|
231
|
-
param: string;
|
|
232
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
233
|
-
defaultValue: "test" | "control";
|
|
234
|
-
};
|
|
235
227
|
platform_editor_insertion: {
|
|
236
228
|
productKeys: {
|
|
237
229
|
confluence: string;
|
|
@@ -288,6 +280,14 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
281
|
defaultValue: boolean;
|
|
290
282
|
};
|
|
283
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: string;
|
|
286
|
+
};
|
|
287
|
+
param: string;
|
|
288
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
289
|
+
defaultValue: "test" | "control";
|
|
290
|
+
};
|
|
291
291
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
292
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
293
|
};
|
|
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
|
|
|
183
183
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
184
184
|
defaultValue: "test" | "control";
|
|
185
185
|
};
|
|
186
|
-
editor_ai_inline_suggestion_date: {
|
|
187
|
-
productKeys: {
|
|
188
|
-
confluence: string;
|
|
189
|
-
};
|
|
190
|
-
param: string;
|
|
191
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
192
|
-
defaultValue: "test" | "control";
|
|
193
|
-
};
|
|
194
186
|
platform_editor_insertion: {
|
|
195
187
|
productKeys: {
|
|
196
188
|
confluence: string;
|
|
@@ -247,4 +239,12 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: typeof isBoolean;
|
|
248
240
|
defaultValue: boolean;
|
|
249
241
|
};
|
|
242
|
+
editor_ai_inline_suggestion_date_v2: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
confluence: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
248
|
+
defaultValue: "test" | "control";
|
|
249
|
+
};
|
|
250
250
|
};
|
|
@@ -30,7 +30,6 @@ export declare let _overrides: Partial<{
|
|
|
30
30
|
platform_editor_controls: "control" | "variant1";
|
|
31
31
|
platform_editor_controls_shadow: "control" | "variant1";
|
|
32
32
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
33
|
-
editor_ai_inline_suggestion_date: "test" | "control";
|
|
34
33
|
platform_editor_insertion: "control" | "variant1";
|
|
35
34
|
platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
|
|
36
35
|
platform_editor_vanilla_dom: boolean;
|
|
@@ -38,6 +37,7 @@ export declare let _overrides: Partial<{
|
|
|
38
37
|
platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
|
|
39
38
|
platform_editor_offline_editing_web: boolean;
|
|
40
39
|
platform_editor_markdown_next_media_plugin_exp: boolean;
|
|
40
|
+
editor_ai_inline_suggestion_date_v2: "test" | "control";
|
|
41
41
|
}>;
|
|
42
42
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
43
43
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED