@atlaskit/tmp-editor-statsig 2.34.0 → 2.36.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#103042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103042)
8
+ [`a3bcf71666e0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3bcf71666e0d) -
9
+ Replace platform_editor_table_use_shared_state_hook with FG and fix remaining selection bugs
10
+ caused by lack of re-renders
11
+
12
+ ## 2.35.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#102564](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102564)
17
+ [`ddd5f55e9bef4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ddd5f55e9bef4) -
18
+ Add multi-select experiment
19
+
3
20
  ## 2.34.0
4
21
 
5
22
  ### Minor Changes
@@ -137,14 +137,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
137
137
  typeGuard: _typeGuards.isBoolean,
138
138
  defaultValue: false
139
139
  },
140
- platform_editor_table_use_shared_state_hook: {
141
- productKeys: {
142
- confluence: 'platform_editor_table_use_shared_state_hook'
143
- },
144
- param: 'isEnabled',
145
- typeGuard: _typeGuards.isBoolean,
146
- defaultValue: false
147
- },
148
140
  // Added 2024-09-23
149
141
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
150
142
  'editor_ai_-_multi_prompts': {
@@ -300,5 +292,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
300
292
  param: 'isEnabled',
301
293
  typeGuard: _typeGuards.isBoolean,
302
294
  defaultValue: false
295
+ },
296
+ // Added 2025-01-13
297
+ platform_editor_element_drag_and_drop_multiselect: {
298
+ productKeys: {
299
+ confluence: 'platform_editor_element_drag_and_drop_multiselect'
300
+ },
301
+ param: 'isEnabled',
302
+ typeGuard: _typeGuards.isBoolean,
303
+ defaultValue: false
303
304
  }
304
305
  };
@@ -131,14 +131,6 @@ export const editorExperimentsConfig = {
131
131
  typeGuard: isBoolean,
132
132
  defaultValue: false
133
133
  },
134
- platform_editor_table_use_shared_state_hook: {
135
- productKeys: {
136
- confluence: 'platform_editor_table_use_shared_state_hook'
137
- },
138
- param: 'isEnabled',
139
- typeGuard: isBoolean,
140
- defaultValue: false
141
- },
142
134
  // Added 2024-09-23
143
135
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
144
136
  'editor_ai_-_multi_prompts': {
@@ -294,5 +286,14 @@ export const editorExperimentsConfig = {
294
286
  param: 'isEnabled',
295
287
  typeGuard: isBoolean,
296
288
  defaultValue: false
289
+ },
290
+ // Added 2025-01-13
291
+ platform_editor_element_drag_and_drop_multiselect: {
292
+ productKeys: {
293
+ confluence: 'platform_editor_element_drag_and_drop_multiselect'
294
+ },
295
+ param: 'isEnabled',
296
+ typeGuard: isBoolean,
297
+ defaultValue: false
297
298
  }
298
299
  };
@@ -131,14 +131,6 @@ export var editorExperimentsConfig = {
131
131
  typeGuard: isBoolean,
132
132
  defaultValue: false
133
133
  },
134
- platform_editor_table_use_shared_state_hook: {
135
- productKeys: {
136
- confluence: 'platform_editor_table_use_shared_state_hook'
137
- },
138
- param: 'isEnabled',
139
- typeGuard: isBoolean,
140
- defaultValue: false
141
- },
142
134
  // Added 2024-09-23
143
135
  // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/editor_ai_-_multi_prompts/setup
144
136
  'editor_ai_-_multi_prompts': {
@@ -294,5 +286,14 @@ export var editorExperimentsConfig = {
294
286
  param: 'isEnabled',
295
287
  typeGuard: isBoolean,
296
288
  defaultValue: false
289
+ },
290
+ // Added 2025-01-13
291
+ platform_editor_element_drag_and_drop_multiselect: {
292
+ productKeys: {
293
+ confluence: 'platform_editor_element_drag_and_drop_multiselect'
294
+ },
295
+ param: 'isEnabled',
296
+ typeGuard: isBoolean,
297
+ defaultValue: false
297
298
  }
298
299
  };
@@ -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" | "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" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "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_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks">(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" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "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_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -152,14 +152,6 @@ declare namespace eeTest {
152
152
  typeGuard: typeof import("./type-guards").isBoolean;
153
153
  defaultValue: boolean;
154
154
  };
155
- platform_editor_table_use_shared_state_hook: {
156
- productKeys: {
157
- confluence: string;
158
- };
159
- param: string;
160
- typeGuard: typeof import("./type-guards").isBoolean;
161
- defaultValue: boolean;
162
- };
163
155
  'editor_ai_-_multi_prompts': {
164
156
  productKeys: {
165
157
  confluence: string;
@@ -296,6 +288,14 @@ declare namespace eeTest {
296
288
  typeGuard: typeof import("./type-guards").isBoolean;
297
289
  defaultValue: boolean;
298
290
  };
291
+ platform_editor_element_drag_and_drop_multiselect: {
292
+ productKeys: {
293
+ confluence: string;
294
+ };
295
+ param: string;
296
+ typeGuard: typeof import("./type-guards").isBoolean;
297
+ defaultValue: boolean;
298
+ };
299
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
300
  each: (describeBody: jest.EmptyFunction) => void;
301
301
  };
@@ -111,14 +111,6 @@ export declare const editorExperimentsConfig: {
111
111
  typeGuard: typeof isBoolean;
112
112
  defaultValue: boolean;
113
113
  };
114
- platform_editor_table_use_shared_state_hook: {
115
- productKeys: {
116
- confluence: string;
117
- };
118
- param: string;
119
- typeGuard: typeof isBoolean;
120
- defaultValue: boolean;
121
- };
122
114
  'editor_ai_-_multi_prompts': {
123
115
  productKeys: {
124
116
  confluence: string;
@@ -255,4 +247,12 @@ export declare const editorExperimentsConfig: {
255
247
  typeGuard: typeof isBoolean;
256
248
  defaultValue: boolean;
257
249
  };
250
+ platform_editor_element_drag_and_drop_multiselect: {
251
+ productKeys: {
252
+ confluence: string;
253
+ };
254
+ param: string;
255
+ typeGuard: typeof isBoolean;
256
+ defaultValue: boolean;
257
+ };
258
258
  };
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
16
16
  platform_renderer_table_sticky_scrollbar: boolean;
17
17
  'nest-media-and-codeblock-in-quote': boolean;
18
18
  'nested-expand-in-expand': boolean;
19
- platform_editor_table_use_shared_state_hook: boolean;
20
19
  'editor_ai_-_multi_prompts': "test" | "control";
21
20
  comment_on_bodied_extensions: boolean;
22
21
  advanced_layouts: boolean;
@@ -34,6 +33,7 @@ export declare let _overrides: Partial<{
34
33
  expand_selection_range_to_include_inline_node: boolean;
35
34
  platform_editor_blockquote_in_text_formatting_menu: boolean;
36
35
  platform_editor_advanced_code_blocks: boolean;
36
+ platform_editor_element_drag_and_drop_multiselect: boolean;
37
37
  }>;
38
38
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
39
39
  /**
@@ -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" | "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" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "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_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks">(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" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "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_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -152,14 +152,6 @@ declare namespace eeTest {
152
152
  typeGuard: typeof import("./type-guards").isBoolean;
153
153
  defaultValue: boolean;
154
154
  };
155
- platform_editor_table_use_shared_state_hook: {
156
- productKeys: {
157
- confluence: string;
158
- };
159
- param: string;
160
- typeGuard: typeof import("./type-guards").isBoolean;
161
- defaultValue: boolean;
162
- };
163
155
  'editor_ai_-_multi_prompts': {
164
156
  productKeys: {
165
157
  confluence: string;
@@ -296,6 +288,14 @@ declare namespace eeTest {
296
288
  typeGuard: typeof import("./type-guards").isBoolean;
297
289
  defaultValue: boolean;
298
290
  };
291
+ platform_editor_element_drag_and_drop_multiselect: {
292
+ productKeys: {
293
+ confluence: string;
294
+ };
295
+ param: string;
296
+ typeGuard: typeof import("./type-guards").isBoolean;
297
+ defaultValue: boolean;
298
+ };
299
299
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
300
300
  each: (describeBody: jest.EmptyFunction) => void;
301
301
  };
@@ -111,14 +111,6 @@ export declare const editorExperimentsConfig: {
111
111
  typeGuard: typeof isBoolean;
112
112
  defaultValue: boolean;
113
113
  };
114
- platform_editor_table_use_shared_state_hook: {
115
- productKeys: {
116
- confluence: string;
117
- };
118
- param: string;
119
- typeGuard: typeof isBoolean;
120
- defaultValue: boolean;
121
- };
122
114
  'editor_ai_-_multi_prompts': {
123
115
  productKeys: {
124
116
  confluence: string;
@@ -255,4 +247,12 @@ export declare const editorExperimentsConfig: {
255
247
  typeGuard: typeof isBoolean;
256
248
  defaultValue: boolean;
257
249
  };
250
+ platform_editor_element_drag_and_drop_multiselect: {
251
+ productKeys: {
252
+ confluence: string;
253
+ };
254
+ param: string;
255
+ typeGuard: typeof isBoolean;
256
+ defaultValue: boolean;
257
+ };
258
258
  };
@@ -16,7 +16,6 @@ export declare let _overrides: Partial<{
16
16
  platform_renderer_table_sticky_scrollbar: boolean;
17
17
  'nest-media-and-codeblock-in-quote': boolean;
18
18
  'nested-expand-in-expand': boolean;
19
- platform_editor_table_use_shared_state_hook: boolean;
20
19
  'editor_ai_-_multi_prompts': "test" | "control";
21
20
  comment_on_bodied_extensions: boolean;
22
21
  advanced_layouts: boolean;
@@ -34,6 +33,7 @@ export declare let _overrides: Partial<{
34
33
  expand_selection_range_to_include_inline_node: boolean;
35
34
  platform_editor_blockquote_in_text_formatting_menu: boolean;
36
35
  platform_editor_advanced_code_blocks: boolean;
36
+ platform_editor_element_drag_and_drop_multiselect: boolean;
37
37
  }>;
38
38
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
39
39
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.34.0",
3
+ "version": "2.36.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",