@atlaskit/tmp-editor-statsig 2.26.1 → 2.27.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.27.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#179266](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/179266)
8
+ [`19a796ab55276`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19a796ab55276) -
9
+ EDF-2116 - Cleanup FG platform_editor_ai_release_additional_prompts and experiment
10
+ platform_editor_ai_additional_editor_prompts
11
+
12
+ ## 2.27.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#177496](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177496)
17
+ [`dfb96360f8958`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dfb96360f8958) -
18
+ Remove optimise-apply-dnd experiment
19
+
3
20
  ## 2.26.1
4
21
 
5
22
  ### Patch Changes
@@ -183,16 +183,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
183
183
  typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
184
184
  defaultValue: 'control'
185
185
  },
186
- // Added 2024-10-02
187
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
188
- platform_editor_ai_additional_editor_prompts: {
189
- productKeys: {
190
- confluence: 'platform_editor_ai_additional_editor_prompts'
191
- },
192
- param: 'cohort',
193
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
194
- defaultValue: 'control'
195
- },
196
186
  // Added 2024-10-01
197
187
  comment_on_bodied_extensions: {
198
188
  productKeys: {
@@ -202,16 +192,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
202
192
  typeGuard: _typeGuards.isBoolean,
203
193
  defaultValue: false
204
194
  },
205
- // Added 2024-10-06
206
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
207
- 'optimised-apply-dnd': {
208
- productKeys: {
209
- confluence: 'platform_editor_element_dnd_apply_optimisation'
210
- },
211
- param: 'isEnabled',
212
- typeGuard: _typeGuards.isBoolean,
213
- defaultValue: false
214
- },
215
195
  // Added 2024-10-14
216
196
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
217
197
  advanced_layouts: {
@@ -177,16 +177,6 @@ export const editorExperimentsConfig = {
177
177
  typeGuard: oneOf(['control', 'test']),
178
178
  defaultValue: 'control'
179
179
  },
180
- // Added 2024-10-02
181
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
182
- platform_editor_ai_additional_editor_prompts: {
183
- productKeys: {
184
- confluence: 'platform_editor_ai_additional_editor_prompts'
185
- },
186
- param: 'cohort',
187
- typeGuard: oneOf(['control', 'test']),
188
- defaultValue: 'control'
189
- },
190
180
  // Added 2024-10-01
191
181
  comment_on_bodied_extensions: {
192
182
  productKeys: {
@@ -196,16 +186,6 @@ export const editorExperimentsConfig = {
196
186
  typeGuard: isBoolean,
197
187
  defaultValue: false
198
188
  },
199
- // Added 2024-10-06
200
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
201
- 'optimised-apply-dnd': {
202
- productKeys: {
203
- confluence: 'platform_editor_element_dnd_apply_optimisation'
204
- },
205
- param: 'isEnabled',
206
- typeGuard: isBoolean,
207
- defaultValue: false
208
- },
209
189
  // Added 2024-10-14
210
190
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
211
191
  advanced_layouts: {
@@ -177,16 +177,6 @@ export var editorExperimentsConfig = {
177
177
  typeGuard: oneOf(['control', 'test']),
178
178
  defaultValue: 'control'
179
179
  },
180
- // Added 2024-10-02
181
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_additional_editor_prompts/setup
182
- platform_editor_ai_additional_editor_prompts: {
183
- productKeys: {
184
- confluence: 'platform_editor_ai_additional_editor_prompts'
185
- },
186
- param: 'cohort',
187
- typeGuard: oneOf(['control', 'test']),
188
- defaultValue: 'control'
189
- },
190
180
  // Added 2024-10-01
191
181
  comment_on_bodied_extensions: {
192
182
  productKeys: {
@@ -196,16 +186,6 @@ export var editorExperimentsConfig = {
196
186
  typeGuard: isBoolean,
197
187
  defaultValue: false
198
188
  },
199
- // Added 2024-10-06
200
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_element_dnd_apply_optimisation
201
- 'optimised-apply-dnd': {
202
- productKeys: {
203
- confluence: 'platform_editor_element_dnd_apply_optimisation'
204
- },
205
- param: 'isEnabled',
206
- typeGuard: isBoolean,
207
- defaultValue: false
208
- },
209
189
  // Added 2024-10-14
210
190
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_advanced_layouts/setup
211
191
  advanced_layouts: {
@@ -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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "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_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(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" | "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_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -192,14 +192,6 @@ declare namespace eeTest {
192
192
  typeGuard: (value: unknown) => value is "test" | "control";
193
193
  defaultValue: "test" | "control";
194
194
  };
195
- platform_editor_ai_additional_editor_prompts: {
196
- productKeys: {
197
- confluence: string;
198
- };
199
- param: string;
200
- typeGuard: (value: unknown) => value is "test" | "control";
201
- defaultValue: "test" | "control";
202
- };
203
195
  comment_on_bodied_extensions: {
204
196
  productKeys: {
205
197
  confluence: string;
@@ -208,14 +200,6 @@ declare namespace eeTest {
208
200
  typeGuard: typeof import("./type-guards").isBoolean;
209
201
  defaultValue: boolean;
210
202
  };
211
- 'optimised-apply-dnd': {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
203
  advanced_layouts: {
220
204
  productKeys: {
221
205
  confluence: string;
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
151
151
  typeGuard: (value: unknown) => value is "test" | "control";
152
152
  defaultValue: "test" | "control";
153
153
  };
154
- platform_editor_ai_additional_editor_prompts: {
155
- productKeys: {
156
- confluence: string;
157
- };
158
- param: string;
159
- typeGuard: (value: unknown) => value is "test" | "control";
160
- defaultValue: "test" | "control";
161
- };
162
154
  comment_on_bodied_extensions: {
163
155
  productKeys: {
164
156
  confluence: string;
@@ -167,14 +159,6 @@ export declare const editorExperimentsConfig: {
167
159
  typeGuard: typeof isBoolean;
168
160
  defaultValue: boolean;
169
161
  };
170
- 'optimised-apply-dnd': {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
162
  advanced_layouts: {
179
163
  productKeys: {
180
164
  confluence: string;
@@ -21,9 +21,7 @@ export declare let _overrides: Partial<{
21
21
  'nested-expand-in-expand': boolean;
22
22
  platform_editor_table_use_shared_state_hook: boolean;
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
- platform_editor_ai_additional_editor_prompts: "test" | "control";
25
24
  comment_on_bodied_extensions: boolean;
26
- 'optimised-apply-dnd': boolean;
27
25
  advanced_layouts: boolean;
28
26
  support_table_in_comment_jira: boolean;
29
27
  comment_on_inline_node_spotlight: 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_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "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_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(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" | "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_prompt_link_picker" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "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" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_ai_knowledge_from_current_page">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -192,14 +192,6 @@ declare namespace eeTest {
192
192
  typeGuard: (value: unknown) => value is "test" | "control";
193
193
  defaultValue: "test" | "control";
194
194
  };
195
- platform_editor_ai_additional_editor_prompts: {
196
- productKeys: {
197
- confluence: string;
198
- };
199
- param: string;
200
- typeGuard: (value: unknown) => value is "test" | "control";
201
- defaultValue: "test" | "control";
202
- };
203
195
  comment_on_bodied_extensions: {
204
196
  productKeys: {
205
197
  confluence: string;
@@ -208,14 +200,6 @@ declare namespace eeTest {
208
200
  typeGuard: typeof import("./type-guards").isBoolean;
209
201
  defaultValue: boolean;
210
202
  };
211
- 'optimised-apply-dnd': {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
203
  advanced_layouts: {
220
204
  productKeys: {
221
205
  confluence: string;
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
151
151
  typeGuard: (value: unknown) => value is "test" | "control";
152
152
  defaultValue: "test" | "control";
153
153
  };
154
- platform_editor_ai_additional_editor_prompts: {
155
- productKeys: {
156
- confluence: string;
157
- };
158
- param: string;
159
- typeGuard: (value: unknown) => value is "test" | "control";
160
- defaultValue: "test" | "control";
161
- };
162
154
  comment_on_bodied_extensions: {
163
155
  productKeys: {
164
156
  confluence: string;
@@ -167,14 +159,6 @@ export declare const editorExperimentsConfig: {
167
159
  typeGuard: typeof isBoolean;
168
160
  defaultValue: boolean;
169
161
  };
170
- 'optimised-apply-dnd': {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
162
  advanced_layouts: {
179
163
  productKeys: {
180
164
  confluence: string;
@@ -21,9 +21,7 @@ export declare let _overrides: Partial<{
21
21
  'nested-expand-in-expand': boolean;
22
22
  platform_editor_table_use_shared_state_hook: boolean;
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
- platform_editor_ai_additional_editor_prompts: "test" | "control";
25
24
  comment_on_bodied_extensions: boolean;
26
- 'optimised-apply-dnd': boolean;
27
25
  advanced_layouts: boolean;
28
26
  support_table_in_comment_jira: boolean;
29
27
  comment_on_inline_node_spotlight: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.26.1",
3
+ "version": "2.27.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",