@atlaskit/tmp-editor-statsig 2.7.0 → 2.8.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.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#155195](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155195)
8
+ [`73c97aeb48ea9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c97aeb48ea9) -
9
+ Add platform_editor_support_table_in_comment_jira experiment to control table drag and drop and
10
+ table scaling features to support new table features in jira
11
+
3
12
  ## 2.7.0
4
13
 
5
14
  ### Minor Changes
@@ -295,5 +295,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
295
295
  param: 'cohort',
296
296
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
297
297
  defaultValue: 'control'
298
+ },
299
+ // Added 2024-10-08
300
+ support_table_in_comment_jira: {
301
+ productKeys: {
302
+ jira: 'platform_editor_support_table_in_comment_jira'
303
+ },
304
+ param: 'isEnabled',
305
+ typeGuard: _typeGuards.isBoolean,
306
+ defaultValue: false
298
307
  }
299
308
  };
@@ -289,5 +289,14 @@ export const editorExperimentsConfig = {
289
289
  param: 'cohort',
290
290
  typeGuard: oneOf(['control', 'test']),
291
291
  defaultValue: 'control'
292
+ },
293
+ // Added 2024-10-08
294
+ support_table_in_comment_jira: {
295
+ productKeys: {
296
+ jira: 'platform_editor_support_table_in_comment_jira'
297
+ },
298
+ param: 'isEnabled',
299
+ typeGuard: isBoolean,
300
+ defaultValue: false
292
301
  }
293
302
  };
@@ -289,5 +289,14 @@ export var editorExperimentsConfig = {
289
289
  param: 'cohort',
290
290
  typeGuard: oneOf(['control', 'test']),
291
291
  defaultValue: 'control'
292
+ },
293
+ // Added 2024-10-08
294
+ support_table_in_comment_jira: {
295
+ productKeys: {
296
+ jira: 'platform_editor_support_table_in_comment_jira'
297
+ },
298
+ param: 'isEnabled',
299
+ typeGuard: isBoolean,
300
+ defaultValue: false
292
301
  }
293
302
  };
@@ -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" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions">(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" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -288,6 +288,14 @@ declare namespace eeTest {
288
288
  typeGuard: (value: unknown) => value is "test" | "control";
289
289
  defaultValue: "test" | "control";
290
290
  };
291
+ support_table_in_comment_jira: {
292
+ productKeys: {
293
+ jira: string;
294
+ };
295
+ param: string;
296
+ typeGuard: typeof import("./type-guards").isBoolean;
297
+ defaultValue: boolean;
298
+ };
291
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
292
300
  each: (describeBody: jest.EmptyFunction) => void;
293
301
  };
@@ -247,4 +247,12 @@ export declare const editorExperimentsConfig: {
247
247
  typeGuard: (value: unknown) => value is "test" | "control";
248
248
  defaultValue: "test" | "control";
249
249
  };
250
+ support_table_in_comment_jira: {
251
+ productKeys: {
252
+ jira: string;
253
+ };
254
+ param: string;
255
+ typeGuard: typeof isBoolean;
256
+ defaultValue: boolean;
257
+ };
250
258
  };
@@ -33,6 +33,7 @@ export declare let _overrides: Partial<{
33
33
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
34
  advanced_layouts: boolean;
35
35
  platform_editor_live_pages_ai_definitions: "test" | "control";
36
+ support_table_in_comment_jira: boolean;
36
37
  }>;
37
38
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
38
39
  /**
@@ -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" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions">(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" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -288,6 +288,14 @@ declare namespace eeTest {
288
288
  typeGuard: (value: unknown) => value is "test" | "control";
289
289
  defaultValue: "test" | "control";
290
290
  };
291
+ support_table_in_comment_jira: {
292
+ productKeys: {
293
+ jira: string;
294
+ };
295
+ param: string;
296
+ typeGuard: typeof import("./type-guards").isBoolean;
297
+ defaultValue: boolean;
298
+ };
291
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
292
300
  each: (describeBody: jest.EmptyFunction) => void;
293
301
  };
@@ -247,4 +247,12 @@ export declare const editorExperimentsConfig: {
247
247
  typeGuard: (value: unknown) => value is "test" | "control";
248
248
  defaultValue: "test" | "control";
249
249
  };
250
+ support_table_in_comment_jira: {
251
+ productKeys: {
252
+ jira: string;
253
+ };
254
+ param: string;
255
+ typeGuard: typeof isBoolean;
256
+ defaultValue: boolean;
257
+ };
250
258
  };
@@ -33,6 +33,7 @@ export declare let _overrides: Partial<{
33
33
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
34
  advanced_layouts: boolean;
35
35
  platform_editor_live_pages_ai_definitions: "test" | "control";
36
+ support_table_in_comment_jira: boolean;
36
37
  }>;
37
38
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
38
39
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.7.0",
3
+ "version": "2.8.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",