@atlaskit/tmp-editor-statsig 2.24.0 → 2.26.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.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#175572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/175572)
8
+ [`40f53d4bf8e1a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f53d4bf8e1a) -
9
+ [ux] EDF-1636: Remove 1p placeholder hints experiment platform_editor_ai_1p_placeholder_hints
10
+ making control the default experience again
11
+
12
+ ## 2.25.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#169428](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169428)
17
+ [`ded743b539788`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ded743b539788) -
18
+ [ux] ED-25865 auto expand selection to include inline node
19
+
3
20
  ## 2.24.0
4
21
 
5
22
  ### Minor Changes
@@ -209,16 +209,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
209
209
  typeGuard: _typeGuards.isBoolean,
210
210
  defaultValue: false
211
211
  },
212
- // Added 2024-10-16
213
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
214
- platform_editor_ai_1p_placeholder_hints: {
215
- productKeys: {
216
- confluence: 'platform_editor_ai_1p_placeholder_hints'
217
- },
218
- param: 'cohort',
219
- typeGuard: (0, _typeGuards.oneOf)(['control', 'example-placeholders', 'tip-placeholders']),
220
- defaultValue: 'control'
221
- },
222
212
  // Added 2024-10-14
223
213
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
224
214
  advanced_layouts: {
@@ -383,5 +373,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
383
373
  param: 'isEnabled',
384
374
  typeGuard: _typeGuards.isBoolean,
385
375
  defaultValue: false
376
+ },
377
+ expand_selection_range_to_include_inline_node: {
378
+ productKeys: {
379
+ confluence: 'expand_selection_range_to_include_inline_node'
380
+ },
381
+ param: 'isEnabled',
382
+ typeGuard: _typeGuards.isBoolean,
383
+ defaultValue: false
386
384
  }
387
385
  };
@@ -203,16 +203,6 @@ export const editorExperimentsConfig = {
203
203
  typeGuard: isBoolean,
204
204
  defaultValue: false
205
205
  },
206
- // Added 2024-10-16
207
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
208
- platform_editor_ai_1p_placeholder_hints: {
209
- productKeys: {
210
- confluence: 'platform_editor_ai_1p_placeholder_hints'
211
- },
212
- param: 'cohort',
213
- typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
214
- defaultValue: 'control'
215
- },
216
206
  // Added 2024-10-14
217
207
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
208
  advanced_layouts: {
@@ -377,5 +367,13 @@ export const editorExperimentsConfig = {
377
367
  param: 'isEnabled',
378
368
  typeGuard: isBoolean,
379
369
  defaultValue: false
370
+ },
371
+ expand_selection_range_to_include_inline_node: {
372
+ productKeys: {
373
+ confluence: 'expand_selection_range_to_include_inline_node'
374
+ },
375
+ param: 'isEnabled',
376
+ typeGuard: isBoolean,
377
+ defaultValue: false
380
378
  }
381
379
  };
@@ -203,16 +203,6 @@ export var editorExperimentsConfig = {
203
203
  typeGuard: isBoolean,
204
204
  defaultValue: false
205
205
  },
206
- // Added 2024-10-16
207
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
208
- platform_editor_ai_1p_placeholder_hints: {
209
- productKeys: {
210
- confluence: 'platform_editor_ai_1p_placeholder_hints'
211
- },
212
- param: 'cohort',
213
- typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
214
- defaultValue: 'control'
215
- },
216
206
  // Added 2024-10-14
217
207
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
218
208
  advanced_layouts: {
@@ -377,5 +367,13 @@ export var editorExperimentsConfig = {
377
367
  param: 'isEnabled',
378
368
  typeGuard: isBoolean,
379
369
  defaultValue: false
370
+ },
371
+ expand_selection_range_to_include_inline_node: {
372
+ productKeys: {
373
+ confluence: 'expand_selection_range_to_include_inline_node'
374
+ },
375
+ param: 'isEnabled',
376
+ typeGuard: isBoolean,
377
+ defaultValue: false
380
378
  }
381
379
  };
@@ -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" | "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" | "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">(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" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "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">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
219
- platform_editor_ai_1p_placeholder_hints: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
225
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
226
- };
227
219
  advanced_layouts: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ expand_selection_range_to_include_inline_node: {
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
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
178
- platform_editor_ai_1p_placeholder_hints: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
184
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
185
- };
186
178
  advanced_layouts: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ expand_selection_range_to_include_inline_node: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
26
  'optimised-apply-dnd': boolean;
27
- platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
28
27
  advanced_layouts: boolean;
29
28
  support_table_in_comment_jira: boolean;
30
29
  comment_on_inline_node_spotlight: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
44
43
  platform_editor_ai_draft_with_ai: boolean;
45
44
  platform_editor_ai_unsplash_page_header: boolean;
45
+ expand_selection_range_to_include_inline_node: 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" | "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" | "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">(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" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "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">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
219
- platform_editor_ai_1p_placeholder_hints: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
225
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
226
- };
227
219
  advanced_layouts: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -368,6 +360,14 @@ declare namespace eeTest {
368
360
  typeGuard: typeof import("./type-guards").isBoolean;
369
361
  defaultValue: boolean;
370
362
  };
363
+ expand_selection_range_to_include_inline_node: {
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
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
178
- platform_editor_ai_1p_placeholder_hints: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
184
- defaultValue: "control" | "example-placeholders" | "tip-placeholders";
185
- };
186
178
  advanced_layouts: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -327,4 +319,12 @@ export declare const editorExperimentsConfig: {
327
319
  typeGuard: typeof isBoolean;
328
320
  defaultValue: boolean;
329
321
  };
322
+ expand_selection_range_to_include_inline_node: {
323
+ productKeys: {
324
+ confluence: string;
325
+ };
326
+ param: string;
327
+ typeGuard: typeof isBoolean;
328
+ defaultValue: boolean;
329
+ };
330
330
  };
@@ -24,7 +24,6 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
25
25
  comment_on_bodied_extensions: boolean;
26
26
  'optimised-apply-dnd': boolean;
27
- platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
28
27
  advanced_layouts: boolean;
29
28
  support_table_in_comment_jira: boolean;
30
29
  comment_on_inline_node_spotlight: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
44
43
  platform_editor_ai_draft_with_ai: boolean;
45
44
  platform_editor_ai_unsplash_page_header: boolean;
45
+ expand_selection_range_to_include_inline_node: 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.24.0",
3
+ "version": "2.26.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",