@atlaskit/tmp-editor-statsig 4.0.0 → 4.1.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,27 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#127516](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127516)
8
+ [`f4f3e822fcbd8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f4f3e822fcbd8) -
9
+ updated default value in config for editor virt experiment
10
+
11
+ ## 4.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#125372](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/125372)
16
+ [`333d2a5c64229`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/333d2a5c64229) -
17
+ [EDF-2225] Cleanup platform_editor_ai_advanced_prompts Statsig experiment
18
+
19
+ ### Patch Changes
20
+
21
+ - [#115815](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/115815)
22
+ [`ad7c517ed3b47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ad7c517ed3b47) -
23
+ ED-26661 added experiement enables single column layout
24
+
3
25
  ## 4.0.0
4
26
 
5
27
  ### Major Changes
@@ -156,6 +156,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
156
156
  typeGuard: _typeGuards.isBoolean,
157
157
  defaultValue: false
158
158
  },
159
+ // Added 2025-3-15
160
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_single_column_layout/setup
161
+ single_column_layouts: {
162
+ productKeys: {
163
+ confluence: 'platform_editor_single_column_layout'
164
+ },
165
+ param: 'isEnabled',
166
+ typeGuard: _typeGuards.isBoolean,
167
+ defaultValue: false
168
+ },
159
169
  // Added 2024-10-08
160
170
  support_table_in_comment_jira: {
161
171
  productKeys: {
@@ -201,15 +211,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
201
211
  typeGuard: _typeGuards.isBoolean,
202
212
  defaultValue: false
203
213
  },
204
- // Added 2025-01-15
205
- platform_editor_ai_advanced_prompts: {
206
- productKeys: {
207
- confluence: 'platform_editor_ai_advanced_prompts'
208
- },
209
- param: 'isEnabled',
210
- typeGuard: _typeGuards.isBoolean,
211
- defaultValue: false
212
- },
213
214
  expand_selection_range_to_include_inline_node: {
214
215
  productKeys: {
215
216
  confluence: 'expand_selection_range_to_include_inline_node'
@@ -315,8 +316,8 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
315
316
  confluence: 'platform_editor_inline_node_virtualization'
316
317
  },
317
318
  param: 'variant',
318
- typeGuard: (0, _typeGuards.oneOf)(['control', 'fallback-small', 'fallback-large']),
319
- defaultValue: 'control'
319
+ typeGuard: (0, _typeGuards.oneOf)(['off', 'fallback-small', 'fallback-large']),
320
+ defaultValue: 'off'
320
321
  },
321
322
  // Added 2025-03-03
322
323
  platform_editor_cmd_a_progressively_select_nodes: {
@@ -150,6 +150,16 @@ export const editorExperimentsConfig = {
150
150
  typeGuard: isBoolean,
151
151
  defaultValue: false
152
152
  },
153
+ // Added 2025-3-15
154
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_single_column_layout/setup
155
+ single_column_layouts: {
156
+ productKeys: {
157
+ confluence: 'platform_editor_single_column_layout'
158
+ },
159
+ param: 'isEnabled',
160
+ typeGuard: isBoolean,
161
+ defaultValue: false
162
+ },
153
163
  // Added 2024-10-08
154
164
  support_table_in_comment_jira: {
155
165
  productKeys: {
@@ -195,15 +205,6 @@ export const editorExperimentsConfig = {
195
205
  typeGuard: isBoolean,
196
206
  defaultValue: false
197
207
  },
198
- // Added 2025-01-15
199
- platform_editor_ai_advanced_prompts: {
200
- productKeys: {
201
- confluence: 'platform_editor_ai_advanced_prompts'
202
- },
203
- param: 'isEnabled',
204
- typeGuard: isBoolean,
205
- defaultValue: false
206
- },
207
208
  expand_selection_range_to_include_inline_node: {
208
209
  productKeys: {
209
210
  confluence: 'expand_selection_range_to_include_inline_node'
@@ -309,8 +310,8 @@ export const editorExperimentsConfig = {
309
310
  confluence: 'platform_editor_inline_node_virtualization'
310
311
  },
311
312
  param: 'variant',
312
- typeGuard: oneOf(['control', 'fallback-small', 'fallback-large']),
313
- defaultValue: 'control'
313
+ typeGuard: oneOf(['off', 'fallback-small', 'fallback-large']),
314
+ defaultValue: 'off'
314
315
  },
315
316
  // Added 2025-03-03
316
317
  platform_editor_cmd_a_progressively_select_nodes: {
@@ -150,6 +150,16 @@ export var editorExperimentsConfig = {
150
150
  typeGuard: isBoolean,
151
151
  defaultValue: false
152
152
  },
153
+ // Added 2025-3-15
154
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_single_column_layout/setup
155
+ single_column_layouts: {
156
+ productKeys: {
157
+ confluence: 'platform_editor_single_column_layout'
158
+ },
159
+ param: 'isEnabled',
160
+ typeGuard: isBoolean,
161
+ defaultValue: false
162
+ },
153
163
  // Added 2024-10-08
154
164
  support_table_in_comment_jira: {
155
165
  productKeys: {
@@ -195,15 +205,6 @@ export var editorExperimentsConfig = {
195
205
  typeGuard: isBoolean,
196
206
  defaultValue: false
197
207
  },
198
- // Added 2025-01-15
199
- platform_editor_ai_advanced_prompts: {
200
- productKeys: {
201
- confluence: 'platform_editor_ai_advanced_prompts'
202
- },
203
- param: 'isEnabled',
204
- typeGuard: isBoolean,
205
- defaultValue: false
206
- },
207
208
  expand_selection_range_to_include_inline_node: {
208
209
  productKeys: {
209
210
  confluence: 'expand_selection_range_to_include_inline_node'
@@ -309,8 +310,8 @@ export var editorExperimentsConfig = {
309
310
  confluence: 'platform_editor_inline_node_virtualization'
310
311
  },
311
312
  param: 'variant',
312
- typeGuard: oneOf(['control', 'fallback-small', 'fallback-large']),
313
- defaultValue: 'control'
313
+ typeGuard: oneOf(['off', 'fallback-small', 'fallback-large']),
314
+ defaultValue: 'off'
314
315
  },
315
316
  // Added 2025-03-03
316
317
  platform_editor_cmd_a_progressively_select_nodes: {
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -168,6 +168,14 @@ declare namespace eeTest {
168
168
  typeGuard: typeof import("./type-guards").isBoolean;
169
169
  defaultValue: boolean;
170
170
  };
171
+ single_column_layouts: {
172
+ productKeys: {
173
+ confluence: string;
174
+ };
175
+ param: string;
176
+ typeGuard: typeof import("./type-guards").isBoolean;
177
+ defaultValue: boolean;
178
+ };
171
179
  support_table_in_comment_jira: {
172
180
  productKeys: {
173
181
  jira: string;
@@ -208,14 +216,6 @@ declare namespace eeTest {
208
216
  typeGuard: typeof import("./type-guards").isBoolean;
209
217
  defaultValue: boolean;
210
218
  };
211
- platform_editor_ai_advanced_prompts: {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
219
  expand_selection_range_to_include_inline_node: {
220
220
  productKeys: {
221
221
  confluence: string;
@@ -309,8 +309,8 @@ declare namespace eeTest {
309
309
  confluence: string;
310
310
  };
311
311
  param: string;
312
- typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
313
- defaultValue: string;
312
+ typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
313
+ defaultValue: "off" | "fallback-small" | "fallback-large";
314
314
  };
315
315
  platform_editor_cmd_a_progressively_select_nodes: {
316
316
  productKeys: {
@@ -127,6 +127,14 @@ export declare const editorExperimentsConfig: {
127
127
  typeGuard: typeof isBoolean;
128
128
  defaultValue: boolean;
129
129
  };
130
+ single_column_layouts: {
131
+ productKeys: {
132
+ confluence: string;
133
+ };
134
+ param: string;
135
+ typeGuard: typeof isBoolean;
136
+ defaultValue: boolean;
137
+ };
130
138
  support_table_in_comment_jira: {
131
139
  productKeys: {
132
140
  jira: string;
@@ -167,14 +175,6 @@ export declare const editorExperimentsConfig: {
167
175
  typeGuard: typeof isBoolean;
168
176
  defaultValue: boolean;
169
177
  };
170
- platform_editor_ai_advanced_prompts: {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
178
  expand_selection_range_to_include_inline_node: {
179
179
  productKeys: {
180
180
  confluence: string;
@@ -268,8 +268,8 @@ export declare const editorExperimentsConfig: {
268
268
  confluence: string;
269
269
  };
270
270
  param: string;
271
- typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
272
- defaultValue: string;
271
+ typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
272
+ defaultValue: "off" | "fallback-small" | "fallback-large";
273
273
  };
274
274
  platform_editor_cmd_a_progressively_select_nodes: {
275
275
  productKeys: {
@@ -23,12 +23,12 @@ export declare let _overrides: Partial<{
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
24
  comment_on_bodied_extensions: boolean;
25
25
  advanced_layouts: boolean;
26
+ single_column_layouts: boolean;
26
27
  support_table_in_comment_jira: boolean;
27
28
  'platform_editor_ai-prompts-placeholder': "test" | "control";
28
29
  'nested-tables-in-tables': boolean;
29
30
  contextual_formatting_toolbar: boolean;
30
31
  platform_editor_ai_unsplash_page_header: boolean;
31
- platform_editor_ai_advanced_prompts: boolean;
32
32
  expand_selection_range_to_include_inline_node: boolean;
33
33
  platform_editor_blockquote_in_text_formatting_menu: boolean;
34
34
  platform_editor_advanced_code_blocks: boolean;
@@ -40,7 +40,7 @@ export declare let _overrides: Partial<{
40
40
  platform_editor_nested_non_bodied_macros: "test" | "control";
41
41
  editor_ai_inline_suggestion_date: "test" | "control";
42
42
  platform_editor_insertion: "control" | "variant1";
43
- platform_editor_inline_node_virtualization: string;
43
+ platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
44
44
  platform_editor_cmd_a_progressively_select_nodes: boolean;
45
45
  editor_text_highlight_orange_to_yellow: "test" | "control";
46
46
  }>;
@@ -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" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -168,6 +168,14 @@ declare namespace eeTest {
168
168
  typeGuard: typeof import("./type-guards").isBoolean;
169
169
  defaultValue: boolean;
170
170
  };
171
+ single_column_layouts: {
172
+ productKeys: {
173
+ confluence: string;
174
+ };
175
+ param: string;
176
+ typeGuard: typeof import("./type-guards").isBoolean;
177
+ defaultValue: boolean;
178
+ };
171
179
  support_table_in_comment_jira: {
172
180
  productKeys: {
173
181
  jira: string;
@@ -208,14 +216,6 @@ declare namespace eeTest {
208
216
  typeGuard: typeof import("./type-guards").isBoolean;
209
217
  defaultValue: boolean;
210
218
  };
211
- platform_editor_ai_advanced_prompts: {
212
- productKeys: {
213
- confluence: string;
214
- };
215
- param: string;
216
- typeGuard: typeof import("./type-guards").isBoolean;
217
- defaultValue: boolean;
218
- };
219
219
  expand_selection_range_to_include_inline_node: {
220
220
  productKeys: {
221
221
  confluence: string;
@@ -309,8 +309,8 @@ declare namespace eeTest {
309
309
  confluence: string;
310
310
  };
311
311
  param: string;
312
- typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
313
- defaultValue: string;
312
+ typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
313
+ defaultValue: "off" | "fallback-small" | "fallback-large";
314
314
  };
315
315
  platform_editor_cmd_a_progressively_select_nodes: {
316
316
  productKeys: {
@@ -127,6 +127,14 @@ export declare const editorExperimentsConfig: {
127
127
  typeGuard: typeof isBoolean;
128
128
  defaultValue: boolean;
129
129
  };
130
+ single_column_layouts: {
131
+ productKeys: {
132
+ confluence: string;
133
+ };
134
+ param: string;
135
+ typeGuard: typeof isBoolean;
136
+ defaultValue: boolean;
137
+ };
130
138
  support_table_in_comment_jira: {
131
139
  productKeys: {
132
140
  jira: string;
@@ -167,14 +175,6 @@ export declare const editorExperimentsConfig: {
167
175
  typeGuard: typeof isBoolean;
168
176
  defaultValue: boolean;
169
177
  };
170
- platform_editor_ai_advanced_prompts: {
171
- productKeys: {
172
- confluence: string;
173
- };
174
- param: string;
175
- typeGuard: typeof isBoolean;
176
- defaultValue: boolean;
177
- };
178
178
  expand_selection_range_to_include_inline_node: {
179
179
  productKeys: {
180
180
  confluence: string;
@@ -268,8 +268,8 @@ export declare const editorExperimentsConfig: {
268
268
  confluence: string;
269
269
  };
270
270
  param: string;
271
- typeGuard: (value: unknown) => value is "control" | "fallback-small" | "fallback-large";
272
- defaultValue: string;
271
+ typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
272
+ defaultValue: "off" | "fallback-small" | "fallback-large";
273
273
  };
274
274
  platform_editor_cmd_a_progressively_select_nodes: {
275
275
  productKeys: {
@@ -23,12 +23,12 @@ export declare let _overrides: Partial<{
23
23
  'editor_ai_-_multi_prompts': "test" | "control";
24
24
  comment_on_bodied_extensions: boolean;
25
25
  advanced_layouts: boolean;
26
+ single_column_layouts: boolean;
26
27
  support_table_in_comment_jira: boolean;
27
28
  'platform_editor_ai-prompts-placeholder': "test" | "control";
28
29
  'nested-tables-in-tables': boolean;
29
30
  contextual_formatting_toolbar: boolean;
30
31
  platform_editor_ai_unsplash_page_header: boolean;
31
- platform_editor_ai_advanced_prompts: boolean;
32
32
  expand_selection_range_to_include_inline_node: boolean;
33
33
  platform_editor_blockquote_in_text_formatting_menu: boolean;
34
34
  platform_editor_advanced_code_blocks: boolean;
@@ -40,7 +40,7 @@ export declare let _overrides: Partial<{
40
40
  platform_editor_nested_non_bodied_macros: "test" | "control";
41
41
  editor_ai_inline_suggestion_date: "test" | "control";
42
42
  platform_editor_insertion: "control" | "variant1";
43
- platform_editor_inline_node_virtualization: string;
43
+ platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
44
44
  platform_editor_cmd_a_progressively_select_nodes: boolean;
45
45
  editor_text_highlight_orange_to_yellow: "test" | "control";
46
46
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "4.0.0",
3
+ "version": "4.1.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",