@atlaskit/tmp-editor-statsig 2.35.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,14 @@
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
+
3
12
  ## 2.35.0
4
13
 
5
14
  ### 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': {
@@ -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': {
@@ -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': {
@@ -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_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;
@@ -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;
@@ -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;
@@ -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_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;
@@ -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;
@@ -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;
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.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",