@atlaskit/tmp-editor-statsig 11.4.0 → 11.6.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 +19 -0
- package/dist/cjs/experiments-config.js +17 -0
- package/dist/es2019/experiments-config.js +17 -0
- package/dist/esm/experiments-config.js +17 -0
- package/dist/types/editor-experiments-test-utils.d.ts +2 -2
- package/dist/types/experiment-builders.d.ts +2 -2
- package/dist/types/experiments-config.d.ts +100 -88
- package/dist/types/experiments.d.ts +1 -1
- package/dist/types/types.d.ts +5 -5
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +2 -2
- package/dist/types-ts4.5/experiment-builders.d.ts +2 -2
- package/dist/types-ts4.5/experiments-config.d.ts +100 -88
- package/dist/types-ts4.5/experiments.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 11.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2a8dcec064275`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a8dcec064275) -
|
|
8
|
+
[ED-28449] add experiment to config file
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`0fdcb6f2f96fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fdcb6f2f96fd) -
|
|
13
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
14
|
+
|
|
15
|
+
## 11.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`14e7b85d72f07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14e7b85d72f07) -
|
|
20
|
+
EDITOR-1385 Setup platform_editor_ai_non_iw_adf_streaming experiment.
|
|
21
|
+
|
|
3
22
|
## 11.4.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -448,6 +448,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
448
448
|
param: 'isEnabled',
|
|
449
449
|
defaultValue: false
|
|
450
450
|
}),
|
|
451
|
+
// Added 2025-08-20
|
|
452
|
+
platform_editor_ai_non_iw_adf_streaming: (0, _experimentBuilders.createBooleanExperiment)({
|
|
453
|
+
productKeys: {
|
|
454
|
+
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
455
|
+
},
|
|
456
|
+
param: 'isEnabled',
|
|
457
|
+
defaultValue: false
|
|
458
|
+
}),
|
|
451
459
|
// Added 2025-07-07
|
|
452
460
|
platform_editor_ai_remove_trivial_prompts_cc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
453
461
|
productKeys: {
|
|
@@ -752,5 +760,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
752
760
|
},
|
|
753
761
|
param: 'isEnabled',
|
|
754
762
|
defaultValue: false
|
|
763
|
+
}),
|
|
764
|
+
// Added 2025-08-21
|
|
765
|
+
platform_editor_paste_rich_text_bugfix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
766
|
+
productKeys: {
|
|
767
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
768
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
769
|
+
},
|
|
770
|
+
param: 'isEnabled',
|
|
771
|
+
defaultValue: false
|
|
755
772
|
})
|
|
756
773
|
};
|
|
@@ -442,6 +442,14 @@ export const editorExperimentsConfig = {
|
|
|
442
442
|
param: 'isEnabled',
|
|
443
443
|
defaultValue: false
|
|
444
444
|
}),
|
|
445
|
+
// Added 2025-08-20
|
|
446
|
+
platform_editor_ai_non_iw_adf_streaming: createBooleanExperiment({
|
|
447
|
+
productKeys: {
|
|
448
|
+
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
449
|
+
},
|
|
450
|
+
param: 'isEnabled',
|
|
451
|
+
defaultValue: false
|
|
452
|
+
}),
|
|
445
453
|
// Added 2025-07-07
|
|
446
454
|
platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
|
|
447
455
|
productKeys: {
|
|
@@ -746,5 +754,14 @@ export const editorExperimentsConfig = {
|
|
|
746
754
|
},
|
|
747
755
|
param: 'isEnabled',
|
|
748
756
|
defaultValue: false
|
|
757
|
+
}),
|
|
758
|
+
// Added 2025-08-21
|
|
759
|
+
platform_editor_paste_rich_text_bugfix: createBooleanExperiment({
|
|
760
|
+
productKeys: {
|
|
761
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
762
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
763
|
+
},
|
|
764
|
+
param: 'isEnabled',
|
|
765
|
+
defaultValue: false
|
|
749
766
|
})
|
|
750
767
|
};
|
|
@@ -442,6 +442,14 @@ export var editorExperimentsConfig = {
|
|
|
442
442
|
param: 'isEnabled',
|
|
443
443
|
defaultValue: false
|
|
444
444
|
}),
|
|
445
|
+
// Added 2025-08-20
|
|
446
|
+
platform_editor_ai_non_iw_adf_streaming: createBooleanExperiment({
|
|
447
|
+
productKeys: {
|
|
448
|
+
confluence: 'platform_editor_ai_non_iw_adf_streaming'
|
|
449
|
+
},
|
|
450
|
+
param: 'isEnabled',
|
|
451
|
+
defaultValue: false
|
|
452
|
+
}),
|
|
445
453
|
// Added 2025-07-07
|
|
446
454
|
platform_editor_ai_remove_trivial_prompts_cc: createBooleanExperiment({
|
|
447
455
|
productKeys: {
|
|
@@ -746,5 +754,14 @@ export var editorExperimentsConfig = {
|
|
|
746
754
|
},
|
|
747
755
|
param: 'isEnabled',
|
|
748
756
|
defaultValue: false
|
|
757
|
+
}),
|
|
758
|
+
// Added 2025-08-21
|
|
759
|
+
platform_editor_paste_rich_text_bugfix: createBooleanExperiment({
|
|
760
|
+
productKeys: {
|
|
761
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
762
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
763
|
+
},
|
|
764
|
+
param: 'isEnabled',
|
|
765
|
+
defaultValue: false
|
|
749
766
|
})
|
|
750
767
|
};
|
|
@@ -40,13 +40,13 @@ type DescribeBody = Parameters<typeof describe>[1];
|
|
|
40
40
|
* - https://hello.atlassian.net/wiki/spaces/AF/pages/2569505829/Task+Testing+your+feature+flag+in+platform+and+product#Legacy-API-lEGACY
|
|
41
41
|
*/
|
|
42
42
|
declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, cases: EditorExperimentsConfig[ExperimentName]['defaultValue'] extends string ? Record<EditorExperimentsConfig[ExperimentName]['defaultValue'], DescribeBody> : {
|
|
43
|
-
true: DescribeBody;
|
|
44
43
|
false: DescribeBody;
|
|
44
|
+
true: DescribeBody;
|
|
45
45
|
}, otherExperiments?: EditorExperimentOverrides): void;
|
|
46
46
|
declare namespace eeTest {
|
|
47
47
|
var describe: <ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, describeName: string) => {
|
|
48
|
-
variant: (value: EditorExperimentsConfig[ExperimentName]["defaultValue"], describeBody: DescribeBody) => void;
|
|
49
48
|
each: (describeBody: DescribeBody) => void;
|
|
49
|
+
variant: (value: EditorExperimentsConfig[ExperimentName]["defaultValue"], describeBody: DescribeBody) => void;
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
export { eeTest };
|
|
@@ -6,8 +6,8 @@ import type { BooleanExperimentConfig, MultivariateExperimentConfig } from './ty
|
|
|
6
6
|
export declare function createBooleanExperiment(config: BooleanExperimentConfig): {
|
|
7
7
|
typeGuard: typeof isBoolean;
|
|
8
8
|
defaultValue: boolean;
|
|
9
|
-
productKeys?: import("./types").ProductKeys;
|
|
10
9
|
param: string;
|
|
10
|
+
productKeys?: import("./types").ProductKeys;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* Helper to create a multivariate experiment configuration
|
|
@@ -16,6 +16,6 @@ export declare function createMultivariateExperiment<T extends string[]>(config:
|
|
|
16
16
|
values: [...T][number][];
|
|
17
17
|
typeGuard: (value: unknown) => value is T[number];
|
|
18
18
|
defaultValue: T[number];
|
|
19
|
-
productKeys?: import("./types").ProductKeys;
|
|
20
19
|
param: string;
|
|
20
|
+
productKeys?: import("./types").ProductKeys;
|
|
21
21
|
};
|