@atlaskit/tmp-editor-statsig 2.12.1 → 2.13.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 +18 -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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217)
|
|
8
|
+
[`d2d5c286e4e86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2d5c286e4e86) -
|
|
9
|
+
[ux] EDF-1845 Remove floating toolbar experiment (platform_editor_ai_floating_toolbar_v2). Change
|
|
10
|
+
the behaviour to use the trailing variant of the experiment.
|
|
11
|
+
|
|
12
|
+
## 2.12.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#162710](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162710)
|
|
17
|
+
[`a661bece58fb8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a661bece58fb8) -
|
|
18
|
+
[ux] EDF-1864 Updates the improve writing button from the floating toolbar to use the change tone
|
|
19
|
+
to professional prompt. Added platform_editor_ai_change_tone_floating_toolbar experiment.
|
|
20
|
+
|
|
3
21
|
## 2.12.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -217,15 +217,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
217
217
|
typeGuard: _typeGuards.isBoolean,
|
|
218
218
|
defaultValue: false
|
|
219
219
|
},
|
|
220
|
-
// Added 2024-10-01
|
|
221
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
222
|
-
productKeys: {
|
|
223
|
-
confluence: 'platform_editor_ai_floating_toolbar_v2'
|
|
224
|
-
},
|
|
225
|
-
param: 'cohort',
|
|
226
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'leading', 'trailing']),
|
|
227
|
-
defaultValue: 'control'
|
|
228
|
-
},
|
|
229
220
|
// Added 2024-10-06
|
|
230
221
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
231
222
|
'optimised-apply-dnd': {
|
|
@@ -336,5 +327,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
336
327
|
param: 'isEnabled',
|
|
337
328
|
typeGuard: _typeGuards.isBoolean,
|
|
338
329
|
defaultValue: false
|
|
330
|
+
},
|
|
331
|
+
// Added 2024-11-06
|
|
332
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
333
|
+
productKeys: {
|
|
334
|
+
confluence: 'platform_editor_ai_change_tone_floating_toolbar'
|
|
335
|
+
},
|
|
336
|
+
param: 'isEnabled',
|
|
337
|
+
typeGuard: _typeGuards.isBoolean,
|
|
338
|
+
defaultValue: false
|
|
339
339
|
}
|
|
340
340
|
};
|
|
@@ -211,15 +211,6 @@ export const editorExperimentsConfig = {
|
|
|
211
211
|
typeGuard: isBoolean,
|
|
212
212
|
defaultValue: false
|
|
213
213
|
},
|
|
214
|
-
// Added 2024-10-01
|
|
215
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
216
|
-
productKeys: {
|
|
217
|
-
confluence: 'platform_editor_ai_floating_toolbar_v2'
|
|
218
|
-
},
|
|
219
|
-
param: 'cohort',
|
|
220
|
-
typeGuard: oneOf(['control', 'leading', 'trailing']),
|
|
221
|
-
defaultValue: 'control'
|
|
222
|
-
},
|
|
223
214
|
// Added 2024-10-06
|
|
224
215
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
225
216
|
'optimised-apply-dnd': {
|
|
@@ -330,5 +321,14 @@ export const editorExperimentsConfig = {
|
|
|
330
321
|
param: 'isEnabled',
|
|
331
322
|
typeGuard: isBoolean,
|
|
332
323
|
defaultValue: false
|
|
324
|
+
},
|
|
325
|
+
// Added 2024-11-06
|
|
326
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
327
|
+
productKeys: {
|
|
328
|
+
confluence: 'platform_editor_ai_change_tone_floating_toolbar'
|
|
329
|
+
},
|
|
330
|
+
param: 'isEnabled',
|
|
331
|
+
typeGuard: isBoolean,
|
|
332
|
+
defaultValue: false
|
|
333
333
|
}
|
|
334
334
|
};
|
|
@@ -211,15 +211,6 @@ export var editorExperimentsConfig = {
|
|
|
211
211
|
typeGuard: isBoolean,
|
|
212
212
|
defaultValue: false
|
|
213
213
|
},
|
|
214
|
-
// Added 2024-10-01
|
|
215
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
216
|
-
productKeys: {
|
|
217
|
-
confluence: 'platform_editor_ai_floating_toolbar_v2'
|
|
218
|
-
},
|
|
219
|
-
param: 'cohort',
|
|
220
|
-
typeGuard: oneOf(['control', 'leading', 'trailing']),
|
|
221
|
-
defaultValue: 'control'
|
|
222
|
-
},
|
|
223
214
|
// Added 2024-10-06
|
|
224
215
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
225
216
|
'optimised-apply-dnd': {
|
|
@@ -330,5 +321,14 @@ export var editorExperimentsConfig = {
|
|
|
330
321
|
param: 'isEnabled',
|
|
331
322
|
typeGuard: isBoolean,
|
|
332
323
|
defaultValue: false
|
|
324
|
+
},
|
|
325
|
+
// Added 2024-11-06
|
|
326
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
327
|
+
productKeys: {
|
|
328
|
+
confluence: 'platform_editor_ai_change_tone_floating_toolbar'
|
|
329
|
+
},
|
|
330
|
+
param: 'isEnabled',
|
|
331
|
+
typeGuard: isBoolean,
|
|
332
|
+
defaultValue: false
|
|
333
333
|
}
|
|
334
334
|
};
|
|
@@ -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" | "platform_editor_empty_line_prompt" | "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" | "
|
|
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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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: typeof import("./type-guards").isBoolean;
|
|
225
225
|
defaultValue: boolean;
|
|
226
226
|
};
|
|
227
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
228
|
-
productKeys: {
|
|
229
|
-
confluence: string;
|
|
230
|
-
};
|
|
231
|
-
param: string;
|
|
232
|
-
typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
|
|
233
|
-
defaultValue: "control" | "leading" | "trailing";
|
|
234
|
-
};
|
|
235
227
|
'optimised-apply-dnd': {
|
|
236
228
|
productKeys: {
|
|
237
229
|
confluence: string;
|
|
@@ -328,6 +320,14 @@ declare namespace eeTest {
|
|
|
328
320
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
321
|
defaultValue: boolean;
|
|
330
322
|
};
|
|
323
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
324
|
+
productKeys: {
|
|
325
|
+
confluence: string;
|
|
326
|
+
};
|
|
327
|
+
param: string;
|
|
328
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
|
+
defaultValue: boolean;
|
|
330
|
+
};
|
|
331
331
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
332
332
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
333
333
|
};
|
|
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
|
|
|
183
183
|
typeGuard: typeof isBoolean;
|
|
184
184
|
defaultValue: boolean;
|
|
185
185
|
};
|
|
186
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
187
|
-
productKeys: {
|
|
188
|
-
confluence: string;
|
|
189
|
-
};
|
|
190
|
-
param: string;
|
|
191
|
-
typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
|
|
192
|
-
defaultValue: "control" | "leading" | "trailing";
|
|
193
|
-
};
|
|
194
186
|
'optimised-apply-dnd': {
|
|
195
187
|
productKeys: {
|
|
196
188
|
confluence: string;
|
|
@@ -287,4 +279,12 @@ export declare const editorExperimentsConfig: {
|
|
|
287
279
|
typeGuard: typeof isBoolean;
|
|
288
280
|
defaultValue: boolean;
|
|
289
281
|
};
|
|
282
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
283
|
+
productKeys: {
|
|
284
|
+
confluence: string;
|
|
285
|
+
};
|
|
286
|
+
param: string;
|
|
287
|
+
typeGuard: typeof isBoolean;
|
|
288
|
+
defaultValue: boolean;
|
|
289
|
+
};
|
|
290
290
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export declare let _overrides: Partial<{
|
|
|
25
25
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
26
26
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
27
27
|
comment_on_bodied_extensions: boolean;
|
|
28
|
-
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
29
28
|
'optimised-apply-dnd': boolean;
|
|
30
29
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
31
30
|
advanced_layouts: boolean;
|
|
@@ -38,6 +37,7 @@ export declare let _overrides: Partial<{
|
|
|
38
37
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
39
38
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
40
39
|
platform_editor_ai_facepile: boolean;
|
|
40
|
+
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
41
|
}>;
|
|
42
42
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
43
43
|
/**
|
|
@@ -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" | "platform_editor_empty_line_prompt" | "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" | "
|
|
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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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: typeof import("./type-guards").isBoolean;
|
|
225
225
|
defaultValue: boolean;
|
|
226
226
|
};
|
|
227
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
228
|
-
productKeys: {
|
|
229
|
-
confluence: string;
|
|
230
|
-
};
|
|
231
|
-
param: string;
|
|
232
|
-
typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
|
|
233
|
-
defaultValue: "control" | "leading" | "trailing";
|
|
234
|
-
};
|
|
235
227
|
'optimised-apply-dnd': {
|
|
236
228
|
productKeys: {
|
|
237
229
|
confluence: string;
|
|
@@ -328,6 +320,14 @@ declare namespace eeTest {
|
|
|
328
320
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
321
|
defaultValue: boolean;
|
|
330
322
|
};
|
|
323
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
324
|
+
productKeys: {
|
|
325
|
+
confluence: string;
|
|
326
|
+
};
|
|
327
|
+
param: string;
|
|
328
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
329
|
+
defaultValue: boolean;
|
|
330
|
+
};
|
|
331
331
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
332
332
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
333
333
|
};
|
|
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
|
|
|
183
183
|
typeGuard: typeof isBoolean;
|
|
184
184
|
defaultValue: boolean;
|
|
185
185
|
};
|
|
186
|
-
platform_editor_ai_floating_toolbar_v2: {
|
|
187
|
-
productKeys: {
|
|
188
|
-
confluence: string;
|
|
189
|
-
};
|
|
190
|
-
param: string;
|
|
191
|
-
typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
|
|
192
|
-
defaultValue: "control" | "leading" | "trailing";
|
|
193
|
-
};
|
|
194
186
|
'optimised-apply-dnd': {
|
|
195
187
|
productKeys: {
|
|
196
188
|
confluence: string;
|
|
@@ -287,4 +279,12 @@ export declare const editorExperimentsConfig: {
|
|
|
287
279
|
typeGuard: typeof isBoolean;
|
|
288
280
|
defaultValue: boolean;
|
|
289
281
|
};
|
|
282
|
+
platform_editor_ai_change_tone_floating_toolbar: {
|
|
283
|
+
productKeys: {
|
|
284
|
+
confluence: string;
|
|
285
|
+
};
|
|
286
|
+
param: string;
|
|
287
|
+
typeGuard: typeof isBoolean;
|
|
288
|
+
defaultValue: boolean;
|
|
289
|
+
};
|
|
290
290
|
};
|
|
@@ -25,7 +25,6 @@ export declare let _overrides: Partial<{
|
|
|
25
25
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
26
26
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
27
27
|
comment_on_bodied_extensions: boolean;
|
|
28
|
-
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
29
28
|
'optimised-apply-dnd': boolean;
|
|
30
29
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
31
30
|
advanced_layouts: boolean;
|
|
@@ -38,6 +37,7 @@ export declare let _overrides: Partial<{
|
|
|
38
37
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
39
38
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
40
39
|
platform_editor_ai_facepile: boolean;
|
|
40
|
+
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
41
|
}>;
|
|
42
42
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
43
43
|
/**
|
package/package.json
CHANGED