@atlaskit/tmp-editor-statsig 2.14.0 → 2.16.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 +17 -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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163468](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163468)
|
|
8
|
+
[`dd36c12324efd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd36c12324efd) -
|
|
9
|
+
JIV-19284 Allow setting task placeholder and quick insert action description for Editor tasks and
|
|
10
|
+
decisions plugin
|
|
11
|
+
|
|
12
|
+
## 2.15.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#164606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/164606)
|
|
17
|
+
[`d5fd875cd67f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d5fd875cd67f7) -
|
|
18
|
+
remove platform_editor_empty_line_prompt experiment
|
|
19
|
+
|
|
3
20
|
## 2.14.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -105,15 +105,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
105
105
|
typeGuard: _typeGuards.isBoolean,
|
|
106
106
|
defaultValue: false
|
|
107
107
|
},
|
|
108
|
-
// Added 2024-09-02
|
|
109
|
-
platform_editor_empty_line_prompt: {
|
|
110
|
-
productKeys: {
|
|
111
|
-
confluence: 'platform_editor_empty_line_prompt'
|
|
112
|
-
},
|
|
113
|
-
param: 'isEnabled',
|
|
114
|
-
typeGuard: _typeGuards.isBoolean,
|
|
115
|
-
defaultValue: false
|
|
116
|
-
},
|
|
117
108
|
// Added 2024-09-05
|
|
118
109
|
support_table_in_comment: {
|
|
119
110
|
productKeys: {
|
|
@@ -355,5 +346,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
355
346
|
param: 'isEnabled',
|
|
356
347
|
typeGuard: _typeGuards.isBoolean,
|
|
357
348
|
defaultValue: false
|
|
349
|
+
},
|
|
350
|
+
// Added 2024-11-13
|
|
351
|
+
issue_view_action_items: {
|
|
352
|
+
productKeys: {
|
|
353
|
+
jira: 'issue_view_action_items'
|
|
354
|
+
},
|
|
355
|
+
param: 'isActionItemsEnabled',
|
|
356
|
+
typeGuard: _typeGuards.isBoolean,
|
|
357
|
+
defaultValue: false
|
|
358
358
|
}
|
|
359
359
|
};
|
|
@@ -99,15 +99,6 @@ export const editorExperimentsConfig = {
|
|
|
99
99
|
typeGuard: isBoolean,
|
|
100
100
|
defaultValue: false
|
|
101
101
|
},
|
|
102
|
-
// Added 2024-09-02
|
|
103
|
-
platform_editor_empty_line_prompt: {
|
|
104
|
-
productKeys: {
|
|
105
|
-
confluence: 'platform_editor_empty_line_prompt'
|
|
106
|
-
},
|
|
107
|
-
param: 'isEnabled',
|
|
108
|
-
typeGuard: isBoolean,
|
|
109
|
-
defaultValue: false
|
|
110
|
-
},
|
|
111
102
|
// Added 2024-09-05
|
|
112
103
|
support_table_in_comment: {
|
|
113
104
|
productKeys: {
|
|
@@ -349,5 +340,14 @@ export const editorExperimentsConfig = {
|
|
|
349
340
|
param: 'isEnabled',
|
|
350
341
|
typeGuard: isBoolean,
|
|
351
342
|
defaultValue: false
|
|
343
|
+
},
|
|
344
|
+
// Added 2024-11-13
|
|
345
|
+
issue_view_action_items: {
|
|
346
|
+
productKeys: {
|
|
347
|
+
jira: 'issue_view_action_items'
|
|
348
|
+
},
|
|
349
|
+
param: 'isActionItemsEnabled',
|
|
350
|
+
typeGuard: isBoolean,
|
|
351
|
+
defaultValue: false
|
|
352
352
|
}
|
|
353
353
|
};
|
|
@@ -99,15 +99,6 @@ export var editorExperimentsConfig = {
|
|
|
99
99
|
typeGuard: isBoolean,
|
|
100
100
|
defaultValue: false
|
|
101
101
|
},
|
|
102
|
-
// Added 2024-09-02
|
|
103
|
-
platform_editor_empty_line_prompt: {
|
|
104
|
-
productKeys: {
|
|
105
|
-
confluence: 'platform_editor_empty_line_prompt'
|
|
106
|
-
},
|
|
107
|
-
param: 'isEnabled',
|
|
108
|
-
typeGuard: isBoolean,
|
|
109
|
-
defaultValue: false
|
|
110
|
-
},
|
|
111
102
|
// Added 2024-09-05
|
|
112
103
|
support_table_in_comment: {
|
|
113
104
|
productKeys: {
|
|
@@ -349,5 +340,14 @@ export var editorExperimentsConfig = {
|
|
|
349
340
|
param: 'isEnabled',
|
|
350
341
|
typeGuard: isBoolean,
|
|
351
342
|
defaultValue: false
|
|
343
|
+
},
|
|
344
|
+
// Added 2024-11-13
|
|
345
|
+
issue_view_action_items: {
|
|
346
|
+
productKeys: {
|
|
347
|
+
jira: 'issue_view_action_items'
|
|
348
|
+
},
|
|
349
|
+
param: 'isActionItemsEnabled',
|
|
350
|
+
typeGuard: isBoolean,
|
|
351
|
+
defaultValue: false
|
|
352
352
|
}
|
|
353
353
|
};
|
|
@@ -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" | "
|
|
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" | "platform_editor_live_pages_ai_definitions" | "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">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -128,14 +128,6 @@ declare namespace eeTest {
|
|
|
128
128
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
129
129
|
defaultValue: boolean;
|
|
130
130
|
};
|
|
131
|
-
platform_editor_empty_line_prompt: {
|
|
132
|
-
productKeys: {
|
|
133
|
-
confluence: string;
|
|
134
|
-
};
|
|
135
|
-
param: string;
|
|
136
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
137
|
-
defaultValue: boolean;
|
|
138
|
-
};
|
|
139
131
|
support_table_in_comment: {
|
|
140
132
|
productKeys: {
|
|
141
133
|
confluence: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
issue_view_action_items: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
jira: 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
|
};
|
|
@@ -87,14 +87,6 @@ export declare const editorExperimentsConfig: {
|
|
|
87
87
|
typeGuard: typeof isBoolean;
|
|
88
88
|
defaultValue: boolean;
|
|
89
89
|
};
|
|
90
|
-
platform_editor_empty_line_prompt: {
|
|
91
|
-
productKeys: {
|
|
92
|
-
confluence: string;
|
|
93
|
-
};
|
|
94
|
-
param: string;
|
|
95
|
-
typeGuard: typeof isBoolean;
|
|
96
|
-
defaultValue: boolean;
|
|
97
|
-
};
|
|
98
90
|
support_table_in_comment: {
|
|
99
91
|
productKeys: {
|
|
100
92
|
confluence: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
issue_view_action_items: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
jira: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare let _overrides: Partial<{
|
|
|
13
13
|
'nested-dnd': boolean;
|
|
14
14
|
'table-nested-dnd': boolean;
|
|
15
15
|
'insert-menu-in-right-rail': boolean;
|
|
16
|
-
platform_editor_empty_line_prompt: boolean;
|
|
17
16
|
support_table_in_comment: boolean;
|
|
18
17
|
platform_editor_exp_lazy_node_views: boolean;
|
|
19
18
|
platform_editor_ai_ai_button_block_elements: "test" | "control";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
'nested-tables-in-tables': boolean;
|
|
41
40
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
42
41
|
platform_editor_ai_response_history: boolean;
|
|
42
|
+
issue_view_action_items: 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" | "
|
|
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" | "platform_editor_live_pages_ai_definitions" | "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">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -128,14 +128,6 @@ declare namespace eeTest {
|
|
|
128
128
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
129
129
|
defaultValue: boolean;
|
|
130
130
|
};
|
|
131
|
-
platform_editor_empty_line_prompt: {
|
|
132
|
-
productKeys: {
|
|
133
|
-
confluence: string;
|
|
134
|
-
};
|
|
135
|
-
param: string;
|
|
136
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
137
|
-
defaultValue: boolean;
|
|
138
|
-
};
|
|
139
131
|
support_table_in_comment: {
|
|
140
132
|
productKeys: {
|
|
141
133
|
confluence: string;
|
|
@@ -344,6 +336,14 @@ declare namespace eeTest {
|
|
|
344
336
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
345
337
|
defaultValue: boolean;
|
|
346
338
|
};
|
|
339
|
+
issue_view_action_items: {
|
|
340
|
+
productKeys: {
|
|
341
|
+
jira: 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
|
};
|
|
@@ -87,14 +87,6 @@ export declare const editorExperimentsConfig: {
|
|
|
87
87
|
typeGuard: typeof isBoolean;
|
|
88
88
|
defaultValue: boolean;
|
|
89
89
|
};
|
|
90
|
-
platform_editor_empty_line_prompt: {
|
|
91
|
-
productKeys: {
|
|
92
|
-
confluence: string;
|
|
93
|
-
};
|
|
94
|
-
param: string;
|
|
95
|
-
typeGuard: typeof isBoolean;
|
|
96
|
-
defaultValue: boolean;
|
|
97
|
-
};
|
|
98
90
|
support_table_in_comment: {
|
|
99
91
|
productKeys: {
|
|
100
92
|
confluence: string;
|
|
@@ -303,4 +295,12 @@ export declare const editorExperimentsConfig: {
|
|
|
303
295
|
typeGuard: typeof isBoolean;
|
|
304
296
|
defaultValue: boolean;
|
|
305
297
|
};
|
|
298
|
+
issue_view_action_items: {
|
|
299
|
+
productKeys: {
|
|
300
|
+
jira: string;
|
|
301
|
+
};
|
|
302
|
+
param: string;
|
|
303
|
+
typeGuard: typeof isBoolean;
|
|
304
|
+
defaultValue: boolean;
|
|
305
|
+
};
|
|
306
306
|
};
|
|
@@ -13,7 +13,6 @@ export declare let _overrides: Partial<{
|
|
|
13
13
|
'nested-dnd': boolean;
|
|
14
14
|
'table-nested-dnd': boolean;
|
|
15
15
|
'insert-menu-in-right-rail': boolean;
|
|
16
|
-
platform_editor_empty_line_prompt: boolean;
|
|
17
16
|
support_table_in_comment: boolean;
|
|
18
17
|
platform_editor_exp_lazy_node_views: boolean;
|
|
19
18
|
platform_editor_ai_ai_button_block_elements: "test" | "control";
|
|
@@ -40,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
40
39
|
'nested-tables-in-tables': boolean;
|
|
41
40
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
42
41
|
platform_editor_ai_response_history: boolean;
|
|
42
|
+
issue_view_action_items: boolean;
|
|
43
43
|
}>;
|
|
44
44
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
45
45
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/feature-gate-js-client": "^4.
|
|
39
|
+
"@atlaskit/feature-gate-js-client": "^4.23.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|