@atlaskit/tmp-editor-statsig 2.19.0 → 2.20.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,23 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#167651](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167651)
8
+ [`5149d4fb1b488`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5149d4fb1b488) -
9
+ Removed experiment editor*ai*-\_proactive_ai_spelling_and_grammar and defaulted the S+G config to
10
+ on
11
+
12
+ ## 2.20.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#168098](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168098)
17
+ [`fb613ef23788c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb613ef23788c) -
18
+ [https://product-fabric.atlassian.net/browse/EDF-1995](EDF-1995) - clean up
19
+ `platform_editor_ai_command_palette_post_ga` Statsig experiment
20
+
3
21
  ## 2.19.0
4
22
 
5
23
  ### Minor Changes
@@ -162,15 +162,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
162
162
  typeGuard: _typeGuards.isBoolean,
163
163
  defaultValue: false
164
164
  },
165
- // Added 2024-09-24
166
- platform_editor_ai_command_palette_post_ga: {
167
- productKeys: {
168
- confluence: 'platform_editor_ai_command_palette_post_ga'
169
- },
170
- param: 'cohort',
171
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
172
- defaultValue: 'control'
173
- },
174
165
  platform_editor_table_use_shared_state_hook: {
175
166
  productKeys: {
176
167
  confluence: 'platform_editor_table_use_shared_state_hook'
@@ -276,14 +267,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
276
267
  typeGuard: _typeGuards.isBoolean,
277
268
  defaultValue: false
278
269
  },
279
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
280
- productKeys: {
281
- confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
282
- },
283
- param: 'cohort',
284
- typeGuard: (0, _typeGuards.oneOf)(['control', 'default-off', 'default-on']),
285
- defaultValue: 'control'
286
- },
287
270
  'platform_editor_ai-prompts-placeholder': {
288
271
  productKeys: {
289
272
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -156,15 +156,6 @@ export const editorExperimentsConfig = {
156
156
  typeGuard: isBoolean,
157
157
  defaultValue: false
158
158
  },
159
- // Added 2024-09-24
160
- platform_editor_ai_command_palette_post_ga: {
161
- productKeys: {
162
- confluence: 'platform_editor_ai_command_palette_post_ga'
163
- },
164
- param: 'cohort',
165
- typeGuard: oneOf(['control', 'test']),
166
- defaultValue: 'control'
167
- },
168
159
  platform_editor_table_use_shared_state_hook: {
169
160
  productKeys: {
170
161
  confluence: 'platform_editor_table_use_shared_state_hook'
@@ -270,14 +261,6 @@ export const editorExperimentsConfig = {
270
261
  typeGuard: isBoolean,
271
262
  defaultValue: false
272
263
  },
273
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
274
- productKeys: {
275
- confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
276
- },
277
- param: 'cohort',
278
- typeGuard: oneOf(['control', 'default-off', 'default-on']),
279
- defaultValue: 'control'
280
- },
281
264
  'platform_editor_ai-prompts-placeholder': {
282
265
  productKeys: {
283
266
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -156,15 +156,6 @@ export var editorExperimentsConfig = {
156
156
  typeGuard: isBoolean,
157
157
  defaultValue: false
158
158
  },
159
- // Added 2024-09-24
160
- platform_editor_ai_command_palette_post_ga: {
161
- productKeys: {
162
- confluence: 'platform_editor_ai_command_palette_post_ga'
163
- },
164
- param: 'cohort',
165
- typeGuard: oneOf(['control', 'test']),
166
- defaultValue: 'control'
167
- },
168
159
  platform_editor_table_use_shared_state_hook: {
169
160
  productKeys: {
170
161
  confluence: 'platform_editor_table_use_shared_state_hook'
@@ -270,14 +261,6 @@ export var editorExperimentsConfig = {
270
261
  typeGuard: isBoolean,
271
262
  defaultValue: false
272
263
  },
273
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
274
- productKeys: {
275
- confluence: 'editor_ai_-_proactive_ai_spelling_and_grammar'
276
- },
277
- param: 'cohort',
278
- typeGuard: oneOf(['control', 'default-off', 'default-on']),
279
- defaultValue: 'control'
280
- },
281
264
  'platform_editor_ai-prompts-placeholder': {
282
265
  productKeys: {
283
266
  confluence: 'platform_editor_ai-prompts-placeholder'
@@ -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_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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(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_editor_ai_ai_button_block_elements" | "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" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "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" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -176,14 +176,6 @@ declare namespace eeTest {
176
176
  typeGuard: typeof import("./type-guards").isBoolean;
177
177
  defaultValue: boolean;
178
178
  };
179
- platform_editor_ai_command_palette_post_ga: {
180
- productKeys: {
181
- confluence: string;
182
- };
183
- param: string;
184
- typeGuard: (value: unknown) => value is "test" | "control";
185
- defaultValue: "test" | "control";
186
- };
187
179
  platform_editor_table_use_shared_state_hook: {
188
180
  productKeys: {
189
181
  confluence: string;
@@ -272,14 +264,6 @@ declare namespace eeTest {
272
264
  typeGuard: typeof import("./type-guards").isBoolean;
273
265
  defaultValue: boolean;
274
266
  };
275
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
276
- productKeys: {
277
- confluence: string;
278
- };
279
- param: string;
280
- typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
281
- defaultValue: "control" | "default-off" | "default-on";
282
- };
283
267
  'platform_editor_ai-prompts-placeholder': {
284
268
  productKeys: {
285
269
  confluence: string;
@@ -135,14 +135,6 @@ export declare const editorExperimentsConfig: {
135
135
  typeGuard: typeof isBoolean;
136
136
  defaultValue: boolean;
137
137
  };
138
- platform_editor_ai_command_palette_post_ga: {
139
- productKeys: {
140
- confluence: string;
141
- };
142
- param: string;
143
- typeGuard: (value: unknown) => value is "test" | "control";
144
- defaultValue: "test" | "control";
145
- };
146
138
  platform_editor_table_use_shared_state_hook: {
147
139
  productKeys: {
148
140
  confluence: string;
@@ -231,14 +223,6 @@ export declare const editorExperimentsConfig: {
231
223
  typeGuard: typeof isBoolean;
232
224
  defaultValue: boolean;
233
225
  };
234
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
235
- productKeys: {
236
- confluence: string;
237
- };
238
- param: string;
239
- typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
240
- defaultValue: "control" | "default-off" | "default-on";
241
- };
242
226
  'platform_editor_ai-prompts-placeholder': {
243
227
  productKeys: {
244
228
  confluence: string;
@@ -19,7 +19,6 @@ export declare let _overrides: Partial<{
19
19
  platform_renderer_table_sticky_scrollbar: boolean;
20
20
  'nest-media-and-codeblock-in-quote': boolean;
21
21
  'nested-expand-in-expand': boolean;
22
- platform_editor_ai_command_palette_post_ga: "test" | "control";
23
22
  platform_editor_table_use_shared_state_hook: boolean;
24
23
  'editor_ai_-_multi_prompts': "test" | "control";
25
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
@@ -31,7 +30,6 @@ export declare let _overrides: Partial<{
31
30
  comment_on_inline_node_spotlight: boolean;
32
31
  'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
33
32
  platform_editor_ai_refine_response_button: boolean;
34
- 'editor_ai_-_proactive_ai_spelling_and_grammar': "control" | "default-off" | "default-on";
35
33
  'platform_editor_ai-prompts-placeholder': "test" | "control";
36
34
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
37
35
  platform_editor_ai_facepile: 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_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" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(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_editor_ai_ai_button_block_elements" | "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" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "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" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -176,14 +176,6 @@ declare namespace eeTest {
176
176
  typeGuard: typeof import("./type-guards").isBoolean;
177
177
  defaultValue: boolean;
178
178
  };
179
- platform_editor_ai_command_palette_post_ga: {
180
- productKeys: {
181
- confluence: string;
182
- };
183
- param: string;
184
- typeGuard: (value: unknown) => value is "test" | "control";
185
- defaultValue: "test" | "control";
186
- };
187
179
  platform_editor_table_use_shared_state_hook: {
188
180
  productKeys: {
189
181
  confluence: string;
@@ -272,14 +264,6 @@ declare namespace eeTest {
272
264
  typeGuard: typeof import("./type-guards").isBoolean;
273
265
  defaultValue: boolean;
274
266
  };
275
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
276
- productKeys: {
277
- confluence: string;
278
- };
279
- param: string;
280
- typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
281
- defaultValue: "control" | "default-off" | "default-on";
282
- };
283
267
  'platform_editor_ai-prompts-placeholder': {
284
268
  productKeys: {
285
269
  confluence: string;
@@ -135,14 +135,6 @@ export declare const editorExperimentsConfig: {
135
135
  typeGuard: typeof isBoolean;
136
136
  defaultValue: boolean;
137
137
  };
138
- platform_editor_ai_command_palette_post_ga: {
139
- productKeys: {
140
- confluence: string;
141
- };
142
- param: string;
143
- typeGuard: (value: unknown) => value is "test" | "control";
144
- defaultValue: "test" | "control";
145
- };
146
138
  platform_editor_table_use_shared_state_hook: {
147
139
  productKeys: {
148
140
  confluence: string;
@@ -231,14 +223,6 @@ export declare const editorExperimentsConfig: {
231
223
  typeGuard: typeof isBoolean;
232
224
  defaultValue: boolean;
233
225
  };
234
- 'editor_ai_-_proactive_ai_spelling_and_grammar': {
235
- productKeys: {
236
- confluence: string;
237
- };
238
- param: string;
239
- typeGuard: (value: unknown) => value is "control" | "default-off" | "default-on";
240
- defaultValue: "control" | "default-off" | "default-on";
241
- };
242
226
  'platform_editor_ai-prompts-placeholder': {
243
227
  productKeys: {
244
228
  confluence: string;
@@ -19,7 +19,6 @@ export declare let _overrides: Partial<{
19
19
  platform_renderer_table_sticky_scrollbar: boolean;
20
20
  'nest-media-and-codeblock-in-quote': boolean;
21
21
  'nested-expand-in-expand': boolean;
22
- platform_editor_ai_command_palette_post_ga: "test" | "control";
23
22
  platform_editor_table_use_shared_state_hook: boolean;
24
23
  'editor_ai_-_multi_prompts': "test" | "control";
25
24
  platform_editor_ai_additional_editor_prompts: "test" | "control";
@@ -31,7 +30,6 @@ export declare let _overrides: Partial<{
31
30
  comment_on_inline_node_spotlight: boolean;
32
31
  'editor_ai_-_proactive_ai_model_variations': "control" | "skip_grammar";
33
32
  platform_editor_ai_refine_response_button: boolean;
34
- 'editor_ai_-_proactive_ai_spelling_and_grammar': "control" | "default-off" | "default-on";
35
33
  'platform_editor_ai-prompts-placeholder': "test" | "control";
36
34
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
37
35
  platform_editor_ai_facepile: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.19.0",
3
+ "version": "2.20.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",