@atlaskit/tmp-editor-statsig 2.43.0 → 2.45.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.45.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#112096](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112096)
8
+ [`5d95afdd358ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5d95afdd358ac) -
9
+ [ux] Creates a package for new QuickInsert and Right Rail UI and adds it under a FF
10
+
11
+ ## 2.44.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#111240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111240)
16
+ [`de6e6869aa62d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de6e6869aa62d) -
17
+ [ux] EDF-2393: Cleanup platform_editor_ai_1p_smart_link_unfurl_in_prompt experiment code
18
+ references and autoformatting plugin integration in confluence
19
+
3
20
  ## 2.43.0
4
21
 
5
22
  ### Minor Changes
@@ -201,15 +201,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
201
201
  typeGuard: _typeGuards.isBoolean,
202
202
  defaultValue: false
203
203
  },
204
- // Added 2024-11-19
205
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
206
- productKeys: {
207
- confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
208
- },
209
- param: 'isEnabled',
210
- typeGuard: _typeGuards.isBoolean,
211
- defaultValue: false
212
- },
213
204
  // Added 2024-11-26
214
205
  platform_editor_ai_unsplash_page_header: {
215
206
  productKeys: {
@@ -298,5 +289,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
298
289
  param: 'isEnabled',
299
290
  typeGuard: _typeGuards.isBoolean,
300
291
  defaultValue: false
292
+ },
293
+ // Added 2025-02-10
294
+ platform_editor_controls: {
295
+ productKeys: {
296
+ confluence: 'platform_editor_controls'
297
+ },
298
+ param: 'cohort',
299
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
300
+ defaultValue: 'control'
301
301
  }
302
302
  };
@@ -195,15 +195,6 @@ export const editorExperimentsConfig = {
195
195
  typeGuard: isBoolean,
196
196
  defaultValue: false
197
197
  },
198
- // Added 2024-11-19
199
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
200
- productKeys: {
201
- confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
202
- },
203
- param: 'isEnabled',
204
- typeGuard: isBoolean,
205
- defaultValue: false
206
- },
207
198
  // Added 2024-11-26
208
199
  platform_editor_ai_unsplash_page_header: {
209
200
  productKeys: {
@@ -292,5 +283,14 @@ export const editorExperimentsConfig = {
292
283
  param: 'isEnabled',
293
284
  typeGuard: isBoolean,
294
285
  defaultValue: false
286
+ },
287
+ // Added 2025-02-10
288
+ platform_editor_controls: {
289
+ productKeys: {
290
+ confluence: 'platform_editor_controls'
291
+ },
292
+ param: 'cohort',
293
+ typeGuard: oneOf(['control', 'variant1']),
294
+ defaultValue: 'control'
295
295
  }
296
296
  };
@@ -195,15 +195,6 @@ export var editorExperimentsConfig = {
195
195
  typeGuard: isBoolean,
196
196
  defaultValue: false
197
197
  },
198
- // Added 2024-11-19
199
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
200
- productKeys: {
201
- confluence: 'platform_editor_ai_1p_smart_link_unfurl_in_prompt'
202
- },
203
- param: 'isEnabled',
204
- typeGuard: isBoolean,
205
- defaultValue: false
206
- },
207
198
  // Added 2024-11-26
208
199
  platform_editor_ai_unsplash_page_header: {
209
200
  productKeys: {
@@ -292,5 +283,14 @@ export var editorExperimentsConfig = {
292
283
  param: 'isEnabled',
293
284
  typeGuard: isBoolean,
294
285
  defaultValue: false
286
+ },
287
+ // Added 2025-02-10
288
+ platform_editor_controls: {
289
+ productKeys: {
290
+ confluence: 'platform_editor_controls'
291
+ },
292
+ param: 'cohort',
293
+ typeGuard: oneOf(['control', 'variant1']),
294
+ defaultValue: 'control'
295
295
  }
296
296
  };
@@ -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" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "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) => {
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" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "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" | "platform_editor_controls">(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_1p_smart_link_unfurl_in_prompt: {
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_unsplash_page_header: {
220
212
  productKeys: {
221
213
  confluence: string;
@@ -296,6 +288,14 @@ declare namespace eeTest {
296
288
  typeGuard: typeof import("./type-guards").isBoolean;
297
289
  defaultValue: boolean;
298
290
  };
291
+ platform_editor_controls: {
292
+ productKeys: {
293
+ confluence: string;
294
+ };
295
+ param: string;
296
+ typeGuard: (value: unknown) => value is "control" | "variant1";
297
+ defaultValue: "control" | "variant1";
298
+ };
299
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
300
  each: (describeBody: jest.EmptyFunction) => void;
301
301
  };
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
167
167
  typeGuard: typeof isBoolean;
168
168
  defaultValue: boolean;
169
169
  };
170
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
170
  platform_editor_ai_unsplash_page_header: {
179
171
  productKeys: {
180
172
  confluence: string;
@@ -255,4 +247,12 @@ export declare const editorExperimentsConfig: {
255
247
  typeGuard: typeof isBoolean;
256
248
  defaultValue: boolean;
257
249
  };
250
+ platform_editor_controls: {
251
+ productKeys: {
252
+ confluence: string;
253
+ };
254
+ param: string;
255
+ typeGuard: (value: unknown) => value is "control" | "variant1";
256
+ defaultValue: "control" | "variant1";
257
+ };
258
258
  };
@@ -28,7 +28,6 @@ export declare let _overrides: Partial<{
28
28
  'nested-tables-in-tables': boolean;
29
29
  issue_view_action_items: boolean;
30
30
  contextual_formatting_toolbar: boolean;
31
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
32
31
  platform_editor_ai_unsplash_page_header: boolean;
33
32
  platform_editor_ai_advanced_prompts: boolean;
34
33
  expand_selection_range_to_include_inline_node: boolean;
@@ -39,6 +38,7 @@ export declare let _overrides: Partial<{
39
38
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
40
39
  platform_editor_ai_edit_response_in_preview: boolean;
41
40
  platform_editor_ai_jira_content_read_url: boolean;
41
+ platform_editor_controls: "control" | "variant1";
42
42
  }>;
43
43
  export declare let _paramOverrides: EditorExperimentParamOverrides;
44
44
  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" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "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) => {
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" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "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" | "platform_editor_controls">(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_1p_smart_link_unfurl_in_prompt: {
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_unsplash_page_header: {
220
212
  productKeys: {
221
213
  confluence: string;
@@ -296,6 +288,14 @@ declare namespace eeTest {
296
288
  typeGuard: typeof import("./type-guards").isBoolean;
297
289
  defaultValue: boolean;
298
290
  };
291
+ platform_editor_controls: {
292
+ productKeys: {
293
+ confluence: string;
294
+ };
295
+ param: string;
296
+ typeGuard: (value: unknown) => value is "control" | "variant1";
297
+ defaultValue: "control" | "variant1";
298
+ };
299
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
300
  each: (describeBody: jest.EmptyFunction) => void;
301
301
  };
@@ -167,14 +167,6 @@ export declare const editorExperimentsConfig: {
167
167
  typeGuard: typeof isBoolean;
168
168
  defaultValue: boolean;
169
169
  };
170
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
170
  platform_editor_ai_unsplash_page_header: {
179
171
  productKeys: {
180
172
  confluence: string;
@@ -255,4 +247,12 @@ export declare const editorExperimentsConfig: {
255
247
  typeGuard: typeof isBoolean;
256
248
  defaultValue: boolean;
257
249
  };
250
+ platform_editor_controls: {
251
+ productKeys: {
252
+ confluence: string;
253
+ };
254
+ param: string;
255
+ typeGuard: (value: unknown) => value is "control" | "variant1";
256
+ defaultValue: "control" | "variant1";
257
+ };
258
258
  };
@@ -28,7 +28,6 @@ export declare let _overrides: Partial<{
28
28
  'nested-tables-in-tables': boolean;
29
29
  issue_view_action_items: boolean;
30
30
  contextual_formatting_toolbar: boolean;
31
- platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
32
31
  platform_editor_ai_unsplash_page_header: boolean;
33
32
  platform_editor_ai_advanced_prompts: boolean;
34
33
  expand_selection_range_to_include_inline_node: boolean;
@@ -39,6 +38,7 @@ export declare let _overrides: Partial<{
39
38
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
40
39
  platform_editor_ai_edit_response_in_preview: boolean;
41
40
  platform_editor_ai_jira_content_read_url: boolean;
41
+ platform_editor_controls: "control" | "variant1";
42
42
  }>;
43
43
  export declare let _paramOverrides: EditorExperimentParamOverrides;
44
44
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.43.0",
3
+ "version": "2.45.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",