@atlaskit/tmp-editor-statsig 2.8.0 → 2.10.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,25 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#157006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157006)
8
+ [`666884d7c9e24`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/666884d7c9e24) -
9
+ ED-25494 experiment on comment on inline node spotlight
10
+ - [#157011](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157011)
11
+ [`dcdfd1e83ce5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcdfd1e83ce5a) -
12
+ change ugc typography experiment to a gate
13
+
14
+ ## 2.9.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [#154829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154829)
19
+ [`0646280e9ab18`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0646280e9ab18) -
20
+ [EDF-1176](https://product-fabric.atlassian.net/browse/EDF-1176) - add pulse EP effect to AI
21
+ button in Editor floating toolbar
22
+
3
23
  ## 2.8.0
4
24
 
5
25
  ### Minor Changes
@@ -208,16 +208,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
208
208
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
209
209
  defaultValue: 'control'
210
210
  },
211
- // Added 2024-10-03
212
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
213
- platform_editor_ai_onboarding: {
214
- productKeys: {
215
- confluence: 'platform_editor_ai_onboarding'
216
- },
217
- param: 'cohort',
218
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
219
- defaultValue: 'control'
220
- },
221
211
  // Added 2024-10-01
222
212
  comment_on_bodied_extensions: {
223
213
  productKeys: {
@@ -246,16 +236,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
246
236
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
247
237
  defaultValue: 'control'
248
238
  },
249
- // Added 2024-10-04
250
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
251
- typography_migration_ugc: {
252
- productKeys: {
253
- confluence: 'platform_editor_typography_migration_ugc'
254
- },
255
- param: 'isEnabled',
256
- typeGuard: _typeGuards.isBoolean,
257
- defaultValue: false
258
- },
259
239
  // Added 2024-10-06
260
240
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
261
241
  'optimised-apply-dnd': {
@@ -304,5 +284,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
304
284
  param: 'isEnabled',
305
285
  typeGuard: _typeGuards.isBoolean,
306
286
  defaultValue: false
287
+ },
288
+ // Added 2024-10-25
289
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
290
+ comment_on_inline_node_spotlight: {
291
+ productKeys: {
292
+ confluence: 'platform_editor_comment_on_inline_node_spotlight'
293
+ },
294
+ param: 'isEnabled',
295
+ typeGuard: _typeGuards.isBoolean,
296
+ defaultValue: false
307
297
  }
308
298
  };
@@ -202,16 +202,6 @@ export const editorExperimentsConfig = {
202
202
  typeGuard: oneOf(['control', 'test']),
203
203
  defaultValue: 'control'
204
204
  },
205
- // Added 2024-10-03
206
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
207
- platform_editor_ai_onboarding: {
208
- productKeys: {
209
- confluence: 'platform_editor_ai_onboarding'
210
- },
211
- param: 'cohort',
212
- typeGuard: oneOf(['control', 'test']),
213
- defaultValue: 'control'
214
- },
215
205
  // Added 2024-10-01
216
206
  comment_on_bodied_extensions: {
217
207
  productKeys: {
@@ -240,16 +230,6 @@ export const editorExperimentsConfig = {
240
230
  typeGuard: oneOf(['control', 'test']),
241
231
  defaultValue: 'control'
242
232
  },
243
- // Added 2024-10-04
244
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
245
- typography_migration_ugc: {
246
- productKeys: {
247
- confluence: 'platform_editor_typography_migration_ugc'
248
- },
249
- param: 'isEnabled',
250
- typeGuard: isBoolean,
251
- defaultValue: false
252
- },
253
233
  // Added 2024-10-06
254
234
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
255
235
  'optimised-apply-dnd': {
@@ -298,5 +278,15 @@ export const editorExperimentsConfig = {
298
278
  param: 'isEnabled',
299
279
  typeGuard: isBoolean,
300
280
  defaultValue: false
281
+ },
282
+ // Added 2024-10-25
283
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
284
+ comment_on_inline_node_spotlight: {
285
+ productKeys: {
286
+ confluence: 'platform_editor_comment_on_inline_node_spotlight'
287
+ },
288
+ param: 'isEnabled',
289
+ typeGuard: isBoolean,
290
+ defaultValue: false
301
291
  }
302
292
  };
@@ -202,16 +202,6 @@ export var editorExperimentsConfig = {
202
202
  typeGuard: oneOf(['control', 'test']),
203
203
  defaultValue: 'control'
204
204
  },
205
- // Added 2024-10-03
206
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_onboarding/setup
207
- platform_editor_ai_onboarding: {
208
- productKeys: {
209
- confluence: 'platform_editor_ai_onboarding'
210
- },
211
- param: 'cohort',
212
- typeGuard: oneOf(['control', 'test']),
213
- defaultValue: 'control'
214
- },
215
205
  // Added 2024-10-01
216
206
  comment_on_bodied_extensions: {
217
207
  productKeys: {
@@ -240,16 +230,6 @@ export var editorExperimentsConfig = {
240
230
  typeGuard: oneOf(['control', 'test']),
241
231
  defaultValue: 'control'
242
232
  },
243
- // Added 2024-10-04
244
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
245
- typography_migration_ugc: {
246
- productKeys: {
247
- confluence: 'platform_editor_typography_migration_ugc'
248
- },
249
- param: 'isEnabled',
250
- typeGuard: isBoolean,
251
- defaultValue: false
252
- },
253
233
  // Added 2024-10-06
254
234
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
255
235
  'optimised-apply-dnd': {
@@ -298,5 +278,15 @@ export var editorExperimentsConfig = {
298
278
  param: 'isEnabled',
299
279
  typeGuard: isBoolean,
300
280
  defaultValue: false
281
+ },
282
+ // Added 2024-10-25
283
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_comment_on_inline_node_spotlight/setup
284
+ comment_on_inline_node_spotlight: {
285
+ productKeys: {
286
+ confluence: 'platform_editor_comment_on_inline_node_spotlight'
287
+ },
288
+ param: 'isEnabled',
289
+ typeGuard: isBoolean,
290
+ defaultValue: false
301
291
  }
302
292
  };
@@ -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" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(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" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: (value: unknown) => value is "test" | "control";
217
217
  defaultValue: "test" | "control";
218
218
  };
219
- platform_editor_ai_onboarding: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "test" | "control";
225
- defaultValue: "test" | "control";
226
- };
227
219
  comment_on_bodied_extensions: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -248,14 +240,6 @@ declare namespace eeTest {
248
240
  typeGuard: (value: unknown) => value is "test" | "control";
249
241
  defaultValue: "test" | "control";
250
242
  };
251
- typography_migration_ugc: {
252
- productKeys: {
253
- confluence: string;
254
- };
255
- param: string;
256
- typeGuard: typeof import("./type-guards").isBoolean;
257
- defaultValue: boolean;
258
- };
259
243
  'optimised-apply-dnd': {
260
244
  productKeys: {
261
245
  confluence: string;
@@ -296,6 +280,14 @@ declare namespace eeTest {
296
280
  typeGuard: typeof import("./type-guards").isBoolean;
297
281
  defaultValue: boolean;
298
282
  };
283
+ comment_on_inline_node_spotlight: {
284
+ productKeys: {
285
+ confluence: string;
286
+ };
287
+ param: string;
288
+ typeGuard: typeof import("./type-guards").isBoolean;
289
+ defaultValue: boolean;
290
+ };
299
291
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
292
  each: (describeBody: jest.EmptyFunction) => void;
301
293
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: (value: unknown) => value is "test" | "control";
176
176
  defaultValue: "test" | "control";
177
177
  };
178
- platform_editor_ai_onboarding: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "test" | "control";
184
- defaultValue: "test" | "control";
185
- };
186
178
  comment_on_bodied_extensions: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -207,14 +199,6 @@ export declare const editorExperimentsConfig: {
207
199
  typeGuard: (value: unknown) => value is "test" | "control";
208
200
  defaultValue: "test" | "control";
209
201
  };
210
- typography_migration_ugc: {
211
- productKeys: {
212
- confluence: string;
213
- };
214
- param: string;
215
- typeGuard: typeof isBoolean;
216
- defaultValue: boolean;
217
- };
218
202
  'optimised-apply-dnd': {
219
203
  productKeys: {
220
204
  confluence: string;
@@ -255,4 +239,12 @@ export declare const editorExperimentsConfig: {
255
239
  typeGuard: typeof isBoolean;
256
240
  defaultValue: boolean;
257
241
  };
242
+ comment_on_inline_node_spotlight: {
243
+ productKeys: {
244
+ confluence: string;
245
+ };
246
+ param: string;
247
+ typeGuard: typeof isBoolean;
248
+ defaultValue: boolean;
249
+ };
258
250
  };
@@ -24,16 +24,15 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_table_use_shared_state_hook: boolean;
25
25
  'editor_ai_-_multi_prompts': "test" | "control";
26
26
  platform_editor_ai_additional_editor_prompts: "test" | "control";
27
- platform_editor_ai_onboarding: "test" | "control";
28
27
  comment_on_bodied_extensions: boolean;
29
28
  platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
30
29
  'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
31
- typography_migration_ugc: boolean;
32
30
  'optimised-apply-dnd': boolean;
33
31
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
32
  advanced_layouts: boolean;
35
33
  platform_editor_live_pages_ai_definitions: "test" | "control";
36
34
  support_table_in_comment_jira: boolean;
35
+ comment_on_inline_node_spotlight: boolean;
37
36
  }>;
38
37
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
39
38
  /**
@@ -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" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira">(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" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -216,14 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: (value: unknown) => value is "test" | "control";
217
217
  defaultValue: "test" | "control";
218
218
  };
219
- platform_editor_ai_onboarding: {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "test" | "control";
225
- defaultValue: "test" | "control";
226
- };
227
219
  comment_on_bodied_extensions: {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -248,14 +240,6 @@ declare namespace eeTest {
248
240
  typeGuard: (value: unknown) => value is "test" | "control";
249
241
  defaultValue: "test" | "control";
250
242
  };
251
- typography_migration_ugc: {
252
- productKeys: {
253
- confluence: string;
254
- };
255
- param: string;
256
- typeGuard: typeof import("./type-guards").isBoolean;
257
- defaultValue: boolean;
258
- };
259
243
  'optimised-apply-dnd': {
260
244
  productKeys: {
261
245
  confluence: string;
@@ -296,6 +280,14 @@ declare namespace eeTest {
296
280
  typeGuard: typeof import("./type-guards").isBoolean;
297
281
  defaultValue: boolean;
298
282
  };
283
+ comment_on_inline_node_spotlight: {
284
+ productKeys: {
285
+ confluence: string;
286
+ };
287
+ param: string;
288
+ typeGuard: typeof import("./type-guards").isBoolean;
289
+ defaultValue: boolean;
290
+ };
299
291
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
292
  each: (describeBody: jest.EmptyFunction) => void;
301
293
  };
@@ -175,14 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: (value: unknown) => value is "test" | "control";
176
176
  defaultValue: "test" | "control";
177
177
  };
178
- platform_editor_ai_onboarding: {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "test" | "control";
184
- defaultValue: "test" | "control";
185
- };
186
178
  comment_on_bodied_extensions: {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -207,14 +199,6 @@ export declare const editorExperimentsConfig: {
207
199
  typeGuard: (value: unknown) => value is "test" | "control";
208
200
  defaultValue: "test" | "control";
209
201
  };
210
- typography_migration_ugc: {
211
- productKeys: {
212
- confluence: string;
213
- };
214
- param: string;
215
- typeGuard: typeof isBoolean;
216
- defaultValue: boolean;
217
- };
218
202
  'optimised-apply-dnd': {
219
203
  productKeys: {
220
204
  confluence: string;
@@ -255,4 +239,12 @@ export declare const editorExperimentsConfig: {
255
239
  typeGuard: typeof isBoolean;
256
240
  defaultValue: boolean;
257
241
  };
242
+ comment_on_inline_node_spotlight: {
243
+ productKeys: {
244
+ confluence: string;
245
+ };
246
+ param: string;
247
+ typeGuard: typeof isBoolean;
248
+ defaultValue: boolean;
249
+ };
258
250
  };
@@ -24,16 +24,15 @@ export declare let _overrides: Partial<{
24
24
  platform_editor_table_use_shared_state_hook: boolean;
25
25
  'editor_ai_-_multi_prompts': "test" | "control";
26
26
  platform_editor_ai_additional_editor_prompts: "test" | "control";
27
- platform_editor_ai_onboarding: "test" | "control";
28
27
  comment_on_bodied_extensions: boolean;
29
28
  platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
30
29
  'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
31
- typography_migration_ugc: boolean;
32
30
  'optimised-apply-dnd': boolean;
33
31
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
32
  advanced_layouts: boolean;
35
33
  platform_editor_live_pages_ai_definitions: "test" | "control";
36
34
  support_table_in_comment_jira: boolean;
35
+ comment_on_inline_node_spotlight: boolean;
37
36
  }>;
38
37
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
39
38
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.8.0",
3
+ "version": "2.10.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",