@atlaskit/tmp-editor-statsig 2.40.0 → 2.41.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 +16 -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/experiments.d.ts +1 -1
- 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/experiments.d.ts +1 -1
- package/dist/types-ts4.5/setup.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.41.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#105835](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105835)
|
|
8
|
+
[`e36d012fbbce1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e36d012fbbce1) -
|
|
9
|
+
[ux] EDF-2053 Clean up mentions experiment
|
|
10
|
+
|
|
11
|
+
## 2.40.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#105419](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105419)
|
|
16
|
+
[`d9cef763b7140`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d9cef763b7140) -
|
|
17
|
+
EDF-2255 Configure statsig for content read
|
|
18
|
+
|
|
3
19
|
## 2.40.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -203,16 +203,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
203
203
|
typeGuard: _typeGuards.isBoolean,
|
|
204
204
|
defaultValue: false
|
|
205
205
|
},
|
|
206
|
-
// added 2024-11-06
|
|
207
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
|
|
208
|
-
platform_editor_ai_mentions_support: {
|
|
209
|
-
productKeys: {
|
|
210
|
-
confluence: 'platform_editor_ai_mentions_support'
|
|
211
|
-
},
|
|
212
|
-
param: 'isEnabled',
|
|
213
|
-
typeGuard: _typeGuards.isBoolean,
|
|
214
|
-
defaultValue: false
|
|
215
|
-
},
|
|
216
206
|
// Added 2024-11-06
|
|
217
207
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
218
208
|
productKeys: {
|
|
@@ -328,5 +318,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
328
318
|
param: 'isEnabled',
|
|
329
319
|
typeGuard: _typeGuards.isBoolean,
|
|
330
320
|
defaultValue: false
|
|
321
|
+
},
|
|
322
|
+
// Added 2025-01-22
|
|
323
|
+
platform_editor_ai_jira_content_read_url: {
|
|
324
|
+
productKeys: {
|
|
325
|
+
jira: 'platform_editor_ai_jira_content_read_url'
|
|
326
|
+
},
|
|
327
|
+
param: 'isEnabled',
|
|
328
|
+
typeGuard: _typeGuards.isBoolean,
|
|
329
|
+
defaultValue: false
|
|
331
330
|
}
|
|
332
331
|
};
|
|
@@ -197,16 +197,6 @@ export const editorExperimentsConfig = {
|
|
|
197
197
|
typeGuard: isBoolean,
|
|
198
198
|
defaultValue: false
|
|
199
199
|
},
|
|
200
|
-
// added 2024-11-06
|
|
201
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
|
|
202
|
-
platform_editor_ai_mentions_support: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: 'platform_editor_ai_mentions_support'
|
|
205
|
-
},
|
|
206
|
-
param: 'isEnabled',
|
|
207
|
-
typeGuard: isBoolean,
|
|
208
|
-
defaultValue: false
|
|
209
|
-
},
|
|
210
200
|
// Added 2024-11-06
|
|
211
201
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
212
202
|
productKeys: {
|
|
@@ -322,5 +312,14 @@ export const editorExperimentsConfig = {
|
|
|
322
312
|
param: 'isEnabled',
|
|
323
313
|
typeGuard: isBoolean,
|
|
324
314
|
defaultValue: false
|
|
315
|
+
},
|
|
316
|
+
// Added 2025-01-22
|
|
317
|
+
platform_editor_ai_jira_content_read_url: {
|
|
318
|
+
productKeys: {
|
|
319
|
+
jira: 'platform_editor_ai_jira_content_read_url'
|
|
320
|
+
},
|
|
321
|
+
param: 'isEnabled',
|
|
322
|
+
typeGuard: isBoolean,
|
|
323
|
+
defaultValue: false
|
|
325
324
|
}
|
|
326
325
|
};
|
|
@@ -197,16 +197,6 @@ export var editorExperimentsConfig = {
|
|
|
197
197
|
typeGuard: isBoolean,
|
|
198
198
|
defaultValue: false
|
|
199
199
|
},
|
|
200
|
-
// added 2024-11-06
|
|
201
|
-
// https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_mentions_support/setup
|
|
202
|
-
platform_editor_ai_mentions_support: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: 'platform_editor_ai_mentions_support'
|
|
205
|
-
},
|
|
206
|
-
param: 'isEnabled',
|
|
207
|
-
typeGuard: isBoolean,
|
|
208
|
-
defaultValue: false
|
|
209
|
-
},
|
|
210
200
|
// Added 2024-11-06
|
|
211
201
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
212
202
|
productKeys: {
|
|
@@ -322,5 +312,14 @@ export var editorExperimentsConfig = {
|
|
|
322
312
|
param: 'isEnabled',
|
|
323
313
|
typeGuard: isBoolean,
|
|
324
314
|
defaultValue: false
|
|
315
|
+
},
|
|
316
|
+
// Added 2025-01-22
|
|
317
|
+
platform_editor_ai_jira_content_read_url: {
|
|
318
|
+
productKeys: {
|
|
319
|
+
jira: 'platform_editor_ai_jira_content_read_url'
|
|
320
|
+
},
|
|
321
|
+
param: 'isEnabled',
|
|
322
|
+
typeGuard: isBoolean,
|
|
323
|
+
defaultValue: false
|
|
325
324
|
}
|
|
326
325
|
};
|
|
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -208,14 +208,6 @@ declare namespace eeTest {
|
|
|
208
208
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
209
209
|
defaultValue: boolean;
|
|
210
210
|
};
|
|
211
|
-
platform_editor_ai_mentions_support: {
|
|
212
|
-
productKeys: {
|
|
213
|
-
confluence: string;
|
|
214
|
-
};
|
|
215
|
-
param: string;
|
|
216
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
217
|
-
defaultValue: boolean;
|
|
218
|
-
};
|
|
219
211
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
220
212
|
productKeys: {
|
|
221
213
|
confluence: string;
|
|
@@ -320,6 +312,14 @@ declare namespace eeTest {
|
|
|
320
312
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
321
313
|
defaultValue: boolean;
|
|
322
314
|
};
|
|
315
|
+
platform_editor_ai_jira_content_read_url: {
|
|
316
|
+
productKeys: {
|
|
317
|
+
jira: string;
|
|
318
|
+
};
|
|
319
|
+
param: string;
|
|
320
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
321
|
+
defaultValue: boolean;
|
|
322
|
+
};
|
|
323
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
324
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
325
325
|
};
|
|
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
|
|
|
167
167
|
typeGuard: typeof isBoolean;
|
|
168
168
|
defaultValue: boolean;
|
|
169
169
|
};
|
|
170
|
-
platform_editor_ai_mentions_support: {
|
|
171
|
-
productKeys: {
|
|
172
|
-
confluence: string;
|
|
173
|
-
};
|
|
174
|
-
param: string;
|
|
175
|
-
typeGuard: typeof isBoolean;
|
|
176
|
-
defaultValue: boolean;
|
|
177
|
-
};
|
|
178
170
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
179
171
|
productKeys: {
|
|
180
172
|
confluence: string;
|
|
@@ -279,4 +271,12 @@ export declare const editorExperimentsConfig: {
|
|
|
279
271
|
typeGuard: typeof isBoolean;
|
|
280
272
|
defaultValue: boolean;
|
|
281
273
|
};
|
|
274
|
+
platform_editor_ai_jira_content_read_url: {
|
|
275
|
+
productKeys: {
|
|
276
|
+
jira: string;
|
|
277
|
+
};
|
|
278
|
+
param: string;
|
|
279
|
+
typeGuard: typeof isBoolean;
|
|
280
|
+
defaultValue: boolean;
|
|
281
|
+
};
|
|
282
282
|
};
|
|
@@ -46,7 +46,7 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
|
|
|
46
46
|
}): boolean;
|
|
47
47
|
type Unstable_EditorExperimentParams = {
|
|
48
48
|
live_pages_graceful_edit: {
|
|
49
|
-
params: 'view-mode-intent-to-edit' | 'delay';
|
|
49
|
+
params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
/**
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ export declare let _overrides: Partial<{
|
|
|
28
28
|
comment_on_inline_node_spotlight: boolean;
|
|
29
29
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
30
30
|
'nested-tables-in-tables': boolean;
|
|
31
|
-
platform_editor_ai_mentions_support: boolean;
|
|
32
31
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
33
32
|
issue_view_action_items: boolean;
|
|
34
33
|
contextual_formatting_toolbar: boolean;
|
|
@@ -42,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
42
41
|
live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
43
42
|
platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
|
|
44
43
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
44
|
+
platform_editor_ai_jira_content_read_url: boolean;
|
|
45
45
|
}>;
|
|
46
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
47
47
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -208,14 +208,6 @@ declare namespace eeTest {
|
|
|
208
208
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
209
209
|
defaultValue: boolean;
|
|
210
210
|
};
|
|
211
|
-
platform_editor_ai_mentions_support: {
|
|
212
|
-
productKeys: {
|
|
213
|
-
confluence: string;
|
|
214
|
-
};
|
|
215
|
-
param: string;
|
|
216
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
217
|
-
defaultValue: boolean;
|
|
218
|
-
};
|
|
219
211
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
220
212
|
productKeys: {
|
|
221
213
|
confluence: string;
|
|
@@ -320,6 +312,14 @@ declare namespace eeTest {
|
|
|
320
312
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
321
313
|
defaultValue: boolean;
|
|
322
314
|
};
|
|
315
|
+
platform_editor_ai_jira_content_read_url: {
|
|
316
|
+
productKeys: {
|
|
317
|
+
jira: string;
|
|
318
|
+
};
|
|
319
|
+
param: string;
|
|
320
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
321
|
+
defaultValue: boolean;
|
|
322
|
+
};
|
|
323
323
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
324
324
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
325
325
|
};
|
|
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
|
|
|
167
167
|
typeGuard: typeof isBoolean;
|
|
168
168
|
defaultValue: boolean;
|
|
169
169
|
};
|
|
170
|
-
platform_editor_ai_mentions_support: {
|
|
171
|
-
productKeys: {
|
|
172
|
-
confluence: string;
|
|
173
|
-
};
|
|
174
|
-
param: string;
|
|
175
|
-
typeGuard: typeof isBoolean;
|
|
176
|
-
defaultValue: boolean;
|
|
177
|
-
};
|
|
178
170
|
platform_editor_ai_change_tone_floating_toolbar: {
|
|
179
171
|
productKeys: {
|
|
180
172
|
confluence: string;
|
|
@@ -279,4 +271,12 @@ export declare const editorExperimentsConfig: {
|
|
|
279
271
|
typeGuard: typeof isBoolean;
|
|
280
272
|
defaultValue: boolean;
|
|
281
273
|
};
|
|
274
|
+
platform_editor_ai_jira_content_read_url: {
|
|
275
|
+
productKeys: {
|
|
276
|
+
jira: string;
|
|
277
|
+
};
|
|
278
|
+
param: string;
|
|
279
|
+
typeGuard: typeof isBoolean;
|
|
280
|
+
defaultValue: boolean;
|
|
281
|
+
};
|
|
282
282
|
};
|
|
@@ -46,7 +46,7 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
|
|
|
46
46
|
}): boolean;
|
|
47
47
|
type Unstable_EditorExperimentParams = {
|
|
48
48
|
live_pages_graceful_edit: {
|
|
49
|
-
params: 'view-mode-intent-to-edit' | 'delay';
|
|
49
|
+
params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
@@ -28,7 +28,6 @@ export declare let _overrides: Partial<{
|
|
|
28
28
|
comment_on_inline_node_spotlight: boolean;
|
|
29
29
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
30
30
|
'nested-tables-in-tables': boolean;
|
|
31
|
-
platform_editor_ai_mentions_support: boolean;
|
|
32
31
|
platform_editor_ai_change_tone_floating_toolbar: boolean;
|
|
33
32
|
issue_view_action_items: boolean;
|
|
34
33
|
contextual_formatting_toolbar: boolean;
|
|
@@ -42,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
42
41
|
live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
43
42
|
platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
|
|
44
43
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
44
|
+
platform_editor_ai_jira_content_read_url: boolean;
|
|
45
45
|
}>;
|
|
46
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
47
47
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED