@atlaskit/tmp-editor-statsig 2.12.2 → 2.13.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,14 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217)
8
+ [`d2d5c286e4e86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2d5c286e4e86) -
9
+ [ux] EDF-1845 Remove floating toolbar experiment (platform_editor_ai_floating_toolbar_v2). Change
10
+ the behaviour to use the trailing variant of the experiment.
11
+
3
12
  ## 2.12.2
4
13
 
5
14
  ### Patch Changes
@@ -217,15 +217,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
217
217
  typeGuard: _typeGuards.isBoolean,
218
218
  defaultValue: false
219
219
  },
220
- // Added 2024-10-01
221
- platform_editor_ai_floating_toolbar_v2: {
222
- productKeys: {
223
- confluence: 'platform_editor_ai_floating_toolbar_v2'
224
- },
225
- param: 'cohort',
226
- typeGuard: (0, _typeGuards.oneOf)(['control', 'leading', 'trailing']),
227
- defaultValue: 'control'
228
- },
229
220
  // Added 2024-10-06
230
221
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
231
222
  'optimised-apply-dnd': {
@@ -211,15 +211,6 @@ export const editorExperimentsConfig = {
211
211
  typeGuard: isBoolean,
212
212
  defaultValue: false
213
213
  },
214
- // Added 2024-10-01
215
- platform_editor_ai_floating_toolbar_v2: {
216
- productKeys: {
217
- confluence: 'platform_editor_ai_floating_toolbar_v2'
218
- },
219
- param: 'cohort',
220
- typeGuard: oneOf(['control', 'leading', 'trailing']),
221
- defaultValue: 'control'
222
- },
223
214
  // Added 2024-10-06
224
215
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
225
216
  'optimised-apply-dnd': {
@@ -211,15 +211,6 @@ export var editorExperimentsConfig = {
211
211
  typeGuard: isBoolean,
212
212
  defaultValue: false
213
213
  },
214
- // Added 2024-10-01
215
- platform_editor_ai_floating_toolbar_v2: {
216
- productKeys: {
217
- confluence: 'platform_editor_ai_floating_toolbar_v2'
218
- },
219
- param: 'cohort',
220
- typeGuard: oneOf(['control', 'leading', 'trailing']),
221
- defaultValue: 'control'
222
- },
223
214
  // Added 2024-10-06
224
215
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
225
216
  'optimised-apply-dnd': {
@@ -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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_ai_floating_toolbar_v2" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -224,14 +224,6 @@ declare namespace eeTest {
224
224
  typeGuard: typeof import("./type-guards").isBoolean;
225
225
  defaultValue: boolean;
226
226
  };
227
- platform_editor_ai_floating_toolbar_v2: {
228
- productKeys: {
229
- confluence: string;
230
- };
231
- param: string;
232
- typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
233
- defaultValue: "control" | "leading" | "trailing";
234
- };
235
227
  'optimised-apply-dnd': {
236
228
  productKeys: {
237
229
  confluence: string;
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
183
183
  typeGuard: typeof isBoolean;
184
184
  defaultValue: boolean;
185
185
  };
186
- platform_editor_ai_floating_toolbar_v2: {
187
- productKeys: {
188
- confluence: string;
189
- };
190
- param: string;
191
- typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
192
- defaultValue: "control" | "leading" | "trailing";
193
- };
194
186
  'optimised-apply-dnd': {
195
187
  productKeys: {
196
188
  confluence: string;
@@ -25,7 +25,6 @@ export declare let _overrides: Partial<{
25
25
  'editor_ai_-_multi_prompts': "test" | "control";
26
26
  platform_editor_ai_additional_editor_prompts: "test" | "control";
27
27
  comment_on_bodied_extensions: boolean;
28
- platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
29
28
  'optimised-apply-dnd': boolean;
30
29
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
31
30
  advanced_layouts: 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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_ai_floating_toolbar_v2" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(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" | "platform_editor_empty_line_prompt" | "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" | "platform_editor_live_pages_ai_definitions" | "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" | "platform_editor_ai_change_tone_floating_toolbar">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -224,14 +224,6 @@ declare namespace eeTest {
224
224
  typeGuard: typeof import("./type-guards").isBoolean;
225
225
  defaultValue: boolean;
226
226
  };
227
- platform_editor_ai_floating_toolbar_v2: {
228
- productKeys: {
229
- confluence: string;
230
- };
231
- param: string;
232
- typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
233
- defaultValue: "control" | "leading" | "trailing";
234
- };
235
227
  'optimised-apply-dnd': {
236
228
  productKeys: {
237
229
  confluence: string;
@@ -183,14 +183,6 @@ export declare const editorExperimentsConfig: {
183
183
  typeGuard: typeof isBoolean;
184
184
  defaultValue: boolean;
185
185
  };
186
- platform_editor_ai_floating_toolbar_v2: {
187
- productKeys: {
188
- confluence: string;
189
- };
190
- param: string;
191
- typeGuard: (value: unknown) => value is "control" | "leading" | "trailing";
192
- defaultValue: "control" | "leading" | "trailing";
193
- };
194
186
  'optimised-apply-dnd': {
195
187
  productKeys: {
196
188
  confluence: string;
@@ -25,7 +25,6 @@ export declare let _overrides: Partial<{
25
25
  'editor_ai_-_multi_prompts': "test" | "control";
26
26
  platform_editor_ai_additional_editor_prompts: "test" | "control";
27
27
  comment_on_bodied_extensions: boolean;
28
- platform_editor_ai_floating_toolbar_v2: "control" | "leading" | "trailing";
29
28
  'optimised-apply-dnd': boolean;
30
29
  platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
31
30
  advanced_layouts: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.12.2",
3
+ "version": "2.13.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",