@atlaskit/tmp-editor-statsig 136.0.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 +19 -0
- package/dist/cjs/exp-test-overrides.js +1 -0
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/exp-test-overrides.js +1 -0
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/exp-test-overrides.js +1 -0
- package/dist/esm/experiments-config.js +9 -0
- package/dist/types/experiments-config.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
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
|
+
|
|
3
22
|
## 136.0.0
|
|
4
23
|
|
|
5
24
|
### Major 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',
|
|
@@ -2625,5 +2625,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
2625
2625
|
},
|
|
2626
2626
|
param: 'value',
|
|
2627
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']
|
|
2628
2637
|
})
|
|
2629
2638
|
};
|
|
@@ -2619,5 +2619,14 @@ export const editorExperimentsConfig = {
|
|
|
2619
2619
|
},
|
|
2620
2620
|
param: 'value',
|
|
2621
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']
|
|
2622
2631
|
})
|
|
2623
2632
|
};
|
|
@@ -2619,5 +2619,14 @@ export var editorExperimentsConfig = {
|
|
|
2619
2619
|
},
|
|
2620
2620
|
param: 'value',
|
|
2621
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']
|
|
2622
2631
|
})
|
|
2623
2632
|
};
|
|
@@ -1913,5 +1913,12 @@ export declare const editorExperimentsConfig: {
|
|
|
1913
1913
|
typeGuard: (value: unknown) => value is 'control' | 'variant_a' | 'variant_b';
|
|
1914
1914
|
values: ('control' | 'variant_a' | 'variant_b')[];
|
|
1915
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
|
+
};
|
|
1916
1923
|
};
|
|
1917
1924
|
export {};
|
package/package.json
CHANGED