@atlaskit/tmp-editor-statsig 3.1.0 → 3.3.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 +17 -0
- package/dist/cjs/experiments-config.js +18 -0
- package/dist/es2019/experiments-config.js +18 -0
- package/dist/esm/experiments-config.js +18 -0
- package/dist/types/editor-experiments-test-utils.d.ts +17 -1
- package/dist/types/experiments-config.d.ts +16 -0
- package/dist/types/setup.d.ts +2 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +17 -1
- package/dist/types-ts4.5/experiments-config.d.ts +16 -0
- package/dist/types-ts4.5/setup.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#120426](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120426)
|
|
8
|
+
[`1fc7b1519dbcf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1fc7b1519dbcf) -
|
|
9
|
+
Uses a separate FF for the new QuickInsert and Right rail to split them from the other Editor
|
|
10
|
+
Controls features.
|
|
11
|
+
|
|
12
|
+
## 3.2.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#118114](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118114)
|
|
17
|
+
[`21440675d09b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21440675d09b2) -
|
|
18
|
+
[EDF=2455] Added experiment and got rid of feature gate
|
|
19
|
+
|
|
3
20
|
## 3.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -299,5 +299,23 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
299
299
|
param: 'cohort',
|
|
300
300
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
301
301
|
defaultValue: 'control'
|
|
302
|
+
},
|
|
303
|
+
// Added 2025-02-24
|
|
304
|
+
editor_ai_inline_suggestion_date: {
|
|
305
|
+
productKeys: {
|
|
306
|
+
confluence: 'editor_ai_inline_suggestion_date'
|
|
307
|
+
},
|
|
308
|
+
param: 'cohort',
|
|
309
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
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'
|
|
302
320
|
}
|
|
303
321
|
};
|
|
@@ -293,5 +293,23 @@ export const editorExperimentsConfig = {
|
|
|
293
293
|
param: 'cohort',
|
|
294
294
|
typeGuard: oneOf(['control', 'test']),
|
|
295
295
|
defaultValue: 'control'
|
|
296
|
+
},
|
|
297
|
+
// Added 2025-02-24
|
|
298
|
+
editor_ai_inline_suggestion_date: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: 'editor_ai_inline_suggestion_date'
|
|
301
|
+
},
|
|
302
|
+
param: 'cohort',
|
|
303
|
+
typeGuard: oneOf(['control', 'test']),
|
|
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'
|
|
296
314
|
}
|
|
297
315
|
};
|
|
@@ -293,5 +293,23 @@ export var editorExperimentsConfig = {
|
|
|
293
293
|
param: 'cohort',
|
|
294
294
|
typeGuard: oneOf(['control', 'test']),
|
|
295
295
|
defaultValue: 'control'
|
|
296
|
+
},
|
|
297
|
+
// Added 2025-02-24
|
|
298
|
+
editor_ai_inline_suggestion_date: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: 'editor_ai_inline_suggestion_date'
|
|
301
|
+
},
|
|
302
|
+
param: 'cohort',
|
|
303
|
+
typeGuard: oneOf(['control', 'test']),
|
|
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'
|
|
296
314
|
}
|
|
297
315
|
};
|
|
@@ -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">(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">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -296,6 +296,22 @@ declare namespace eeTest {
|
|
|
296
296
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
297
297
|
defaultValue: "test" | "control";
|
|
298
298
|
};
|
|
299
|
+
editor_ai_inline_suggestion_date: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
305
|
+
defaultValue: "test" | "control";
|
|
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
|
+
};
|
|
299
315
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
316
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
317
|
};
|
|
@@ -255,4 +255,20 @@ export declare const editorExperimentsConfig: {
|
|
|
255
255
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
256
256
|
defaultValue: "test" | "control";
|
|
257
257
|
};
|
|
258
|
+
editor_ai_inline_suggestion_date: {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
264
|
+
defaultValue: "test" | "control";
|
|
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
|
+
};
|
|
258
274
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export declare let _overrides: Partial<{
|
|
|
39
39
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
40
40
|
platform_editor_controls: "control" | "variant1";
|
|
41
41
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
42
|
+
editor_ai_inline_suggestion_date: "test" | "control";
|
|
43
|
+
platform_editor_insertion: "control" | "variant1";
|
|
42
44
|
}>;
|
|
43
45
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
44
46
|
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">(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">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -296,6 +296,22 @@ declare namespace eeTest {
|
|
|
296
296
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
297
297
|
defaultValue: "test" | "control";
|
|
298
298
|
};
|
|
299
|
+
editor_ai_inline_suggestion_date: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
305
|
+
defaultValue: "test" | "control";
|
|
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
|
+
};
|
|
299
315
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
316
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
317
|
};
|
|
@@ -255,4 +255,20 @@ export declare const editorExperimentsConfig: {
|
|
|
255
255
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
256
256
|
defaultValue: "test" | "control";
|
|
257
257
|
};
|
|
258
|
+
editor_ai_inline_suggestion_date: {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
264
|
+
defaultValue: "test" | "control";
|
|
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
|
+
};
|
|
258
274
|
};
|
|
@@ -39,6 +39,8 @@ export declare let _overrides: Partial<{
|
|
|
39
39
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
40
40
|
platform_editor_controls: "control" | "variant1";
|
|
41
41
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
42
|
+
editor_ai_inline_suggestion_date: "test" | "control";
|
|
43
|
+
platform_editor_insertion: "control" | "variant1";
|
|
42
44
|
}>;
|
|
43
45
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
44
46
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED