@atlaskit/tmp-editor-statsig 2.16.0 → 2.18.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 +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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#165866](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165866)
|
|
8
|
+
[`e1ea80ff13502`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e1ea80ff13502) -
|
|
9
|
+
EDF-1949 - Switch experiment platform_editor_live_pages_ai_definitions to FG
|
|
10
|
+
platform_editor_ai_definitions_live_page_view_mode
|
|
11
|
+
|
|
12
|
+
## 2.17.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#165097](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165097)
|
|
17
|
+
[`0bca145c96b65`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0bca145c96b65) -
|
|
18
|
+
[ux] Adds test styles options to the Selection toolbar under Contextual toolbar experiment
|
|
19
|
+
|
|
3
20
|
## 2.16.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -238,16 +238,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
238
238
|
typeGuard: _typeGuards.isBoolean,
|
|
239
239
|
defaultValue: false
|
|
240
240
|
},
|
|
241
|
-
// Added 2024-10-21
|
|
242
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_live_pages_ai_definitions/setup
|
|
243
|
-
platform_editor_live_pages_ai_definitions: {
|
|
244
|
-
productKeys: {
|
|
245
|
-
confluence: 'platform_editor_live_pages_ai_definitions'
|
|
246
|
-
},
|
|
247
|
-
param: 'cohort',
|
|
248
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
249
|
-
defaultValue: 'control'
|
|
250
|
-
},
|
|
251
241
|
// Added 2024-10-08
|
|
252
242
|
support_table_in_comment_jira: {
|
|
253
243
|
productKeys: {
|
|
@@ -355,5 +345,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
355
345
|
param: 'isActionItemsEnabled',
|
|
356
346
|
typeGuard: _typeGuards.isBoolean,
|
|
357
347
|
defaultValue: false
|
|
348
|
+
},
|
|
349
|
+
// Added 2024-11-18
|
|
350
|
+
contextual_formatting_toolbar: {
|
|
351
|
+
productKeys: {
|
|
352
|
+
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
353
|
+
},
|
|
354
|
+
param: 'isEnabled',
|
|
355
|
+
typeGuard: _typeGuards.isBoolean,
|
|
356
|
+
defaultValue: false
|
|
358
357
|
}
|
|
359
358
|
};
|
|
@@ -232,16 +232,6 @@ export const editorExperimentsConfig = {
|
|
|
232
232
|
typeGuard: isBoolean,
|
|
233
233
|
defaultValue: false
|
|
234
234
|
},
|
|
235
|
-
// Added 2024-10-21
|
|
236
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_live_pages_ai_definitions/setup
|
|
237
|
-
platform_editor_live_pages_ai_definitions: {
|
|
238
|
-
productKeys: {
|
|
239
|
-
confluence: 'platform_editor_live_pages_ai_definitions'
|
|
240
|
-
},
|
|
241
|
-
param: 'cohort',
|
|
242
|
-
typeGuard: oneOf(['control', 'test']),
|
|
243
|
-
defaultValue: 'control'
|
|
244
|
-
},
|
|
245
235
|
// Added 2024-10-08
|
|
246
236
|
support_table_in_comment_jira: {
|
|
247
237
|
productKeys: {
|
|
@@ -349,5 +339,14 @@ export const editorExperimentsConfig = {
|
|
|
349
339
|
param: 'isActionItemsEnabled',
|
|
350
340
|
typeGuard: isBoolean,
|
|
351
341
|
defaultValue: false
|
|
342
|
+
},
|
|
343
|
+
// Added 2024-11-18
|
|
344
|
+
contextual_formatting_toolbar: {
|
|
345
|
+
productKeys: {
|
|
346
|
+
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
347
|
+
},
|
|
348
|
+
param: 'isEnabled',
|
|
349
|
+
typeGuard: isBoolean,
|
|
350
|
+
defaultValue: false
|
|
352
351
|
}
|
|
353
352
|
};
|
|
@@ -232,16 +232,6 @@ export var editorExperimentsConfig = {
|
|
|
232
232
|
typeGuard: isBoolean,
|
|
233
233
|
defaultValue: false
|
|
234
234
|
},
|
|
235
|
-
// Added 2024-10-21
|
|
236
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_live_pages_ai_definitions/setup
|
|
237
|
-
platform_editor_live_pages_ai_definitions: {
|
|
238
|
-
productKeys: {
|
|
239
|
-
confluence: 'platform_editor_live_pages_ai_definitions'
|
|
240
|
-
},
|
|
241
|
-
param: 'cohort',
|
|
242
|
-
typeGuard: oneOf(['control', 'test']),
|
|
243
|
-
defaultValue: 'control'
|
|
244
|
-
},
|
|
245
235
|
// Added 2024-10-08
|
|
246
236
|
support_table_in_comment_jira: {
|
|
247
237
|
productKeys: {
|
|
@@ -349,5 +339,14 @@ export var editorExperimentsConfig = {
|
|
|
349
339
|
param: 'isActionItemsEnabled',
|
|
350
340
|
typeGuard: isBoolean,
|
|
351
341
|
defaultValue: false
|
|
342
|
+
},
|
|
343
|
+
// Added 2024-11-18
|
|
344
|
+
contextual_formatting_toolbar: {
|
|
345
|
+
productKeys: {
|
|
346
|
+
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
347
|
+
},
|
|
348
|
+
param: 'isEnabled',
|
|
349
|
+
typeGuard: isBoolean,
|
|
350
|
+
defaultValue: false
|
|
352
351
|
}
|
|
353
352
|
};
|
|
@@ -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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -240,14 +240,6 @@ declare namespace eeTest {
|
|
|
240
240
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
241
241
|
defaultValue: boolean;
|
|
242
242
|
};
|
|
243
|
-
platform_editor_live_pages_ai_definitions: {
|
|
244
|
-
productKeys: {
|
|
245
|
-
confluence: string;
|
|
246
|
-
};
|
|
247
|
-
param: string;
|
|
248
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
249
|
-
defaultValue: "test" | "control";
|
|
250
|
-
};
|
|
251
243
|
support_table_in_comment_jira: {
|
|
252
244
|
productKeys: {
|
|
253
245
|
jira: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
contextual_formatting_toolbar: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
confluence: string;
|
|
342
|
+
};
|
|
343
|
+
param: string;
|
|
344
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
|
+
defaultValue: boolean;
|
|
346
|
+
};
|
|
347
347
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
348
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
349
|
};
|
|
@@ -199,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
199
199
|
typeGuard: typeof isBoolean;
|
|
200
200
|
defaultValue: boolean;
|
|
201
201
|
};
|
|
202
|
-
platform_editor_live_pages_ai_definitions: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: string;
|
|
205
|
-
};
|
|
206
|
-
param: string;
|
|
207
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
208
|
-
defaultValue: "test" | "control";
|
|
209
|
-
};
|
|
210
202
|
support_table_in_comment_jira: {
|
|
211
203
|
productKeys: {
|
|
212
204
|
jira: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
contextual_formatting_toolbar: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export declare let _overrides: Partial<{
|
|
|
27
27
|
'optimised-apply-dnd': boolean;
|
|
28
28
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
29
29
|
advanced_layouts: boolean;
|
|
30
|
-
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
31
30
|
support_table_in_comment_jira: boolean;
|
|
32
31
|
comment_on_inline_node_spotlight: boolean;
|
|
33
32
|
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
40
|
platform_editor_ai_response_history: boolean;
|
|
42
41
|
issue_view_action_items: boolean;
|
|
42
|
+
contextual_formatting_toolbar: boolean;
|
|
43
43
|
}>;
|
|
44
44
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
45
|
/**
|
|
@@ -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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -240,14 +240,6 @@ declare namespace eeTest {
|
|
|
240
240
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
241
241
|
defaultValue: boolean;
|
|
242
242
|
};
|
|
243
|
-
platform_editor_live_pages_ai_definitions: {
|
|
244
|
-
productKeys: {
|
|
245
|
-
confluence: string;
|
|
246
|
-
};
|
|
247
|
-
param: string;
|
|
248
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
249
|
-
defaultValue: "test" | "control";
|
|
250
|
-
};
|
|
251
243
|
support_table_in_comment_jira: {
|
|
252
244
|
productKeys: {
|
|
253
245
|
jira: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
contextual_formatting_toolbar: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
confluence: string;
|
|
342
|
+
};
|
|
343
|
+
param: string;
|
|
344
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
|
+
defaultValue: boolean;
|
|
346
|
+
};
|
|
347
347
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
348
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
349
|
};
|
|
@@ -199,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
199
199
|
typeGuard: typeof isBoolean;
|
|
200
200
|
defaultValue: boolean;
|
|
201
201
|
};
|
|
202
|
-
platform_editor_live_pages_ai_definitions: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: string;
|
|
205
|
-
};
|
|
206
|
-
param: string;
|
|
207
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
208
|
-
defaultValue: "test" | "control";
|
|
209
|
-
};
|
|
210
202
|
support_table_in_comment_jira: {
|
|
211
203
|
productKeys: {
|
|
212
204
|
jira: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
contextual_formatting_toolbar: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
|
@@ -27,7 +27,6 @@ export declare let _overrides: Partial<{
|
|
|
27
27
|
'optimised-apply-dnd': boolean;
|
|
28
28
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
29
29
|
advanced_layouts: boolean;
|
|
30
|
-
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
31
30
|
support_table_in_comment_jira: boolean;
|
|
32
31
|
comment_on_inline_node_spotlight: boolean;
|
|
33
32
|
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
40
|
platform_editor_ai_response_history: boolean;
|
|
42
41
|
issue_view_action_items: boolean;
|
|
42
|
+
contextual_formatting_toolbar: boolean;
|
|
43
43
|
}>;
|
|
44
44
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
45
|
/**
|
package/package.json
CHANGED