@atlaskit/tmp-editor-statsig 11.5.0 → 11.7.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 +101 -89
- 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 +101 -89
- 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.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`c29118e6ca79d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c29118e6ca79d) -
|
|
8
|
+
ED-28986 create initial version of synced blocks
|
|
9
|
+
|
|
10
|
+
## 11.6.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`2a8dcec064275`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a8dcec064275) -
|
|
15
|
+
[ED-28449] add experiment to config file
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`0fdcb6f2f96fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fdcb6f2f96fd) -
|
|
20
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
21
|
+
|
|
3
22
|
## 11.5.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -729,6 +729,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
729
729
|
param: 'isEnabled',
|
|
730
730
|
defaultValue: false
|
|
731
731
|
}),
|
|
732
|
+
// Added 2025-08-10
|
|
733
|
+
platform_synced_block: (0, _experimentBuilders.createBooleanExperiment)({
|
|
734
|
+
productKeys: {
|
|
735
|
+
confluence: 'platform_synced_block'
|
|
736
|
+
},
|
|
737
|
+
param: 'isEnabled',
|
|
738
|
+
defaultValue: false
|
|
739
|
+
}),
|
|
732
740
|
// Added 2025-08-06
|
|
733
741
|
cc_improve_writing_on_paste: (0, _experimentBuilders.createBooleanExperiment)({
|
|
734
742
|
productKeys: {
|
|
@@ -760,5 +768,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
760
768
|
},
|
|
761
769
|
param: 'isEnabled',
|
|
762
770
|
defaultValue: false
|
|
771
|
+
}),
|
|
772
|
+
// Added 2025-08-21
|
|
773
|
+
platform_editor_paste_rich_text_bugfix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
774
|
+
productKeys: {
|
|
775
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
776
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
777
|
+
},
|
|
778
|
+
param: 'isEnabled',
|
|
779
|
+
defaultValue: false
|
|
763
780
|
})
|
|
764
781
|
};
|
|
@@ -723,6 +723,14 @@ export const editorExperimentsConfig = {
|
|
|
723
723
|
param: 'isEnabled',
|
|
724
724
|
defaultValue: false
|
|
725
725
|
}),
|
|
726
|
+
// Added 2025-08-10
|
|
727
|
+
platform_synced_block: createBooleanExperiment({
|
|
728
|
+
productKeys: {
|
|
729
|
+
confluence: 'platform_synced_block'
|
|
730
|
+
},
|
|
731
|
+
param: 'isEnabled',
|
|
732
|
+
defaultValue: false
|
|
733
|
+
}),
|
|
726
734
|
// Added 2025-08-06
|
|
727
735
|
cc_improve_writing_on_paste: createBooleanExperiment({
|
|
728
736
|
productKeys: {
|
|
@@ -754,5 +762,14 @@ export const editorExperimentsConfig = {
|
|
|
754
762
|
},
|
|
755
763
|
param: 'isEnabled',
|
|
756
764
|
defaultValue: false
|
|
765
|
+
}),
|
|
766
|
+
// Added 2025-08-21
|
|
767
|
+
platform_editor_paste_rich_text_bugfix: createBooleanExperiment({
|
|
768
|
+
productKeys: {
|
|
769
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
770
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
771
|
+
},
|
|
772
|
+
param: 'isEnabled',
|
|
773
|
+
defaultValue: false
|
|
757
774
|
})
|
|
758
775
|
};
|
|
@@ -723,6 +723,14 @@ export var editorExperimentsConfig = {
|
|
|
723
723
|
param: 'isEnabled',
|
|
724
724
|
defaultValue: false
|
|
725
725
|
}),
|
|
726
|
+
// Added 2025-08-10
|
|
727
|
+
platform_synced_block: createBooleanExperiment({
|
|
728
|
+
productKeys: {
|
|
729
|
+
confluence: 'platform_synced_block'
|
|
730
|
+
},
|
|
731
|
+
param: 'isEnabled',
|
|
732
|
+
defaultValue: false
|
|
733
|
+
}),
|
|
726
734
|
// Added 2025-08-06
|
|
727
735
|
cc_improve_writing_on_paste: createBooleanExperiment({
|
|
728
736
|
productKeys: {
|
|
@@ -754,5 +762,14 @@ export var editorExperimentsConfig = {
|
|
|
754
762
|
},
|
|
755
763
|
param: 'isEnabled',
|
|
756
764
|
defaultValue: false
|
|
765
|
+
}),
|
|
766
|
+
// Added 2025-08-21
|
|
767
|
+
platform_editor_paste_rich_text_bugfix: createBooleanExperiment({
|
|
768
|
+
productKeys: {
|
|
769
|
+
confluence: 'platform_editor_paste_rich_text_bugfix',
|
|
770
|
+
jira: 'platform_editor_paste_rich_text_bugfix'
|
|
771
|
+
},
|
|
772
|
+
param: 'isEnabled',
|
|
773
|
+
defaultValue: false
|
|
757
774
|
})
|
|
758
775
|
};
|
|
@@ -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
|
};
|