@atlaskit/tmp-editor-statsig 2.32.0 → 2.33.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
+ ## 2.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#101369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101369)
8
+ [`afb7fc78b78c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/afb7fc78b78c0) -
9
+ Cleaning all related proactive ai spelling and grammar fetaure gates and experiments
10
+
11
+ ## 2.32.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#100459](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100459)
16
+ [`105137587329b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/105137587329b) -
17
+ EDF-1803 Cleaned up platform_editor_ai_refine_response_button
18
+
3
19
  ## 2.32.0
4
20
 
5
21
  ### Minor Changes
@@ -211,25 +211,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
211
211
  typeGuard: _typeGuards.isBoolean,
212
212
  defaultValue: false
213
213
  },
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
- // Added 2024-10-31
224
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_refine_response_button/setup
225
- platform_editor_ai_refine_response_button: {
226
- productKeys: {
227
- confluence: 'platform_editor_ai_refine_response_button'
228
- },
229
- param: 'isEnabled',
230
- typeGuard: _typeGuards.isBoolean,
231
- defaultValue: false
232
- },
233
214
  'platform_editor_ai-prompts-placeholder': {
234
215
  productKeys: {
235
216
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -238,14 +219,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
238
219
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
239
220
  defaultValue: 'control'
240
221
  },
241
- 'editor_ai_-_gpt4_experiment': {
242
- productKeys: {
243
- confluence: 'editor_ai_-_gpt4_experiment'
244
- },
245
- param: 'cohort',
246
- typeGuard: (0, _typeGuards.oneOf)(['control', 'einstein']),
247
- defaultValue: 'control'
248
- },
249
222
  // added 2024-11-06
250
223
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
251
224
  'nested-tables-in-tables': {
@@ -205,25 +205,6 @@ export const editorExperimentsConfig = {
205
205
  typeGuard: isBoolean,
206
206
  defaultValue: false
207
207
  },
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
- // Added 2024-10-31
218
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_refine_response_button/setup
219
- platform_editor_ai_refine_response_button: {
220
- productKeys: {
221
- confluence: 'platform_editor_ai_refine_response_button'
222
- },
223
- param: 'isEnabled',
224
- typeGuard: isBoolean,
225
- defaultValue: false
226
- },
227
208
  'platform_editor_ai-prompts-placeholder': {
228
209
  productKeys: {
229
210
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -232,14 +213,6 @@ export const editorExperimentsConfig = {
232
213
  typeGuard: oneOf(['control', 'test']),
233
214
  defaultValue: 'control'
234
215
  },
235
- 'editor_ai_-_gpt4_experiment': {
236
- productKeys: {
237
- confluence: 'editor_ai_-_gpt4_experiment'
238
- },
239
- param: 'cohort',
240
- typeGuard: oneOf(['control', 'einstein']),
241
- defaultValue: 'control'
242
- },
243
216
  // added 2024-11-06
244
217
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
245
218
  'nested-tables-in-tables': {
@@ -205,25 +205,6 @@ export var editorExperimentsConfig = {
205
205
  typeGuard: isBoolean,
206
206
  defaultValue: false
207
207
  },
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
- // Added 2024-10-31
218
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_refine_response_button/setup
219
- platform_editor_ai_refine_response_button: {
220
- productKeys: {
221
- confluence: 'platform_editor_ai_refine_response_button'
222
- },
223
- param: 'isEnabled',
224
- typeGuard: isBoolean,
225
- defaultValue: false
226
- },
227
208
  'platform_editor_ai-prompts-placeholder': {
228
209
  productKeys: {
229
210
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -232,14 +213,6 @@ export var editorExperimentsConfig = {
232
213
  typeGuard: oneOf(['control', 'test']),
233
214
  defaultValue: 'control'
234
215
  },
235
- 'editor_ai_-_gpt4_experiment': {
236
- productKeys: {
237
- confluence: 'editor_ai_-_gpt4_experiment'
238
- },
239
- param: 'cohort',
240
- typeGuard: oneOf(['control', 'einstein']),
241
- defaultValue: 'control'
242
- },
243
216
  // added 2024-11-06
244
217
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
245
218
  '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_refine_response_button" | "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" | "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" | "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: {
@@ -216,22 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
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
- platform_editor_ai_refine_response_button: {
228
- productKeys: {
229
- confluence: string;
230
- };
231
- param: string;
232
- typeGuard: typeof import("./type-guards").isBoolean;
233
- defaultValue: boolean;
234
- };
235
219
  'platform_editor_ai-prompts-placeholder': {
236
220
  productKeys: {
237
221
  confluence: string;
@@ -240,14 +224,6 @@ declare namespace eeTest {
240
224
  typeGuard: (value: unknown) => value is "test" | "control";
241
225
  defaultValue: "test" | "control";
242
226
  };
243
- 'editor_ai_-_gpt4_experiment': {
244
- productKeys: {
245
- confluence: string;
246
- };
247
- param: string;
248
- typeGuard: (value: unknown) => value is "control" | "einstein";
249
- defaultValue: "control" | "einstein";
250
- };
251
227
  'nested-tables-in-tables': {
252
228
  productKeys: {
253
229
  confluence: string;
@@ -175,22 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
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
- platform_editor_ai_refine_response_button: {
187
- productKeys: {
188
- confluence: string;
189
- };
190
- param: string;
191
- typeGuard: typeof isBoolean;
192
- defaultValue: boolean;
193
- };
194
178
  'platform_editor_ai-prompts-placeholder': {
195
179
  productKeys: {
196
180
  confluence: string;
@@ -199,14 +183,6 @@ export declare const editorExperimentsConfig: {
199
183
  typeGuard: (value: unknown) => value is "test" | "control";
200
184
  defaultValue: "test" | "control";
201
185
  };
202
- 'editor_ai_-_gpt4_experiment': {
203
- productKeys: {
204
- confluence: string;
205
- };
206
- param: string;
207
- typeGuard: (value: unknown) => value is "control" | "einstein";
208
- defaultValue: "control" | "einstein";
209
- };
210
186
  'nested-tables-in-tables': {
211
187
  productKeys: {
212
188
  confluence: string;
@@ -24,10 +24,7 @@ export declare let _overrides: Partial<{
24
24
  advanced_layouts: boolean;
25
25
  support_table_in_comment_jira: boolean;
26
26
  comment_on_inline_node_spotlight: boolean;
27
- 'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
28
- platform_editor_ai_refine_response_button: boolean;
29
27
  'platform_editor_ai-prompts-placeholder': "test" | "control";
30
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
31
28
  'nested-tables-in-tables': boolean;
32
29
  platform_editor_ai_mentions_support: boolean;
33
30
  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_refine_response_button" | "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" | "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" | "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: {
@@ -216,22 +216,6 @@ declare namespace eeTest {
216
216
  typeGuard: typeof import("./type-guards").isBoolean;
217
217
  defaultValue: boolean;
218
218
  };
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
- platform_editor_ai_refine_response_button: {
228
- productKeys: {
229
- confluence: string;
230
- };
231
- param: string;
232
- typeGuard: typeof import("./type-guards").isBoolean;
233
- defaultValue: boolean;
234
- };
235
219
  'platform_editor_ai-prompts-placeholder': {
236
220
  productKeys: {
237
221
  confluence: string;
@@ -240,14 +224,6 @@ declare namespace eeTest {
240
224
  typeGuard: (value: unknown) => value is "test" | "control";
241
225
  defaultValue: "test" | "control";
242
226
  };
243
- 'editor_ai_-_gpt4_experiment': {
244
- productKeys: {
245
- confluence: string;
246
- };
247
- param: string;
248
- typeGuard: (value: unknown) => value is "control" | "einstein";
249
- defaultValue: "control" | "einstein";
250
- };
251
227
  'nested-tables-in-tables': {
252
228
  productKeys: {
253
229
  confluence: string;
@@ -175,22 +175,6 @@ export declare const editorExperimentsConfig: {
175
175
  typeGuard: typeof isBoolean;
176
176
  defaultValue: boolean;
177
177
  };
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
- platform_editor_ai_refine_response_button: {
187
- productKeys: {
188
- confluence: string;
189
- };
190
- param: string;
191
- typeGuard: typeof isBoolean;
192
- defaultValue: boolean;
193
- };
194
178
  'platform_editor_ai-prompts-placeholder': {
195
179
  productKeys: {
196
180
  confluence: string;
@@ -199,14 +183,6 @@ export declare const editorExperimentsConfig: {
199
183
  typeGuard: (value: unknown) => value is "test" | "control";
200
184
  defaultValue: "test" | "control";
201
185
  };
202
- 'editor_ai_-_gpt4_experiment': {
203
- productKeys: {
204
- confluence: string;
205
- };
206
- param: string;
207
- typeGuard: (value: unknown) => value is "control" | "einstein";
208
- defaultValue: "control" | "einstein";
209
- };
210
186
  'nested-tables-in-tables': {
211
187
  productKeys: {
212
188
  confluence: string;
@@ -24,10 +24,7 @@ export declare let _overrides: Partial<{
24
24
  advanced_layouts: boolean;
25
25
  support_table_in_comment_jira: boolean;
26
26
  comment_on_inline_node_spotlight: boolean;
27
- 'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
28
- platform_editor_ai_refine_response_button: boolean;
29
27
  'platform_editor_ai-prompts-placeholder': "test" | "control";
30
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
31
28
  'nested-tables-in-tables': boolean;
32
29
  platform_editor_ai_mentions_support: boolean;
33
30
  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.0",
3
+ "version": "2.33.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",