@atlaskit/tmp-editor-statsig 2.18.0 → 2.19.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 +10 -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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#160519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/160519)
|
|
8
|
+
[`9a7add3829ded`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a7add3829ded) -
|
|
9
|
+
[ux] EDF-1866: Add Smart Link unfurling (auto smart link conversion for shorthand ticket
|
|
10
|
+
references like "EDF-123") behind experiment platform_editor_ai_1p_smart_link_unfurl_in_prompt
|
|
11
|
+
into Editor AI prompt field (Prompt Editor)
|
|
12
|
+
|
|
3
13
|
## 2.18.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -354,5 +354,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
354
354
|
param: 'isEnabled',
|
|
355
355
|
typeGuard: _typeGuards.isBoolean,
|
|
356
356
|
defaultValue: false
|
|
357
|
+
},
|
|
358
|
+
// Added 2024-11-19
|
|
359
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
360
|
+
productKeys: {
|
|
361
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
362
|
+
},
|
|
363
|
+
param: 'isEnabled',
|
|
364
|
+
typeGuard: _typeGuards.isBoolean,
|
|
365
|
+
defaultValue: false
|
|
357
366
|
}
|
|
358
367
|
};
|
|
@@ -348,5 +348,14 @@ export const editorExperimentsConfig = {
|
|
|
348
348
|
param: 'isEnabled',
|
|
349
349
|
typeGuard: isBoolean,
|
|
350
350
|
defaultValue: false
|
|
351
|
+
},
|
|
352
|
+
// Added 2024-11-19
|
|
353
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
354
|
+
productKeys: {
|
|
355
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
356
|
+
},
|
|
357
|
+
param: 'isEnabled',
|
|
358
|
+
typeGuard: isBoolean,
|
|
359
|
+
defaultValue: false
|
|
351
360
|
}
|
|
352
361
|
};
|
|
@@ -348,5 +348,14 @@ export var editorExperimentsConfig = {
|
|
|
348
348
|
param: 'isEnabled',
|
|
349
349
|
typeGuard: isBoolean,
|
|
350
350
|
defaultValue: false
|
|
351
|
+
},
|
|
352
|
+
// Added 2024-11-19
|
|
353
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
354
|
+
productKeys: {
|
|
355
|
+
confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
|
|
356
|
+
},
|
|
357
|
+
param: 'isEnabled',
|
|
358
|
+
typeGuard: isBoolean,
|
|
359
|
+
defaultValue: false
|
|
351
360
|
}
|
|
352
361
|
};
|
|
@@ -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_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" | "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">(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_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" | "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: {
|
|
@@ -344,6 +344,14 @@ declare namespace eeTest {
|
|
|
344
344
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
345
|
defaultValue: boolean;
|
|
346
346
|
};
|
|
347
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
348
|
+
productKeys: {
|
|
349
|
+
confluence: string;
|
|
350
|
+
};
|
|
351
|
+
param: string;
|
|
352
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
353
|
+
defaultValue: boolean;
|
|
354
|
+
};
|
|
347
355
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
356
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
357
|
};
|
|
@@ -303,4 +303,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
303
|
typeGuard: typeof isBoolean;
|
|
304
304
|
defaultValue: boolean;
|
|
305
305
|
};
|
|
306
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
307
|
+
productKeys: {
|
|
308
|
+
confluence: string;
|
|
309
|
+
};
|
|
310
|
+
param: string;
|
|
311
|
+
typeGuard: typeof isBoolean;
|
|
312
|
+
defaultValue: boolean;
|
|
313
|
+
};
|
|
306
314
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare let _overrides: Partial<{
|
|
|
40
40
|
platform_editor_ai_response_history: boolean;
|
|
41
41
|
issue_view_action_items: boolean;
|
|
42
42
|
contextual_formatting_toolbar: boolean;
|
|
43
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
|
|
43
44
|
}>;
|
|
44
45
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
46
|
/**
|
|
@@ -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_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" | "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">(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_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" | "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: {
|
|
@@ -344,6 +344,14 @@ declare namespace eeTest {
|
|
|
344
344
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
345
|
defaultValue: boolean;
|
|
346
346
|
};
|
|
347
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
348
|
+
productKeys: {
|
|
349
|
+
confluence: string;
|
|
350
|
+
};
|
|
351
|
+
param: string;
|
|
352
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
353
|
+
defaultValue: boolean;
|
|
354
|
+
};
|
|
347
355
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
348
356
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
349
357
|
};
|
|
@@ -303,4 +303,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
303
|
typeGuard: typeof isBoolean;
|
|
304
304
|
defaultValue: boolean;
|
|
305
305
|
};
|
|
306
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
|
|
307
|
+
productKeys: {
|
|
308
|
+
confluence: string;
|
|
309
|
+
};
|
|
310
|
+
param: string;
|
|
311
|
+
typeGuard: typeof isBoolean;
|
|
312
|
+
defaultValue: boolean;
|
|
313
|
+
};
|
|
306
314
|
};
|
|
@@ -40,6 +40,7 @@ export declare let _overrides: Partial<{
|
|
|
40
40
|
platform_editor_ai_response_history: boolean;
|
|
41
41
|
issue_view_action_items: boolean;
|
|
42
42
|
contextual_formatting_toolbar: boolean;
|
|
43
|
+
platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
|
|
43
44
|
}>;
|
|
44
45
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
46
|
/**
|
package/package.json
CHANGED