@atlaskit/tmp-editor-statsig 8.7.0 → 8.8.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
+ ## 8.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#181826](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181826)
8
+ [`9cebc9f86c7c0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9cebc9f86c7c0) -
9
+ [ux] EDITOR-991 - Remove no longer needed prompts Brainstorm, Change tone to neutral and Rephrase
10
+ from the Command Palette / Rovo Toolbar for Confluence
11
+
3
12
  ## 8.7.0
4
13
 
5
14
  ### Minor Changes
@@ -353,14 +353,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
353
353
  param: 'isEnabled',
354
354
  defaultValue: false
355
355
  }),
356
- // Added 2025-05-21
357
- platform_editor_nodevisibility: (0, _experimentBuilders.createBooleanExperiment)({
358
- productKeys: {
359
- confluence: 'platform_editor_nodevisibility'
360
- },
361
- param: 'isEnabled',
362
- defaultValue: false
363
- }),
364
356
  // Added 2025-05-15
365
357
  platform_editor_breakout_resizing: (0, _experimentBuilders.createBooleanExperiment)({
366
358
  productKeys: {
@@ -417,6 +409,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
417
409
  param: 'isEnabled',
418
410
  defaultValue: false
419
411
  }),
412
+ // Added 2025-07-07
413
+ platform_editor_ai_remove_trivial_prompts_cc: (0, _experimentBuilders.createBooleanExperiment)({
414
+ productKeys: {
415
+ confluence: 'platform_editor_ai_remove_trivial_prompts_cc'
416
+ },
417
+ param: 'isEnabled',
418
+ defaultValue: false
419
+ }),
420
420
  // Added 2025-06-20
421
421
  confluence_whiteboards_quick_insert_aa: (0, _experimentBuilders.createMultivariateExperiment)({
422
422
  productKeys: {
@@ -347,14 +347,6 @@ export const editorExperimentsConfig = {
347
347
  param: 'isEnabled',
348
348
  defaultValue: false
349
349
  }),
350
- // Added 2025-05-21
351
- platform_editor_nodevisibility: createBooleanExperiment({
352
- productKeys: {
353
- confluence: 'platform_editor_nodevisibility'
354
- },
355
- param: 'isEnabled',
356
- defaultValue: false
357
- }),
358
350
  // Added 2025-05-15
359
351
  platform_editor_breakout_resizing: createBooleanExperiment({
360
352
  productKeys: {
@@ -411,6 +403,14 @@ export const editorExperimentsConfig = {
411
403
  param: 'isEnabled',
412
404
  defaultValue: false
413
405
  }),
406
+ // Added 2025-07-07
407
+ platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
408
+ productKeys: {
409
+ confluence: 'platform_editor_ai_remove_trivial_prompts_cc'
410
+ },
411
+ param: 'isEnabled',
412
+ defaultValue: false
413
+ }),
414
414
  // Added 2025-06-20
415
415
  confluence_whiteboards_quick_insert_aa: createMultivariateExperiment({
416
416
  productKeys: {
@@ -347,14 +347,6 @@ export var editorExperimentsConfig = {
347
347
  param: 'isEnabled',
348
348
  defaultValue: false
349
349
  }),
350
- // Added 2025-05-21
351
- platform_editor_nodevisibility: createBooleanExperiment({
352
- productKeys: {
353
- confluence: 'platform_editor_nodevisibility'
354
- },
355
- param: 'isEnabled',
356
- defaultValue: false
357
- }),
358
350
  // Added 2025-05-15
359
351
  platform_editor_breakout_resizing: createBooleanExperiment({
360
352
  productKeys: {
@@ -411,6 +403,14 @@ export var editorExperimentsConfig = {
411
403
  param: 'isEnabled',
412
404
  defaultValue: false
413
405
  }),
406
+ // Added 2025-07-07
407
+ platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
408
+ productKeys: {
409
+ confluence: 'platform_editor_ai_remove_trivial_prompts_cc'
410
+ },
411
+ param: 'isEnabled',
412
+ defaultValue: false
413
+ }),
414
414
  // Added 2025-06-20
415
415
  confluence_whiteboards_quick_insert_aa: createMultivariateExperiment({
416
416
  productKeys: {
@@ -1,4 +1,3 @@
1
- /// <reference types="jest" />
2
1
  import { type EditorExperimentOverrides } from './setup';
3
2
  import { type EditorExperimentsConfig } from './experiments-config';
4
3
  type DescribeBody = Parameters<typeof describe>[1];
@@ -45,332 +44,9 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
44
  false: DescribeBody;
46
45
  }, otherExperiments?: EditorExperimentOverrides): void;
47
46
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "platform_editor_reduce_noisy_steps_ncs" | "platform_editor_memoized_node_check" | "platform_editor_media_card_vc_wrapper_attribute" | "platform_editor_block_control_optimise_render" | "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_controls_performance_fixes" | "platform_editor_prevent_toolbar_layout_shifts" | "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" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_smart_link_cmd_ctrl_click" | "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" | "platform_editor_stop_width_reflows" | "platform_editor_core_static_emotion" | "platform_editor_core_static_emotion_non_central" | "platform_editor_no_cursor_on_edit_page_init" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "platform_editor_toolbar_rerender_optimization_exp" | "platform_editor_controls_toolbar_pinning_exp" | "platform_editor_block_controls_perf_optimization" | "platform_editor_enable_single_player_step_merging" | "platform_editor_ai_iw_adf_streaming" | "confluence_whiteboards_quick_insert_aa" | "platform_editor_find_and_replace_improvements" | "confluence_whiteboards_quick_insert">(experimentName: ExperimentName, describeName: string) => {
49
- variant: (value: {
50
- platform_editor_reduce_noisy_steps_ncs: {
51
- typeGuard: typeof import("./type-guards").isBoolean;
52
- defaultValue: boolean;
53
- productKeys?: import("./types").ProductKeys | undefined;
54
- param: string;
55
- };
56
- platform_editor_memoized_node_check: {
57
- typeGuard: typeof import("./type-guards").isBoolean;
58
- defaultValue: boolean;
59
- productKeys?: import("./types").ProductKeys | undefined;
60
- param: string;
61
- };
62
- platform_editor_media_card_vc_wrapper_attribute: {
63
- typeGuard: typeof import("./type-guards").isBoolean;
64
- defaultValue: boolean;
65
- productKeys?: import("./types").ProductKeys | undefined;
66
- param: string;
67
- };
68
- platform_editor_block_control_optimise_render: {
69
- typeGuard: typeof import("./type-guards").isBoolean;
70
- defaultValue: boolean;
71
- productKeys?: import("./types").ProductKeys | undefined;
72
- param: string;
73
- };
74
- 'example-boolean': {
75
- typeGuard: typeof import("./type-guards").isBoolean;
76
- defaultValue: boolean;
77
- productKeys?: import("./types").ProductKeys | undefined;
78
- param: string;
79
- };
80
- 'example-multivariate': {
81
- values: ("one" | "two" | "three")[];
82
- typeGuard: (value: unknown) => value is "one" | "two" | "three";
83
- defaultValue: "one" | "two" | "three";
84
- productKeys?: import("./types").ProductKeys | undefined;
85
- param: string;
86
- };
87
- 'test-new-experiments-package': {
88
- typeGuard: typeof import("./type-guards").isBoolean;
89
- defaultValue: boolean;
90
- productKeys?: import("./types").ProductKeys | undefined;
91
- param: string;
92
- };
93
- support_table_in_comment: {
94
- typeGuard: typeof import("./type-guards").isBoolean;
95
- defaultValue: boolean;
96
- productKeys?: import("./types").ProductKeys | undefined;
97
- param: string;
98
- };
99
- platform_editor_exp_lazy_node_views: {
100
- typeGuard: typeof import("./type-guards").isBoolean;
101
- defaultValue: boolean;
102
- productKeys?: import("./types").ProductKeys | undefined;
103
- param: string;
104
- };
105
- platform_renderer_table_sticky_scrollbar: {
106
- typeGuard: typeof import("./type-guards").isBoolean;
107
- defaultValue: boolean;
108
- productKeys?: import("./types").ProductKeys | undefined;
109
- param: string;
110
- };
111
- platform_editor_controls_performance_fixes: {
112
- typeGuard: typeof import("./type-guards").isBoolean;
113
- defaultValue: boolean;
114
- productKeys?: import("./types").ProductKeys | undefined;
115
- param: string;
116
- };
117
- platform_editor_prevent_toolbar_layout_shifts: {
118
- typeGuard: typeof import("./type-guards").isBoolean;
119
- defaultValue: boolean;
120
- productKeys?: import("./types").ProductKeys | undefined;
121
- param: string;
122
- };
123
- comment_on_bodied_extensions: {
124
- typeGuard: typeof import("./type-guards").isBoolean;
125
- defaultValue: boolean;
126
- productKeys?: import("./types").ProductKeys | undefined;
127
- param: string;
128
- };
129
- advanced_layouts: {
130
- typeGuard: typeof import("./type-guards").isBoolean;
131
- defaultValue: boolean;
132
- productKeys?: import("./types").ProductKeys | undefined;
133
- param: string;
134
- };
135
- single_column_layouts: {
136
- typeGuard: typeof import("./type-guards").isBoolean;
137
- defaultValue: boolean;
138
- productKeys?: import("./types").ProductKeys | undefined;
139
- param: string;
140
- };
141
- support_table_in_comment_jira: {
142
- typeGuard: typeof import("./type-guards").isBoolean;
143
- defaultValue: boolean;
144
- productKeys?: import("./types").ProductKeys | undefined;
145
- param: string;
146
- };
147
- 'platform_editor_ai-prompts-placeholder': {
148
- values: ("test" | "control")[];
149
- typeGuard: (value: unknown) => value is "test" | "control";
150
- defaultValue: "test" | "control";
151
- productKeys?: import("./types").ProductKeys | undefined;
152
- param: string;
153
- };
154
- 'nested-tables-in-tables': {
155
- typeGuard: typeof import("./type-guards").isBoolean;
156
- defaultValue: boolean;
157
- productKeys?: import("./types").ProductKeys | undefined;
158
- param: string;
159
- };
160
- platform_editor_ai_unsplash_page_header: {
161
- typeGuard: typeof import("./type-guards").isBoolean;
162
- defaultValue: boolean;
163
- productKeys?: import("./types").ProductKeys | undefined;
164
- param: string;
165
- };
166
- platform_editor_blockquote_in_text_formatting_menu: {
167
- typeGuard: typeof import("./type-guards").isBoolean;
168
- defaultValue: boolean;
169
- productKeys?: import("./types").ProductKeys | undefined;
170
- param: string;
171
- };
172
- platform_editor_advanced_code_blocks: {
173
- typeGuard: typeof import("./type-guards").isBoolean;
174
- defaultValue: boolean;
175
- productKeys?: import("./types").ProductKeys | undefined;
176
- param: string;
177
- };
178
- platform_editor_element_drag_and_drop_multiselect: {
179
- typeGuard: typeof import("./type-guards").isBoolean;
180
- defaultValue: boolean;
181
- productKeys?: import("./types").ProductKeys | undefined;
182
- param: string;
183
- };
184
- platform_editor_ai_edit_response_in_preview: {
185
- typeGuard: typeof import("./type-guards").isBoolean;
186
- defaultValue: boolean;
187
- productKeys?: import("./types").ProductKeys | undefined;
188
- param: string;
189
- };
190
- platform_editor_controls: {
191
- values: ("control" | "variant1")[];
192
- typeGuard: (value: unknown) => value is "control" | "variant1";
193
- defaultValue: "control" | "variant1";
194
- productKeys?: import("./types").ProductKeys | undefined;
195
- param: string;
196
- };
197
- platform_editor_smart_link_cmd_ctrl_click: {
198
- typeGuard: typeof import("./type-guards").isBoolean;
199
- defaultValue: boolean;
200
- productKeys?: import("./types").ProductKeys | undefined;
201
- param: string;
202
- };
203
- platform_editor_insertion: {
204
- values: ("control" | "variant1")[];
205
- typeGuard: (value: unknown) => value is "control" | "variant1";
206
- defaultValue: "control" | "variant1";
207
- productKeys?: import("./types").ProductKeys | undefined;
208
- param: string;
209
- };
210
- platform_editor_vanilla_dom: {
211
- typeGuard: typeof import("./type-guards").isBoolean;
212
- defaultValue: boolean;
213
- productKeys?: import("./types").ProductKeys | undefined;
214
- param: string;
215
- };
216
- editor_text_highlight_orange_to_yellow: {
217
- values: ("test" | "control")[];
218
- typeGuard: (value: unknown) => value is "test" | "control";
219
- defaultValue: "test" | "control";
220
- productKeys?: import("./types").ProductKeys | undefined;
221
- param: string;
222
- };
223
- platform_editor_ai_proactive_ai_nudge_parameters: {
224
- values: ("control" | "variant1")[];
225
- typeGuard: (value: unknown) => value is "control" | "variant1";
226
- defaultValue: "control" | "variant1";
227
- productKeys?: import("./types").ProductKeys | undefined;
228
- param: string;
229
- };
230
- platform_editor_offline_editing_web: {
231
- typeGuard: typeof import("./type-guards").isBoolean;
232
- defaultValue: boolean;
233
- productKeys?: import("./types").ProductKeys | undefined;
234
- param: string;
235
- };
236
- editor_ai_inline_suggestion_date_v2: {
237
- values: ("test" | "control")[];
238
- typeGuard: (value: unknown) => value is "test" | "control";
239
- defaultValue: "test" | "control";
240
- productKeys?: import("./types").ProductKeys | undefined;
241
- param: string;
242
- };
243
- platform_editor_tables_drag_and_drop: {
244
- typeGuard: typeof import("./type-guards").isBoolean;
245
- defaultValue: boolean;
246
- productKeys?: import("./types").ProductKeys | undefined;
247
- param: string;
248
- };
249
- platform_editor_tables_table_selector: {
250
- typeGuard: typeof import("./type-guards").isBoolean;
251
- defaultValue: boolean;
252
- productKeys?: import("./types").ProductKeys | undefined;
253
- param: string;
254
- };
255
- platform_editor_usesharedpluginstateselector: {
256
- typeGuard: typeof import("./type-guards").isBoolean;
257
- defaultValue: boolean;
258
- productKeys?: import("./types").ProductKeys | undefined;
259
- param: string;
260
- };
261
- platform_renderer_fix_analytics_memo_callback: {
262
- typeGuard: typeof import("./type-guards").isBoolean;
263
- defaultValue: boolean;
264
- productKeys?: import("./types").ProductKeys | undefined;
265
- param: string;
266
- };
267
- editor_ai_contextual_selection_toolbar_button: {
268
- values: ("test" | "control")[];
269
- typeGuard: (value: unknown) => value is "test" | "control";
270
- defaultValue: "test" | "control";
271
- productKeys?: import("./types").ProductKeys | undefined;
272
- param: string;
273
- };
274
- editor_ai_converge_free_gen_on_rovo: {
275
- typeGuard: typeof import("./type-guards").isBoolean;
276
- defaultValue: boolean;
277
- productKeys?: import("./types").ProductKeys | undefined;
278
- param: string;
279
- };
280
- platform_editor_stop_width_reflows: {
281
- typeGuard: typeof import("./type-guards").isBoolean;
282
- defaultValue: boolean;
283
- productKeys?: import("./types").ProductKeys | undefined;
284
- param: string;
285
- };
286
- platform_editor_core_static_emotion: {
287
- typeGuard: typeof import("./type-guards").isBoolean;
288
- defaultValue: boolean;
289
- productKeys?: import("./types").ProductKeys | undefined;
290
- param: string;
291
- };
292
- platform_editor_core_static_emotion_non_central: {
293
- typeGuard: typeof import("./type-guards").isBoolean;
294
- defaultValue: boolean;
295
- productKeys?: import("./types").ProductKeys | undefined;
296
- param: string;
297
- };
298
- platform_editor_no_cursor_on_edit_page_init: {
299
- typeGuard: typeof import("./type-guards").isBoolean;
300
- defaultValue: boolean;
301
- productKeys?: import("./types").ProductKeys | undefined;
302
- param: string;
303
- };
304
- platform_editor_nodevisibility: {
305
- typeGuard: typeof import("./type-guards").isBoolean;
306
- defaultValue: boolean;
307
- productKeys?: import("./types").ProductKeys | undefined;
308
- param: string;
309
- };
310
- platform_editor_breakout_resizing: {
311
- typeGuard: typeof import("./type-guards").isBoolean;
312
- defaultValue: boolean;
313
- productKeys?: import("./types").ProductKeys | undefined;
314
- param: string;
315
- };
316
- platform_editor_ai_quickstart_command: {
317
- typeGuard: typeof import("./type-guards").isBoolean;
318
- defaultValue: boolean;
319
- productKeys?: import("./types").ProductKeys | undefined;
320
- param: string;
321
- };
322
- platform_editor_toolbar_rerender_optimization_exp: {
323
- typeGuard: typeof import("./type-guards").isBoolean;
324
- defaultValue: boolean;
325
- productKeys?: import("./types").ProductKeys | undefined;
326
- param: string;
327
- };
328
- platform_editor_controls_toolbar_pinning_exp: {
329
- typeGuard: typeof import("./type-guards").isBoolean;
330
- defaultValue: boolean;
331
- productKeys?: import("./types").ProductKeys | undefined;
332
- param: string;
333
- };
334
- platform_editor_block_controls_perf_optimization: {
335
- typeGuard: typeof import("./type-guards").isBoolean;
336
- defaultValue: boolean;
337
- productKeys?: import("./types").ProductKeys | undefined;
338
- param: string;
339
- };
340
- platform_editor_enable_single_player_step_merging: {
341
- typeGuard: typeof import("./type-guards").isBoolean;
342
- defaultValue: boolean;
343
- productKeys?: import("./types").ProductKeys | undefined;
344
- param: string;
345
- };
346
- platform_editor_ai_iw_adf_streaming: {
347
- typeGuard: typeof import("./type-guards").isBoolean;
348
- defaultValue: boolean;
349
- productKeys?: import("./types").ProductKeys | undefined;
350
- param: string;
351
- };
352
- confluence_whiteboards_quick_insert_aa: {
353
- values: ("control" | "test_blank" | "test_diagram")[];
354
- typeGuard: (value: unknown) => value is "control" | "test_blank" | "test_diagram";
355
- defaultValue: "control" | "test_blank" | "test_diagram";
356
- productKeys?: import("./types").ProductKeys | undefined;
357
- param: string;
358
- };
359
- platform_editor_find_and_replace_improvements: {
360
- typeGuard: typeof import("./type-guards").isBoolean;
361
- defaultValue: boolean;
362
- productKeys?: import("./types").ProductKeys | undefined;
363
- param: string;
364
- };
365
- confluence_whiteboards_quick_insert: {
366
- values: ("control" | "test_blank" | "test_diagram")[];
367
- typeGuard: (value: unknown) => value is "control" | "test_blank" | "test_diagram";
368
- defaultValue: "control" | "test_blank" | "test_diagram";
369
- productKeys?: import("./types").ProductKeys | undefined;
370
- param: string;
371
- };
372
- }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
373
- each: (describeBody: jest.EmptyFunction) => void;
47
+ var describe: <ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, describeName: string) => {
48
+ variant: (value: EditorExperimentsConfig[ExperimentName]["defaultValue"], describeBody: DescribeBody) => void;
49
+ each: (describeBody: DescribeBody) => void;
374
50
  };
375
51
  }
376
52
  export { eeTest };
@@ -6,7 +6,7 @@ import type { BooleanExperimentConfig, MultivariateExperimentConfig } from './ty
6
6
  export declare function createBooleanExperiment(config: BooleanExperimentConfig): {
7
7
  typeGuard: typeof isBoolean;
8
8
  defaultValue: boolean;
9
- productKeys?: import("./types").ProductKeys | undefined;
9
+ productKeys?: import("./types").ProductKeys;
10
10
  param: string;
11
11
  };
12
12
  /**
@@ -16,6 +16,6 @@ export declare function createMultivariateExperiment<T extends string[]>(config:
16
16
  values: [...T][number][];
17
17
  typeGuard: (value: unknown) => value is T[number];
18
18
  defaultValue: T[number];
19
- productKeys?: import("./types").ProductKeys | undefined;
19
+ productKeys?: import("./types").ProductKeys;
20
20
  param: string;
21
21
  };