@atlaskit/tmp-editor-statsig 2.1.3 → 2.1.5

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,24 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#137234](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137234)
8
+ [`e80c81de138e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e80c81de138e9) -
9
+ [ux] [ED-24803] Experiment for editor block controls which adds a button to insert quickInsert
10
+ elements
11
+
12
+ ## 2.1.4
13
+
14
+ ### Patch Changes
15
+
16
+ - [#136760](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136760)
17
+ [`67e70c0779b86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67e70c0779b86) -
18
+ [EDF-1274](https://product-fabric.atlassian.net/browse/EDF-1274) - replace
19
+ platform_editor_ai_command_palate_improvement_fg FG by
20
+ platform_editor_ai_command_palate_improvement Statsig experiment
21
+
3
22
  ## 2.1.3
4
23
 
5
24
  ### Patch Changes
@@ -58,6 +58,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
58
58
  typeGuard: isBoolean,
59
59
  defaultValue: false
60
60
  },
61
+ // Add 2024-08-27
62
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
63
+ platform_editor_ai_command_palate_improvement: {
64
+ productKeys: {
65
+ confluence: 'platform_editor_ai_command_palate_improvement'
66
+ },
67
+ param: 'cohort',
68
+ typeGuard: oneOf(['control', 'test']),
69
+ defaultValue: 'control'
70
+ },
61
71
  // Added 2024-08-23
62
72
  'platform-editor-ai-condensed-floating-toobar': {
63
73
  productKeys: {
@@ -111,5 +121,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
111
121
  param: 'isEnabled',
112
122
  typeGuard: isBoolean,
113
123
  defaultValue: false
124
+ },
125
+ // Added 2024-09-02
126
+ platform_editor_empty_line_prompt: {
127
+ productKeys: {
128
+ confluence: 'platform_editor_empty_line_prompt'
129
+ },
130
+ param: 'isEnabled',
131
+ typeGuard: isBoolean,
132
+ defaultValue: false
114
133
  }
115
134
  };
@@ -52,6 +52,16 @@ export const editorExperimentsConfig = {
52
52
  typeGuard: isBoolean,
53
53
  defaultValue: false
54
54
  },
55
+ // Add 2024-08-27
56
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
57
+ platform_editor_ai_command_palate_improvement: {
58
+ productKeys: {
59
+ confluence: 'platform_editor_ai_command_palate_improvement'
60
+ },
61
+ param: 'cohort',
62
+ typeGuard: oneOf(['control', 'test']),
63
+ defaultValue: 'control'
64
+ },
55
65
  // Added 2024-08-23
56
66
  'platform-editor-ai-condensed-floating-toobar': {
57
67
  productKeys: {
@@ -105,5 +115,14 @@ export const editorExperimentsConfig = {
105
115
  param: 'isEnabled',
106
116
  typeGuard: isBoolean,
107
117
  defaultValue: false
118
+ },
119
+ // Added 2024-09-02
120
+ platform_editor_empty_line_prompt: {
121
+ productKeys: {
122
+ confluence: 'platform_editor_empty_line_prompt'
123
+ },
124
+ param: 'isEnabled',
125
+ typeGuard: isBoolean,
126
+ defaultValue: false
108
127
  }
109
128
  };
@@ -52,6 +52,16 @@ export var editorExperimentsConfig = {
52
52
  typeGuard: isBoolean,
53
53
  defaultValue: false
54
54
  },
55
+ // Add 2024-08-27
56
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_ai_command_palate_improvement/
57
+ platform_editor_ai_command_palate_improvement: {
58
+ productKeys: {
59
+ confluence: 'platform_editor_ai_command_palate_improvement'
60
+ },
61
+ param: 'cohort',
62
+ typeGuard: oneOf(['control', 'test']),
63
+ defaultValue: 'control'
64
+ },
55
65
  // Added 2024-08-23
56
66
  'platform-editor-ai-condensed-floating-toobar': {
57
67
  productKeys: {
@@ -105,5 +115,14 @@ export var editorExperimentsConfig = {
105
115
  param: 'isEnabled',
106
116
  typeGuard: isBoolean,
107
117
  defaultValue: false
118
+ },
119
+ // Added 2024-09-02
120
+ platform_editor_empty_line_prompt: {
121
+ productKeys: {
122
+ confluence: 'platform_editor_empty_line_prompt'
123
+ },
124
+ param: 'isEnabled',
125
+ typeGuard: isBoolean,
126
+ defaultValue: false
108
127
  }
109
128
  };
@@ -35,7 +35,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
35
35
  * })
36
36
  * ```
37
37
  */
38
- export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName] extends string ? Record<EditorExperimentsConfig[ExperimentName], () => void | Promise<void>> : {
38
+ export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName]['defaultValue'] extends string ? Record<EditorExperimentsConfig[ExperimentName]['defaultValue'], () => void | Promise<void>> : {
39
39
  true: () => void | Promise<void>;
40
40
  false: () => void | Promise<void>;
41
41
  }, otherExperiments?: EditorExperimentOverrides): void;
@@ -39,6 +39,14 @@ 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 "control" | "test";
48
+ defaultValue: "control" | "test";
49
+ };
42
50
  'platform-editor-ai-condensed-floating-toobar': {
43
51
  productKeys: {
44
52
  confluence: string;
@@ -87,5 +95,13 @@ export declare const editorExperimentsConfig: {
87
95
  typeGuard: typeof isBoolean;
88
96
  defaultValue: boolean;
89
97
  };
98
+ platform_editor_empty_line_prompt: {
99
+ productKeys: {
100
+ confluence: string;
101
+ };
102
+ param: string;
103
+ typeGuard: typeof isBoolean;
104
+ defaultValue: boolean;
105
+ };
90
106
  };
91
107
  export {};
@@ -7,12 +7,14 @@ 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: "control" | "test";
10
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
12
  'dnd-input-performance-optimisation': boolean;
12
13
  'element-level-templates': boolean;
13
14
  'nested-dnd': boolean;
14
15
  'table-nested-dnd': boolean;
15
16
  'insert-menu-in-right-rail': boolean;
17
+ platform_editor_empty_line_prompt: boolean;
16
18
  }>;
17
19
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
18
20
  /**
@@ -35,7 +35,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
35
35
  * })
36
36
  * ```
37
37
  */
38
- export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName] extends string ? Record<EditorExperimentsConfig[ExperimentName], () => void | Promise<void>> : {
38
+ export declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName]['defaultValue'] extends string ? Record<EditorExperimentsConfig[ExperimentName]['defaultValue'], () => void | Promise<void>> : {
39
39
  true: () => void | Promise<void>;
40
40
  false: () => void | Promise<void>;
41
41
  }, otherExperiments?: EditorExperimentOverrides): void;
@@ -39,6 +39,14 @@ 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 "control" | "test";
48
+ defaultValue: "control" | "test";
49
+ };
42
50
  'platform-editor-ai-condensed-floating-toobar': {
43
51
  productKeys: {
44
52
  confluence: string;
@@ -87,5 +95,13 @@ export declare const editorExperimentsConfig: {
87
95
  typeGuard: typeof isBoolean;
88
96
  defaultValue: boolean;
89
97
  };
98
+ platform_editor_empty_line_prompt: {
99
+ productKeys: {
100
+ confluence: string;
101
+ };
102
+ param: string;
103
+ typeGuard: typeof isBoolean;
104
+ defaultValue: boolean;
105
+ };
90
106
  };
91
107
  export {};
@@ -7,12 +7,14 @@ 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: "control" | "test";
10
11
  'platform-editor-ai-condensed-floating-toobar': "control" | "dropdown" | "editor_ai_button";
11
12
  'dnd-input-performance-optimisation': boolean;
12
13
  'element-level-templates': boolean;
13
14
  'nested-dnd': boolean;
14
15
  'table-nested-dnd': boolean;
15
16
  'insert-menu-in-right-rail': boolean;
17
+ platform_editor_empty_line_prompt: boolean;
16
18
  }>;
17
19
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
18
20
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
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",