@atlaskit/tmp-editor-statsig 2.7.0 → 2.9.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 -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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#154829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154829)
|
|
8
|
+
[`0646280e9ab18`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0646280e9ab18) -
|
|
9
|
+
[EDF-1176](https://product-fabric.atlassian.net/browse/EDF-1176) - add pulse EP effect to AI
|
|
10
|
+
button in Editor floating toolbar
|
|
11
|
+
|
|
12
|
+
## 2.8.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#155195](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155195)
|
|
17
|
+
[`73c97aeb48ea9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c97aeb48ea9) -
|
|
18
|
+
Add platform_editor_support_table_in_comment_jira experiment to control table drag and drop and
|
|
19
|
+
table scaling features to support new table features in jira
|
|
20
|
+
|
|
3
21
|
## 2.7.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -208,16 +208,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
208
208
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
209
209
|
defaultValue: 'control'
|
|
210
210
|
},
|
|
211
|
-
// Added 2024-10-03
|
|
212
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
|
|
213
|
-
platform_editor_ai_onboarding: {
|
|
214
|
-
productKeys: {
|
|
215
|
-
confluence: 'platform_editor_ai_onboarding'
|
|
216
|
-
},
|
|
217
|
-
param: 'cohort',
|
|
218
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
219
|
-
defaultValue: 'control'
|
|
220
|
-
},
|
|
221
211
|
// Added 2024-10-01
|
|
222
212
|
comment_on_bodied_extensions: {
|
|
223
213
|
productKeys: {
|
|
@@ -295,5 +285,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
295
285
|
param: 'cohort',
|
|
296
286
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
297
287
|
defaultValue: 'control'
|
|
288
|
+
},
|
|
289
|
+
// Added 2024-10-08
|
|
290
|
+
support_table_in_comment_jira: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
jira: 'platform_editor_support_table_in_comment_jira'
|
|
293
|
+
},
|
|
294
|
+
param: 'isEnabled',
|
|
295
|
+
typeGuard: _typeGuards.isBoolean,
|
|
296
|
+
defaultValue: false
|
|
298
297
|
}
|
|
299
298
|
};
|
|
@@ -202,16 +202,6 @@ export const editorExperimentsConfig = {
|
|
|
202
202
|
typeGuard: oneOf(['control', 'test']),
|
|
203
203
|
defaultValue: 'control'
|
|
204
204
|
},
|
|
205
|
-
// Added 2024-10-03
|
|
206
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
|
|
207
|
-
platform_editor_ai_onboarding: {
|
|
208
|
-
productKeys: {
|
|
209
|
-
confluence: 'platform_editor_ai_onboarding'
|
|
210
|
-
},
|
|
211
|
-
param: 'cohort',
|
|
212
|
-
typeGuard: oneOf(['control', 'test']),
|
|
213
|
-
defaultValue: 'control'
|
|
214
|
-
},
|
|
215
205
|
// Added 2024-10-01
|
|
216
206
|
comment_on_bodied_extensions: {
|
|
217
207
|
productKeys: {
|
|
@@ -289,5 +279,14 @@ export const editorExperimentsConfig = {
|
|
|
289
279
|
param: 'cohort',
|
|
290
280
|
typeGuard: oneOf(['control', 'test']),
|
|
291
281
|
defaultValue: 'control'
|
|
282
|
+
},
|
|
283
|
+
// Added 2024-10-08
|
|
284
|
+
support_table_in_comment_jira: {
|
|
285
|
+
productKeys: {
|
|
286
|
+
jira: 'platform_editor_support_table_in_comment_jira'
|
|
287
|
+
},
|
|
288
|
+
param: 'isEnabled',
|
|
289
|
+
typeGuard: isBoolean,
|
|
290
|
+
defaultValue: false
|
|
292
291
|
}
|
|
293
292
|
};
|
|
@@ -202,16 +202,6 @@ export var editorExperimentsConfig = {
|
|
|
202
202
|
typeGuard: oneOf(['control', 'test']),
|
|
203
203
|
defaultValue: 'control'
|
|
204
204
|
},
|
|
205
|
-
// Added 2024-10-03
|
|
206
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
|
|
207
|
-
platform_editor_ai_onboarding: {
|
|
208
|
-
productKeys: {
|
|
209
|
-
confluence: 'platform_editor_ai_onboarding'
|
|
210
|
-
},
|
|
211
|
-
param: 'cohort',
|
|
212
|
-
typeGuard: oneOf(['control', 'test']),
|
|
213
|
-
defaultValue: 'control'
|
|
214
|
-
},
|
|
215
205
|
// Added 2024-10-01
|
|
216
206
|
comment_on_bodied_extensions: {
|
|
217
207
|
productKeys: {
|
|
@@ -289,5 +279,14 @@ export var editorExperimentsConfig = {
|
|
|
289
279
|
param: 'cohort',
|
|
290
280
|
typeGuard: oneOf(['control', 'test']),
|
|
291
281
|
defaultValue: 'control'
|
|
282
|
+
},
|
|
283
|
+
// Added 2024-10-08
|
|
284
|
+
support_table_in_comment_jira: {
|
|
285
|
+
productKeys: {
|
|
286
|
+
jira: 'platform_editor_support_table_in_comment_jira'
|
|
287
|
+
},
|
|
288
|
+
param: 'isEnabled',
|
|
289
|
+
typeGuard: isBoolean,
|
|
290
|
+
defaultValue: false
|
|
292
291
|
}
|
|
293
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" | "
|
|
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" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -216,14 +216,6 @@ declare namespace eeTest {
|
|
|
216
216
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
217
217
|
defaultValue: "test" | "control";
|
|
218
218
|
};
|
|
219
|
-
platform_editor_ai_onboarding: {
|
|
220
|
-
productKeys: {
|
|
221
|
-
confluence: string;
|
|
222
|
-
};
|
|
223
|
-
param: string;
|
|
224
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
225
|
-
defaultValue: "test" | "control";
|
|
226
|
-
};
|
|
227
219
|
comment_on_bodied_extensions: {
|
|
228
220
|
productKeys: {
|
|
229
221
|
confluence: string;
|
|
@@ -288,6 +280,14 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
289
281
|
defaultValue: "test" | "control";
|
|
290
282
|
};
|
|
283
|
+
support_table_in_comment_jira: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
jira: 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
|
};
|
|
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
|
|
|
175
175
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
176
176
|
defaultValue: "test" | "control";
|
|
177
177
|
};
|
|
178
|
-
platform_editor_ai_onboarding: {
|
|
179
|
-
productKeys: {
|
|
180
|
-
confluence: string;
|
|
181
|
-
};
|
|
182
|
-
param: string;
|
|
183
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
184
|
-
defaultValue: "test" | "control";
|
|
185
|
-
};
|
|
186
178
|
comment_on_bodied_extensions: {
|
|
187
179
|
productKeys: {
|
|
188
180
|
confluence: string;
|
|
@@ -247,4 +239,12 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
248
240
|
defaultValue: "test" | "control";
|
|
249
241
|
};
|
|
242
|
+
support_table_in_comment_jira: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
jira: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: typeof isBoolean;
|
|
248
|
+
defaultValue: boolean;
|
|
249
|
+
};
|
|
250
250
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
|
|
|
24
24
|
platform_editor_table_use_shared_state_hook: boolean;
|
|
25
25
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
26
26
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
27
|
-
platform_editor_ai_onboarding: "test" | "control";
|
|
28
27
|
comment_on_bodied_extensions: boolean;
|
|
29
28
|
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
30
29
|
'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
|
|
@@ -33,6 +32,7 @@ export declare let _overrides: Partial<{
|
|
|
33
32
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
34
33
|
advanced_layouts: boolean;
|
|
35
34
|
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
35
|
+
support_table_in_comment_jira: 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" | "
|
|
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" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -216,14 +216,6 @@ declare namespace eeTest {
|
|
|
216
216
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
217
217
|
defaultValue: "test" | "control";
|
|
218
218
|
};
|
|
219
|
-
platform_editor_ai_onboarding: {
|
|
220
|
-
productKeys: {
|
|
221
|
-
confluence: string;
|
|
222
|
-
};
|
|
223
|
-
param: string;
|
|
224
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
225
|
-
defaultValue: "test" | "control";
|
|
226
|
-
};
|
|
227
219
|
comment_on_bodied_extensions: {
|
|
228
220
|
productKeys: {
|
|
229
221
|
confluence: string;
|
|
@@ -288,6 +280,14 @@ declare namespace eeTest {
|
|
|
288
280
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
289
281
|
defaultValue: "test" | "control";
|
|
290
282
|
};
|
|
283
|
+
support_table_in_comment_jira: {
|
|
284
|
+
productKeys: {
|
|
285
|
+
jira: 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
|
};
|
|
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
|
|
|
175
175
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
176
176
|
defaultValue: "test" | "control";
|
|
177
177
|
};
|
|
178
|
-
platform_editor_ai_onboarding: {
|
|
179
|
-
productKeys: {
|
|
180
|
-
confluence: string;
|
|
181
|
-
};
|
|
182
|
-
param: string;
|
|
183
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
184
|
-
defaultValue: "test" | "control";
|
|
185
|
-
};
|
|
186
178
|
comment_on_bodied_extensions: {
|
|
187
179
|
productKeys: {
|
|
188
180
|
confluence: string;
|
|
@@ -247,4 +239,12 @@ export declare const editorExperimentsConfig: {
|
|
|
247
239
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
248
240
|
defaultValue: "test" | "control";
|
|
249
241
|
};
|
|
242
|
+
support_table_in_comment_jira: {
|
|
243
|
+
productKeys: {
|
|
244
|
+
jira: string;
|
|
245
|
+
};
|
|
246
|
+
param: string;
|
|
247
|
+
typeGuard: typeof isBoolean;
|
|
248
|
+
defaultValue: boolean;
|
|
249
|
+
};
|
|
250
250
|
};
|
|
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
|
|
|
24
24
|
platform_editor_table_use_shared_state_hook: boolean;
|
|
25
25
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
26
26
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
27
|
-
platform_editor_ai_onboarding: "test" | "control";
|
|
28
27
|
comment_on_bodied_extensions: boolean;
|
|
29
28
|
platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
|
|
30
29
|
'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
|
|
@@ -33,6 +32,7 @@ export declare let _overrides: Partial<{
|
|
|
33
32
|
platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
|
|
34
33
|
advanced_layouts: boolean;
|
|
35
34
|
platform_editor_live_pages_ai_definitions: "test" | "control";
|
|
35
|
+
support_table_in_comment_jira: boolean;
|
|
36
36
|
}>;
|
|
37
37
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
38
38
|
/**
|
package/package.json
CHANGED