@atlaskit/tmp-editor-statsig 2.27.0 → 2.28.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.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#180067](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/180067)
8
+ [`fdee6c449ca83`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fdee6c449ca83) -
9
+ [ux] Adding block quote as an option to the text formatting menu for full page editors
10
+
11
+ ## 2.27.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#179266](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/179266)
16
+ [`19a796ab55276`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19a796ab55276) -
17
+ EDF-2116 - Cleanup FG platform_editor_ai_release_additional_prompts and experiment
18
+ platform_editor_ai_additional_editor_prompts
19
+
3
20
  ## 2.27.0
4
21
 
5
22
  ### Minor Changes
@@ -183,16 +183,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
183
183
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
184
184
  defaultValue: 'control'
185
185
  },
186
- // Added 2024-10-02
187
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
188
- platform_editor_ai_additional_editor_prompts: {
189
- productKeys: {
190
- confluence: 'platform_editor_ai_additional_editor_prompts'
191
- },
192
- param: 'cohort',
193
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
194
- defaultValue: 'control'
195
- },
196
186
  // Added 2024-10-01
197
187
  comment_on_bodied_extensions: {
198
188
  productKeys: {
@@ -383,5 +373,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
383
373
  param: 'isEnabled',
384
374
  typeGuard: _typeGuards.isBoolean,
385
375
  defaultValue: false
376
+ },
377
+ // Added 2024-12-05
378
+ platform_editor_blockquote_in_text_formatting_menu: {
379
+ productKeys: {
380
+ confluence: 'platform_editor_blockquote_in_text_formatting_menu'
381
+ },
382
+ param: 'isEnabled',
383
+ typeGuard: _typeGuards.isBoolean,
384
+ defaultValue: false
386
385
  }
387
386
  };
@@ -177,16 +177,6 @@ export const editorExperimentsConfig = {
177
177
  typeGuard: oneOf(['control', 'test']),
178
178
  defaultValue: 'control'
179
179
  },
180
- // Added 2024-10-02
181
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
182
- platform_editor_ai_additional_editor_prompts: {
183
- productKeys: {
184
- confluence: 'platform_editor_ai_additional_editor_prompts'
185
- },
186
- param: 'cohort',
187
- typeGuard: oneOf(['control', 'test']),
188
- defaultValue: 'control'
189
- },
190
180
  // Added 2024-10-01
191
181
  comment_on_bodied_extensions: {
192
182
  productKeys: {
@@ -377,5 +367,14 @@ export const editorExperimentsConfig = {
377
367
  param: 'isEnabled',
378
368
  typeGuard: isBoolean,
379
369
  defaultValue: false
370
+ },
371
+ // Added 2024-12-05
372
+ platform_editor_blockquote_in_text_formatting_menu: {
373
+ productKeys: {
374
+ confluence: 'platform_editor_blockquote_in_text_formatting_menu'
375
+ },
376
+ param: 'isEnabled',
377
+ typeGuard: isBoolean,
378
+ defaultValue: false
380
379
  }
381
380
  };
@@ -177,16 +177,6 @@ export var editorExperimentsConfig = {
177
177
  typeGuard: oneOf(['control', 'test']),
178
178
  defaultValue: 'control'
179
179
  },
180
- // Added 2024-10-02
181
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
182
- platform_editor_ai_additional_editor_prompts: {
183
- productKeys: {
184
- confluence: 'platform_editor_ai_additional_editor_prompts'
185
- },
186
- param: 'cohort',
187
- typeGuard: oneOf(['control', 'test']),
188
- defaultValue: 'control'
189
- },
190
180
  // Added 2024-10-01
191
181
  comment_on_bodied_extensions: {
192
182
  productKeys: {
@@ -377,5 +367,14 @@ export var editorExperimentsConfig = {
377
367
  param: 'isEnabled',
378
368
  typeGuard: isBoolean,
379
369
  defaultValue: false
370
+ },
371
+ // Added 2024-12-05
372
+ platform_editor_blockquote_in_text_formatting_menu: {
373
+ productKeys: {
374
+ confluence: 'platform_editor_blockquote_in_text_formatting_menu'
375
+ },
376
+ param: 'isEnabled',
377
+ typeGuard: isBoolean,
378
+ defaultValue: false
380
379
  }
381
380
  };
@@ -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" | "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_mentions_support" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(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" | "comment_on_bodied_extensions" | "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_mentions_support" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -192,14 +192,6 @@ declare namespace eeTest {
192
192
  typeGuard: (value: unknown) => value is "test" | "control";
193
193
  defaultValue: "test" | "control";
194
194
  };
195
- platform_editor_ai_additional_editor_prompts: {
196
- productKeys: {
197
- confluence: string;
198
- };
199
- param: string;
200
- typeGuard: (value: unknown) => value is "test" | "control";
201
- defaultValue: "test" | "control";
202
- };
203
195
  comment_on_bodied_extensions: {
204
196
  productKeys: {
205
197
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ platform_editor_blockquote_in_text_formatting_menu: {
364
+ productKeys: {
365
+ confluence: string;
366
+ };
367
+ param: string;
368
+ typeGuard: typeof import("./type-guards").isBoolean;
369
+ defaultValue: boolean;
370
+ };
371
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
372
372
  each: (describeBody: jest.EmptyFunction) => void;
373
373
  };
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
151
151
  typeGuard: (value: unknown) => value is "test" | "control";
152
152
  defaultValue: "test" | "control";
153
153
  };
154
- platform_editor_ai_additional_editor_prompts: {
155
- productKeys: {
156
- confluence: string;
157
- };
158
- param: string;
159
- typeGuard: (value: unknown) => value is "test" | "control";
160
- defaultValue: "test" | "control";
161
- };
162
154
  comment_on_bodied_extensions: {
163
155
  productKeys: {
164
156
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ platform_editor_blockquote_in_text_formatting_menu: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -21,7 +21,6 @@ export declare let _overrides: Partial<{
21
21
  'nested-expand-in-expand': boolean;
22
22
  platform_editor_table_use_shared_state_hook: boolean;
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
- platform_editor_ai_additional_editor_prompts: "test" | "control";
25
24
  comment_on_bodied_extensions: boolean;
26
25
  advanced_layouts: boolean;
27
26
  support_table_in_comment_jira: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_unsplash_page_header: boolean;
44
43
  expand_selection_range_to_include_inline_node: boolean;
45
44
  platform_editor_ai_knowledge_from_current_page: boolean;
45
+ platform_editor_blockquote_in_text_formatting_menu: boolean;
46
46
  }>;
47
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
48
48
  /**
@@ -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" | "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_mentions_support" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(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" | "comment_on_bodied_extensions" | "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_mentions_support" | "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" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -192,14 +192,6 @@ declare namespace eeTest {
192
192
  typeGuard: (value: unknown) => value is "test" | "control";
193
193
  defaultValue: "test" | "control";
194
194
  };
195
- platform_editor_ai_additional_editor_prompts: {
196
- productKeys: {
197
- confluence: string;
198
- };
199
- param: string;
200
- typeGuard: (value: unknown) => value is "test" | "control";
201
- defaultValue: "test" | "control";
202
- };
203
195
  comment_on_bodied_extensions: {
204
196
  productKeys: {
205
197
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ platform_editor_blockquote_in_text_formatting_menu: {
364
+ productKeys: {
365
+ confluence: string;
366
+ };
367
+ param: string;
368
+ typeGuard: typeof import("./type-guards").isBoolean;
369
+ defaultValue: boolean;
370
+ };
371
371
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
372
372
  each: (describeBody: jest.EmptyFunction) => void;
373
373
  };
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
151
151
  typeGuard: (value: unknown) => value is "test" | "control";
152
152
  defaultValue: "test" | "control";
153
153
  };
154
- platform_editor_ai_additional_editor_prompts: {
155
- productKeys: {
156
- confluence: string;
157
- };
158
- param: string;
159
- typeGuard: (value: unknown) => value is "test" | "control";
160
- defaultValue: "test" | "control";
161
- };
162
154
  comment_on_bodied_extensions: {
163
155
  productKeys: {
164
156
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ platform_editor_blockquote_in_text_formatting_menu: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -21,7 +21,6 @@ export declare let _overrides: Partial<{
21
21
  'nested-expand-in-expand': boolean;
22
22
  platform_editor_table_use_shared_state_hook: boolean;
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
- platform_editor_ai_additional_editor_prompts: "test" | "control";
25
24
  comment_on_bodied_extensions: boolean;
26
25
  advanced_layouts: boolean;
27
26
  support_table_in_comment_jira: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_unsplash_page_header: boolean;
44
43
  expand_selection_range_to_include_inline_node: boolean;
45
44
  platform_editor_ai_knowledge_from_current_page: boolean;
45
+ platform_editor_blockquote_in_text_formatting_menu: boolean;
46
46
  }>;
47
47
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
48
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.27.0",
3
+ "version": "2.28.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",