@atlaskit/tmp-editor-statsig 2.30.0 → 2.32.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,23 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#100022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100022)
8
+ [`0010534ce6037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0010534ce6037) -
9
+ [https://product-fabric.atlassian.net/browse/EDF-2058](EDF-2058) - cleanup
10
+ platform_editor_ai_knowledge_from_current_page Statsig experiment
11
+
12
+ ## 2.31.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#99209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99209)
17
+ [`8785c6901d958`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8785c6901d958) -
18
+ [https://product-fabric.atlassian.net/browse/EDF-1802](EDF-1802) - remove
19
+ platform_editor_ai_response_history Statsig experiment
20
+
3
21
  ## 2.30.0
4
22
 
5
23
  ### 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: {
@@ -337,15 +328,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
337
328
  typeGuard: _typeGuards.isBoolean,
338
329
  defaultValue: false
339
330
  },
340
- // Added 2024-12-03
341
- platform_editor_ai_knowledge_from_current_page: {
342
- productKeys: {
343
- confluence: 'platform_editor_ai_knowledge_from_current_page'
344
- },
345
- param: 'isEnabled',
346
- typeGuard: _typeGuards.isBoolean,
347
- defaultValue: false
348
- },
349
331
  // Added 2024-12-05
350
332
  platform_editor_blockquote_in_text_formatting_menu: {
351
333
  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: {
@@ -331,15 +322,6 @@ export const editorExperimentsConfig = {
331
322
  typeGuard: isBoolean,
332
323
  defaultValue: false
333
324
  },
334
- // Added 2024-12-03
335
- platform_editor_ai_knowledge_from_current_page: {
336
- productKeys: {
337
- confluence: 'platform_editor_ai_knowledge_from_current_page'
338
- },
339
- param: 'isEnabled',
340
- typeGuard: isBoolean,
341
- defaultValue: false
342
- },
343
325
  // Added 2024-12-05
344
326
  platform_editor_blockquote_in_text_formatting_menu: {
345
327
  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: {
@@ -331,15 +322,6 @@ export var editorExperimentsConfig = {
331
322
  typeGuard: isBoolean,
332
323
  defaultValue: false
333
324
  },
334
- // Added 2024-12-03
335
- platform_editor_ai_knowledge_from_current_page: {
336
- productKeys: {
337
- confluence: 'platform_editor_ai_knowledge_from_current_page'
338
- },
339
- param: 'isEnabled',
340
- typeGuard: isBoolean,
341
- defaultValue: false
342
- },
343
325
  // Added 2024-12-05
344
326
  platform_editor_blockquote_in_text_formatting_menu: {
345
327
  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_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;
@@ -328,14 +320,6 @@ declare namespace eeTest {
328
320
  typeGuard: typeof import("./type-guards").isBoolean;
329
321
  defaultValue: boolean;
330
322
  };
331
- platform_editor_ai_knowledge_from_current_page: {
332
- productKeys: {
333
- confluence: string;
334
- };
335
- param: string;
336
- typeGuard: typeof import("./type-guards").isBoolean;
337
- defaultValue: boolean;
338
- };
339
323
  platform_editor_blockquote_in_text_formatting_menu: {
340
324
  productKeys: {
341
325
  confluence: 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;
@@ -287,14 +279,6 @@ export declare const editorExperimentsConfig: {
287
279
  typeGuard: typeof isBoolean;
288
280
  defaultValue: boolean;
289
281
  };
290
- platform_editor_ai_knowledge_from_current_page: {
291
- productKeys: {
292
- confluence: string;
293
- };
294
- param: string;
295
- typeGuard: typeof isBoolean;
296
- defaultValue: boolean;
297
- };
298
282
  platform_editor_blockquote_in_text_formatting_menu: {
299
283
  productKeys: {
300
284
  confluence: string;
@@ -31,14 +31,12 @@ 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;
38
37
  platform_editor_ai_draft_with_ai: boolean;
39
38
  platform_editor_ai_unsplash_page_header: boolean;
40
39
  expand_selection_range_to_include_inline_node: boolean;
41
- platform_editor_ai_knowledge_from_current_page: boolean;
42
40
  platform_editor_blockquote_in_text_formatting_menu: boolean;
43
41
  }>;
44
42
  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" | "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_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;
@@ -328,14 +320,6 @@ declare namespace eeTest {
328
320
  typeGuard: typeof import("./type-guards").isBoolean;
329
321
  defaultValue: boolean;
330
322
  };
331
- platform_editor_ai_knowledge_from_current_page: {
332
- productKeys: {
333
- confluence: string;
334
- };
335
- param: string;
336
- typeGuard: typeof import("./type-guards").isBoolean;
337
- defaultValue: boolean;
338
- };
339
323
  platform_editor_blockquote_in_text_formatting_menu: {
340
324
  productKeys: {
341
325
  confluence: 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;
@@ -287,14 +279,6 @@ export declare const editorExperimentsConfig: {
287
279
  typeGuard: typeof isBoolean;
288
280
  defaultValue: boolean;
289
281
  };
290
- platform_editor_ai_knowledge_from_current_page: {
291
- productKeys: {
292
- confluence: string;
293
- };
294
- param: string;
295
- typeGuard: typeof isBoolean;
296
- defaultValue: boolean;
297
- };
298
282
  platform_editor_blockquote_in_text_formatting_menu: {
299
283
  productKeys: {
300
284
  confluence: string;
@@ -31,14 +31,12 @@ 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;
38
37
  platform_editor_ai_draft_with_ai: boolean;
39
38
  platform_editor_ai_unsplash_page_header: boolean;
40
39
  expand_selection_range_to_include_inline_node: boolean;
41
- platform_editor_ai_knowledge_from_current_page: boolean;
42
40
  platform_editor_blockquote_in_text_formatting_menu: boolean;
43
41
  }>;
44
42
  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.30.0",
3
+ "version": "2.32.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",