@atlaskit/tmp-editor-statsig 135.11.0 → 136.1.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 +26 -0
- package/dist/cjs/exp-test-overrides.js +1 -0
- package/dist/cjs/experiments-config.js +9 -8
- package/dist/es2019/exp-test-overrides.js +1 -0
- package/dist/es2019/experiments-config.js +9 -8
- package/dist/esm/exp-test-overrides.js +1 -0
- package/dist/esm/experiments-config.js +9 -8
- package/dist/types/experiments-config.d.ts +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 136.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`269b5c3095949`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/269b5c3095949) -
|
|
8
|
+
[ux] Add experiment `cwr_publish_flow_live_doc_toggle_exp` to the CWR "Add to Confluence" finalize
|
|
9
|
+
popup. The experiment controls how the live doc / page content type selector is presented:
|
|
10
|
+
- **control**: existing toggle buttons (Live Doc / Page) are shown as before
|
|
11
|
+
- **variantA**: toggle replaced by a dropdown pill next to the "Add" heading
|
|
12
|
+
- **variantB**: toggle hidden, content type defaults to `'livedoc'`
|
|
13
|
+
- **variantC**: toggle hidden, content type defaults to `'page'`
|
|
14
|
+
|
|
15
|
+
The `defaultContentType` prop passed by consumers always wins over the experiment-driven default:
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
// defaultContentType takes precedence regardless of experiment cohort
|
|
19
|
+
<ConfluenceObjectFinalizePopup defaultContentType="page" ... />
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 136.0.0
|
|
23
|
+
|
|
24
|
+
### Major Changes
|
|
25
|
+
|
|
26
|
+
- [`e4a610e4c20f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e4a610e4c20f3) -
|
|
27
|
+
Clean up experiment `remix_button_right_margin_hover`
|
|
28
|
+
|
|
3
29
|
## 135.11.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.testMultivariateOverrides = exports.testBooleanOverrides = void 0;
|
|
7
7
|
var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
8
|
+
cwr_publish_flow_live_doc_toggle_exp: 'control',
|
|
8
9
|
'example-multivariate': 'one',
|
|
9
10
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
10
11
|
platform_editor_controls: 'control',
|
|
@@ -91,14 +91,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
91
91
|
param: 'isEnabled',
|
|
92
92
|
defaultValue: false
|
|
93
93
|
}),
|
|
94
|
-
// Added 2026-06-09
|
|
95
|
-
remix_button_right_margin_hover: (0, _experimentBuilders.createBooleanExperiment)({
|
|
96
|
-
productKeys: {
|
|
97
|
-
confluence: 'remix_button_right_margin_hover'
|
|
98
|
-
},
|
|
99
|
-
param: 'isEnabled',
|
|
100
|
-
defaultValue: false
|
|
101
|
-
}),
|
|
102
94
|
// Editor Platform experiments
|
|
103
95
|
// lwoollard experiments
|
|
104
96
|
|
|
@@ -2633,5 +2625,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2633
2625
|
},
|
|
2634
2626
|
param: 'value',
|
|
2635
2627
|
defaultValue: false
|
|
2628
|
+
}),
|
|
2629
|
+
// Added 2026-07-28
|
|
2630
|
+
cwr_publish_flow_live_doc_toggle_exp: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
2631
|
+
productKeys: {
|
|
2632
|
+
confluence: 'cwr_publish_flow_live_doc_toggle_exp'
|
|
2633
|
+
},
|
|
2634
|
+
param: 'cohort',
|
|
2635
|
+
defaultValue: 'control',
|
|
2636
|
+
values: ['control', 'variantA', 'variantB', 'variantC']
|
|
2636
2637
|
})
|
|
2637
2638
|
};
|
|
@@ -85,14 +85,6 @@ export const editorExperimentsConfig = {
|
|
|
85
85
|
param: 'isEnabled',
|
|
86
86
|
defaultValue: false
|
|
87
87
|
}),
|
|
88
|
-
// Added 2026-06-09
|
|
89
|
-
remix_button_right_margin_hover: createBooleanExperiment({
|
|
90
|
-
productKeys: {
|
|
91
|
-
confluence: 'remix_button_right_margin_hover'
|
|
92
|
-
},
|
|
93
|
-
param: 'isEnabled',
|
|
94
|
-
defaultValue: false
|
|
95
|
-
}),
|
|
96
88
|
// Editor Platform experiments
|
|
97
89
|
// lwoollard experiments
|
|
98
90
|
|
|
@@ -2627,5 +2619,14 @@ export const editorExperimentsConfig = {
|
|
|
2627
2619
|
},
|
|
2628
2620
|
param: 'value',
|
|
2629
2621
|
defaultValue: false
|
|
2622
|
+
}),
|
|
2623
|
+
// Added 2026-07-28
|
|
2624
|
+
cwr_publish_flow_live_doc_toggle_exp: createMultivariateExperiment({
|
|
2625
|
+
productKeys: {
|
|
2626
|
+
confluence: 'cwr_publish_flow_live_doc_toggle_exp'
|
|
2627
|
+
},
|
|
2628
|
+
param: 'cohort',
|
|
2629
|
+
defaultValue: 'control',
|
|
2630
|
+
values: ['control', 'variantA', 'variantB', 'variantC']
|
|
2630
2631
|
})
|
|
2631
2632
|
};
|
|
@@ -85,14 +85,6 @@ export var editorExperimentsConfig = {
|
|
|
85
85
|
param: 'isEnabled',
|
|
86
86
|
defaultValue: false
|
|
87
87
|
}),
|
|
88
|
-
// Added 2026-06-09
|
|
89
|
-
remix_button_right_margin_hover: createBooleanExperiment({
|
|
90
|
-
productKeys: {
|
|
91
|
-
confluence: 'remix_button_right_margin_hover'
|
|
92
|
-
},
|
|
93
|
-
param: 'isEnabled',
|
|
94
|
-
defaultValue: false
|
|
95
|
-
}),
|
|
96
88
|
// Editor Platform experiments
|
|
97
89
|
// lwoollard experiments
|
|
98
90
|
|
|
@@ -2627,5 +2619,14 @@ export var editorExperimentsConfig = {
|
|
|
2627
2619
|
},
|
|
2628
2620
|
param: 'value',
|
|
2629
2621
|
defaultValue: false
|
|
2622
|
+
}),
|
|
2623
|
+
// Added 2026-07-28
|
|
2624
|
+
cwr_publish_flow_live_doc_toggle_exp: createMultivariateExperiment({
|
|
2625
|
+
productKeys: {
|
|
2626
|
+
confluence: 'cwr_publish_flow_live_doc_toggle_exp'
|
|
2627
|
+
},
|
|
2628
|
+
param: 'cohort',
|
|
2629
|
+
defaultValue: 'control',
|
|
2630
|
+
values: ['control', 'variantA', 'variantB', 'variantC']
|
|
2630
2631
|
})
|
|
2631
2632
|
};
|
|
@@ -63,12 +63,6 @@ export declare const editorExperimentsConfig: {
|
|
|
63
63
|
productKeys?: ProductKeys;
|
|
64
64
|
typeGuard: IsBooleanType;
|
|
65
65
|
};
|
|
66
|
-
remix_button_right_margin_hover: {
|
|
67
|
-
defaultValue: boolean;
|
|
68
|
-
param: string;
|
|
69
|
-
productKeys?: ProductKeys;
|
|
70
|
-
typeGuard: IsBooleanType;
|
|
71
|
-
};
|
|
72
66
|
advanced_layouts: {
|
|
73
67
|
defaultValue: boolean;
|
|
74
68
|
param: string;
|
|
@@ -1919,5 +1913,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1919
1913
|
typeGuard: (value: unknown) => value is 'control' | 'variant_a' | 'variant_b';
|
|
1920
1914
|
values: ('control' | 'variant_a' | 'variant_b')[];
|
|
1921
1915
|
};
|
|
1916
|
+
cwr_publish_flow_live_doc_toggle_exp: {
|
|
1917
|
+
defaultValue: 'control' | 'variantA' | 'variantB' | 'variantC';
|
|
1918
|
+
param: string;
|
|
1919
|
+
productKeys?: ProductKeys;
|
|
1920
|
+
typeGuard: (value: unknown) => value is 'control' | 'variantA' | 'variantB' | 'variantC';
|
|
1921
|
+
values: ('control' | 'variantA' | 'variantB' | 'variantC')[];
|
|
1922
|
+
};
|
|
1922
1923
|
};
|
|
1923
1924
|
export {};
|
package/package.json
CHANGED