@atlaskit/tmp-editor-statsig 4.6.2 → 4.7.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,21 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 4.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#140996](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/140996)
8
+ [`f24f59a665aaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f24f59a665aaf) -
9
+ Added a temporary experiment to aid editor controls experiment set up
10
+
11
+ ## 4.6.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [#133479](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133479)
16
+ [`57fe747245f32`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57fe747245f32) -
17
+ Clean up experiment
18
+
3
19
  ## 4.6.2
4
20
 
5
21
  ### Patch Changes
@@ -147,14 +147,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
147
147
  typeGuard: _typeGuards.isBoolean,
148
148
  defaultValue: false
149
149
  },
150
- expand_selection_range_to_include_inline_node: {
151
- productKeys: {
152
- confluence: 'expand_selection_range_to_include_inline_node'
153
- },
154
- param: 'isEnabled',
155
- typeGuard: _typeGuards.isBoolean,
156
- defaultValue: false
157
- },
158
150
  // Added 2024-12-05
159
151
  platform_editor_blockquote_in_text_formatting_menu: {
160
152
  productKeys: {
@@ -209,6 +201,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
209
201
  typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
210
202
  defaultValue: 'control'
211
203
  },
204
+ // Added 2025-04-14
205
+ platform_editor_controls_shadow: {
206
+ productKeys: {
207
+ confluence: 'platform_editor_controls_shadow'
208
+ },
209
+ param: 'cohort',
210
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1']),
211
+ defaultValue: 'control'
212
+ },
212
213
  // Added 2025-02-18
213
214
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_non_bodied_macros/setup
214
215
  platform_editor_nested_non_bodied_macros: {
@@ -141,14 +141,6 @@ export const editorExperimentsConfig = {
141
141
  typeGuard: isBoolean,
142
142
  defaultValue: false
143
143
  },
144
- expand_selection_range_to_include_inline_node: {
145
- productKeys: {
146
- confluence: 'expand_selection_range_to_include_inline_node'
147
- },
148
- param: 'isEnabled',
149
- typeGuard: isBoolean,
150
- defaultValue: false
151
- },
152
144
  // Added 2024-12-05
153
145
  platform_editor_blockquote_in_text_formatting_menu: {
154
146
  productKeys: {
@@ -203,6 +195,15 @@ export const editorExperimentsConfig = {
203
195
  typeGuard: oneOf(['control', 'variant1']),
204
196
  defaultValue: 'control'
205
197
  },
198
+ // Added 2025-04-14
199
+ platform_editor_controls_shadow: {
200
+ productKeys: {
201
+ confluence: 'platform_editor_controls_shadow'
202
+ },
203
+ param: 'cohort',
204
+ typeGuard: oneOf(['control', 'variant1']),
205
+ defaultValue: 'control'
206
+ },
206
207
  // Added 2025-02-18
207
208
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_non_bodied_macros/setup
208
209
  platform_editor_nested_non_bodied_macros: {
@@ -141,14 +141,6 @@ export var editorExperimentsConfig = {
141
141
  typeGuard: isBoolean,
142
142
  defaultValue: false
143
143
  },
144
- expand_selection_range_to_include_inline_node: {
145
- productKeys: {
146
- confluence: 'expand_selection_range_to_include_inline_node'
147
- },
148
- param: 'isEnabled',
149
- typeGuard: isBoolean,
150
- defaultValue: false
151
- },
152
144
  // Added 2024-12-05
153
145
  platform_editor_blockquote_in_text_formatting_menu: {
154
146
  productKeys: {
@@ -203,6 +195,15 @@ export var editorExperimentsConfig = {
203
195
  typeGuard: oneOf(['control', 'variant1']),
204
196
  defaultValue: 'control'
205
197
  },
198
+ // Added 2025-04-14
199
+ platform_editor_controls_shadow: {
200
+ productKeys: {
201
+ confluence: 'platform_editor_controls_shadow'
202
+ },
203
+ param: 'cohort',
204
+ typeGuard: oneOf(['control', 'variant1']),
205
+ defaultValue: 'control'
206
+ },
206
207
  // Added 2025-02-18
207
208
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_non_bodied_macros/setup
208
209
  platform_editor_nested_non_bodied_macros: {
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "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_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_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -160,14 +160,6 @@ declare namespace eeTest {
160
160
  typeGuard: typeof import("./type-guards").isBoolean;
161
161
  defaultValue: boolean;
162
162
  };
163
- expand_selection_range_to_include_inline_node: {
164
- productKeys: {
165
- confluence: string;
166
- };
167
- param: string;
168
- typeGuard: typeof import("./type-guards").isBoolean;
169
- defaultValue: boolean;
170
- };
171
163
  platform_editor_blockquote_in_text_formatting_menu: {
172
164
  productKeys: {
173
165
  confluence: string;
@@ -216,6 +208,14 @@ declare namespace eeTest {
216
208
  typeGuard: (value: unknown) => value is "control" | "variant1";
217
209
  defaultValue: "control" | "variant1";
218
210
  };
211
+ platform_editor_controls_shadow: {
212
+ productKeys: {
213
+ confluence: string;
214
+ };
215
+ param: string;
216
+ typeGuard: (value: unknown) => value is "control" | "variant1";
217
+ defaultValue: "control" | "variant1";
218
+ };
219
219
  platform_editor_nested_non_bodied_macros: {
220
220
  productKeys: {
221
221
  confluence: string;
@@ -119,14 +119,6 @@ export declare const editorExperimentsConfig: {
119
119
  typeGuard: typeof isBoolean;
120
120
  defaultValue: boolean;
121
121
  };
122
- expand_selection_range_to_include_inline_node: {
123
- productKeys: {
124
- confluence: string;
125
- };
126
- param: string;
127
- typeGuard: typeof isBoolean;
128
- defaultValue: boolean;
129
- };
130
122
  platform_editor_blockquote_in_text_formatting_menu: {
131
123
  productKeys: {
132
124
  confluence: string;
@@ -175,6 +167,14 @@ export declare const editorExperimentsConfig: {
175
167
  typeGuard: (value: unknown) => value is "control" | "variant1";
176
168
  defaultValue: "control" | "variant1";
177
169
  };
170
+ platform_editor_controls_shadow: {
171
+ productKeys: {
172
+ confluence: string;
173
+ };
174
+ param: string;
175
+ typeGuard: (value: unknown) => value is "control" | "variant1";
176
+ defaultValue: "control" | "variant1";
177
+ };
178
178
  platform_editor_nested_non_bodied_macros: {
179
179
  productKeys: {
180
180
  confluence: string;
@@ -22,13 +22,13 @@ export declare let _overrides: Partial<{
22
22
  'platform_editor_ai-prompts-placeholder': "test" | "control";
23
23
  'nested-tables-in-tables': boolean;
24
24
  platform_editor_ai_unsplash_page_header: boolean;
25
- expand_selection_range_to_include_inline_node: boolean;
26
25
  platform_editor_blockquote_in_text_formatting_menu: boolean;
27
26
  platform_editor_advanced_code_blocks: boolean;
28
27
  platform_editor_element_drag_and_drop_multiselect: boolean;
29
28
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
30
29
  platform_editor_ai_edit_response_in_preview: boolean;
31
30
  platform_editor_controls: "control" | "variant1";
31
+ platform_editor_controls_shadow: "control" | "variant1";
32
32
  platform_editor_nested_non_bodied_macros: "test" | "control";
33
33
  editor_ai_inline_suggestion_date: "test" | "control";
34
34
  platform_editor_insertion: "control" | "variant1";
@@ -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" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "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_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_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "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_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_controls_shadow" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_score" | "platform_editor_markdown_next_media_plugin_exp">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -160,14 +160,6 @@ declare namespace eeTest {
160
160
  typeGuard: typeof import("./type-guards").isBoolean;
161
161
  defaultValue: boolean;
162
162
  };
163
- expand_selection_range_to_include_inline_node: {
164
- productKeys: {
165
- confluence: string;
166
- };
167
- param: string;
168
- typeGuard: typeof import("./type-guards").isBoolean;
169
- defaultValue: boolean;
170
- };
171
163
  platform_editor_blockquote_in_text_formatting_menu: {
172
164
  productKeys: {
173
165
  confluence: string;
@@ -216,6 +208,14 @@ declare namespace eeTest {
216
208
  typeGuard: (value: unknown) => value is "control" | "variant1";
217
209
  defaultValue: "control" | "variant1";
218
210
  };
211
+ platform_editor_controls_shadow: {
212
+ productKeys: {
213
+ confluence: string;
214
+ };
215
+ param: string;
216
+ typeGuard: (value: unknown) => value is "control" | "variant1";
217
+ defaultValue: "control" | "variant1";
218
+ };
219
219
  platform_editor_nested_non_bodied_macros: {
220
220
  productKeys: {
221
221
  confluence: string;
@@ -119,14 +119,6 @@ export declare const editorExperimentsConfig: {
119
119
  typeGuard: typeof isBoolean;
120
120
  defaultValue: boolean;
121
121
  };
122
- expand_selection_range_to_include_inline_node: {
123
- productKeys: {
124
- confluence: string;
125
- };
126
- param: string;
127
- typeGuard: typeof isBoolean;
128
- defaultValue: boolean;
129
- };
130
122
  platform_editor_blockquote_in_text_formatting_menu: {
131
123
  productKeys: {
132
124
  confluence: string;
@@ -175,6 +167,14 @@ export declare const editorExperimentsConfig: {
175
167
  typeGuard: (value: unknown) => value is "control" | "variant1";
176
168
  defaultValue: "control" | "variant1";
177
169
  };
170
+ platform_editor_controls_shadow: {
171
+ productKeys: {
172
+ confluence: string;
173
+ };
174
+ param: string;
175
+ typeGuard: (value: unknown) => value is "control" | "variant1";
176
+ defaultValue: "control" | "variant1";
177
+ };
178
178
  platform_editor_nested_non_bodied_macros: {
179
179
  productKeys: {
180
180
  confluence: string;
@@ -22,13 +22,13 @@ export declare let _overrides: Partial<{
22
22
  'platform_editor_ai-prompts-placeholder': "test" | "control";
23
23
  'nested-tables-in-tables': boolean;
24
24
  platform_editor_ai_unsplash_page_header: boolean;
25
- expand_selection_range_to_include_inline_node: boolean;
26
25
  platform_editor_blockquote_in_text_formatting_menu: boolean;
27
26
  platform_editor_advanced_code_blocks: boolean;
28
27
  platform_editor_element_drag_and_drop_multiselect: boolean;
29
28
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
30
29
  platform_editor_ai_edit_response_in_preview: boolean;
31
30
  platform_editor_controls: "control" | "variant1";
31
+ platform_editor_controls_shadow: "control" | "variant1";
32
32
  platform_editor_nested_non_bodied_macros: "test" | "control";
33
33
  editor_ai_inline_suggestion_date: "test" | "control";
34
34
  platform_editor_insertion: "control" | "variant1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "4.6.2",
3
+ "version": "4.7.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",