@atlaskit/tmp-editor-statsig 2.21.1 → 2.22.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 +9 -0
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/experiments-config.js +9 -0
- package/dist/types/editor-experiments-test-utils.d.ts +9 -1
- package/dist/types/experiments-config.d.ts +8 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +9 -1
- package/dist/types-ts4.5/experiments-config.d.ts +8 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#170373](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170373)
|
|
8
|
+
[`999f7f7bcd35c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/999f7f7bcd35c) -
|
|
9
|
+
[https://product-fabric.atlassian.net/browse/EDF-1798](EDF-1798) - the Link Picker was added into
|
|
10
|
+
the Editor AI Command Palette prompts
|
|
11
|
+
|
|
3
12
|
## 2.21.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -267,6 +267,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
267
267
|
typeGuard: _typeGuards.isBoolean,
|
|
268
268
|
defaultValue: false
|
|
269
269
|
},
|
|
270
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
|
|
271
|
+
platform_editor_ai_prompt_link_picker: {
|
|
272
|
+
productKeys: {
|
|
273
|
+
confluence: 'platform_editor_ai_prompt_link_picker'
|
|
274
|
+
},
|
|
275
|
+
param: 'isEnabled',
|
|
276
|
+
typeGuard: _typeGuards.isBoolean,
|
|
277
|
+
defaultValue: false
|
|
278
|
+
},
|
|
270
279
|
'platform_editor_ai-prompts-placeholder': {
|
|
271
280
|
productKeys: {
|
|
272
281
|
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
@@ -261,6 +261,15 @@ export const editorExperimentsConfig = {
|
|
|
261
261
|
typeGuard: isBoolean,
|
|
262
262
|
defaultValue: false
|
|
263
263
|
},
|
|
264
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
|
|
265
|
+
platform_editor_ai_prompt_link_picker: {
|
|
266
|
+
productKeys: {
|
|
267
|
+
confluence: 'platform_editor_ai_prompt_link_picker'
|
|
268
|
+
},
|
|
269
|
+
param: 'isEnabled',
|
|
270
|
+
typeGuard: isBoolean,
|
|
271
|
+
defaultValue: false
|
|
272
|
+
},
|
|
264
273
|
'platform_editor_ai-prompts-placeholder': {
|
|
265
274
|
productKeys: {
|
|
266
275
|
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
@@ -261,6 +261,15 @@ export var editorExperimentsConfig = {
|
|
|
261
261
|
typeGuard: isBoolean,
|
|
262
262
|
defaultValue: false
|
|
263
263
|
},
|
|
264
|
+
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_prompt_link_picker/setup
|
|
265
|
+
platform_editor_ai_prompt_link_picker: {
|
|
266
|
+
productKeys: {
|
|
267
|
+
confluence: 'platform_editor_ai_prompt_link_picker'
|
|
268
|
+
},
|
|
269
|
+
param: 'isEnabled',
|
|
270
|
+
typeGuard: isBoolean,
|
|
271
|
+
defaultValue: false
|
|
272
|
+
},
|
|
264
273
|
'platform_editor_ai-prompts-placeholder': {
|
|
265
274
|
productKeys: {
|
|
266
275
|
confluence: 'platform_editor_ai-prompts-placeholder'
|
|
@@ -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" | "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" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
|
|
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" | "platform_editor_ai_prompt_link_picker" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -264,6 +264,14 @@ declare namespace eeTest {
|
|
|
264
264
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
265
265
|
defaultValue: boolean;
|
|
266
266
|
};
|
|
267
|
+
platform_editor_ai_prompt_link_picker: {
|
|
268
|
+
productKeys: {
|
|
269
|
+
confluence: string;
|
|
270
|
+
};
|
|
271
|
+
param: string;
|
|
272
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
273
|
+
defaultValue: boolean;
|
|
274
|
+
};
|
|
267
275
|
'platform_editor_ai-prompts-placeholder': {
|
|
268
276
|
productKeys: {
|
|
269
277
|
confluence: string;
|
|
@@ -223,6 +223,14 @@ export declare const editorExperimentsConfig: {
|
|
|
223
223
|
typeGuard: typeof isBoolean;
|
|
224
224
|
defaultValue: boolean;
|
|
225
225
|
};
|
|
226
|
+
platform_editor_ai_prompt_link_picker: {
|
|
227
|
+
productKeys: {
|
|
228
|
+
confluence: string;
|
|
229
|
+
};
|
|
230
|
+
param: string;
|
|
231
|
+
typeGuard: typeof isBoolean;
|
|
232
|
+
defaultValue: boolean;
|
|
233
|
+
};
|
|
226
234
|
'platform_editor_ai-prompts-placeholder': {
|
|
227
235
|
productKeys: {
|
|
228
236
|
confluence: string;
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare let _overrides: Partial<{
|
|
|
30
30
|
comment_on_inline_node_spotlight: boolean;
|
|
31
31
|
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
32
32
|
platform_editor_ai_refine_response_button: boolean;
|
|
33
|
+
platform_editor_ai_prompt_link_picker: boolean;
|
|
33
34
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
34
35
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
35
36
|
platform_editor_ai_facepile: boolean;
|
|
@@ -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" | "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" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
|
|
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" | "platform_editor_ai_prompt_link_picker" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -264,6 +264,14 @@ declare namespace eeTest {
|
|
|
264
264
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
265
265
|
defaultValue: boolean;
|
|
266
266
|
};
|
|
267
|
+
platform_editor_ai_prompt_link_picker: {
|
|
268
|
+
productKeys: {
|
|
269
|
+
confluence: string;
|
|
270
|
+
};
|
|
271
|
+
param: string;
|
|
272
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
273
|
+
defaultValue: boolean;
|
|
274
|
+
};
|
|
267
275
|
'platform_editor_ai-prompts-placeholder': {
|
|
268
276
|
productKeys: {
|
|
269
277
|
confluence: string;
|
|
@@ -223,6 +223,14 @@ export declare const editorExperimentsConfig: {
|
|
|
223
223
|
typeGuard: typeof isBoolean;
|
|
224
224
|
defaultValue: boolean;
|
|
225
225
|
};
|
|
226
|
+
platform_editor_ai_prompt_link_picker: {
|
|
227
|
+
productKeys: {
|
|
228
|
+
confluence: string;
|
|
229
|
+
};
|
|
230
|
+
param: string;
|
|
231
|
+
typeGuard: typeof isBoolean;
|
|
232
|
+
defaultValue: boolean;
|
|
233
|
+
};
|
|
226
234
|
'platform_editor_ai-prompts-placeholder': {
|
|
227
235
|
productKeys: {
|
|
228
236
|
confluence: string;
|
|
@@ -30,6 +30,7 @@ export declare let _overrides: Partial<{
|
|
|
30
30
|
comment_on_inline_node_spotlight: boolean;
|
|
31
31
|
'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
|
|
32
32
|
platform_editor_ai_refine_response_button: boolean;
|
|
33
|
+
platform_editor_ai_prompt_link_picker: boolean;
|
|
33
34
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
34
35
|
'editor_ai_-_gpt4_experiment': "control" | "einstein";
|
|
35
36
|
platform_editor_ai_facepile: boolean;
|
package/package.json
CHANGED