@atlaskit/tmp-editor-statsig 2.5.0 → 2.6.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,13 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#153024](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153024)
8
+ [`0200c770ddcb2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0200c770ddcb2) -
9
+ [ux] Add multiple column layout via quick insert
10
+
3
11
  ## 2.5.0
4
12
 
5
13
  ### Minor Changes
@@ -275,5 +275,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
275
275
  param: 'cohort',
276
276
  typeGuard: (0, _typeGuards.oneOf)(['control', 'example-placeholders', 'tip-placeholders']),
277
277
  defaultValue: 'control'
278
+ },
279
+ // Added 2024-10-14
280
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
281
+ advanced_layouts: {
282
+ productKeys: {
283
+ confluence: 'platform_editor_advanced_layouts'
284
+ },
285
+ param: 'isEnabled',
286
+ typeGuard: _typeGuards.isBoolean,
287
+ defaultValue: false
278
288
  }
279
289
  };
@@ -269,5 +269,15 @@ export const editorExperimentsConfig = {
269
269
  param: 'cohort',
270
270
  typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
271
271
  defaultValue: 'control'
272
+ },
273
+ // Added 2024-10-14
274
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
275
+ advanced_layouts: {
276
+ productKeys: {
277
+ confluence: 'platform_editor_advanced_layouts'
278
+ },
279
+ param: 'isEnabled',
280
+ typeGuard: isBoolean,
281
+ defaultValue: false
272
282
  }
273
283
  };
@@ -269,5 +269,15 @@ export var editorExperimentsConfig = {
269
269
  param: 'cohort',
270
270
  typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
271
271
  defaultValue: 'control'
272
+ },
273
+ // Added 2024-10-14
274
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
275
+ advanced_layouts: {
276
+ productKeys: {
277
+ confluence: 'platform_editor_advanced_layouts'
278
+ },
279
+ param: 'isEnabled',
280
+ typeGuard: isBoolean,
281
+ defaultValue: false
272
282
  }
273
283
  };
@@ -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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints">(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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -272,6 +272,14 @@ declare namespace eeTest {
272
272
  typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
273
273
  defaultValue: "control" | "example-placeholders" | "tip-placeholders";
274
274
  };
275
+ advanced_layouts: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: typeof import("./type-guards").isBoolean;
281
+ defaultValue: boolean;
282
+ };
275
283
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
276
284
  each: (describeBody: jest.EmptyFunction) => void;
277
285
  };
@@ -231,4 +231,12 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
232
232
  defaultValue: "control" | "example-placeholders" | "tip-placeholders";
233
233
  };
234
+ advanced_layouts: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: typeof isBoolean;
240
+ defaultValue: boolean;
241
+ };
234
242
  };
@@ -31,6 +31,7 @@ export declare let _overrides: Partial<{
31
31
  typography_migration_ugc: boolean;
32
32
  'optimised-apply-dnd': boolean;
33
33
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
+ advanced_layouts: boolean;
34
35
  }>;
35
36
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
36
37
  /**
@@ -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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints">(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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -272,6 +272,14 @@ declare namespace eeTest {
272
272
  typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
273
273
  defaultValue: "control" | "example-placeholders" | "tip-placeholders";
274
274
  };
275
+ advanced_layouts: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: typeof import("./type-guards").isBoolean;
281
+ defaultValue: boolean;
282
+ };
275
283
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
276
284
  each: (describeBody: jest.EmptyFunction) => void;
277
285
  };
@@ -231,4 +231,12 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
232
232
  defaultValue: "control" | "example-placeholders" | "tip-placeholders";
233
233
  };
234
+ advanced_layouts: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: typeof isBoolean;
240
+ defaultValue: boolean;
241
+ };
234
242
  };
@@ -31,6 +31,7 @@ export declare let _overrides: Partial<{
31
31
  typography_migration_ugc: boolean;
32
32
  'optimised-apply-dnd': boolean;
33
33
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
+ advanced_layouts: boolean;
34
35
  }>;
35
36
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
36
37
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.5.0",
3
+ "version": "2.6.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",