@atlaskit/tmp-editor-statsig 2.32.1 → 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,13 @@
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
+
3
11
  ## 2.32.1
4
12
 
5
13
  ### Patch Changes
@@ -211,15 +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
214
  'platform_editor_ai-prompts-placeholder': {
224
215
  productKeys: {
225
216
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -228,14 +219,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
228
219
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
229
220
  defaultValue: 'control'
230
221
  },
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
222
  // added 2024-11-06
240
223
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
241
224
  'nested-tables-in-tables': {
@@ -205,15 +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
208
  'platform_editor_ai-prompts-placeholder': {
218
209
  productKeys: {
219
210
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -222,14 +213,6 @@ export const editorExperimentsConfig = {
222
213
  typeGuard: oneOf(['control', 'test']),
223
214
  defaultValue: 'control'
224
215
  },
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
216
  // added 2024-11-06
234
217
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
235
218
  'nested-tables-in-tables': {
@@ -205,15 +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
208
  'platform_editor_ai-prompts-placeholder': {
218
209
  productKeys: {
219
210
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -222,14 +213,6 @@ export var editorExperimentsConfig = {
222
213
  typeGuard: oneOf(['control', 'test']),
223
214
  defaultValue: 'control'
224
215
  },
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
216
  // added 2024-11-06
234
217
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
235
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-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,14 +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
219
  'platform_editor_ai-prompts-placeholder': {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -232,14 +224,6 @@ declare namespace eeTest {
232
224
  typeGuard: (value: unknown) => value is "test" | "control";
233
225
  defaultValue: "test" | "control";
234
226
  };
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
227
  'nested-tables-in-tables': {
244
228
  productKeys: {
245
229
  confluence: string;
@@ -175,14 +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
178
  'platform_editor_ai-prompts-placeholder': {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -191,14 +183,6 @@ export declare const editorExperimentsConfig: {
191
183
  typeGuard: (value: unknown) => value is "test" | "control";
192
184
  defaultValue: "test" | "control";
193
185
  };
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
186
  'nested-tables-in-tables': {
203
187
  productKeys: {
204
188
  confluence: string;
@@ -24,9 +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
27
  'platform_editor_ai-prompts-placeholder': "test" | "control";
29
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
30
28
  'nested-tables-in-tables': boolean;
31
29
  platform_editor_ai_mentions_support: boolean;
32
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-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,14 +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
219
  'platform_editor_ai-prompts-placeholder': {
228
220
  productKeys: {
229
221
  confluence: string;
@@ -232,14 +224,6 @@ declare namespace eeTest {
232
224
  typeGuard: (value: unknown) => value is "test" | "control";
233
225
  defaultValue: "test" | "control";
234
226
  };
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
227
  'nested-tables-in-tables': {
244
228
  productKeys: {
245
229
  confluence: string;
@@ -175,14 +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
178
  'platform_editor_ai-prompts-placeholder': {
187
179
  productKeys: {
188
180
  confluence: string;
@@ -191,14 +183,6 @@ export declare const editorExperimentsConfig: {
191
183
  typeGuard: (value: unknown) => value is "test" | "control";
192
184
  defaultValue: "test" | "control";
193
185
  };
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
186
  'nested-tables-in-tables': {
203
187
  productKeys: {
204
188
  confluence: string;
@@ -24,9 +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
27
  'platform_editor_ai-prompts-placeholder': "test" | "control";
29
- 'editor_ai_-_gpt4_experiment': "control" | "einstein";
30
28
  'nested-tables-in-tables': boolean;
31
29
  platform_editor_ai_mentions_support: boolean;
32
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.1",
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",