@atlaskit/tmp-editor-statsig 2.4.0 → 2.5.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,19 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#152407](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152407)
8
+ [`d0365c4e1ce72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d0365c4e1ce72) -
9
+ [ux] EDF-1630: Implement 1p prompt placeholder variations experiment behind
10
+ platform_editor_ai_1p_placeholder_hints and prompt input statistic tracking behind
11
+ platform_editor_ai_prompt_input_statistics
12
+ - [#152434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152434)
13
+ [`ab77fcc060a4b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ab77fcc060a4b) -
14
+ [EDF-1583](https://product-fabric.atlassian.net/browse/EDF-1583) - cleanup
15
+ platform_editor_ai_command_palate_improvement Statsig experiment
16
+
3
17
  ## 2.4.0
4
18
 
5
19
  ### Minor Changes
@@ -51,16 +51,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
51
51
  typeGuard: _typeGuards.isBoolean,
52
52
  defaultValue: false
53
53
  },
54
- // Add 2024-08-27
55
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
56
- platform_editor_ai_command_palate_improvement: {
57
- productKeys: {
58
- confluence: 'platform_editor_ai_command_palate_improvement'
59
- },
60
- param: 'cohort',
61
- typeGuard: (0, _typeGuards.oneOf)(['control', 'test']),
62
- defaultValue: 'control'
63
- },
64
54
  // Added 2024-08-27
65
55
  'dnd-input-performance-optimisation': {
66
56
  productKeys: {
@@ -275,5 +265,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
275
265
  param: 'isEnabled',
276
266
  typeGuard: _typeGuards.isBoolean,
277
267
  defaultValue: false
268
+ },
269
+ // Added 2024-10-16
270
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
271
+ platform_editor_ai_1p_placeholder_hints: {
272
+ productKeys: {
273
+ confluence: 'platform_editor_ai_1p_placeholder_hints'
274
+ },
275
+ param: 'cohort',
276
+ typeGuard: (0, _typeGuards.oneOf)(['control', 'example-placeholders', 'tip-placeholders']),
277
+ defaultValue: 'control'
278
278
  }
279
279
  };
@@ -45,16 +45,6 @@ export const editorExperimentsConfig = {
45
45
  typeGuard: isBoolean,
46
46
  defaultValue: false
47
47
  },
48
- // Add 2024-08-27
49
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
50
- platform_editor_ai_command_palate_improvement: {
51
- productKeys: {
52
- confluence: 'platform_editor_ai_command_palate_improvement'
53
- },
54
- param: 'cohort',
55
- typeGuard: oneOf(['control', 'test']),
56
- defaultValue: 'control'
57
- },
58
48
  // Added 2024-08-27
59
49
  'dnd-input-performance-optimisation': {
60
50
  productKeys: {
@@ -269,5 +259,15 @@ export const editorExperimentsConfig = {
269
259
  param: 'isEnabled',
270
260
  typeGuard: isBoolean,
271
261
  defaultValue: false
262
+ },
263
+ // Added 2024-10-16
264
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
265
+ platform_editor_ai_1p_placeholder_hints: {
266
+ productKeys: {
267
+ confluence: 'platform_editor_ai_1p_placeholder_hints'
268
+ },
269
+ param: 'cohort',
270
+ typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
271
+ defaultValue: 'control'
272
272
  }
273
273
  };
@@ -45,16 +45,6 @@ export var editorExperimentsConfig = {
45
45
  typeGuard: isBoolean,
46
46
  defaultValue: false
47
47
  },
48
- // Add 2024-08-27
49
- // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
50
- platform_editor_ai_command_palate_improvement: {
51
- productKeys: {
52
- confluence: 'platform_editor_ai_command_palate_improvement'
53
- },
54
- param: 'cohort',
55
- typeGuard: oneOf(['control', 'test']),
56
- defaultValue: 'control'
57
- },
58
48
  // Added 2024-08-27
59
49
  'dnd-input-performance-optimisation': {
60
50
  productKeys: {
@@ -269,5 +259,15 @@ export var editorExperimentsConfig = {
269
259
  param: 'isEnabled',
270
260
  typeGuard: isBoolean,
271
261
  defaultValue: false
262
+ },
263
+ // Added 2024-10-16
264
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_1p_placeholder_hints/setup
265
+ platform_editor_ai_1p_placeholder_hints: {
266
+ productKeys: {
267
+ confluence: 'platform_editor_ai_1p_placeholder_hints'
268
+ },
269
+ param: 'cohort',
270
+ typeGuard: oneOf(['control', 'example-placeholders', 'tip-placeholders']),
271
+ defaultValue: 'control'
272
272
  }
273
273
  };
@@ -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" | "platform_editor_ai_command_palate_improvement" | "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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd">(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" | "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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -80,14 +80,6 @@ declare namespace eeTest {
80
80
  typeGuard: typeof import("./type-guards").isBoolean;
81
81
  defaultValue: boolean;
82
82
  };
83
- platform_editor_ai_command_palate_improvement: {
84
- productKeys: {
85
- confluence: string;
86
- };
87
- param: string;
88
- typeGuard: (value: unknown) => value is "test" | "control";
89
- defaultValue: "test" | "control";
90
- };
91
83
  'dnd-input-performance-optimisation': {
92
84
  productKeys: {
93
85
  confluence: string;
@@ -272,6 +264,14 @@ declare namespace eeTest {
272
264
  typeGuard: typeof import("./type-guards").isBoolean;
273
265
  defaultValue: boolean;
274
266
  };
267
+ platform_editor_ai_1p_placeholder_hints: {
268
+ productKeys: {
269
+ confluence: string;
270
+ };
271
+ param: string;
272
+ typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
273
+ defaultValue: "control" | "example-placeholders" | "tip-placeholders";
274
+ };
275
275
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
276
276
  each: (describeBody: jest.EmptyFunction) => void;
277
277
  };
@@ -39,14 +39,6 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
- platform_editor_ai_command_palate_improvement: {
43
- productKeys: {
44
- confluence: string;
45
- };
46
- param: string;
47
- typeGuard: (value: unknown) => value is "test" | "control";
48
- defaultValue: "test" | "control";
49
- };
50
42
  'dnd-input-performance-optimisation': {
51
43
  productKeys: {
52
44
  confluence: string;
@@ -231,4 +223,12 @@ export declare const editorExperimentsConfig: {
231
223
  typeGuard: typeof isBoolean;
232
224
  defaultValue: boolean;
233
225
  };
226
+ platform_editor_ai_1p_placeholder_hints: {
227
+ productKeys: {
228
+ confluence: string;
229
+ };
230
+ param: string;
231
+ typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
232
+ defaultValue: "control" | "example-placeholders" | "tip-placeholders";
233
+ };
234
234
  };
@@ -7,7 +7,6 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
- platform_editor_ai_command_palate_improvement: "test" | "control";
11
10
  'dnd-input-performance-optimisation': boolean;
12
11
  'element-level-templates': boolean;
13
12
  'add-media-from-url': boolean;
@@ -31,6 +30,7 @@ export declare let _overrides: Partial<{
31
30
  'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
32
31
  typography_migration_ugc: boolean;
33
32
  'optimised-apply-dnd': boolean;
33
+ platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
34
  }>;
35
35
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
36
36
  /**
@@ -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" | "platform_editor_ai_command_palate_improvement" | "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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd">(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" | "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" | "platform_editor_ai_onboarding" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "editor_ai_-_proactive_ai_improve_writing" | "typography_migration_ugc" | "optimised-apply-dnd" | "platform_editor_ai_1p_placeholder_hints">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -80,14 +80,6 @@ declare namespace eeTest {
80
80
  typeGuard: typeof import("./type-guards").isBoolean;
81
81
  defaultValue: boolean;
82
82
  };
83
- platform_editor_ai_command_palate_improvement: {
84
- productKeys: {
85
- confluence: string;
86
- };
87
- param: string;
88
- typeGuard: (value: unknown) => value is "test" | "control";
89
- defaultValue: "test" | "control";
90
- };
91
83
  'dnd-input-performance-optimisation': {
92
84
  productKeys: {
93
85
  confluence: string;
@@ -272,6 +264,14 @@ declare namespace eeTest {
272
264
  typeGuard: typeof import("./type-guards").isBoolean;
273
265
  defaultValue: boolean;
274
266
  };
267
+ platform_editor_ai_1p_placeholder_hints: {
268
+ productKeys: {
269
+ confluence: string;
270
+ };
271
+ param: string;
272
+ typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
273
+ defaultValue: "control" | "example-placeholders" | "tip-placeholders";
274
+ };
275
275
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
276
276
  each: (describeBody: jest.EmptyFunction) => void;
277
277
  };
@@ -39,14 +39,6 @@ export declare const editorExperimentsConfig: {
39
39
  typeGuard: typeof isBoolean;
40
40
  defaultValue: boolean;
41
41
  };
42
- platform_editor_ai_command_palate_improvement: {
43
- productKeys: {
44
- confluence: string;
45
- };
46
- param: string;
47
- typeGuard: (value: unknown) => value is "test" | "control";
48
- defaultValue: "test" | "control";
49
- };
50
42
  'dnd-input-performance-optimisation': {
51
43
  productKeys: {
52
44
  confluence: string;
@@ -231,4 +223,12 @@ export declare const editorExperimentsConfig: {
231
223
  typeGuard: typeof isBoolean;
232
224
  defaultValue: boolean;
233
225
  };
226
+ platform_editor_ai_1p_placeholder_hints: {
227
+ productKeys: {
228
+ confluence: string;
229
+ };
230
+ param: string;
231
+ typeGuard: (value: unknown) => value is "control" | "example-placeholders" | "tip-placeholders";
232
+ defaultValue: "control" | "example-placeholders" | "tip-placeholders";
233
+ };
234
234
  };
@@ -7,7 +7,6 @@ export declare let _overrides: Partial<{
7
7
  'example-multivariate': "one" | "two" | "three";
8
8
  'test-new-experiments-package': boolean;
9
9
  'basic-text-transformations': boolean;
10
- platform_editor_ai_command_palate_improvement: "test" | "control";
11
10
  'dnd-input-performance-optimisation': boolean;
12
11
  'element-level-templates': boolean;
13
12
  'add-media-from-url': boolean;
@@ -31,6 +30,7 @@ export declare let _overrides: Partial<{
31
30
  'editor_ai_-_proactive_ai_improve_writing': "test" | "control";
32
31
  typography_migration_ugc: boolean;
33
32
  'optimised-apply-dnd': boolean;
33
+ platform_editor_ai_1p_placeholder_hints: "control" | "example-placeholders" | "tip-placeholders";
34
34
  }>;
35
35
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
36
36
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.4.0",
3
+ "version": "2.5.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",