@atlaskit/tmp-editor-statsig 4.23.0 → 4.25.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.25.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#159149](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159149)
8
+ [`ba8a35f91cb65`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ba8a35f91cb65) -
9
+ [ux] EDITOR-717: Implement MVP of in-editor AI response streaming. This is behind the
10
+ editor_ai_in_editor_streaming Statsig experiment.
11
+
12
+ ## 4.24.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#158351](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/158351)
17
+ [`33c33e91149a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/33c33e91149a1) -
18
+ Cleaned up platform_editor_controls_shadow
19
+
3
20
  ## 4.23.0
4
21
 
5
22
  ### Minor Changes
@@ -173,15 +173,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
173
173
  values: ['control', 'variant1'],
174
174
  defaultValue: 'control'
175
175
  }),
176
- // Added 2025-04-14
177
- platform_editor_controls_shadow: (0, _experimentBuilders.createMultivariateExperiment)({
178
- productKeys: {
179
- confluence: 'platform_editor_controls_shadow'
180
- },
181
- param: 'cohort',
182
- values: ['control', 'variant1'],
183
- defaultValue: 'control'
184
- }),
185
176
  // Added 28-02-2025
186
177
  platform_editor_insertion: (0, _experimentBuilders.createMultivariateExperiment)({
187
178
  productKeys: {
@@ -332,5 +323,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
332
323
  },
333
324
  param: 'isEnabled',
334
325
  defaultValue: false
326
+ }),
327
+ // Added 2025-05-22
328
+ editor_ai_in_editor_streaming: (0, _experimentBuilders.createBooleanExperiment)({
329
+ productKeys: {
330
+ confluence: 'editor_ai_in_editor_streaming'
331
+ },
332
+ param: 'isEnabled',
333
+ defaultValue: false
335
334
  })
336
335
  };
@@ -167,15 +167,6 @@ export const editorExperimentsConfig = {
167
167
  values: ['control', 'variant1'],
168
168
  defaultValue: 'control'
169
169
  }),
170
- // Added 2025-04-14
171
- platform_editor_controls_shadow: createMultivariateExperiment({
172
- productKeys: {
173
- confluence: 'platform_editor_controls_shadow'
174
- },
175
- param: 'cohort',
176
- values: ['control', 'variant1'],
177
- defaultValue: 'control'
178
- }),
179
170
  // Added 28-02-2025
180
171
  platform_editor_insertion: createMultivariateExperiment({
181
172
  productKeys: {
@@ -326,5 +317,13 @@ export const editorExperimentsConfig = {
326
317
  },
327
318
  param: 'isEnabled',
328
319
  defaultValue: false
320
+ }),
321
+ // Added 2025-05-22
322
+ editor_ai_in_editor_streaming: createBooleanExperiment({
323
+ productKeys: {
324
+ confluence: 'editor_ai_in_editor_streaming'
325
+ },
326
+ param: 'isEnabled',
327
+ defaultValue: false
329
328
  })
330
329
  };
@@ -167,15 +167,6 @@ export var editorExperimentsConfig = {
167
167
  values: ['control', 'variant1'],
168
168
  defaultValue: 'control'
169
169
  }),
170
- // Added 2025-04-14
171
- platform_editor_controls_shadow: createMultivariateExperiment({
172
- productKeys: {
173
- confluence: 'platform_editor_controls_shadow'
174
- },
175
- param: 'cohort',
176
- values: ['control', 'variant1'],
177
- defaultValue: 'control'
178
- }),
179
170
  // Added 28-02-2025
180
171
  platform_editor_insertion: createMultivariateExperiment({
181
172
  productKeys: {
@@ -326,5 +317,13 @@ export var editorExperimentsConfig = {
326
317
  },
327
318
  param: 'isEnabled',
328
319
  defaultValue: false
320
+ }),
321
+ // Added 2025-05-22
322
+ editor_ai_in_editor_streaming: createBooleanExperiment({
323
+ productKeys: {
324
+ confluence: 'editor_ai_in_editor_streaming'
325
+ },
326
+ param: 'isEnabled',
327
+ defaultValue: false
329
328
  })
330
329
  };
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -190,13 +190,6 @@ declare namespace eeTest {
190
190
  productKeys?: import("./types").ProductKeys | undefined;
191
191
  param: string;
192
192
  };
193
- platform_editor_controls_shadow: {
194
- values: ("control" | "variant1")[];
195
- typeGuard: (value: unknown) => value is "control" | "variant1";
196
- defaultValue: "control" | "variant1";
197
- productKeys?: import("./types").ProductKeys | undefined;
198
- param: string;
199
- };
200
193
  platform_editor_insertion: {
201
194
  values: ("control" | "variant1")[];
202
195
  typeGuard: (value: unknown) => value is "control" | "variant1";
@@ -310,6 +303,12 @@ declare namespace eeTest {
310
303
  productKeys?: import("./types").ProductKeys | undefined;
311
304
  param: string;
312
305
  };
306
+ editor_ai_in_editor_streaming: {
307
+ typeGuard: typeof import("./type-guards").isBoolean;
308
+ defaultValue: boolean;
309
+ productKeys?: import("./types").ProductKeys | undefined;
310
+ param: string;
311
+ };
313
312
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
314
313
  each: (describeBody: jest.EmptyFunction) => void;
315
314
  };
@@ -123,13 +123,6 @@ export declare const editorExperimentsConfig: {
123
123
  productKeys?: import("./types").ProductKeys | undefined;
124
124
  param: string;
125
125
  };
126
- platform_editor_controls_shadow: {
127
- values: ("control" | "variant1")[];
128
- typeGuard: (value: unknown) => value is "control" | "variant1";
129
- defaultValue: "control" | "variant1";
130
- productKeys?: import("./types").ProductKeys | undefined;
131
- param: string;
132
- };
133
126
  platform_editor_insertion: {
134
127
  values: ("control" | "variant1")[];
135
128
  typeGuard: (value: unknown) => value is "control" | "variant1";
@@ -243,4 +236,10 @@ export declare const editorExperimentsConfig: {
243
236
  productKeys?: import("./types").ProductKeys | undefined;
244
237
  param: string;
245
238
  };
239
+ editor_ai_in_editor_streaming: {
240
+ typeGuard: typeof import("./type-guards").isBoolean;
241
+ defaultValue: boolean;
242
+ productKeys?: import("./types").ProductKeys | undefined;
243
+ param: string;
244
+ };
246
245
  };
@@ -27,7 +27,6 @@ export declare let _overrides: Partial<{
27
27
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
28
28
  platform_editor_ai_edit_response_in_preview: boolean;
29
29
  platform_editor_controls: "control" | "variant1";
30
- platform_editor_controls_shadow: "control" | "variant1";
31
30
  platform_editor_insertion: "control" | "variant1";
32
31
  platform_editor_vanilla_dom: boolean;
33
32
  editor_text_highlight_orange_to_yellow: "test" | "control";
@@ -46,6 +45,7 @@ export declare let _overrides: Partial<{
46
45
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
47
46
  platform_editor_breakout_resizing: boolean;
48
47
  platform_editor_ai_quickstart_command: boolean;
48
+ editor_ai_in_editor_streaming: boolean;
49
49
  }>;
50
50
  export declare let _paramOverrides: EditorExperimentParamOverrides;
51
51
  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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -190,13 +190,6 @@ declare namespace eeTest {
190
190
  productKeys?: import("./types").ProductKeys | undefined;
191
191
  param: string;
192
192
  };
193
- platform_editor_controls_shadow: {
194
- values: ("control" | "variant1")[];
195
- typeGuard: (value: unknown) => value is "control" | "variant1";
196
- defaultValue: "control" | "variant1";
197
- productKeys?: import("./types").ProductKeys | undefined;
198
- param: string;
199
- };
200
193
  platform_editor_insertion: {
201
194
  values: ("control" | "variant1")[];
202
195
  typeGuard: (value: unknown) => value is "control" | "variant1";
@@ -310,6 +303,12 @@ declare namespace eeTest {
310
303
  productKeys?: import("./types").ProductKeys | undefined;
311
304
  param: string;
312
305
  };
306
+ editor_ai_in_editor_streaming: {
307
+ typeGuard: typeof import("./type-guards").isBoolean;
308
+ defaultValue: boolean;
309
+ productKeys?: import("./types").ProductKeys | undefined;
310
+ param: string;
311
+ };
313
312
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
314
313
  each: (describeBody: jest.EmptyFunction) => void;
315
314
  };
@@ -123,13 +123,6 @@ export declare const editorExperimentsConfig: {
123
123
  productKeys?: import("./types").ProductKeys | undefined;
124
124
  param: string;
125
125
  };
126
- platform_editor_controls_shadow: {
127
- values: ("control" | "variant1")[];
128
- typeGuard: (value: unknown) => value is "control" | "variant1";
129
- defaultValue: "control" | "variant1";
130
- productKeys?: import("./types").ProductKeys | undefined;
131
- param: string;
132
- };
133
126
  platform_editor_insertion: {
134
127
  values: ("control" | "variant1")[];
135
128
  typeGuard: (value: unknown) => value is "control" | "variant1";
@@ -243,4 +236,10 @@ export declare const editorExperimentsConfig: {
243
236
  productKeys?: import("./types").ProductKeys | undefined;
244
237
  param: string;
245
238
  };
239
+ editor_ai_in_editor_streaming: {
240
+ typeGuard: typeof import("./type-guards").isBoolean;
241
+ defaultValue: boolean;
242
+ productKeys?: import("./types").ProductKeys | undefined;
243
+ param: string;
244
+ };
246
245
  };
@@ -27,7 +27,6 @@ export declare let _overrides: Partial<{
27
27
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
28
28
  platform_editor_ai_edit_response_in_preview: boolean;
29
29
  platform_editor_controls: "control" | "variant1";
30
- platform_editor_controls_shadow: "control" | "variant1";
31
30
  platform_editor_insertion: "control" | "variant1";
32
31
  platform_editor_vanilla_dom: boolean;
33
32
  editor_text_highlight_orange_to_yellow: "test" | "control";
@@ -46,6 +45,7 @@ export declare let _overrides: Partial<{
46
45
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
47
46
  platform_editor_breakout_resizing: boolean;
48
47
  platform_editor_ai_quickstart_command: boolean;
48
+ editor_ai_in_editor_streaming: boolean;
49
49
  }>;
50
50
  export declare let _paramOverrides: EditorExperimentParamOverrides;
51
51
  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": "4.23.0",
3
+ "version": "4.25.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",