@atlaskit/tmp-editor-statsig 2.32.1 → 2.33.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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.33.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#102069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102069)
8
+ [`3d4c9e1a85d9c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3d4c9e1a85d9c) -
9
+ Clean up platform_editor_dnd_input_performance_optimisation experiment
10
+
11
+ ## 2.33.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#101369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101369)
16
+ [`afb7fc78b78c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/afb7fc78b78c0) -
17
+ Cleaning all related proactive ai spelling and grammar fetaure gates and experiments
18
+
3
19
  ## 2.32.1
4
20
 
5
21
  ### Patch Changes
@@ -54,15 +54,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
54
54
  typeGuard: _typeGuards.isBoolean,
55
55
  defaultValue: false
56
56
  },
57
- // Added 2024-08-27
58
- 'dnd-input-performance-optimisation': {
59
- productKeys: {
60
- confluence: 'platform_editor_dnd_input_performance_optimisation'
61
- },
62
- param: 'isEnabled',
63
- typeGuard: _typeGuards.isBoolean,
64
- defaultValue: false
65
- },
66
57
  // Added 2024-08-28
67
58
  'element-level-templates': {
68
59
  productKeys: {
@@ -211,15 +202,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
211
202
  typeGuard: _typeGuards.isBoolean,
212
203
  defaultValue: false
213
204
  },
214
- // Added 28-10-2024
215
- 'editor_ai_-_proactive_ai_model_variations': {
216
- productKeys: {
217
- confluence: 'editor_ai_-_proactive_ai_model_variations'
218
- },
219
- param: 'cohort',
220
- typeGuard: (0, _typeGuards.oneOf)(['control', 'skip_grammar']),
221
- defaultValue: 'control'
222
- },
223
205
  'platform_editor_ai-prompts-placeholder': {
224
206
  productKeys: {
225
207
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -228,14 +210,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
228
210
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
229
211
  defaultValue: 'control'
230
212
  },
231
- 'editor_ai_-_gpt4_experiment': {
232
- productKeys: {
233
- confluence: 'editor_ai_-_gpt4_experiment'
234
- },
235
- param: 'cohort',
236
- typeGuard: (0, _typeGuards.oneOf)(['control', 'einstein']),
237
- defaultValue: 'control'
238
- },
239
213
  // added 2024-11-06
240
214
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
241
215
  'nested-tables-in-tables': {
@@ -48,15 +48,6 @@ export const editorExperimentsConfig = {
48
48
  typeGuard: isBoolean,
49
49
  defaultValue: false
50
50
  },
51
- // Added 2024-08-27
52
- 'dnd-input-performance-optimisation': {
53
- productKeys: {
54
- confluence: 'platform_editor_dnd_input_performance_optimisation'
55
- },
56
- param: 'isEnabled',
57
- typeGuard: isBoolean,
58
- defaultValue: false
59
- },
60
51
  // Added 2024-08-28
61
52
  'element-level-templates': {
62
53
  productKeys: {
@@ -205,15 +196,6 @@ export const editorExperimentsConfig = {
205
196
  typeGuard: isBoolean,
206
197
  defaultValue: false
207
198
  },
208
- // Added 28-10-2024
209
- 'editor_ai_-_proactive_ai_model_variations': {
210
- productKeys: {
211
- confluence: 'editor_ai_-_proactive_ai_model_variations'
212
- },
213
- param: 'cohort',
214
- typeGuard: oneOf(['control', 'skip_grammar']),
215
- defaultValue: 'control'
216
- },
217
199
  'platform_editor_ai-prompts-placeholder': {
218
200
  productKeys: {
219
201
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -222,14 +204,6 @@ export const editorExperimentsConfig = {
222
204
  typeGuard: oneOf(['control', 'test']),
223
205
  defaultValue: 'control'
224
206
  },
225
- 'editor_ai_-_gpt4_experiment': {
226
- productKeys: {
227
- confluence: 'editor_ai_-_gpt4_experiment'
228
- },
229
- param: 'cohort',
230
- typeGuard: oneOf(['control', 'einstein']),
231
- defaultValue: 'control'
232
- },
233
207
  // added 2024-11-06
234
208
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
235
209
  'nested-tables-in-tables': {
@@ -48,15 +48,6 @@ export var editorExperimentsConfig = {
48
48
  typeGuard: isBoolean,
49
49
  defaultValue: false
50
50
  },
51
- // Added 2024-08-27
52
- 'dnd-input-performance-optimisation': {
53
- productKeys: {
54
- confluence: 'platform_editor_dnd_input_performance_optimisation'
55
- },
56
- param: 'isEnabled',
57
- typeGuard: isBoolean,
58
- defaultValue: false
59
- },
60
51
  // Added 2024-08-28
61
52
  'element-level-templates': {
62
53
  productKeys: {
@@ -205,15 +196,6 @@ export var editorExperimentsConfig = {
205
196
  typeGuard: isBoolean,
206
197
  defaultValue: false
207
198
  },
208
- // Added 28-10-2024
209
- 'editor_ai_-_proactive_ai_model_variations': {
210
- productKeys: {
211
- confluence: 'editor_ai_-_proactive_ai_model_variations'
212
- },
213
- param: 'cohort',
214
- typeGuard: oneOf(['control', 'skip_grammar']),
215
- defaultValue: 'control'
216
- },
217
199
  'platform_editor_ai-prompts-placeholder': {
218
200
  productKeys: {
219
201
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -222,14 +204,6 @@ export var editorExperimentsConfig = {
222
204
  typeGuard: oneOf(['control', 'test']),
223
205
  defaultValue: 'control'
224
206
  },
225
- 'editor_ai_-_gpt4_experiment': {
226
- productKeys: {
227
- confluence: 'editor_ai_-_gpt4_experiment'
228
- },
229
- param: 'cohort',
230
- typeGuard: oneOf(['control', 'einstein']),
231
- defaultValue: 'control'
232
- },
233
207
  // added 2024-11-06
234
208
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
235
209
  'nested-tables-in-tables': {
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -80,14 +80,6 @@ declare namespace eeTest {
80
80
  typeGuard: typeof import("./type-guards").isBoolean;
81
81
  defaultValue: boolean;
82
82
  };
83
- 'dnd-input-performance-optimisation': {
84
- productKeys: {
85
- confluence: string;
86
- };
87
- param: string;
88
- typeGuard: typeof import("./type-guards").isBoolean;
89
- defaultValue: boolean;
90
- };
91
83
  'element-level-templates': {
92
84
  productKeys: {
93
85
  confluence: string;
@@ -216,14 +208,6 @@ declare namespace eeTest {
216
208
  typeGuard: typeof import("./type-guards").isBoolean;
217
209
  defaultValue: boolean;
218
210
  };
219
- 'editor_ai_-_proactive_ai_model_variations': {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "skip_grammar";
225
- defaultValue: "control" | "skip_grammar";
226
- };
227
211
  'platform_editor_ai-prompts-placeholder': {
228
212
  productKeys: {
229
213
  confluence: string;
@@ -232,14 +216,6 @@ declare namespace eeTest {
232
216
  typeGuard: (value: unknown) => value is "test" | "control";
233
217
  defaultValue: "test" | "control";
234
218
  };
235
- 'editor_ai_-_gpt4_experiment': {
236
- productKeys: {
237
- confluence: string;
238
- };
239
- param: string;
240
- typeGuard: (value: unknown) => value is "control" | "einstein";
241
- defaultValue: "control" | "einstein";
242
- };
243
219
  'nested-tables-in-tables': {
244
220
  productKeys: {
245
221
  confluence: string;
@@ -39,14 +39,6 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
- 'dnd-input-performance-optimisation': {
43
- productKeys: {
44
- confluence: string;
45
- };
46
- param: string;
47
- typeGuard: typeof isBoolean;
48
- defaultValue: boolean;
49
- };
50
42
  'element-level-templates': {
51
43
  productKeys: {
52
44
  confluence: string;
@@ -175,14 +167,6 @@ export declare const editorExperimentsConfig: {
175
167
  typeGuard: typeof isBoolean;
176
168
  defaultValue: boolean;
177
169
  };
178
- 'editor_ai_-_proactive_ai_model_variations': {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "skip_grammar";
184
- defaultValue: "control" | "skip_grammar";
185
- };
186
170
  'platform_editor_ai-prompts-placeholder': {
187
171
  productKeys: {
188
172
  confluence: string;
@@ -191,14 +175,6 @@ export declare const editorExperimentsConfig: {
191
175
  typeGuard: (value: unknown) => value is "test" | "control";
192
176
  defaultValue: "test" | "control";
193
177
  };
194
- 'editor_ai_-_gpt4_experiment': {
195
- productKeys: {
196
- confluence: string;
197
- };
198
- param: string;
199
- typeGuard: (value: unknown) => value is "control" | "einstein";
200
- defaultValue: "control" | "einstein";
201
- };
202
178
  'nested-tables-in-tables': {
203
179
  productKeys: {
204
180
  confluence: string;
@@ -7,7 +7,6 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
- 'dnd-input-performance-optimisation': boolean;
11
10
  'element-level-templates': boolean;
12
11
  'add-media-from-url': boolean;
13
12
  'nested-dnd': boolean;
@@ -24,9 +23,7 @@ export declare let _overrides: Partial<{
24
23
  advanced_layouts: boolean;
25
24
  support_table_in_comment_jira: boolean;
26
25
  comment_on_inline_node_spotlight: boolean;
27
- 'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
28
26
  'platform_editor_ai-prompts-placeholder': "test" | "control";
29
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
30
27
  'nested-tables-in-tables': boolean;
31
28
  platform_editor_ai_mentions_support: boolean;
32
29
  platform_editor_ai_change_tone_floating_toolbar: boolean;
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -80,14 +80,6 @@ declare namespace eeTest {
80
80
  typeGuard: typeof import("./type-guards").isBoolean;
81
81
  defaultValue: boolean;
82
82
  };
83
- 'dnd-input-performance-optimisation': {
84
- productKeys: {
85
- confluence: string;
86
- };
87
- param: string;
88
- typeGuard: typeof import("./type-guards").isBoolean;
89
- defaultValue: boolean;
90
- };
91
83
  'element-level-templates': {
92
84
  productKeys: {
93
85
  confluence: string;
@@ -216,14 +208,6 @@ declare namespace eeTest {
216
208
  typeGuard: typeof import("./type-guards").isBoolean;
217
209
  defaultValue: boolean;
218
210
  };
219
- 'editor_ai_-_proactive_ai_model_variations': {
220
- productKeys: {
221
- confluence: string;
222
- };
223
- param: string;
224
- typeGuard: (value: unknown) => value is "control" | "skip_grammar";
225
- defaultValue: "control" | "skip_grammar";
226
- };
227
211
  'platform_editor_ai-prompts-placeholder': {
228
212
  productKeys: {
229
213
  confluence: string;
@@ -232,14 +216,6 @@ declare namespace eeTest {
232
216
  typeGuard: (value: unknown) => value is "test" | "control";
233
217
  defaultValue: "test" | "control";
234
218
  };
235
- 'editor_ai_-_gpt4_experiment': {
236
- productKeys: {
237
- confluence: string;
238
- };
239
- param: string;
240
- typeGuard: (value: unknown) => value is "control" | "einstein";
241
- defaultValue: "control" | "einstein";
242
- };
243
219
  'nested-tables-in-tables': {
244
220
  productKeys: {
245
221
  confluence: string;
@@ -39,14 +39,6 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
- 'dnd-input-performance-optimisation': {
43
- productKeys: {
44
- confluence: string;
45
- };
46
- param: string;
47
- typeGuard: typeof isBoolean;
48
- defaultValue: boolean;
49
- };
50
42
  'element-level-templates': {
51
43
  productKeys: {
52
44
  confluence: string;
@@ -175,14 +167,6 @@ export declare const editorExperimentsConfig: {
175
167
  typeGuard: typeof isBoolean;
176
168
  defaultValue: boolean;
177
169
  };
178
- 'editor_ai_-_proactive_ai_model_variations': {
179
- productKeys: {
180
- confluence: string;
181
- };
182
- param: string;
183
- typeGuard: (value: unknown) => value is "control" | "skip_grammar";
184
- defaultValue: "control" | "skip_grammar";
185
- };
186
170
  'platform_editor_ai-prompts-placeholder': {
187
171
  productKeys: {
188
172
  confluence: string;
@@ -191,14 +175,6 @@ export declare const editorExperimentsConfig: {
191
175
  typeGuard: (value: unknown) => value is "test" | "control";
192
176
  defaultValue: "test" | "control";
193
177
  };
194
- 'editor_ai_-_gpt4_experiment': {
195
- productKeys: {
196
- confluence: string;
197
- };
198
- param: string;
199
- typeGuard: (value: unknown) => value is "control" | "einstein";
200
- defaultValue: "control" | "einstein";
201
- };
202
178
  'nested-tables-in-tables': {
203
179
  productKeys: {
204
180
  confluence: string;
@@ -7,7 +7,6 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
- 'dnd-input-performance-optimisation': boolean;
11
10
  'element-level-templates': boolean;
12
11
  'add-media-from-url': boolean;
13
12
  'nested-dnd': boolean;
@@ -24,9 +23,7 @@ export declare let _overrides: Partial<{
24
23
  advanced_layouts: boolean;
25
24
  support_table_in_comment_jira: boolean;
26
25
  comment_on_inline_node_spotlight: boolean;
27
- 'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
28
26
  'platform_editor_ai-prompts-placeholder': "test" | "control";
29
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
30
27
  'nested-tables-in-tables': boolean;
31
28
  platform_editor_ai_mentions_support: boolean;
32
29
  platform_editor_ai_change_tone_floating_toolbar: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.32.1",
3
+ "version": "2.33.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",