@atlaskit/tmp-editor-statsig 11.5.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 +12 -0
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/experiments-config.js +9 -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 +96 -90
- 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 +96 -90
- 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,17 @@
|
|
|
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
|
+
|
|
3
15
|
## 11.5.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -760,5 +760,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
760
760
|
},
|
|
761
761
|
param: 'isEnabled',
|
|
762
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
|
|
763
772
|
})
|
|
764
773
|
};
|
|
@@ -754,5 +754,14 @@ export const editorExperimentsConfig = {
|
|
|
754
754
|
},
|
|
755
755
|
param: 'isEnabled',
|
|
756
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
|
|
757
766
|
})
|
|
758
767
|
};
|
|
@@ -754,5 +754,14 @@ export var editorExperimentsConfig = {
|
|
|
754
754
|
},
|
|
755
755
|
param: 'isEnabled',
|
|
756
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
|
|
757
766
|
})
|
|
758
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
|
};
|