@atlaskit/tmp-editor-statsig 2.13.1 → 2.15.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.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#164606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/164606)
8
+ [`d5fd875cd67f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d5fd875cd67f7) -
9
+ remove platform_editor_empty_line_prompt experiment
10
+
11
+ ## 2.14.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#161296](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161296)
16
+ [`9a6292ab637fa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9a6292ab637fa) -
17
+ [ED-25521] Add experiment based gating to the insertion logic for nested tables, so we only allow
18
+ nesting tables one level deep when the experiment is active
19
+
3
20
  ## 2.13.1
4
21
 
5
22
  ### Patch Changes
@@ -105,15 +105,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
105
105
  typeGuard: _typeGuards.isBoolean,
106
106
  defaultValue: false
107
107
  },
108
- // Added 2024-09-02
109
- platform_editor_empty_line_prompt: {
110
- productKeys: {
111
- confluence: 'platform_editor_empty_line_prompt'
112
- },
113
- param: 'isEnabled',
114
- typeGuard: _typeGuards.isBoolean,
115
- defaultValue: false
116
- },
117
108
  // Added 2024-09-05
118
109
  support_table_in_comment: {
119
110
  productKeys: {
@@ -328,6 +319,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
328
319
  typeGuard: _typeGuards.isBoolean,
329
320
  defaultValue: false
330
321
  },
322
+ // added 2024-11-06
323
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
324
+ 'nested-tables-in-tables': {
325
+ productKeys: {
326
+ confluence: 'platform_editor_nested_tables'
327
+ },
328
+ param: 'isEnabled',
329
+ typeGuard: _typeGuards.isBoolean,
330
+ defaultValue: false
331
+ },
331
332
  // Added 2024-11-06
332
333
  platform_editor_ai_change_tone_floating_toolbar: {
333
334
  productKeys: {
@@ -99,15 +99,6 @@ export const editorExperimentsConfig = {
99
99
  typeGuard: isBoolean,
100
100
  defaultValue: false
101
101
  },
102
- // Added 2024-09-02
103
- platform_editor_empty_line_prompt: {
104
- productKeys: {
105
- confluence: 'platform_editor_empty_line_prompt'
106
- },
107
- param: 'isEnabled',
108
- typeGuard: isBoolean,
109
- defaultValue: false
110
- },
111
102
  // Added 2024-09-05
112
103
  support_table_in_comment: {
113
104
  productKeys: {
@@ -322,6 +313,16 @@ export const editorExperimentsConfig = {
322
313
  typeGuard: isBoolean,
323
314
  defaultValue: false
324
315
  },
316
+ // added 2024-11-06
317
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
318
+ 'nested-tables-in-tables': {
319
+ productKeys: {
320
+ confluence: 'platform_editor_nested_tables'
321
+ },
322
+ param: 'isEnabled',
323
+ typeGuard: isBoolean,
324
+ defaultValue: false
325
+ },
325
326
  // Added 2024-11-06
326
327
  platform_editor_ai_change_tone_floating_toolbar: {
327
328
  productKeys: {
@@ -99,15 +99,6 @@ export var editorExperimentsConfig = {
99
99
  typeGuard: isBoolean,
100
100
  defaultValue: false
101
101
  },
102
- // Added 2024-09-02
103
- platform_editor_empty_line_prompt: {
104
- productKeys: {
105
- confluence: 'platform_editor_empty_line_prompt'
106
- },
107
- param: 'isEnabled',
108
- typeGuard: isBoolean,
109
- defaultValue: false
110
- },
111
102
  // Added 2024-09-05
112
103
  support_table_in_comment: {
113
104
  productKeys: {
@@ -322,6 +313,16 @@ export var editorExperimentsConfig = {
322
313
  typeGuard: isBoolean,
323
314
  defaultValue: false
324
315
  },
316
+ // added 2024-11-06
317
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_nested_tables/setup
318
+ 'nested-tables-in-tables': {
319
+ productKeys: {
320
+ confluence: 'platform_editor_nested_tables'
321
+ },
322
+ param: 'isEnabled',
323
+ typeGuard: isBoolean,
324
+ defaultValue: false
325
+ },
325
326
  // Added 2024-11-06
326
327
  platform_editor_ai_change_tone_floating_toolbar: {
327
328
  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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -128,14 +128,6 @@ declare namespace eeTest {
128
128
  typeGuard: typeof import("./type-guards").isBoolean;
129
129
  defaultValue: boolean;
130
130
  };
131
- platform_editor_empty_line_prompt: {
132
- productKeys: {
133
- confluence: string;
134
- };
135
- param: string;
136
- typeGuard: typeof import("./type-guards").isBoolean;
137
- defaultValue: boolean;
138
- };
139
131
  support_table_in_comment: {
140
132
  productKeys: {
141
133
  confluence: string;
@@ -320,6 +312,14 @@ declare namespace eeTest {
320
312
  typeGuard: typeof import("./type-guards").isBoolean;
321
313
  defaultValue: boolean;
322
314
  };
315
+ 'nested-tables-in-tables': {
316
+ productKeys: {
317
+ confluence: string;
318
+ };
319
+ param: string;
320
+ typeGuard: typeof import("./type-guards").isBoolean;
321
+ defaultValue: boolean;
322
+ };
323
323
  platform_editor_ai_change_tone_floating_toolbar: {
324
324
  productKeys: {
325
325
  confluence: string;
@@ -87,14 +87,6 @@ export declare const editorExperimentsConfig: {
87
87
  typeGuard: typeof isBoolean;
88
88
  defaultValue: boolean;
89
89
  };
90
- platform_editor_empty_line_prompt: {
91
- productKeys: {
92
- confluence: string;
93
- };
94
- param: string;
95
- typeGuard: typeof isBoolean;
96
- defaultValue: boolean;
97
- };
98
90
  support_table_in_comment: {
99
91
  productKeys: {
100
92
  confluence: string;
@@ -279,6 +271,14 @@ export declare const editorExperimentsConfig: {
279
271
  typeGuard: typeof isBoolean;
280
272
  defaultValue: boolean;
281
273
  };
274
+ 'nested-tables-in-tables': {
275
+ productKeys: {
276
+ confluence: string;
277
+ };
278
+ param: string;
279
+ typeGuard: typeof isBoolean;
280
+ defaultValue: boolean;
281
+ };
282
282
  platform_editor_ai_change_tone_floating_toolbar: {
283
283
  productKeys: {
284
284
  confluence: string;
@@ -13,7 +13,6 @@ export declare let _overrides: Partial<{
13
13
  'nested-dnd': boolean;
14
14
  'table-nested-dnd': boolean;
15
15
  'insert-menu-in-right-rail': boolean;
16
- platform_editor_empty_line_prompt: boolean;
17
16
  support_table_in_comment: boolean;
18
17
  platform_editor_exp_lazy_node_views: boolean;
19
18
  platform_editor_ai_ai_button_block_elements: "test" | "control";
@@ -37,6 +36,7 @@ export declare let _overrides: Partial<{
37
36
  'platform_editor_ai-prompts-placeholder': "test" | "control";
38
37
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
39
38
  platform_editor_ai_facepile: boolean;
39
+ 'nested-tables-in-tables': boolean;
40
40
  platform_editor_ai_change_tone_floating_toolbar: boolean;
41
41
  platform_editor_ai_response_history: boolean;
42
42
  }>;
@@ -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" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints" | "advanced_layouts" | "platform_editor_live_pages_ai_definitions" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "editor_ai_-_proactive_ai_model_variations" | "platform_editor_ai_refine_response_button" | "editor_ai_-_proactive_ai_spelling_and_grammar" | "platform_editor_ai-prompts-placeholder" | "editor_ai_-_gpt4_experiment" | "platform_editor_ai_facepile" | "nested-tables-in-tables" | "platform_editor_ai_change_tone_floating_toolbar" | "platform_editor_ai_response_history">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -128,14 +128,6 @@ declare namespace eeTest {
128
128
  typeGuard: typeof import("./type-guards").isBoolean;
129
129
  defaultValue: boolean;
130
130
  };
131
- platform_editor_empty_line_prompt: {
132
- productKeys: {
133
- confluence: string;
134
- };
135
- param: string;
136
- typeGuard: typeof import("./type-guards").isBoolean;
137
- defaultValue: boolean;
138
- };
139
131
  support_table_in_comment: {
140
132
  productKeys: {
141
133
  confluence: string;
@@ -320,6 +312,14 @@ declare namespace eeTest {
320
312
  typeGuard: typeof import("./type-guards").isBoolean;
321
313
  defaultValue: boolean;
322
314
  };
315
+ 'nested-tables-in-tables': {
316
+ productKeys: {
317
+ confluence: string;
318
+ };
319
+ param: string;
320
+ typeGuard: typeof import("./type-guards").isBoolean;
321
+ defaultValue: boolean;
322
+ };
323
323
  platform_editor_ai_change_tone_floating_toolbar: {
324
324
  productKeys: {
325
325
  confluence: string;
@@ -87,14 +87,6 @@ export declare const editorExperimentsConfig: {
87
87
  typeGuard: typeof isBoolean;
88
88
  defaultValue: boolean;
89
89
  };
90
- platform_editor_empty_line_prompt: {
91
- productKeys: {
92
- confluence: string;
93
- };
94
- param: string;
95
- typeGuard: typeof isBoolean;
96
- defaultValue: boolean;
97
- };
98
90
  support_table_in_comment: {
99
91
  productKeys: {
100
92
  confluence: string;
@@ -279,6 +271,14 @@ export declare const editorExperimentsConfig: {
279
271
  typeGuard: typeof isBoolean;
280
272
  defaultValue: boolean;
281
273
  };
274
+ 'nested-tables-in-tables': {
275
+ productKeys: {
276
+ confluence: string;
277
+ };
278
+ param: string;
279
+ typeGuard: typeof isBoolean;
280
+ defaultValue: boolean;
281
+ };
282
282
  platform_editor_ai_change_tone_floating_toolbar: {
283
283
  productKeys: {
284
284
  confluence: string;
@@ -13,7 +13,6 @@ export declare let _overrides: Partial<{
13
13
  'nested-dnd': boolean;
14
14
  'table-nested-dnd': boolean;
15
15
  'insert-menu-in-right-rail': boolean;
16
- platform_editor_empty_line_prompt: boolean;
17
16
  support_table_in_comment: boolean;
18
17
  platform_editor_exp_lazy_node_views: boolean;
19
18
  platform_editor_ai_ai_button_block_elements: "test" | "control";
@@ -37,6 +36,7 @@ export declare let _overrides: Partial<{
37
36
  'platform_editor_ai-prompts-placeholder': "test" | "control";
38
37
  'editor_ai_-_gpt4_experiment': "control" | "einstein";
39
38
  platform_editor_ai_facepile: boolean;
39
+ 'nested-tables-in-tables': boolean;
40
40
  platform_editor_ai_change_tone_floating_toolbar: boolean;
41
41
  platform_editor_ai_response_history: boolean;
42
42
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.13.1",
3
+ "version": "2.15.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",
@@ -36,7 +36,7 @@
36
36
  "./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/feature-gate-js-client": "^4.22.0",
39
+ "@atlaskit/feature-gate-js-client": "^4.23.0",
40
40
  "@babel/runtime": "^7.0.0"
41
41
  },
42
42
  "peerDependencies": {