@atlaskit/tmp-editor-statsig 2.18.0 → 2.20.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 +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,24 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#168098](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168098)
|
|
8
|
+
[`fb613ef23788c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb613ef23788c) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/EDF-1995](EDF-1995) - clean up
|
|
10
|
+
`platform_editor_ai_command_palette_post_ga` Statsig experiment
|
|
11
|
+
|
|
12
|
+
## 2.19.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#160519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/160519)
|
|
17
|
+
[`9a7add3829ded`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a7add3829ded) -
|
|
18
|
+
[ux] EDF-1866: Add Smart Link unfurling (auto smart link conversion for shorthand ticket
|
|
19
|
+
references like "EDF-123") behind experiment platform_editor_ai_1p_smart_link_unfurl_in_prompt
|
|
20
|
+
into Editor AI prompt field (Prompt Editor)
|
|
21
|
+
|
|
3
22
|
## 2.18.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -162,15 +162,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
162
162
|
typeGuard: _typeGuards.isBoolean,
|
|
163
163
|
defaultValue: false
|
|
164
164
|
},
|
|
165
|
-
// Added 2024-09-24
|
|
166
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
167
|
-
productKeys: {
|
|
168
|
-
confluence: 'platform_editor_ai_command_palette_post_ga'
|
|
169
|
-
},
|
|
170
|
-
param: 'cohort',
|
|
171
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
|
|
172
|
-
defaultValue: 'control'
|
|
173
|
-
},
|
|
174
165
|
platform_editor_table_use_shared_state_hook: {
|
|
175
166
|
productKeys: {
|
|
176
167
|
confluence: 'platform_editor_table_use_shared_state_hook'
|
|
@@ -354,5 +345,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
354
345
|
param: 'isEnabled',
|
|
355
346
|
typeGuard: _typeGuards.isBoolean,
|
|
356
347
|
defaultValue: false
|
|
348
|
+
},
|
|
349
|
+
// Added 2024-11-19
|
|
350
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
351
|
+
productKeys: {
|
|
352
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
353
|
+
},
|
|
354
|
+
param: 'isEnabled',
|
|
355
|
+
typeGuard: _typeGuards.isBoolean,
|
|
356
|
+
defaultValue: false
|
|
357
357
|
}
|
|
358
358
|
};
|
|
@@ -156,15 +156,6 @@ export const editorExperimentsConfig = {
|
|
|
156
156
|
typeGuard: isBoolean,
|
|
157
157
|
defaultValue: false
|
|
158
158
|
},
|
|
159
|
-
// Added 2024-09-24
|
|
160
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
161
|
-
productKeys: {
|
|
162
|
-
confluence: 'platform_editor_ai_command_palette_post_ga'
|
|
163
|
-
},
|
|
164
|
-
param: 'cohort',
|
|
165
|
-
typeGuard: oneOf(['control', 'test']),
|
|
166
|
-
defaultValue: 'control'
|
|
167
|
-
},
|
|
168
159
|
platform_editor_table_use_shared_state_hook: {
|
|
169
160
|
productKeys: {
|
|
170
161
|
confluence: 'platform_editor_table_use_shared_state_hook'
|
|
@@ -348,5 +339,14 @@ export const editorExperimentsConfig = {
|
|
|
348
339
|
param: 'isEnabled',
|
|
349
340
|
typeGuard: isBoolean,
|
|
350
341
|
defaultValue: false
|
|
342
|
+
},
|
|
343
|
+
// Added 2024-11-19
|
|
344
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
345
|
+
productKeys: {
|
|
346
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
347
|
+
},
|
|
348
|
+
param: 'isEnabled',
|
|
349
|
+
typeGuard: isBoolean,
|
|
350
|
+
defaultValue: false
|
|
351
351
|
}
|
|
352
352
|
};
|
|
@@ -156,15 +156,6 @@ export var editorExperimentsConfig = {
|
|
|
156
156
|
typeGuard: isBoolean,
|
|
157
157
|
defaultValue: false
|
|
158
158
|
},
|
|
159
|
-
// Added 2024-09-24
|
|
160
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
161
|
-
productKeys: {
|
|
162
|
-
confluence: 'platform_editor_ai_command_palette_post_ga'
|
|
163
|
-
},
|
|
164
|
-
param: 'cohort',
|
|
165
|
-
typeGuard: oneOf(['control', 'test']),
|
|
166
|
-
defaultValue: 'control'
|
|
167
|
-
},
|
|
168
159
|
platform_editor_table_use_shared_state_hook: {
|
|
169
160
|
productKeys: {
|
|
170
161
|
confluence: 'platform_editor_table_use_shared_state_hook'
|
|
@@ -348,5 +339,14 @@ export var editorExperimentsConfig = {
|
|
|
348
339
|
param: 'isEnabled',
|
|
349
340
|
typeGuard: isBoolean,
|
|
350
341
|
defaultValue: false
|
|
342
|
+
},
|
|
343
|
+
// Added 2024-11-19
|
|
344
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
345
|
+
productKeys: {
|
|
346
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
347
|
+
},
|
|
348
|
+
param: 'isEnabled',
|
|
349
|
+
typeGuard: isBoolean,
|
|
350
|
+
defaultValue: false
|
|
351
351
|
}
|
|
352
352
|
};
|
|
@@ -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" | "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" | "
|
|
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" | "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_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" | "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" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -176,14 +176,6 @@ declare namespace eeTest {
|
|
|
176
176
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
177
177
|
defaultValue: boolean;
|
|
178
178
|
};
|
|
179
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
180
|
-
productKeys: {
|
|
181
|
-
confluence: string;
|
|
182
|
-
};
|
|
183
|
-
param: string;
|
|
184
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
185
|
-
defaultValue: "test" | "control";
|
|
186
|
-
};
|
|
187
179
|
platform_editor_table_use_shared_state_hook: {
|
|
188
180
|
productKeys: {
|
|
189
181
|
confluence: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
confluence: string;
|
|
342
|
+
};
|
|
343
|
+
param: string;
|
|
344
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
|
+
defaultValue: boolean;
|
|
346
|
+
};
|
|
347
347
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
348
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
349
|
};
|
|
@@ -135,14 +135,6 @@ export declare const editorExperimentsConfig: {
|
|
|
135
135
|
typeGuard: typeof isBoolean;
|
|
136
136
|
defaultValue: boolean;
|
|
137
137
|
};
|
|
138
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
139
|
-
productKeys: {
|
|
140
|
-
confluence: string;
|
|
141
|
-
};
|
|
142
|
-
param: string;
|
|
143
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
144
|
-
defaultValue: "test" | "control";
|
|
145
|
-
};
|
|
146
138
|
platform_editor_table_use_shared_state_hook: {
|
|
147
139
|
productKeys: {
|
|
148
140
|
confluence: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export declare let _overrides: Partial<{
|
|
|
19
19
|
platform_renderer_table_sticky_scrollbar: boolean;
|
|
20
20
|
'nest-media-and-codeblock-in-quote': boolean;
|
|
21
21
|
'nested-expand-in-expand': boolean;
|
|
22
|
-
platform_editor_ai_command_palette_post_ga: "test" | "control";
|
|
23
22
|
platform_editor_table_use_shared_state_hook: boolean;
|
|
24
23
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
25
24
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
platform_editor_ai_response_history: boolean;
|
|
41
40
|
issue_view_action_items: boolean;
|
|
42
41
|
contextual_formatting_toolbar: boolean;
|
|
42
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
|
|
43
43
|
}>;
|
|
44
44
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
45
|
/**
|
|
@@ -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" | "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" | "
|
|
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" | "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_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" | "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" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -176,14 +176,6 @@ declare namespace eeTest {
|
|
|
176
176
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
177
177
|
defaultValue: boolean;
|
|
178
178
|
};
|
|
179
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
180
|
-
productKeys: {
|
|
181
|
-
confluence: string;
|
|
182
|
-
};
|
|
183
|
-
param: string;
|
|
184
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
185
|
-
defaultValue: "test" | "control";
|
|
186
|
-
};
|
|
187
179
|
platform_editor_table_use_shared_state_hook: {
|
|
188
180
|
productKeys: {
|
|
189
181
|
confluence: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
confluence: string;
|
|
342
|
+
};
|
|
343
|
+
param: string;
|
|
344
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
|
+
defaultValue: boolean;
|
|
346
|
+
};
|
|
347
347
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
348
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
349
|
};
|
|
@@ -135,14 +135,6 @@ export declare const editorExperimentsConfig: {
|
|
|
135
135
|
typeGuard: typeof isBoolean;
|
|
136
136
|
defaultValue: boolean;
|
|
137
137
|
};
|
|
138
|
-
platform_editor_ai_command_palette_post_ga: {
|
|
139
|
-
productKeys: {
|
|
140
|
-
confluence: string;
|
|
141
|
-
};
|
|
142
|
-
param: string;
|
|
143
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
144
|
-
defaultValue: "test" | "control";
|
|
145
|
-
};
|
|
146
138
|
platform_editor_table_use_shared_state_hook: {
|
|
147
139
|
productKeys: {
|
|
148
140
|
confluence: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
confluence: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
|
@@ -19,7 +19,6 @@ export declare let _overrides: Partial<{
|
|
|
19
19
|
platform_renderer_table_sticky_scrollbar: boolean;
|
|
20
20
|
'nest-media-and-codeblock-in-quote': boolean;
|
|
21
21
|
'nested-expand-in-expand': boolean;
|
|
22
|
-
platform_editor_ai_command_palette_post_ga: "test" | "control";
|
|
23
22
|
platform_editor_table_use_shared_state_hook: boolean;
|
|
24
23
|
'editor_ai_-_multi_prompts': "test" | "control";
|
|
25
24
|
platform_editor_ai_additional_editor_prompts: "test" | "control";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
platform_editor_ai_response_history: boolean;
|
|
41
40
|
issue_view_action_items: boolean;
|
|
42
41
|
contextual_formatting_toolbar: boolean;
|
|
42
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
|
|
43
43
|
}>;
|
|
44
44
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
45
|
/**
|
package/package.json
CHANGED