@atlaskit/tmp-editor-statsig 2.13.1 → 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,14 @@
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
+
3
12
  ## 2.13.1
4
13
 
5
14
  ### Patch 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: {
@@ -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: {
@@ -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: {
@@ -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" | "platform_editor_ai_response_history">(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;
@@ -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;
@@ -37,6 +37,7 @@ 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;
41
42
  platform_editor_ai_response_history: boolean;
42
43
  }>;
@@ -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" | "platform_editor_ai_response_history">(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;
@@ -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;
@@ -37,6 +37,7 @@ 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;
41
42
  platform_editor_ai_response_history: boolean;
42
43
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.13.1",
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",