@atlaskit/tmp-editor-statsig 2.12.2 → 2.13.1
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 -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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#162401](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162401)
|
|
8
|
+
[`da610ad81acb7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da610ad81acb7) -
|
|
9
|
+
EDF-1910 Added platform_editor_ai_response_history
|
|
10
|
+
|
|
11
|
+
## 2.13.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217)
|
|
16
|
+
[`d2d5c286e4e86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2d5c286e4e86) -
|
|
17
|
+
[ux] EDF-1845 Remove floating toolbar experiment (platform_editor_ai_floating_toolbar_v2). Change
|
|
18
|
+
the behaviour to use the trailing variant of the experiment.
|
|
19
|
+
|
|
3
20
|
## 2.12.2
|
|
4
21
|
|
|
5
22
|
### 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': {
|
|
@@ -345,5 +336,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
345
336
|
param: 'isEnabled',
|
|
346
337
|
typeGuard: _typeGuards.isBoolean,
|
|
347
338
|
defaultValue: false
|
|
339
|
+
},
|
|
340
|
+
// Added 2024-11-11
|
|
341
|
+
platform_editor_ai_response_history: {
|
|
342
|
+
productKeys: {
|
|
343
|
+
confluence: 'platform_editor_ai_response_history'
|
|
344
|
+
},
|
|
345
|
+
param: 'isEnabled',
|
|
346
|
+
typeGuard: _typeGuards.isBoolean,
|
|
347
|
+
defaultValue: false
|
|
348
348
|
}
|
|
349
349
|
};
|
|
@@ -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': {
|
|
@@ -339,5 +330,14 @@ export const editorExperimentsConfig = {
|
|
|
339
330
|
param: 'isEnabled',
|
|
340
331
|
typeGuard: isBoolean,
|
|
341
332
|
defaultValue: false
|
|
333
|
+
},
|
|
334
|
+
// Added 2024-11-11
|
|
335
|
+
platform_editor_ai_response_history: {
|
|
336
|
+
productKeys: {
|
|
337
|
+
confluence: 'platform_editor_ai_response_history'
|
|
338
|
+
},
|
|
339
|
+
param: 'isEnabled',
|
|
340
|
+
typeGuard: isBoolean,
|
|
341
|
+
defaultValue: false
|
|
342
342
|
}
|
|
343
343
|
};
|
|
@@ -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': {
|
|
@@ -339,5 +330,14 @@ export var editorExperimentsConfig = {
|
|
|
339
330
|
param: 'isEnabled',
|
|
340
331
|
typeGuard: isBoolean,
|
|
341
332
|
defaultValue: false
|
|
333
|
+
},
|
|
334
|
+
// Added 2024-11-11
|
|
335
|
+
platform_editor_ai_response_history: {
|
|
336
|
+
productKeys: {
|
|
337
|
+
confluence: 'platform_editor_ai_response_history'
|
|
338
|
+
},
|
|
339
|
+
param: 'isEnabled',
|
|
340
|
+
typeGuard: isBoolean,
|
|
341
|
+
defaultValue: false
|
|
342
342
|
}
|
|
343
343
|
};
|
|
@@ -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" | "platform_editor_ai_response_history">(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;
|
|
@@ -336,6 +328,14 @@ declare namespace eeTest {
|
|
|
336
328
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
337
329
|
defaultValue: boolean;
|
|
338
330
|
};
|
|
331
|
+
platform_editor_ai_response_history: {
|
|
332
|
+
productKeys: {
|
|
333
|
+
confluence: string;
|
|
334
|
+
};
|
|
335
|
+
param: string;
|
|
336
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
337
|
+
defaultValue: boolean;
|
|
338
|
+
};
|
|
339
339
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
340
340
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
341
341
|
};
|
|
@@ -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;
|
|
@@ -295,4 +287,12 @@ export declare const editorExperimentsConfig: {
|
|
|
295
287
|
typeGuard: typeof isBoolean;
|
|
296
288
|
defaultValue: boolean;
|
|
297
289
|
};
|
|
290
|
+
platform_editor_ai_response_history: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: string;
|
|
293
|
+
};
|
|
294
|
+
param: string;
|
|
295
|
+
typeGuard: typeof isBoolean;
|
|
296
|
+
defaultValue: boolean;
|
|
297
|
+
};
|
|
298
298
|
};
|
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;
|
|
@@ -39,6 +38,7 @@ export declare let _overrides: Partial<{
|
|
|
39
38
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
40
39
|
platform_editor_ai_facepile: boolean;
|
|
41
40
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
|
+
platform_editor_ai_response_history: boolean;
|
|
42
42
|
}>;
|
|
43
43
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
44
44
|
/**
|
|
@@ -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" | "platform_editor_ai_response_history">(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;
|
|
@@ -336,6 +328,14 @@ declare namespace eeTest {
|
|
|
336
328
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
337
329
|
defaultValue: boolean;
|
|
338
330
|
};
|
|
331
|
+
platform_editor_ai_response_history: {
|
|
332
|
+
productKeys: {
|
|
333
|
+
confluence: string;
|
|
334
|
+
};
|
|
335
|
+
param: string;
|
|
336
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
337
|
+
defaultValue: boolean;
|
|
338
|
+
};
|
|
339
339
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
340
340
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
341
341
|
};
|
|
@@ -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;
|
|
@@ -295,4 +287,12 @@ export declare const editorExperimentsConfig: {
|
|
|
295
287
|
typeGuard: typeof isBoolean;
|
|
296
288
|
defaultValue: boolean;
|
|
297
289
|
};
|
|
290
|
+
platform_editor_ai_response_history: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: string;
|
|
293
|
+
};
|
|
294
|
+
param: string;
|
|
295
|
+
typeGuard: typeof isBoolean;
|
|
296
|
+
defaultValue: boolean;
|
|
297
|
+
};
|
|
298
298
|
};
|
|
@@ -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;
|
|
@@ -39,6 +38,7 @@ export declare let _overrides: Partial<{
|
|
|
39
38
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
40
39
|
platform_editor_ai_facepile: boolean;
|
|
41
40
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
41
|
+
platform_editor_ai_response_history: boolean;
|
|
42
42
|
}>;
|
|
43
43
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
44
44
|
/**
|
package/package.json
CHANGED