@atlaskit/tmp-editor-statsig 2.1.3 → 2.1.4

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,15 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#136760](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136760)
8
+ [`67e70c0779b86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67e70c0779b86) -
9
+ [EDF-1274](https://product-fabric.atlassian.net/browse/EDF-1274) - replace
10
+ platform_editor_ai_command_palate_improvement_fg FG by
11
+ platform_editor_ai_command_palate_improvement Statsig experiment
12
+
3
13
  ## 2.1.3
4
14
 
5
15
  ### 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: {
@@ -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: {
@@ -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: {
@@ -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;
@@ -7,6 +7,7 @@ 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;
@@ -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;
@@ -7,6 +7,7 @@ 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;
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.4",
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",