@atlaskit/tmp-editor-statsig 2.9.0 → 2.10.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 +11 -0
- package/dist/cjs/experiments-config.js +10 -10
- package/dist/es2019/experiments-config.js +10 -10
- package/dist/esm/experiments-config.js +10 -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,16 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#157006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157006)
|
|
8
|
+
[`666884d7c9e24`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/666884d7c9e24) -
|
|
9
|
+
ED-25494 experiment on comment on inline node spotlight
|
|
10
|
+
- [#157011](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157011)
|
|
11
|
+
[`dcdfd1e83ce5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcdfd1e83ce5a) -
|
|
12
|
+
change ugc typography experiment to a gate
|
|
13
|
+
|
|
3
14
|
## 2.9.0
|
|
4
15
|
|
|
5
16
|
### 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,15 @@ 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
297
|
}
|
|
298
298
|
};
|
|
@@ -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,15 @@ 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
291
|
}
|
|
292
292
|
};
|
|
@@ -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,15 @@ 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
291
|
}
|
|
292
292
|
};
|
|
@@ -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">(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,14 @@ 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
291
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
292
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
293
|
};
|
|
@@ -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,12 @@ 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
250
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -27,12 +27,12 @@ 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
36
|
}>;
|
|
37
37
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
38
38
|
/**
|
|
@@ -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">(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,14 @@ 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
291
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
292
292
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
293
293
|
};
|
|
@@ -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,12 @@ 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
250
|
};
|
|
@@ -27,12 +27,12 @@ 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
36
|
}>;
|
|
37
37
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
38
38
|
/**
|
package/package.json
CHANGED