@atlaskit/tmp-editor-statsig 4.4.3 → 4.6.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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#134562](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134562)
8
+ [`f008c541bb06b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f008c541bb06b) -
9
+ [ux] EDF-2645 Introduce an experiment to cut off low-quality nudges.
10
+
11
+ ## 4.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#127912](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127912)
16
+ [`d3364031ea983`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3364031ea983) -
17
+ [NO-ISSUE] Cleaning up remaining pass experiments + follow ups
18
+
3
19
  ## 4.4.3
4
20
 
5
21
  ### Patch Changes
@@ -91,16 +91,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
91
91
  typeGuard: _typeGuards.isBoolean,
92
92
  defaultValue: false
93
93
  },
94
- // Added 2024-09-23
95
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
96
- 'editor_ai_-_multi_prompts': {
97
- productKeys: {
98
- confluence: 'editor_ai_-_multi_prompts'
99
- },
100
- param: 'cohort',
101
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
102
- defaultValue: 'control'
103
- },
104
94
  // Added 2024-10-01
105
95
  comment_on_bodied_extensions: {
106
96
  productKeys: {
@@ -282,5 +272,23 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
282
272
  param: 'cohort',
283
273
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
284
274
  defaultValue: 'control'
275
+ },
276
+ // Added 2025-03-28
277
+ platform_editor_ai_proactive_ai_nudge_score: {
278
+ productKeys: {
279
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
280
+ },
281
+ param: 'cohort',
282
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
283
+ defaultValue: 'control'
284
+ },
285
+ // Added 2025-03-26
286
+ platform_editor_markdown_next_media_plugin_exp: {
287
+ productKeys: {
288
+ confluence: 'platform_editor_markdown_next_media_plugin_exp'
289
+ },
290
+ param: 'isEnabled',
291
+ typeGuard: _typeGuards.isBoolean,
292
+ defaultValue: false
285
293
  }
286
294
  };
@@ -85,16 +85,6 @@ export const editorExperimentsConfig = {
85
85
  typeGuard: isBoolean,
86
86
  defaultValue: false
87
87
  },
88
- // Added 2024-09-23
89
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
90
- 'editor_ai_-_multi_prompts': {
91
- productKeys: {
92
- confluence: 'editor_ai_-_multi_prompts'
93
- },
94
- param: 'cohort',
95
- typeGuard: oneOf(['control', 'test']),
96
- defaultValue: 'control'
97
- },
98
88
  // Added 2024-10-01
99
89
  comment_on_bodied_extensions: {
100
90
  productKeys: {
@@ -276,5 +266,23 @@ export const editorExperimentsConfig = {
276
266
  param: 'cohort',
277
267
  typeGuard: oneOf(['control', 'test']),
278
268
  defaultValue: 'control'
269
+ },
270
+ // Added 2025-03-28
271
+ platform_editor_ai_proactive_ai_nudge_score: {
272
+ productKeys: {
273
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
274
+ },
275
+ param: 'cohort',
276
+ typeGuard: oneOf(['control', 'variant1']),
277
+ defaultValue: 'control'
278
+ },
279
+ // Added 2025-03-26
280
+ platform_editor_markdown_next_media_plugin_exp: {
281
+ productKeys: {
282
+ confluence: 'platform_editor_markdown_next_media_plugin_exp'
283
+ },
284
+ param: 'isEnabled',
285
+ typeGuard: isBoolean,
286
+ defaultValue: false
279
287
  }
280
288
  };
@@ -85,16 +85,6 @@ export var editorExperimentsConfig = {
85
85
  typeGuard: isBoolean,
86
86
  defaultValue: false
87
87
  },
88
- // Added 2024-09-23
89
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
90
- 'editor_ai_-_multi_prompts': {
91
- productKeys: {
92
- confluence: 'editor_ai_-_multi_prompts'
93
- },
94
- param: 'cohort',
95
- typeGuard: oneOf(['control', 'test']),
96
- defaultValue: 'control'
97
- },
98
88
  // Added 2024-10-01
99
89
  comment_on_bodied_extensions: {
100
90
  productKeys: {
@@ -276,5 +266,23 @@ export var editorExperimentsConfig = {
276
266
  param: 'cohort',
277
267
  typeGuard: oneOf(['control', 'test']),
278
268
  defaultValue: 'control'
269
+ },
270
+ // Added 2025-03-28
271
+ platform_editor_ai_proactive_ai_nudge_score: {
272
+ productKeys: {
273
+ confluence: 'platform_editor_ai_proactive_ai_nudge_score'
274
+ },
275
+ param: 'cohort',
276
+ typeGuard: oneOf(['control', 'variant1']),
277
+ defaultValue: 'control'
278
+ },
279
+ // Added 2025-03-26
280
+ platform_editor_markdown_next_media_plugin_exp: {
281
+ productKeys: {
282
+ confluence: 'platform_editor_markdown_next_media_plugin_exp'
283
+ },
284
+ param: 'isEnabled',
285
+ typeGuard: isBoolean,
286
+ defaultValue: false
279
287
  }
280
288
  };
@@ -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" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "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" | "expand_selection_range_to_include_inline_node" | "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_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "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_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -112,14 +112,6 @@ declare namespace eeTest {
112
112
  typeGuard: typeof import("./type-guards").isBoolean;
113
113
  defaultValue: boolean;
114
114
  };
115
- 'editor_ai_-_multi_prompts': {
116
- productKeys: {
117
- confluence: string;
118
- };
119
- param: string;
120
- typeGuard: (value: unknown) => value is "test" | "control";
121
- defaultValue: "test" | "control";
122
- };
123
115
  comment_on_bodied_extensions: {
124
116
  productKeys: {
125
117
  confluence: string;
@@ -280,6 +272,22 @@ declare namespace eeTest {
280
272
  typeGuard: (value: unknown) => value is "test" | "control";
281
273
  defaultValue: "test" | "control";
282
274
  };
275
+ platform_editor_ai_proactive_ai_nudge_score: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: (value: unknown) => value is "control" | "variant1";
281
+ defaultValue: "control" | "variant1";
282
+ };
283
+ platform_editor_markdown_next_media_plugin_exp: {
284
+ productKeys: {
285
+ confluence: string;
286
+ };
287
+ param: string;
288
+ typeGuard: typeof import("./type-guards").isBoolean;
289
+ defaultValue: boolean;
290
+ };
283
291
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
284
292
  each: (describeBody: jest.EmptyFunction) => void;
285
293
  };
@@ -71,14 +71,6 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
- 'editor_ai_-_multi_prompts': {
75
- productKeys: {
76
- confluence: string;
77
- };
78
- param: string;
79
- typeGuard: (value: unknown) => value is "test" | "control";
80
- defaultValue: "test" | "control";
81
- };
82
74
  comment_on_bodied_extensions: {
83
75
  productKeys: {
84
76
  confluence: string;
@@ -239,4 +231,20 @@ export declare const editorExperimentsConfig: {
239
231
  typeGuard: (value: unknown) => value is "test" | "control";
240
232
  defaultValue: "test" | "control";
241
233
  };
234
+ platform_editor_ai_proactive_ai_nudge_score: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: (value: unknown) => value is "control" | "variant1";
240
+ defaultValue: "control" | "variant1";
241
+ };
242
+ platform_editor_markdown_next_media_plugin_exp: {
243
+ productKeys: {
244
+ confluence: string;
245
+ };
246
+ param: string;
247
+ typeGuard: typeof isBoolean;
248
+ defaultValue: boolean;
249
+ };
242
250
  };
@@ -48,6 +48,9 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
+ platform_editor_ai_proactive_ai_nudge_score: {
52
+ params: 'score';
53
+ };
51
54
  };
52
55
  /**
53
56
  * @warning This currently lacks type safety on the param names and return values
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
16
16
  platform_editor_exp_lazy_node_views: boolean;
17
17
  platform_renderer_table_sticky_scrollbar: boolean;
18
18
  'nested-expand-in-expand': boolean;
19
- 'editor_ai_-_multi_prompts': "test" | "control";
20
19
  comment_on_bodied_extensions: boolean;
21
20
  advanced_layouts: boolean;
22
21
  single_column_layouts: boolean;
@@ -37,6 +36,8 @@ export declare let _overrides: Partial<{
37
36
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
38
37
  platform_editor_cmd_a_progressively_select_nodes: boolean;
39
38
  editor_text_highlight_orange_to_yellow: "test" | "control";
39
+ platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
40
+ platform_editor_markdown_next_media_plugin_exp: boolean;
40
41
  }>;
41
42
  export declare let _paramOverrides: EditorExperimentParamOverrides;
42
43
  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" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "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" | "expand_selection_range_to_include_inline_node" | "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_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "nested-dnd" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "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" | "expand_selection_range_to_include_inline_node" | "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_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -112,14 +112,6 @@ declare namespace eeTest {
112
112
  typeGuard: typeof import("./type-guards").isBoolean;
113
113
  defaultValue: boolean;
114
114
  };
115
- 'editor_ai_-_multi_prompts': {
116
- productKeys: {
117
- confluence: string;
118
- };
119
- param: string;
120
- typeGuard: (value: unknown) => value is "test" | "control";
121
- defaultValue: "test" | "control";
122
- };
123
115
  comment_on_bodied_extensions: {
124
116
  productKeys: {
125
117
  confluence: string;
@@ -280,6 +272,22 @@ declare namespace eeTest {
280
272
  typeGuard: (value: unknown) => value is "test" | "control";
281
273
  defaultValue: "test" | "control";
282
274
  };
275
+ platform_editor_ai_proactive_ai_nudge_score: {
276
+ productKeys: {
277
+ confluence: string;
278
+ };
279
+ param: string;
280
+ typeGuard: (value: unknown) => value is "control" | "variant1";
281
+ defaultValue: "control" | "variant1";
282
+ };
283
+ platform_editor_markdown_next_media_plugin_exp: {
284
+ productKeys: {
285
+ confluence: string;
286
+ };
287
+ param: string;
288
+ typeGuard: typeof import("./type-guards").isBoolean;
289
+ defaultValue: boolean;
290
+ };
283
291
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
284
292
  each: (describeBody: jest.EmptyFunction) => void;
285
293
  };
@@ -71,14 +71,6 @@ export declare const editorExperimentsConfig: {
71
71
  typeGuard: typeof isBoolean;
72
72
  defaultValue: boolean;
73
73
  };
74
- 'editor_ai_-_multi_prompts': {
75
- productKeys: {
76
- confluence: string;
77
- };
78
- param: string;
79
- typeGuard: (value: unknown) => value is "test" | "control";
80
- defaultValue: "test" | "control";
81
- };
82
74
  comment_on_bodied_extensions: {
83
75
  productKeys: {
84
76
  confluence: string;
@@ -239,4 +231,20 @@ export declare const editorExperimentsConfig: {
239
231
  typeGuard: (value: unknown) => value is "test" | "control";
240
232
  defaultValue: "test" | "control";
241
233
  };
234
+ platform_editor_ai_proactive_ai_nudge_score: {
235
+ productKeys: {
236
+ confluence: string;
237
+ };
238
+ param: string;
239
+ typeGuard: (value: unknown) => value is "control" | "variant1";
240
+ defaultValue: "control" | "variant1";
241
+ };
242
+ platform_editor_markdown_next_media_plugin_exp: {
243
+ productKeys: {
244
+ confluence: string;
245
+ };
246
+ param: string;
247
+ typeGuard: typeof isBoolean;
248
+ defaultValue: boolean;
249
+ };
242
250
  };
@@ -48,6 +48,9 @@ type Unstable_EditorExperimentParams = {
48
48
  live_pages_graceful_edit: {
49
49
  params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
50
  };
51
+ platform_editor_ai_proactive_ai_nudge_score: {
52
+ params: 'score';
53
+ };
51
54
  };
52
55
  /**
53
56
  * @warning This currently lacks type safety on the param names and return values
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
16
16
  platform_editor_exp_lazy_node_views: boolean;
17
17
  platform_renderer_table_sticky_scrollbar: boolean;
18
18
  'nested-expand-in-expand': boolean;
19
- 'editor_ai_-_multi_prompts': "test" | "control";
20
19
  comment_on_bodied_extensions: boolean;
21
20
  advanced_layouts: boolean;
22
21
  single_column_layouts: boolean;
@@ -37,6 +36,8 @@ export declare let _overrides: Partial<{
37
36
  platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
38
37
  platform_editor_cmd_a_progressively_select_nodes: boolean;
39
38
  editor_text_highlight_orange_to_yellow: "test" | "control";
39
+ platform_editor_ai_proactive_ai_nudge_score: "control" | "variant1";
40
+ platform_editor_markdown_next_media_plugin_exp: boolean;
40
41
  }>;
41
42
  export declare let _paramOverrides: EditorExperimentParamOverrides;
42
43
  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.4.3",
3
+ "version": "4.6.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",