@atlaskit/tmp-editor-statsig 4.20.0 → 4.21.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.21.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#153577](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/153577)
8
+ [`2d3375a7a48b1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2d3375a7a48b1) -
9
+ [EDF-2259] Update usage of next media plugin behind fg 'platform_editor_ai_next_media_plugin'
10
+ instead of experiment 'platform_editor_markdown_next_media_plugin_exp'
11
+
12
+ ## 4.21.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#153704](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/153704)
17
+ [`edb0da26267e6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/edb0da26267e6) -
18
+ EDITOR-736 Put agent powered free generate in comment behind experiment.
19
+
3
20
  ## 4.20.0
4
21
 
5
22
  ### Minor Changes
@@ -227,14 +227,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
227
227
  param: 'isEnabled',
228
228
  defaultValue: false
229
229
  }),
230
- // Added 2025-03-26
231
- platform_editor_markdown_next_media_plugin_exp: (0, _experimentBuilders.createBooleanExperiment)({
232
- productKeys: {
233
- confluence: 'platform_editor_markdown_next_media_plugin_exp'
234
- },
235
- param: 'isEnabled',
236
- defaultValue: false
237
- }),
238
230
  // Added 2025-04-14
239
231
  editor_ai_inline_suggestion_date_v2: (0, _experimentBuilders.createMultivariateExperiment)({
240
232
  productKeys: {
@@ -308,5 +300,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
308
300
  },
309
301
  param: 'isEnabled',
310
302
  defaultValue: false
303
+ }),
304
+ // Added 2025-05-13
305
+ editor_ai_comment_freegen_rovo: (0, _experimentBuilders.createBooleanExperiment)({
306
+ productKeys: {
307
+ confluence: 'editor_ai_comment_freegen_rovo'
308
+ },
309
+ param: 'isEnabled',
310
+ defaultValue: false
311
311
  })
312
312
  };
@@ -221,14 +221,6 @@ export const editorExperimentsConfig = {
221
221
  param: 'isEnabled',
222
222
  defaultValue: false
223
223
  }),
224
- // Added 2025-03-26
225
- platform_editor_markdown_next_media_plugin_exp: createBooleanExperiment({
226
- productKeys: {
227
- confluence: 'platform_editor_markdown_next_media_plugin_exp'
228
- },
229
- param: 'isEnabled',
230
- defaultValue: false
231
- }),
232
224
  // Added 2025-04-14
233
225
  editor_ai_inline_suggestion_date_v2: createMultivariateExperiment({
234
226
  productKeys: {
@@ -302,5 +294,13 @@ export const editorExperimentsConfig = {
302
294
  },
303
295
  param: 'isEnabled',
304
296
  defaultValue: false
297
+ }),
298
+ // Added 2025-05-13
299
+ editor_ai_comment_freegen_rovo: createBooleanExperiment({
300
+ productKeys: {
301
+ confluence: 'editor_ai_comment_freegen_rovo'
302
+ },
303
+ param: 'isEnabled',
304
+ defaultValue: false
305
305
  })
306
306
  };
@@ -221,14 +221,6 @@ export var editorExperimentsConfig = {
221
221
  param: 'isEnabled',
222
222
  defaultValue: false
223
223
  }),
224
- // Added 2025-03-26
225
- platform_editor_markdown_next_media_plugin_exp: createBooleanExperiment({
226
- productKeys: {
227
- confluence: 'platform_editor_markdown_next_media_plugin_exp'
228
- },
229
- param: 'isEnabled',
230
- defaultValue: false
231
- }),
232
224
  // Added 2025-04-14
233
225
  editor_ai_inline_suggestion_date_v2: createMultivariateExperiment({
234
226
  productKeys: {
@@ -302,5 +294,13 @@ export var editorExperimentsConfig = {
302
294
  },
303
295
  param: 'isEnabled',
304
296
  defaultValue: false
297
+ }),
298
+ // Added 2025-05-13
299
+ editor_ai_comment_freegen_rovo: createBooleanExperiment({
300
+ productKeys: {
301
+ confluence: 'editor_ai_comment_freegen_rovo'
302
+ },
303
+ param: 'isEnabled',
304
+ defaultValue: false
305
305
  })
306
306
  };
@@ -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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_converge_free_gen_on_rovo">(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_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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_comment_freegen_rovo">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -115,6 +115,31 @@ declare namespace eeTest {
115
115
  productKeys?: import("./types").ProductKeys | undefined;
116
116
  param: string;
117
117
  };
118
+ /**
119
+ * eeTest.describe() Wrapper utility for describe() that runs a test with a editor experiment overides.
120
+ *
121
+ * @example Single experiment
122
+ * ```ts
123
+ * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true }, () => {
124
+ * it('should do the thing', () => {
125
+ * expect(editorExperiment('example-boolean', true)).toBe(true);
126
+ * });
127
+ * });
128
+ * ```
129
+ *
130
+ *
131
+ * @example Multiple experiment
132
+ * ```ts
133
+ * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true, 'example-multivariate': 'three' }, () => {
134
+ * it('should do the thing', () => {
135
+ * expect(editorExperiment('example-boolean', true)).toBe(true);
136
+ * });
137
+ * });
138
+ * ```
139
+ *
140
+ * API based on next gen ffTest API
141
+ * - https://hello.atlassian.net/wiki/spaces/AF/pages/2569505829/Task+Testing+your+feature+flag+in+platform+and+product#Next-Generation-API-%E2%9C%A8
142
+ */
118
143
  'nested-tables-in-tables': {
119
144
  typeGuard: typeof import("./type-guards").isBoolean;
120
145
  defaultValue: boolean;
@@ -205,12 +230,6 @@ declare namespace eeTest {
205
230
  productKeys?: import("./types").ProductKeys | undefined;
206
231
  param: string;
207
232
  };
208
- platform_editor_markdown_next_media_plugin_exp: {
209
- typeGuard: typeof import("./type-guards").isBoolean;
210
- defaultValue: boolean;
211
- productKeys?: import("./types").ProductKeys | undefined;
212
- param: string;
213
- };
214
233
  editor_ai_inline_suggestion_date_v2: {
215
234
  values: ("test" | "control")[];
216
235
  typeGuard: (value: unknown) => value is "test" | "control";
@@ -267,6 +286,12 @@ declare namespace eeTest {
267
286
  productKeys?: import("./types").ProductKeys | undefined;
268
287
  param: string;
269
288
  };
289
+ editor_ai_comment_freegen_rovo: {
290
+ typeGuard: typeof import("./type-guards").isBoolean;
291
+ defaultValue: boolean;
292
+ productKeys?: import("./types").ProductKeys | undefined;
293
+ param: string;
294
+ };
270
295
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
271
296
  each: (describeBody: jest.EmptyFunction) => void;
272
297
  };
@@ -163,12 +163,6 @@ export declare const editorExperimentsConfig: {
163
163
  productKeys?: import("./types").ProductKeys | undefined;
164
164
  param: string;
165
165
  };
166
- platform_editor_markdown_next_media_plugin_exp: {
167
- typeGuard: typeof import("./type-guards").isBoolean;
168
- defaultValue: boolean;
169
- productKeys?: import("./types").ProductKeys | undefined;
170
- param: string;
171
- };
172
166
  editor_ai_inline_suggestion_date_v2: {
173
167
  values: ("test" | "control")[];
174
168
  typeGuard: (value: unknown) => value is "test" | "control";
@@ -225,4 +219,10 @@ export declare const editorExperimentsConfig: {
225
219
  productKeys?: import("./types").ProductKeys | undefined;
226
220
  param: string;
227
221
  };
222
+ editor_ai_comment_freegen_rovo: {
223
+ typeGuard: typeof import("./type-guards").isBoolean;
224
+ defaultValue: boolean;
225
+ productKeys?: import("./types").ProductKeys | undefined;
226
+ param: string;
227
+ };
228
228
  };
@@ -33,7 +33,6 @@ export declare let _overrides: Partial<{
33
33
  editor_text_highlight_orange_to_yellow: "test" | "control";
34
34
  platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
35
35
  platform_editor_offline_editing_web: boolean;
36
- platform_editor_markdown_next_media_plugin_exp: boolean;
37
36
  editor_ai_inline_suggestion_date_v2: "test" | "control";
38
37
  platform_editor_tables_drag_and_drop: boolean;
39
38
  platform_editor_tables_table_selector: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  editor_ai_cmd_palette_remove_retry: boolean;
44
43
  platform_editor_core_static_emotion: boolean;
45
44
  editor_ai_converge_free_gen_on_rovo: boolean;
45
+ editor_ai_comment_freegen_rovo: boolean;
46
46
  }>;
47
47
  export declare let _paramOverrides: EditorExperimentParamOverrides;
48
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" | "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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_converge_free_gen_on_rovo">(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_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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_comment_freegen_rovo">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -115,6 +115,31 @@ declare namespace eeTest {
115
115
  productKeys?: import("./types").ProductKeys | undefined;
116
116
  param: string;
117
117
  };
118
+ /**
119
+ * eeTest.describe() Wrapper utility for describe() that runs a test with a editor experiment overides.
120
+ *
121
+ * @example Single experiment
122
+ * ```ts
123
+ * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true }, () => {
124
+ * it('should do the thing', () => {
125
+ * expect(editorExperiment('example-boolean', true)).toBe(true);
126
+ * });
127
+ * });
128
+ * ```
129
+ *
130
+ *
131
+ * @example Multiple experiment
132
+ * ```ts
133
+ * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true, 'example-multivariate': 'three' }, () => {
134
+ * it('should do the thing', () => {
135
+ * expect(editorExperiment('example-boolean', true)).toBe(true);
136
+ * });
137
+ * });
138
+ * ```
139
+ *
140
+ * API based on next gen ffTest API
141
+ * - https://hello.atlassian.net/wiki/spaces/AF/pages/2569505829/Task+Testing+your+feature+flag+in+platform+and+product#Next-Generation-API-%E2%9C%A8
142
+ */
118
143
  'nested-tables-in-tables': {
119
144
  typeGuard: typeof import("./type-guards").isBoolean;
120
145
  defaultValue: boolean;
@@ -205,12 +230,6 @@ declare namespace eeTest {
205
230
  productKeys?: import("./types").ProductKeys | undefined;
206
231
  param: string;
207
232
  };
208
- platform_editor_markdown_next_media_plugin_exp: {
209
- typeGuard: typeof import("./type-guards").isBoolean;
210
- defaultValue: boolean;
211
- productKeys?: import("./types").ProductKeys | undefined;
212
- param: string;
213
- };
214
233
  editor_ai_inline_suggestion_date_v2: {
215
234
  values: ("test" | "control")[];
216
235
  typeGuard: (value: unknown) => value is "test" | "control";
@@ -267,6 +286,12 @@ declare namespace eeTest {
267
286
  productKeys?: import("./types").ProductKeys | undefined;
268
287
  param: string;
269
288
  };
289
+ editor_ai_comment_freegen_rovo: {
290
+ typeGuard: typeof import("./type-guards").isBoolean;
291
+ defaultValue: boolean;
292
+ productKeys?: import("./types").ProductKeys | undefined;
293
+ param: string;
294
+ };
270
295
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
271
296
  each: (describeBody: jest.EmptyFunction) => void;
272
297
  };
@@ -163,12 +163,6 @@ export declare const editorExperimentsConfig: {
163
163
  productKeys?: import("./types").ProductKeys | undefined;
164
164
  param: string;
165
165
  };
166
- platform_editor_markdown_next_media_plugin_exp: {
167
- typeGuard: typeof import("./type-guards").isBoolean;
168
- defaultValue: boolean;
169
- productKeys?: import("./types").ProductKeys | undefined;
170
- param: string;
171
- };
172
166
  editor_ai_inline_suggestion_date_v2: {
173
167
  values: ("test" | "control")[];
174
168
  typeGuard: (value: unknown) => value is "test" | "control";
@@ -225,4 +219,10 @@ export declare const editorExperimentsConfig: {
225
219
  productKeys?: import("./types").ProductKeys | undefined;
226
220
  param: string;
227
221
  };
222
+ editor_ai_comment_freegen_rovo: {
223
+ typeGuard: typeof import("./type-guards").isBoolean;
224
+ defaultValue: boolean;
225
+ productKeys?: import("./types").ProductKeys | undefined;
226
+ param: string;
227
+ };
228
228
  };
@@ -33,7 +33,6 @@ export declare let _overrides: Partial<{
33
33
  editor_text_highlight_orange_to_yellow: "test" | "control";
34
34
  platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
35
35
  platform_editor_offline_editing_web: boolean;
36
- platform_editor_markdown_next_media_plugin_exp: boolean;
37
36
  editor_ai_inline_suggestion_date_v2: "test" | "control";
38
37
  platform_editor_tables_drag_and_drop: boolean;
39
38
  platform_editor_tables_table_selector: boolean;
@@ -43,6 +42,7 @@ export declare let _overrides: Partial<{
43
42
  editor_ai_cmd_palette_remove_retry: boolean;
44
43
  platform_editor_core_static_emotion: boolean;
45
44
  editor_ai_converge_free_gen_on_rovo: boolean;
45
+ editor_ai_comment_freegen_rovo: boolean;
46
46
  }>;
47
47
  export declare let _paramOverrides: EditorExperimentParamOverrides;
48
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": "4.20.0",
3
+ "version": "4.21.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",