@atlaskit/tmp-editor-statsig 2.13.0 → 2.14.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.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#161296](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161296)
8
+ [`9a6292ab637fa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a6292ab637fa) -
9
+ [ED-25521] Add experiment based gating to the insertion logic for nested tables, so we only allow
10
+ nesting tables one level deep when the experiment is active
11
+
12
+ ## 2.13.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#162401](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162401)
17
+ [`da610ad81acb7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da610ad81acb7) -
18
+ EDF-1910 Added platform_editor_ai_response_history
19
+
3
20
  ## 2.13.0
4
21
 
5
22
  ### Minor Changes
@@ -328,6 +328,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
328
328
  typeGuard: _typeGuards.isBoolean,
329
329
  defaultValue: false
330
330
  },
331
+ // added 2024-11-06
332
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
333
+ 'nested-tables-in-tables': {
334
+ productKeys: {
335
+ confluence: 'platform_editor_nested_tables'
336
+ },
337
+ param: 'isEnabled',
338
+ typeGuard: _typeGuards.isBoolean,
339
+ defaultValue: false
340
+ },
331
341
  // Added 2024-11-06
332
342
  platform_editor_ai_change_tone_floating_toolbar: {
333
343
  productKeys: {
@@ -336,5 +346,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
336
346
  param: 'isEnabled',
337
347
  typeGuard: _typeGuards.isBoolean,
338
348
  defaultValue: false
349
+ },
350
+ // Added 2024-11-11
351
+ platform_editor_ai_response_history: {
352
+ productKeys: {
353
+ confluence: 'platform_editor_ai_response_history'
354
+ },
355
+ param: 'isEnabled',
356
+ typeGuard: _typeGuards.isBoolean,
357
+ defaultValue: false
339
358
  }
340
359
  };
@@ -322,6 +322,16 @@ export const editorExperimentsConfig = {
322
322
  typeGuard: isBoolean,
323
323
  defaultValue: false
324
324
  },
325
+ // added 2024-11-06
326
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
327
+ 'nested-tables-in-tables': {
328
+ productKeys: {
329
+ confluence: 'platform_editor_nested_tables'
330
+ },
331
+ param: 'isEnabled',
332
+ typeGuard: isBoolean,
333
+ defaultValue: false
334
+ },
325
335
  // Added 2024-11-06
326
336
  platform_editor_ai_change_tone_floating_toolbar: {
327
337
  productKeys: {
@@ -330,5 +340,14 @@ export const editorExperimentsConfig = {
330
340
  param: 'isEnabled',
331
341
  typeGuard: isBoolean,
332
342
  defaultValue: false
343
+ },
344
+ // Added 2024-11-11
345
+ platform_editor_ai_response_history: {
346
+ productKeys: {
347
+ confluence: 'platform_editor_ai_response_history'
348
+ },
349
+ param: 'isEnabled',
350
+ typeGuard: isBoolean,
351
+ defaultValue: false
333
352
  }
334
353
  };
@@ -322,6 +322,16 @@ export var editorExperimentsConfig = {
322
322
  typeGuard: isBoolean,
323
323
  defaultValue: false
324
324
  },
325
+ // added 2024-11-06
326
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
327
+ 'nested-tables-in-tables': {
328
+ productKeys: {
329
+ confluence: 'platform_editor_nested_tables'
330
+ },
331
+ param: 'isEnabled',
332
+ typeGuard: isBoolean,
333
+ defaultValue: false
334
+ },
325
335
  // Added 2024-11-06
326
336
  platform_editor_ai_change_tone_floating_toolbar: {
327
337
  productKeys: {
@@ -330,5 +340,14 @@ export var editorExperimentsConfig = {
330
340
  param: 'isEnabled',
331
341
  typeGuard: isBoolean,
332
342
  defaultValue: false
343
+ },
344
+ // Added 2024-11-11
345
+ platform_editor_ai_response_history: {
346
+ productKeys: {
347
+ confluence: 'platform_editor_ai_response_history'
348
+ },
349
+ param: 'isEnabled',
350
+ typeGuard: isBoolean,
351
+ defaultValue: false
333
352
  }
334
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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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" | "platform_editor_empty_line_prompt" | "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">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -320,6 +320,14 @@ declare namespace eeTest {
320
320
  typeGuard: typeof import("./type-guards").isBoolean;
321
321
  defaultValue: boolean;
322
322
  };
323
+ 'nested-tables-in-tables': {
324
+ productKeys: {
325
+ confluence: string;
326
+ };
327
+ param: string;
328
+ typeGuard: typeof import("./type-guards").isBoolean;
329
+ defaultValue: boolean;
330
+ };
323
331
  platform_editor_ai_change_tone_floating_toolbar: {
324
332
  productKeys: {
325
333
  confluence: string;
@@ -328,6 +336,14 @@ declare namespace eeTest {
328
336
  typeGuard: typeof import("./type-guards").isBoolean;
329
337
  defaultValue: boolean;
330
338
  };
339
+ platform_editor_ai_response_history: {
340
+ productKeys: {
341
+ confluence: string;
342
+ };
343
+ param: string;
344
+ typeGuard: typeof import("./type-guards").isBoolean;
345
+ defaultValue: boolean;
346
+ };
331
347
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
332
348
  each: (describeBody: jest.EmptyFunction) => void;
333
349
  };
@@ -279,6 +279,14 @@ export declare const editorExperimentsConfig: {
279
279
  typeGuard: typeof isBoolean;
280
280
  defaultValue: boolean;
281
281
  };
282
+ 'nested-tables-in-tables': {
283
+ productKeys: {
284
+ confluence: string;
285
+ };
286
+ param: string;
287
+ typeGuard: typeof isBoolean;
288
+ defaultValue: boolean;
289
+ };
282
290
  platform_editor_ai_change_tone_floating_toolbar: {
283
291
  productKeys: {
284
292
  confluence: string;
@@ -287,4 +295,12 @@ export declare const editorExperimentsConfig: {
287
295
  typeGuard: typeof isBoolean;
288
296
  defaultValue: boolean;
289
297
  };
298
+ platform_editor_ai_response_history: {
299
+ productKeys: {
300
+ confluence: string;
301
+ };
302
+ param: string;
303
+ typeGuard: typeof isBoolean;
304
+ defaultValue: boolean;
305
+ };
290
306
  };
@@ -37,7 +37,9 @@ export declare let _overrides: Partial<{
37
37
  'platform_editor_ai-prompts-placeholder': "test" | "control";
38
38
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
39
39
  platform_editor_ai_facepile: boolean;
40
+ 'nested-tables-in-tables': boolean;
40
41
  platform_editor_ai_change_tone_floating_toolbar: boolean;
42
+ platform_editor_ai_response_history: boolean;
41
43
  }>;
42
44
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
43
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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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" | "platform_editor_empty_line_prompt" | "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">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -320,6 +320,14 @@ declare namespace eeTest {
320
320
  typeGuard: typeof import("./type-guards").isBoolean;
321
321
  defaultValue: boolean;
322
322
  };
323
+ 'nested-tables-in-tables': {
324
+ productKeys: {
325
+ confluence: string;
326
+ };
327
+ param: string;
328
+ typeGuard: typeof import("./type-guards").isBoolean;
329
+ defaultValue: boolean;
330
+ };
323
331
  platform_editor_ai_change_tone_floating_toolbar: {
324
332
  productKeys: {
325
333
  confluence: string;
@@ -328,6 +336,14 @@ declare namespace eeTest {
328
336
  typeGuard: typeof import("./type-guards").isBoolean;
329
337
  defaultValue: boolean;
330
338
  };
339
+ platform_editor_ai_response_history: {
340
+ productKeys: {
341
+ confluence: string;
342
+ };
343
+ param: string;
344
+ typeGuard: typeof import("./type-guards").isBoolean;
345
+ defaultValue: boolean;
346
+ };
331
347
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
332
348
  each: (describeBody: jest.EmptyFunction) => void;
333
349
  };
@@ -279,6 +279,14 @@ export declare const editorExperimentsConfig: {
279
279
  typeGuard: typeof isBoolean;
280
280
  defaultValue: boolean;
281
281
  };
282
+ 'nested-tables-in-tables': {
283
+ productKeys: {
284
+ confluence: string;
285
+ };
286
+ param: string;
287
+ typeGuard: typeof isBoolean;
288
+ defaultValue: boolean;
289
+ };
282
290
  platform_editor_ai_change_tone_floating_toolbar: {
283
291
  productKeys: {
284
292
  confluence: string;
@@ -287,4 +295,12 @@ export declare const editorExperimentsConfig: {
287
295
  typeGuard: typeof isBoolean;
288
296
  defaultValue: boolean;
289
297
  };
298
+ platform_editor_ai_response_history: {
299
+ productKeys: {
300
+ confluence: string;
301
+ };
302
+ param: string;
303
+ typeGuard: typeof isBoolean;
304
+ defaultValue: boolean;
305
+ };
290
306
  };
@@ -37,7 +37,9 @@ export declare let _overrides: Partial<{
37
37
  'platform_editor_ai-prompts-placeholder': "test" | "control";
38
38
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
39
39
  platform_editor_ai_facepile: boolean;
40
+ 'nested-tables-in-tables': boolean;
40
41
  platform_editor_ai_change_tone_floating_toolbar: boolean;
42
+ platform_editor_ai_response_history: boolean;
41
43
  }>;
42
44
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
43
45
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.13.0",
3
+ "version": "2.14.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",