@atlaskit/tmp-editor-statsig 2.9.0 → 2.11.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 +19 -0
- package/dist/cjs/experiments-config.js +43 -10
- package/dist/es2019/experiments-config.js +43 -10
- package/dist/esm/experiments-config.js +43 -10
- package/dist/types/editor-experiments-test-utils.d.ts +41 -9
- package/dist/types/experiments-config.d.ts +40 -8
- package/dist/types/setup.d.ts +5 -1
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +41 -9
- package/dist/types-ts4.5/experiments-config.d.ts +40 -8
- package/dist/types-ts4.5/setup.d.ts +5 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#159227](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159227)
|
|
8
|
+
[`a82a45030b4c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a82a45030b4c3) -
|
|
9
|
+
[EDF-1716] Removed getExperimentCohort from @atlassian/generative-ai-modal/utils/experiments
|
|
10
|
+
|
|
11
|
+
## 2.10.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#157006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157006)
|
|
16
|
+
[`666884d7c9e24`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/666884d7c9e24) -
|
|
17
|
+
ED-25494 experiment on comment on inline node spotlight
|
|
18
|
+
- [#157011](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157011)
|
|
19
|
+
[`dcdfd1e83ce5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcdfd1e83ce5a) -
|
|
20
|
+
change ugc typography experiment to a gate
|
|
21
|
+
|
|
3
22
|
## 2.9.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -236,16 +236,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
236
236
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
237
237
|
defaultValue: 'control'
|
|
238
238
|
},
|
|
239
|
-
// Added 2024-10-04
|
|
240
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
|
|
241
|
-
typography_migration_ugc: {
|
|
242
|
-
productKeys: {
|
|
243
|
-
confluence: 'platform_editor_typography_migration_ugc'
|
|
244
|
-
},
|
|
245
|
-
param: 'isEnabled',
|
|
246
|
-
typeGuard: _typeGuards.isBoolean,
|
|
247
|
-
defaultValue: false
|
|
248
|
-
},
|
|
249
239
|
// Added 2024-10-06
|
|
250
240
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
251
241
|
'optimised-apply-dnd': {
|
|
@@ -294,5 +284,48 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
294
284
|
param: 'isEnabled',
|
|
295
285
|
typeGuard: _typeGuards.isBoolean,
|
|
296
286
|
defaultValue: false
|
|
287
|
+
},
|
|
288
|
+
// Added 2024-10-25
|
|
289
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
|
|
290
|
+
comment_on_inline_node_spotlight: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: 'platform_editor_comment_on_inline_node_spotlight'
|
|
293
|
+
},
|
|
294
|
+
param: 'isEnabled',
|
|
295
|
+
typeGuard: _typeGuards.isBoolean,
|
|
296
|
+
defaultValue: false
|
|
297
|
+
},
|
|
298
|
+
// Added 28-10-2024
|
|
299
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: 'editor_ai_-_proactive_ai_model_variations'
|
|
302
|
+
},
|
|
303
|
+
param: 'cohort',
|
|
304
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'skip_grammar']),
|
|
305
|
+
defaultValue: 'control'
|
|
306
|
+
},
|
|
307
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
308
|
+
productKeys: {
|
|
309
|
+
confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
|
|
310
|
+
},
|
|
311
|
+
param: 'cohort',
|
|
312
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'default-off', 'default-on']),
|
|
313
|
+
defaultValue: 'control'
|
|
314
|
+
},
|
|
315
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
316
|
+
productKeys: {
|
|
317
|
+
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
318
|
+
},
|
|
319
|
+
param: 'cohort',
|
|
320
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
321
|
+
defaultValue: 'control'
|
|
322
|
+
},
|
|
323
|
+
'editor_ai_-_gpt4_experiment': {
|
|
324
|
+
productKeys: {
|
|
325
|
+
confluence: 'editor_ai_-_gpt4_experiment'
|
|
326
|
+
},
|
|
327
|
+
param: 'cohort',
|
|
328
|
+
typeGuard: (0, _typeGuards.oneOf)(['control', 'einstein']),
|
|
329
|
+
defaultValue: 'control'
|
|
297
330
|
}
|
|
298
331
|
};
|
|
@@ -230,16 +230,6 @@ export const editorExperimentsConfig = {
|
|
|
230
230
|
typeGuard: oneOf(['control', 'test']),
|
|
231
231
|
defaultValue: 'control'
|
|
232
232
|
},
|
|
233
|
-
// Added 2024-10-04
|
|
234
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
|
|
235
|
-
typography_migration_ugc: {
|
|
236
|
-
productKeys: {
|
|
237
|
-
confluence: 'platform_editor_typography_migration_ugc'
|
|
238
|
-
},
|
|
239
|
-
param: 'isEnabled',
|
|
240
|
-
typeGuard: isBoolean,
|
|
241
|
-
defaultValue: false
|
|
242
|
-
},
|
|
243
233
|
// Added 2024-10-06
|
|
244
234
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
245
235
|
'optimised-apply-dnd': {
|
|
@@ -288,5 +278,48 @@ export const editorExperimentsConfig = {
|
|
|
288
278
|
param: 'isEnabled',
|
|
289
279
|
typeGuard: isBoolean,
|
|
290
280
|
defaultValue: false
|
|
281
|
+
},
|
|
282
|
+
// Added 2024-10-25
|
|
283
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
|
|
284
|
+
comment_on_inline_node_spotlight: {
|
|
285
|
+
productKeys: {
|
|
286
|
+
confluence: 'platform_editor_comment_on_inline_node_spotlight'
|
|
287
|
+
},
|
|
288
|
+
param: 'isEnabled',
|
|
289
|
+
typeGuard: isBoolean,
|
|
290
|
+
defaultValue: false
|
|
291
|
+
},
|
|
292
|
+
// Added 28-10-2024
|
|
293
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
294
|
+
productKeys: {
|
|
295
|
+
confluence: 'editor_ai_-_proactive_ai_model_variations'
|
|
296
|
+
},
|
|
297
|
+
param: 'cohort',
|
|
298
|
+
typeGuard: oneOf(['control', 'skip_grammar']),
|
|
299
|
+
defaultValue: 'control'
|
|
300
|
+
},
|
|
301
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
302
|
+
productKeys: {
|
|
303
|
+
confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
|
|
304
|
+
},
|
|
305
|
+
param: 'cohort',
|
|
306
|
+
typeGuard: oneOf(['control', 'default-off', 'default-on']),
|
|
307
|
+
defaultValue: 'control'
|
|
308
|
+
},
|
|
309
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
310
|
+
productKeys: {
|
|
311
|
+
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
312
|
+
},
|
|
313
|
+
param: 'cohort',
|
|
314
|
+
typeGuard: oneOf(['control', 'test']),
|
|
315
|
+
defaultValue: 'control'
|
|
316
|
+
},
|
|
317
|
+
'editor_ai_-_gpt4_experiment': {
|
|
318
|
+
productKeys: {
|
|
319
|
+
confluence: 'editor_ai_-_gpt4_experiment'
|
|
320
|
+
},
|
|
321
|
+
param: 'cohort',
|
|
322
|
+
typeGuard: oneOf(['control', 'einstein']),
|
|
323
|
+
defaultValue: 'control'
|
|
291
324
|
}
|
|
292
325
|
};
|
|
@@ -230,16 +230,6 @@ export var editorExperimentsConfig = {
|
|
|
230
230
|
typeGuard: oneOf(['control', 'test']),
|
|
231
231
|
defaultValue: 'control'
|
|
232
232
|
},
|
|
233
|
-
// Added 2024-10-04
|
|
234
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
|
|
235
|
-
typography_migration_ugc: {
|
|
236
|
-
productKeys: {
|
|
237
|
-
confluence: 'platform_editor_typography_migration_ugc'
|
|
238
|
-
},
|
|
239
|
-
param: 'isEnabled',
|
|
240
|
-
typeGuard: isBoolean,
|
|
241
|
-
defaultValue: false
|
|
242
|
-
},
|
|
243
233
|
// Added 2024-10-06
|
|
244
234
|
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
|
|
245
235
|
'optimised-apply-dnd': {
|
|
@@ -288,5 +278,48 @@ export var editorExperimentsConfig = {
|
|
|
288
278
|
param: 'isEnabled',
|
|
289
279
|
typeGuard: isBoolean,
|
|
290
280
|
defaultValue: false
|
|
281
|
+
},
|
|
282
|
+
// Added 2024-10-25
|
|
283
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
|
|
284
|
+
comment_on_inline_node_spotlight: {
|
|
285
|
+
productKeys: {
|
|
286
|
+
confluence: 'platform_editor_comment_on_inline_node_spotlight'
|
|
287
|
+
},
|
|
288
|
+
param: 'isEnabled',
|
|
289
|
+
typeGuard: isBoolean,
|
|
290
|
+
defaultValue: false
|
|
291
|
+
},
|
|
292
|
+
// Added 28-10-2024
|
|
293
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
294
|
+
productKeys: {
|
|
295
|
+
confluence: 'editor_ai_-_proactive_ai_model_variations'
|
|
296
|
+
},
|
|
297
|
+
param: 'cohort',
|
|
298
|
+
typeGuard: oneOf(['control', 'skip_grammar']),
|
|
299
|
+
defaultValue: 'control'
|
|
300
|
+
},
|
|
301
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
302
|
+
productKeys: {
|
|
303
|
+
confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
|
|
304
|
+
},
|
|
305
|
+
param: 'cohort',
|
|
306
|
+
typeGuard: oneOf(['control', 'default-off', 'default-on']),
|
|
307
|
+
defaultValue: 'control'
|
|
308
|
+
},
|
|
309
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
310
|
+
productKeys: {
|
|
311
|
+
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
312
|
+
},
|
|
313
|
+
param: 'cohort',
|
|
314
|
+
typeGuard: oneOf(['control', 'test']),
|
|
315
|
+
defaultValue: 'control'
|
|
316
|
+
},
|
|
317
|
+
'editor_ai_-_gpt4_experiment': {
|
|
318
|
+
productKeys: {
|
|
319
|
+
confluence: 'editor_ai_-_gpt4_experiment'
|
|
320
|
+
},
|
|
321
|
+
param: 'cohort',
|
|
322
|
+
typeGuard: oneOf(['control', 'einstein']),
|
|
323
|
+
defaultValue: 'control'
|
|
291
324
|
}
|
|
292
325
|
};
|
|
@@ -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" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "
|
|
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" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "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" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment">(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: (value: unknown) => value is "test" | "control";
|
|
241
241
|
defaultValue: "test" | "control";
|
|
242
242
|
};
|
|
243
|
-
typography_migration_ugc: {
|
|
244
|
-
productKeys: {
|
|
245
|
-
confluence: string;
|
|
246
|
-
};
|
|
247
|
-
param: string;
|
|
248
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
249
|
-
defaultValue: boolean;
|
|
250
|
-
};
|
|
251
243
|
'optimised-apply-dnd': {
|
|
252
244
|
productKeys: {
|
|
253
245
|
confluence: string;
|
|
@@ -288,6 +280,46 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
281
|
defaultValue: boolean;
|
|
290
282
|
};
|
|
283
|
+
comment_on_inline_node_spotlight: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: string;
|
|
286
|
+
};
|
|
287
|
+
param: string;
|
|
288
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
|
+
defaultValue: boolean;
|
|
290
|
+
};
|
|
291
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: string;
|
|
294
|
+
};
|
|
295
|
+
param: string;
|
|
296
|
+
typeGuard: (value: unknown) => value is "control" | "skip_grammar";
|
|
297
|
+
defaultValue: "control" | "skip_grammar";
|
|
298
|
+
};
|
|
299
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
|
|
305
|
+
defaultValue: "control" | "default-off" | "default-on";
|
|
306
|
+
};
|
|
307
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
308
|
+
productKeys: {
|
|
309
|
+
confluence: string;
|
|
310
|
+
};
|
|
311
|
+
param: string;
|
|
312
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
313
|
+
defaultValue: "test" | "control";
|
|
314
|
+
};
|
|
315
|
+
'editor_ai_-_gpt4_experiment': {
|
|
316
|
+
productKeys: {
|
|
317
|
+
confluence: string;
|
|
318
|
+
};
|
|
319
|
+
param: string;
|
|
320
|
+
typeGuard: (value: unknown) => value is "control" | "einstein";
|
|
321
|
+
defaultValue: "control" | "einstein";
|
|
322
|
+
};
|
|
291
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
325
|
};
|
|
@@ -199,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
199
199
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
200
200
|
defaultValue: "test" | "control";
|
|
201
201
|
};
|
|
202
|
-
typography_migration_ugc: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: string;
|
|
205
|
-
};
|
|
206
|
-
param: string;
|
|
207
|
-
typeGuard: typeof isBoolean;
|
|
208
|
-
defaultValue: boolean;
|
|
209
|
-
};
|
|
210
202
|
'optimised-apply-dnd': {
|
|
211
203
|
productKeys: {
|
|
212
204
|
confluence: string;
|
|
@@ -247,4 +239,44 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: typeof isBoolean;
|
|
248
240
|
defaultValue: boolean;
|
|
249
241
|
};
|
|
242
|
+
comment_on_inline_node_spotlight: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
confluence: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: typeof isBoolean;
|
|
248
|
+
defaultValue: boolean;
|
|
249
|
+
};
|
|
250
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
251
|
+
productKeys: {
|
|
252
|
+
confluence: string;
|
|
253
|
+
};
|
|
254
|
+
param: string;
|
|
255
|
+
typeGuard: (value: unknown) => value is "control" | "skip_grammar";
|
|
256
|
+
defaultValue: "control" | "skip_grammar";
|
|
257
|
+
};
|
|
258
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
|
|
264
|
+
defaultValue: "control" | "default-off" | "default-on";
|
|
265
|
+
};
|
|
266
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
267
|
+
productKeys: {
|
|
268
|
+
confluence: string;
|
|
269
|
+
};
|
|
270
|
+
param: string;
|
|
271
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
272
|
+
defaultValue: "test" | "control";
|
|
273
|
+
};
|
|
274
|
+
'editor_ai_-_gpt4_experiment': {
|
|
275
|
+
productKeys: {
|
|
276
|
+
confluence: string;
|
|
277
|
+
};
|
|
278
|
+
param: string;
|
|
279
|
+
typeGuard: (value: unknown) => value is "control" | "einstein";
|
|
280
|
+
defaultValue: "control" | "einstein";
|
|
281
|
+
};
|
|
250
282
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -27,12 +27,16 @@ export declare let _overrides: Partial<{
|
|
|
27
27
|
comment_on_bodied_extensions: boolean;
|
|
28
28
|
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
29
29
|
'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
|
|
30
|
-
typography_migration_ugc: boolean;
|
|
31
30
|
'optimised-apply-dnd': boolean;
|
|
32
31
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
33
32
|
advanced_layouts: boolean;
|
|
34
33
|
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
35
34
|
support_table_in_comment_jira: boolean;
|
|
35
|
+
comment_on_inline_node_spotlight: boolean;
|
|
36
|
+
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
37
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': "control" | "default-off" | "default-on";
|
|
38
|
+
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
39
|
+
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
36
40
|
}>;
|
|
37
41
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
38
42
|
/**
|
|
@@ -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" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "
|
|
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" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "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" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment">(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: (value: unknown) => value is "test" | "control";
|
|
241
241
|
defaultValue: "test" | "control";
|
|
242
242
|
};
|
|
243
|
-
typography_migration_ugc: {
|
|
244
|
-
productKeys: {
|
|
245
|
-
confluence: string;
|
|
246
|
-
};
|
|
247
|
-
param: string;
|
|
248
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
249
|
-
defaultValue: boolean;
|
|
250
|
-
};
|
|
251
243
|
'optimised-apply-dnd': {
|
|
252
244
|
productKeys: {
|
|
253
245
|
confluence: string;
|
|
@@ -288,6 +280,46 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
281
|
defaultValue: boolean;
|
|
290
282
|
};
|
|
283
|
+
comment_on_inline_node_spotlight: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
confluence: string;
|
|
286
|
+
};
|
|
287
|
+
param: string;
|
|
288
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
289
|
+
defaultValue: boolean;
|
|
290
|
+
};
|
|
291
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: string;
|
|
294
|
+
};
|
|
295
|
+
param: string;
|
|
296
|
+
typeGuard: (value: unknown) => value is "control" | "skip_grammar";
|
|
297
|
+
defaultValue: "control" | "skip_grammar";
|
|
298
|
+
};
|
|
299
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
|
|
305
|
+
defaultValue: "control" | "default-off" | "default-on";
|
|
306
|
+
};
|
|
307
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
308
|
+
productKeys: {
|
|
309
|
+
confluence: string;
|
|
310
|
+
};
|
|
311
|
+
param: string;
|
|
312
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
313
|
+
defaultValue: "test" | "control";
|
|
314
|
+
};
|
|
315
|
+
'editor_ai_-_gpt4_experiment': {
|
|
316
|
+
productKeys: {
|
|
317
|
+
confluence: string;
|
|
318
|
+
};
|
|
319
|
+
param: string;
|
|
320
|
+
typeGuard: (value: unknown) => value is "control" | "einstein";
|
|
321
|
+
defaultValue: "control" | "einstein";
|
|
322
|
+
};
|
|
291
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
325
|
};
|
|
@@ -199,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
199
199
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
200
200
|
defaultValue: "test" | "control";
|
|
201
201
|
};
|
|
202
|
-
typography_migration_ugc: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: string;
|
|
205
|
-
};
|
|
206
|
-
param: string;
|
|
207
|
-
typeGuard: typeof isBoolean;
|
|
208
|
-
defaultValue: boolean;
|
|
209
|
-
};
|
|
210
202
|
'optimised-apply-dnd': {
|
|
211
203
|
productKeys: {
|
|
212
204
|
confluence: string;
|
|
@@ -247,4 +239,44 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: typeof isBoolean;
|
|
248
240
|
defaultValue: boolean;
|
|
249
241
|
};
|
|
242
|
+
comment_on_inline_node_spotlight: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
confluence: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: typeof isBoolean;
|
|
248
|
+
defaultValue: boolean;
|
|
249
|
+
};
|
|
250
|
+
'editor_ai_-_proactive_ai_model_variations': {
|
|
251
|
+
productKeys: {
|
|
252
|
+
confluence: string;
|
|
253
|
+
};
|
|
254
|
+
param: string;
|
|
255
|
+
typeGuard: (value: unknown) => value is "control" | "skip_grammar";
|
|
256
|
+
defaultValue: "control" | "skip_grammar";
|
|
257
|
+
};
|
|
258
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
|
|
264
|
+
defaultValue: "control" | "default-off" | "default-on";
|
|
265
|
+
};
|
|
266
|
+
'platform_editor_ai-prompts-placeholder': {
|
|
267
|
+
productKeys: {
|
|
268
|
+
confluence: string;
|
|
269
|
+
};
|
|
270
|
+
param: string;
|
|
271
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
272
|
+
defaultValue: "test" | "control";
|
|
273
|
+
};
|
|
274
|
+
'editor_ai_-_gpt4_experiment': {
|
|
275
|
+
productKeys: {
|
|
276
|
+
confluence: string;
|
|
277
|
+
};
|
|
278
|
+
param: string;
|
|
279
|
+
typeGuard: (value: unknown) => value is "control" | "einstein";
|
|
280
|
+
defaultValue: "control" | "einstein";
|
|
281
|
+
};
|
|
250
282
|
};
|
|
@@ -27,12 +27,16 @@ export declare let _overrides: Partial<{
|
|
|
27
27
|
comment_on_bodied_extensions: boolean;
|
|
28
28
|
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
29
29
|
'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
|
|
30
|
-
typography_migration_ugc: boolean;
|
|
31
30
|
'optimised-apply-dnd': boolean;
|
|
32
31
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
33
32
|
advanced_layouts: boolean;
|
|
34
33
|
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
35
34
|
support_table_in_comment_jira: boolean;
|
|
35
|
+
comment_on_inline_node_spotlight: boolean;
|
|
36
|
+
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
37
|
+
'editor_ai_-_proactive_ai_spelling_and_grammar': "control" | "default-off" | "default-on";
|
|
38
|
+
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
39
|
+
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
36
40
|
}>;
|
|
37
41
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
38
42
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/feature-gate-js-client": "^4.
|
|
39
|
+
"@atlaskit/feature-gate-js-client": "^4.22.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|