@atlaskit/tmp-editor-statsig 2.30.0 → 2.31.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.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#99209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99209)
8
+ [`8785c6901d958`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8785c6901d958) -
9
+ [https://product-fabric.atlassian.net/browse/EDF-1802](EDF-1802) - remove
10
+ platform_editor_ai_response_history Statsig experiment
11
+
3
12
  ## 2.30.0
4
13
 
5
14
  ### Minor Changes
@@ -275,15 +275,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
275
275
  typeGuard: _typeGuards.isBoolean,
276
276
  defaultValue: false
277
277
  },
278
- // Added 2024-11-11
279
- platform_editor_ai_response_history: {
280
- productKeys: {
281
- confluence: 'platform_editor_ai_response_history'
282
- },
283
- param: 'isEnabled',
284
- typeGuard: _typeGuards.isBoolean,
285
- defaultValue: false
286
- },
287
278
  // Added 2024-11-13
288
279
  issue_view_action_items: {
289
280
  productKeys: {
@@ -114,7 +114,7 @@ eeTest.describe = function eeTestDescribe(experimentName, describeName) {
114
114
  eeTest(value, describeBody);
115
115
  }
116
116
  function each(describeBody) {
117
- let possibleValues =
117
+ const possibleValues =
118
118
  // @ts-ignore
119
119
  editorExperimentsConfig[experimentName].typeGuard.values;
120
120
  if (possibleValues) {
@@ -269,15 +269,6 @@ export const editorExperimentsConfig = {
269
269
  typeGuard: isBoolean,
270
270
  defaultValue: false
271
271
  },
272
- // Added 2024-11-11
273
- platform_editor_ai_response_history: {
274
- productKeys: {
275
- confluence: 'platform_editor_ai_response_history'
276
- },
277
- param: 'isEnabled',
278
- typeGuard: isBoolean,
279
- defaultValue: false
280
- },
281
272
  // Added 2024-11-13
282
273
  issue_view_action_items: {
283
274
  productKeys: {
@@ -269,15 +269,6 @@ export var editorExperimentsConfig = {
269
269
  typeGuard: isBoolean,
270
270
  defaultValue: false
271
271
  },
272
- // Added 2024-11-11
273
- platform_editor_ai_response_history: {
274
- productKeys: {
275
- confluence: 'platform_editor_ai_response_history'
276
- },
277
- param: 'isEnabled',
278
- typeGuard: isBoolean,
279
- defaultValue: false
280
- },
281
272
  // Added 2024-11-13
282
273
  issue_view_action_items: {
283
274
  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" | "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" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(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" | "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" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "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_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -272,14 +272,6 @@ declare namespace eeTest {
272
272
  typeGuard: typeof import("./type-guards").isBoolean;
273
273
  defaultValue: boolean;
274
274
  };
275
- platform_editor_ai_response_history: {
276
- productKeys: {
277
- confluence: string;
278
- };
279
- param: string;
280
- typeGuard: typeof import("./type-guards").isBoolean;
281
- defaultValue: boolean;
282
- };
283
275
  issue_view_action_items: {
284
276
  productKeys: {
285
277
  jira: string;
@@ -231,14 +231,6 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: typeof isBoolean;
232
232
  defaultValue: boolean;
233
233
  };
234
- platform_editor_ai_response_history: {
235
- productKeys: {
236
- confluence: string;
237
- };
238
- param: string;
239
- typeGuard: typeof isBoolean;
240
- defaultValue: boolean;
241
- };
242
234
  issue_view_action_items: {
243
235
  productKeys: {
244
236
  jira: string;
@@ -31,7 +31,6 @@ export declare let _overrides: Partial<{
31
31
  'nested-tables-in-tables': boolean;
32
32
  platform_editor_ai_mentions_support: boolean;
33
33
  platform_editor_ai_change_tone_floating_toolbar: boolean;
34
- platform_editor_ai_response_history: boolean;
35
34
  issue_view_action_items: boolean;
36
35
  contextual_formatting_toolbar: boolean;
37
36
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
@@ -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" | "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" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(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" | "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" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "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_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -272,14 +272,6 @@ declare namespace eeTest {
272
272
  typeGuard: typeof import("./type-guards").isBoolean;
273
273
  defaultValue: boolean;
274
274
  };
275
- platform_editor_ai_response_history: {
276
- productKeys: {
277
- confluence: string;
278
- };
279
- param: string;
280
- typeGuard: typeof import("./type-guards").isBoolean;
281
- defaultValue: boolean;
282
- };
283
275
  issue_view_action_items: {
284
276
  productKeys: {
285
277
  jira: string;
@@ -231,14 +231,6 @@ export declare const editorExperimentsConfig: {
231
231
  typeGuard: typeof isBoolean;
232
232
  defaultValue: boolean;
233
233
  };
234
- platform_editor_ai_response_history: {
235
- productKeys: {
236
- confluence: string;
237
- };
238
- param: string;
239
- typeGuard: typeof isBoolean;
240
- defaultValue: boolean;
241
- };
242
234
  issue_view_action_items: {
243
235
  productKeys: {
244
236
  jira: string;
@@ -31,7 +31,6 @@ export declare let _overrides: Partial<{
31
31
  'nested-tables-in-tables': boolean;
32
32
  platform_editor_ai_mentions_support: boolean;
33
33
  platform_editor_ai_change_tone_floating_toolbar: boolean;
34
- platform_editor_ai_response_history: boolean;
35
34
  issue_view_action_items: boolean;
36
35
  contextual_formatting_toolbar: boolean;
37
36
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.30.0",
3
+ "version": "2.31.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",