@atlaskit/tmp-editor-statsig 2.35.0 → 2.37.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.37.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#103091](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103091)
8
+ [`eeb701b917e68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eeb701b917e68) -
9
+ EDF-1645: Clean up Draft with AI prefill prompts
10
+
11
+ ## 2.36.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#103042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103042)
16
+ [`a3bcf71666e0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3bcf71666e0d) -
17
+ Replace platform_editor_table_use_shared_state_hook with FG and fix remaining selection bugs
18
+ caused by lack of re-renders
19
+
3
20
  ## 2.35.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': {
@@ -257,15 +249,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
257
249
  typeGuard: _typeGuards.isBoolean,
258
250
  defaultValue: false
259
251
  },
260
- // Added 2024-11-21
261
- platform_editor_ai_draft_with_ai: {
262
- productKeys: {
263
- confluence: 'platform_editor_ai_draft_with_ai'
264
- },
265
- param: 'isEnabled',
266
- typeGuard: _typeGuards.isBoolean,
267
- defaultValue: false
268
- },
269
252
  // Added 2024-11-26
270
253
  platform_editor_ai_unsplash_page_header: {
271
254
  productKeys: {
@@ -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': {
@@ -251,15 +243,6 @@ export const editorExperimentsConfig = {
251
243
  typeGuard: isBoolean,
252
244
  defaultValue: false
253
245
  },
254
- // Added 2024-11-21
255
- platform_editor_ai_draft_with_ai: {
256
- productKeys: {
257
- confluence: 'platform_editor_ai_draft_with_ai'
258
- },
259
- param: 'isEnabled',
260
- typeGuard: isBoolean,
261
- defaultValue: false
262
- },
263
246
  // Added 2024-11-26
264
247
  platform_editor_ai_unsplash_page_header: {
265
248
  productKeys: {
@@ -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': {
@@ -251,15 +243,6 @@ export var editorExperimentsConfig = {
251
243
  typeGuard: isBoolean,
252
244
  defaultValue: false
253
245
  },
254
- // Added 2024-11-21
255
- platform_editor_ai_draft_with_ai: {
256
- productKeys: {
257
- confluence: 'platform_editor_ai_draft_with_ai'
258
- },
259
- param: 'isEnabled',
260
- typeGuard: isBoolean,
261
- defaultValue: false
262
- },
263
246
  // Added 2024-11-26
264
247
  platform_editor_ai_unsplash_page_header: {
265
248
  productKeys: {
@@ -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" | "platform_editor_element_drag_and_drop_multiselect">(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_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;
@@ -256,14 +248,6 @@ declare namespace eeTest {
256
248
  typeGuard: typeof import("./type-guards").isBoolean;
257
249
  defaultValue: boolean;
258
250
  };
259
- platform_editor_ai_draft_with_ai: {
260
- productKeys: {
261
- confluence: string;
262
- };
263
- param: string;
264
- typeGuard: typeof import("./type-guards").isBoolean;
265
- defaultValue: boolean;
266
- };
267
251
  platform_editor_ai_unsplash_page_header: {
268
252
  productKeys: {
269
253
  confluence: string;
@@ -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;
@@ -215,14 +207,6 @@ export declare const editorExperimentsConfig: {
215
207
  typeGuard: typeof isBoolean;
216
208
  defaultValue: boolean;
217
209
  };
218
- platform_editor_ai_draft_with_ai: {
219
- productKeys: {
220
- confluence: string;
221
- };
222
- param: string;
223
- typeGuard: typeof isBoolean;
224
- defaultValue: boolean;
225
- };
226
210
  platform_editor_ai_unsplash_page_header: {
227
211
  productKeys: {
228
212
  confluence: string;
@@ -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;
@@ -29,7 +28,6 @@ export declare let _overrides: Partial<{
29
28
  issue_view_action_items: boolean;
30
29
  contextual_formatting_toolbar: boolean;
31
30
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
32
- platform_editor_ai_draft_with_ai: boolean;
33
31
  platform_editor_ai_unsplash_page_header: boolean;
34
32
  expand_selection_range_to_include_inline_node: boolean;
35
33
  platform_editor_blockquote_in_text_formatting_menu: 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" | "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" | "platform_editor_element_drag_and_drop_multiselect">(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_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;
@@ -256,14 +248,6 @@ declare namespace eeTest {
256
248
  typeGuard: typeof import("./type-guards").isBoolean;
257
249
  defaultValue: boolean;
258
250
  };
259
- platform_editor_ai_draft_with_ai: {
260
- productKeys: {
261
- confluence: string;
262
- };
263
- param: string;
264
- typeGuard: typeof import("./type-guards").isBoolean;
265
- defaultValue: boolean;
266
- };
267
251
  platform_editor_ai_unsplash_page_header: {
268
252
  productKeys: {
269
253
  confluence: string;
@@ -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;
@@ -215,14 +207,6 @@ export declare const editorExperimentsConfig: {
215
207
  typeGuard: typeof isBoolean;
216
208
  defaultValue: boolean;
217
209
  };
218
- platform_editor_ai_draft_with_ai: {
219
- productKeys: {
220
- confluence: string;
221
- };
222
- param: string;
223
- typeGuard: typeof isBoolean;
224
- defaultValue: boolean;
225
- };
226
210
  platform_editor_ai_unsplash_page_header: {
227
211
  productKeys: {
228
212
  confluence: string;
@@ -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;
@@ -29,7 +28,6 @@ export declare let _overrides: Partial<{
29
28
  issue_view_action_items: boolean;
30
29
  contextual_formatting_toolbar: boolean;
31
30
  platform_editor_ai_1p_smart_link_unfurl_in_prompt: boolean;
32
- platform_editor_ai_draft_with_ai: boolean;
33
31
  platform_editor_ai_unsplash_page_header: boolean;
34
32
  expand_selection_range_to_include_inline_node: boolean;
35
33
  platform_editor_blockquote_in_text_formatting_menu: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.35.0",
3
+ "version": "2.37.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",