@atlaskit/tmp-editor-statsig 2.40.0 → 2.40.1

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.40.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105419](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105419)
8
+ [`d9cef763b7140`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d9cef763b7140) -
9
+ EDF-2255 Configure statsig for content read
10
+
3
11
  ## 2.40.0
4
12
 
5
13
  ### Minor Changes
@@ -328,5 +328,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
328
328
  param: 'isEnabled',
329
329
  typeGuard: _typeGuards.isBoolean,
330
330
  defaultValue: false
331
+ },
332
+ // Added 2025-01-22
333
+ platform_editor_ai_jira_content_read_url: {
334
+ productKeys: {
335
+ jira: 'platform_editor_ai_jira_content_read_url'
336
+ },
337
+ param: 'isEnabled',
338
+ typeGuard: _typeGuards.isBoolean,
339
+ defaultValue: false
331
340
  }
332
341
  };
@@ -322,5 +322,14 @@ export const editorExperimentsConfig = {
322
322
  param: 'isEnabled',
323
323
  typeGuard: isBoolean,
324
324
  defaultValue: false
325
+ },
326
+ // Added 2025-01-22
327
+ platform_editor_ai_jira_content_read_url: {
328
+ productKeys: {
329
+ jira: 'platform_editor_ai_jira_content_read_url'
330
+ },
331
+ param: 'isEnabled',
332
+ typeGuard: isBoolean,
333
+ defaultValue: false
325
334
  }
326
335
  };
@@ -322,5 +322,14 @@ export var editorExperimentsConfig = {
322
322
  param: 'isEnabled',
323
323
  typeGuard: isBoolean,
324
324
  defaultValue: false
325
+ },
326
+ // Added 2025-01-22
327
+ platform_editor_ai_jira_content_read_url: {
328
+ productKeys: {
329
+ jira: 'platform_editor_ai_jira_content_read_url'
330
+ },
331
+ param: 'isEnabled',
332
+ typeGuard: isBoolean,
333
+ defaultValue: false
325
334
  }
326
335
  };
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url">(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
+ platform_editor_ai_jira_content_read_url: {
324
+ productKeys: {
325
+ jira: string;
326
+ };
327
+ param: string;
328
+ typeGuard: typeof import("./type-guards").isBoolean;
329
+ defaultValue: boolean;
330
+ };
323
331
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
324
332
  each: (describeBody: jest.EmptyFunction) => void;
325
333
  };
@@ -279,4 +279,12 @@ export declare const editorExperimentsConfig: {
279
279
  typeGuard: typeof isBoolean;
280
280
  defaultValue: boolean;
281
281
  };
282
+ platform_editor_ai_jira_content_read_url: {
283
+ productKeys: {
284
+ jira: string;
285
+ };
286
+ param: string;
287
+ typeGuard: typeof isBoolean;
288
+ defaultValue: boolean;
289
+ };
282
290
  };
@@ -46,7 +46,7 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
46
46
  }): boolean;
47
47
  type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
- params: 'view-mode-intent-to-edit' | 'delay';
49
+ params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
51
  };
52
52
  /**
@@ -42,6 +42,7 @@ export declare let _overrides: Partial<{
42
42
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
43
43
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
44
44
  platform_editor_ai_edit_response_in_preview: boolean;
45
+ platform_editor_ai_jira_content_read_url: boolean;
45
46
  }>;
46
47
  export declare let _paramOverrides: EditorExperimentParamOverrides;
47
48
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url">(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
+ platform_editor_ai_jira_content_read_url: {
324
+ productKeys: {
325
+ jira: string;
326
+ };
327
+ param: string;
328
+ typeGuard: typeof import("./type-guards").isBoolean;
329
+ defaultValue: boolean;
330
+ };
323
331
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
324
332
  each: (describeBody: jest.EmptyFunction) => void;
325
333
  };
@@ -279,4 +279,12 @@ export declare const editorExperimentsConfig: {
279
279
  typeGuard: typeof isBoolean;
280
280
  defaultValue: boolean;
281
281
  };
282
+ platform_editor_ai_jira_content_read_url: {
283
+ productKeys: {
284
+ jira: string;
285
+ };
286
+ param: string;
287
+ typeGuard: typeof isBoolean;
288
+ defaultValue: boolean;
289
+ };
282
290
  };
@@ -46,7 +46,7 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
46
46
  }): boolean;
47
47
  type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
- params: 'view-mode-intent-to-edit' | 'delay';
49
+ params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
51
  };
52
52
  /**
@@ -42,6 +42,7 @@ export declare let _overrides: Partial<{
42
42
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
43
43
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
44
44
  platform_editor_ai_edit_response_in_preview: boolean;
45
+ platform_editor_ai_jira_content_read_url: boolean;
45
46
  }>;
46
47
  export declare let _paramOverrides: EditorExperimentParamOverrides;
47
48
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.40.0",
3
+ "version": "2.40.1",
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",