@atlaskit/tmp-editor-statsig 45.0.0 → 46.0.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 +21 -0
- package/dist/cjs/experiments-config.js +13 -4
- package/dist/es2019/experiments-config.js +13 -4
- package/dist/esm/experiments-config.js +13 -4
- package/dist/types/editor-experiments-test-utils.d.ts +2 -2
- package/dist/types/exp-val-equals-internal.d.ts +1 -1
- package/dist/types/exp-val-equals-no-exposure.d.ts +1 -1
- package/dist/types/exp-val-equals.d.ts +1 -1
- package/dist/types/expVal.d.ts +1 -1
- package/dist/types/experiments-config.d.ts +7 -1
- package/dist/types/experiments.d.ts +1 -1
- package/dist/types/setup.d.ts +2 -2
- package/dist/types/types.d.ts +4 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +2 -2
- package/dist/types-ts4.5/exp-val-equals-internal.d.ts +1 -1
- package/dist/types-ts4.5/exp-val-equals-no-exposure.d.ts +1 -1
- package/dist/types-ts4.5/exp-val-equals.d.ts +1 -1
- package/dist/types-ts4.5/expVal.d.ts +1 -1
- package/dist/types-ts4.5/experiments-config.d.ts +7 -1
- package/dist/types-ts4.5/experiments.d.ts +1 -1
- package/dist/types-ts4.5/setup.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 46.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`61f4e0dfbe267`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/61f4e0dfbe267) -
|
|
8
|
+
EDITOR-6067 - Tab to Improve Writing: Create new experiment for Confluence only
|
|
9
|
+
|
|
10
|
+
## 45.1.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`9f5fba61d4c9d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f5fba61d4c9d) -
|
|
15
|
+
do not show external badge for images hosted on bitbucket.org
|
|
16
|
+
- [`3cd18ada1401f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3cd18ada1401f) -
|
|
17
|
+
[EDITOR-6131] add Jira as a target app to the font size experiment
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [`04bcc33e0d738`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/04bcc33e0d738) -
|
|
22
|
+
Mechanical type-import autofix for AI adjunct editor packages.
|
|
23
|
+
|
|
3
24
|
## 45.0.0
|
|
4
25
|
|
|
5
26
|
### Major Changes
|
|
@@ -198,6 +198,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
198
198
|
param: 'isEnabled',
|
|
199
199
|
defaultValue: false
|
|
200
200
|
}),
|
|
201
|
+
// Added 2026-03-24
|
|
202
|
+
platform_editor_media_external_badge_bbc_fix: (0, _experimentBuilders.createBooleanExperiment)({
|
|
203
|
+
productKeys: {
|
|
204
|
+
confluence: 'platform_editor_media_external_badge_bbc_fix',
|
|
205
|
+
bitbucket: 'platform_editor_media_external_badge_bbc_fix'
|
|
206
|
+
},
|
|
207
|
+
param: 'isEnabled',
|
|
208
|
+
defaultValue: false
|
|
209
|
+
}),
|
|
201
210
|
// Added 2025-11-20
|
|
202
211
|
platform_editor_annotations_sync_on_docchange: (0, _experimentBuilders.createBooleanExperiment)({
|
|
203
212
|
productKeys: {
|
|
@@ -891,10 +900,9 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
891
900
|
defaultValue: false
|
|
892
901
|
}),
|
|
893
902
|
// Added 2026-03-03
|
|
894
|
-
|
|
903
|
+
platform_editor_ai_quick_prompt_iw_cc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
895
904
|
productKeys: {
|
|
896
|
-
confluence: '
|
|
897
|
-
jira: 'platform_editor_ai_quick_prompt'
|
|
905
|
+
confluence: 'platform_editor_ai_quick_prompt_iw_cc'
|
|
898
906
|
},
|
|
899
907
|
param: 'isEnabled',
|
|
900
908
|
defaultValue: false
|
|
@@ -1701,7 +1709,8 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1701
1709
|
}),
|
|
1702
1710
|
platform_editor_small_font_size: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1703
1711
|
productKeys: {
|
|
1704
|
-
confluence: 'platform_editor_small_font_size'
|
|
1712
|
+
confluence: 'platform_editor_small_font_size',
|
|
1713
|
+
jira: 'platform_editor_small_font_size'
|
|
1705
1714
|
},
|
|
1706
1715
|
param: 'isEnabled',
|
|
1707
1716
|
defaultValue: false
|
|
@@ -192,6 +192,15 @@ export const editorExperimentsConfig = {
|
|
|
192
192
|
param: 'isEnabled',
|
|
193
193
|
defaultValue: false
|
|
194
194
|
}),
|
|
195
|
+
// Added 2026-03-24
|
|
196
|
+
platform_editor_media_external_badge_bbc_fix: createBooleanExperiment({
|
|
197
|
+
productKeys: {
|
|
198
|
+
confluence: 'platform_editor_media_external_badge_bbc_fix',
|
|
199
|
+
bitbucket: 'platform_editor_media_external_badge_bbc_fix'
|
|
200
|
+
},
|
|
201
|
+
param: 'isEnabled',
|
|
202
|
+
defaultValue: false
|
|
203
|
+
}),
|
|
195
204
|
// Added 2025-11-20
|
|
196
205
|
platform_editor_annotations_sync_on_docchange: createBooleanExperiment({
|
|
197
206
|
productKeys: {
|
|
@@ -885,10 +894,9 @@ export const editorExperimentsConfig = {
|
|
|
885
894
|
defaultValue: false
|
|
886
895
|
}),
|
|
887
896
|
// Added 2026-03-03
|
|
888
|
-
|
|
897
|
+
platform_editor_ai_quick_prompt_iw_cc: createBooleanExperiment({
|
|
889
898
|
productKeys: {
|
|
890
|
-
confluence: '
|
|
891
|
-
jira: 'platform_editor_ai_quick_prompt'
|
|
899
|
+
confluence: 'platform_editor_ai_quick_prompt_iw_cc'
|
|
892
900
|
},
|
|
893
901
|
param: 'isEnabled',
|
|
894
902
|
defaultValue: false
|
|
@@ -1695,7 +1703,8 @@ export const editorExperimentsConfig = {
|
|
|
1695
1703
|
}),
|
|
1696
1704
|
platform_editor_small_font_size: createBooleanExperiment({
|
|
1697
1705
|
productKeys: {
|
|
1698
|
-
confluence: 'platform_editor_small_font_size'
|
|
1706
|
+
confluence: 'platform_editor_small_font_size',
|
|
1707
|
+
jira: 'platform_editor_small_font_size'
|
|
1699
1708
|
},
|
|
1700
1709
|
param: 'isEnabled',
|
|
1701
1710
|
defaultValue: false
|
|
@@ -192,6 +192,15 @@ export var editorExperimentsConfig = {
|
|
|
192
192
|
param: 'isEnabled',
|
|
193
193
|
defaultValue: false
|
|
194
194
|
}),
|
|
195
|
+
// Added 2026-03-24
|
|
196
|
+
platform_editor_media_external_badge_bbc_fix: createBooleanExperiment({
|
|
197
|
+
productKeys: {
|
|
198
|
+
confluence: 'platform_editor_media_external_badge_bbc_fix',
|
|
199
|
+
bitbucket: 'platform_editor_media_external_badge_bbc_fix'
|
|
200
|
+
},
|
|
201
|
+
param: 'isEnabled',
|
|
202
|
+
defaultValue: false
|
|
203
|
+
}),
|
|
195
204
|
// Added 2025-11-20
|
|
196
205
|
platform_editor_annotations_sync_on_docchange: createBooleanExperiment({
|
|
197
206
|
productKeys: {
|
|
@@ -885,10 +894,9 @@ export var editorExperimentsConfig = {
|
|
|
885
894
|
defaultValue: false
|
|
886
895
|
}),
|
|
887
896
|
// Added 2026-03-03
|
|
888
|
-
|
|
897
|
+
platform_editor_ai_quick_prompt_iw_cc: createBooleanExperiment({
|
|
889
898
|
productKeys: {
|
|
890
|
-
confluence: '
|
|
891
|
-
jira: 'platform_editor_ai_quick_prompt'
|
|
899
|
+
confluence: 'platform_editor_ai_quick_prompt_iw_cc'
|
|
892
900
|
},
|
|
893
901
|
param: 'isEnabled',
|
|
894
902
|
defaultValue: false
|
|
@@ -1695,7 +1703,8 @@ export var editorExperimentsConfig = {
|
|
|
1695
1703
|
}),
|
|
1696
1704
|
platform_editor_small_font_size: createBooleanExperiment({
|
|
1697
1705
|
productKeys: {
|
|
1698
|
-
confluence: 'platform_editor_small_font_size'
|
|
1706
|
+
confluence: 'platform_editor_small_font_size',
|
|
1707
|
+
jira: 'platform_editor_small_font_size'
|
|
1699
1708
|
},
|
|
1700
1709
|
param: 'isEnabled',
|
|
1701
1710
|
defaultValue: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { EditorExperimentOverrides } from './setup';
|
|
2
|
+
import type { EditorExperimentsConfig } from './experiments-config';
|
|
3
3
|
type DescribeBody = Parameters<typeof describe>[1];
|
|
4
4
|
/**
|
|
5
5
|
* This is a utility function for testing editor experiments.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment.
|
|
4
4
|
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment without firing exposure.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment and fire exposure.
|
|
4
4
|
*
|
package/dist/types/expVal.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ export declare const editorExperimentsConfig: {
|
|
|
136
136
|
productKeys?: ProductKeys;
|
|
137
137
|
typeGuard: IsBooleanType;
|
|
138
138
|
};
|
|
139
|
-
|
|
139
|
+
platform_editor_ai_quick_prompt_iw_cc: {
|
|
140
140
|
defaultValue: boolean;
|
|
141
141
|
param: string;
|
|
142
142
|
productKeys?: ProductKeys;
|
|
@@ -1182,6 +1182,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1182
1182
|
productKeys?: ProductKeys;
|
|
1183
1183
|
typeGuard: IsBooleanType;
|
|
1184
1184
|
};
|
|
1185
|
+
platform_editor_media_external_badge_bbc_fix: {
|
|
1186
|
+
defaultValue: boolean;
|
|
1187
|
+
param: string;
|
|
1188
|
+
productKeys?: ProductKeys;
|
|
1189
|
+
typeGuard: IsBooleanType;
|
|
1190
|
+
};
|
|
1185
1191
|
platform_editor_rovobutton_smartlink_toolbar_exp: {
|
|
1186
1192
|
defaultValue: boolean;
|
|
1187
1193
|
param: string;
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type EditorExperimentParamOverrides = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare let _overrides: EditorExperimentOverrides;
|
|
11
11
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
12
|
-
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
12
|
+
export declare let _product: 'bitbucket' | 'confluence' | 'jira' | 'test' | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* This function is used to set up the editor experiments for testing purposes.
|
|
15
15
|
* It should be called before running code that depends on editor experiments.
|
|
@@ -21,7 +21,7 @@ export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare function setupEditorExperiments(product: 'confluence' | 'jira' | 'test',
|
|
24
|
+
export declare function setupEditorExperiments(product: 'bitbucket' | 'confluence' | 'jira' | 'test',
|
|
25
25
|
/**
|
|
26
26
|
* Overrides are used to set the group of an experiment for testing purposes.
|
|
27
27
|
* This is useful when you want to test a specific experiment group.
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { EditorExperimentOverrides } from './setup';
|
|
2
|
+
import type { EditorExperimentsConfig } from './experiments-config';
|
|
3
3
|
type DescribeBody = Parameters<typeof describe>[1];
|
|
4
4
|
/**
|
|
5
5
|
* This is a utility function for testing editor experiments.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment.
|
|
4
4
|
* Internal method that is shared between expValEquals and expValEqualsNoExposure.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment without firing exposure.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
|
|
2
2
|
/**
|
|
3
3
|
* Check the value if an editor experiment and fire exposure.
|
|
4
4
|
*
|
|
@@ -136,7 +136,7 @@ export declare const editorExperimentsConfig: {
|
|
|
136
136
|
productKeys?: ProductKeys;
|
|
137
137
|
typeGuard: IsBooleanType;
|
|
138
138
|
};
|
|
139
|
-
|
|
139
|
+
platform_editor_ai_quick_prompt_iw_cc: {
|
|
140
140
|
defaultValue: boolean;
|
|
141
141
|
param: string;
|
|
142
142
|
productKeys?: ProductKeys;
|
|
@@ -1182,6 +1182,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1182
1182
|
productKeys?: ProductKeys;
|
|
1183
1183
|
typeGuard: IsBooleanType;
|
|
1184
1184
|
};
|
|
1185
|
+
platform_editor_media_external_badge_bbc_fix: {
|
|
1186
|
+
defaultValue: boolean;
|
|
1187
|
+
param: string;
|
|
1188
|
+
productKeys?: ProductKeys;
|
|
1189
|
+
typeGuard: IsBooleanType;
|
|
1190
|
+
};
|
|
1185
1191
|
platform_editor_rovobutton_smartlink_toolbar_exp: {
|
|
1186
1192
|
defaultValue: boolean;
|
|
1187
1193
|
param: string;
|
|
@@ -9,7 +9,7 @@ export type EditorExperimentParamOverrides = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare let _overrides: EditorExperimentOverrides;
|
|
11
11
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
12
|
-
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
12
|
+
export declare let _product: 'bitbucket' | 'confluence' | 'jira' | 'test' | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* This function is used to set up the editor experiments for testing purposes.
|
|
15
15
|
* It should be called before running code that depends on editor experiments.
|
|
@@ -21,7 +21,7 @@ export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare function setupEditorExperiments(product: 'confluence' | 'jira' | 'test',
|
|
24
|
+
export declare function setupEditorExperiments(product: 'bitbucket' | 'confluence' | 'jira' | 'test',
|
|
25
25
|
/**
|
|
26
26
|
* Overrides are used to set the group of an experiment for testing purposes.
|
|
27
27
|
* This is useful when you want to test a specific experiment group.
|
package/package.json
CHANGED