@atlaskit/tmp-editor-statsig 132.2.0 → 132.3.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 +42 -0
- package/dist/cjs/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +1 -12
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +1 -12
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +1 -12
- package/dist/types/experiments-config.d.ts +0 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 132.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`103ecc1edeedc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/103ecc1edeedc) -
|
|
8
|
+
Remove Confluence short link metadata from smart link clicked analytics payloads.
|
|
9
|
+
|
|
10
|
+
This removes the temporary `isConfluenceShortLink` field that was added to support an
|
|
11
|
+
investigation into Confluence short link usage. The investigation is complete, and the smart link
|
|
12
|
+
clicked analytics payload now returns to its previous shape.
|
|
13
|
+
|
|
14
|
+
This also removes the temporary `smart_link_confluence_short_link_analytics` experiment from
|
|
15
|
+
`editorExperimentsConfig` and the generated experiment key types. Consumers that checked this
|
|
16
|
+
temporary experiment can remove that branch.
|
|
17
|
+
|
|
18
|
+
Before:
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
if (expValEquals('smart_link_confluence_short_link_analytics', 'cohort', 'test')) {
|
|
22
|
+
trackLinkClicked({ isConfluenceShortLink });
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
After:
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
trackLinkClicked();
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Before:
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
const { isConfluenceShortLink, ...payload } = event;
|
|
36
|
+
sendAnalytics(payload, { isShortLink: isConfluenceShortLink });
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
After:
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
sendAnalytics(event);
|
|
43
|
+
```
|
|
44
|
+
|
|
3
45
|
## 132.2.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
|
@@ -10,7 +10,6 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
|
10
10
|
platform_editor_controls: 'control',
|
|
11
11
|
cc_editor_ai_content_mode: 'control',
|
|
12
12
|
platform_hover_card_preview_panel: 'control',
|
|
13
|
-
smart_link_confluence_short_link_analytics: 'control',
|
|
14
13
|
cc_editor_insm_outlier_events: 'test',
|
|
15
14
|
platform_editor_table_sticky_header_improvements: 'test_with_overflow',
|
|
16
15
|
cc_fd_db_top_editor_toolbar: 'control',
|
|
@@ -13,7 +13,7 @@ var _experimentBuilders = require("./experiment-builders");
|
|
|
13
13
|
|
|
14
14
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
15
15
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
16
|
-
var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', '
|
|
16
|
+
var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'comment_on_bodied_extensions'];
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Extract valid expected values.
|
|
@@ -782,17 +782,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
782
782
|
values: ['control', 'test'],
|
|
783
783
|
defaultValue: 'control'
|
|
784
784
|
}),
|
|
785
|
-
// Added 2025-09-17
|
|
786
|
-
// Added 2025-11-25
|
|
787
|
-
smart_link_confluence_short_link_analytics: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
788
|
-
productKeys: {
|
|
789
|
-
confluence: 'smart-link-confluence-short-link-analytics',
|
|
790
|
-
jira: 'smart-link-confluence-short-link-analytics'
|
|
791
|
-
},
|
|
792
|
-
param: 'cohort',
|
|
793
|
-
values: ['control', 'test'],
|
|
794
|
-
defaultValue: 'control'
|
|
795
|
-
}),
|
|
796
785
|
// Added 2026-06-25
|
|
797
786
|
jira_editor_a11y_toolbar_fixes: (0, _experimentBuilders.createBooleanExperiment)({
|
|
798
787
|
productKeys: {
|
|
@@ -4,7 +4,6 @@ export const testMultivariateOverrides = {
|
|
|
4
4
|
platform_editor_controls: 'control',
|
|
5
5
|
cc_editor_ai_content_mode: 'control',
|
|
6
6
|
platform_hover_card_preview_panel: 'control',
|
|
7
|
-
smart_link_confluence_short_link_analytics: 'control',
|
|
8
7
|
cc_editor_insm_outlier_events: 'test',
|
|
9
8
|
platform_editor_table_sticky_header_improvements: 'test_with_overflow',
|
|
10
9
|
cc_fd_db_top_editor_toolbar: 'control',
|
|
@@ -7,7 +7,7 @@ import { createBooleanExperiment, createMultivariateExperiment } from './experim
|
|
|
7
7
|
|
|
8
8
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
9
9
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
10
|
-
export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', '
|
|
10
|
+
export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'comment_on_bodied_extensions'];
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Extract valid expected values.
|
|
@@ -776,17 +776,6 @@ export const editorExperimentsConfig = {
|
|
|
776
776
|
values: ['control', 'test'],
|
|
777
777
|
defaultValue: 'control'
|
|
778
778
|
}),
|
|
779
|
-
// Added 2025-09-17
|
|
780
|
-
// Added 2025-11-25
|
|
781
|
-
smart_link_confluence_short_link_analytics: createMultivariateExperiment({
|
|
782
|
-
productKeys: {
|
|
783
|
-
confluence: 'smart-link-confluence-short-link-analytics',
|
|
784
|
-
jira: 'smart-link-confluence-short-link-analytics'
|
|
785
|
-
},
|
|
786
|
-
param: 'cohort',
|
|
787
|
-
values: ['control', 'test'],
|
|
788
|
-
defaultValue: 'control'
|
|
789
|
-
}),
|
|
790
779
|
// Added 2026-06-25
|
|
791
780
|
jira_editor_a11y_toolbar_fixes: createBooleanExperiment({
|
|
792
781
|
productKeys: {
|
|
@@ -4,7 +4,6 @@ export var testMultivariateOverrides = {
|
|
|
4
4
|
platform_editor_controls: 'control',
|
|
5
5
|
cc_editor_ai_content_mode: 'control',
|
|
6
6
|
platform_hover_card_preview_panel: 'control',
|
|
7
|
-
smart_link_confluence_short_link_analytics: 'control',
|
|
8
7
|
cc_editor_insm_outlier_events: 'test',
|
|
9
8
|
platform_editor_table_sticky_header_improvements: 'test_with_overflow',
|
|
10
9
|
cc_fd_db_top_editor_toolbar: 'control',
|
|
@@ -7,7 +7,7 @@ import { createBooleanExperiment, createMultivariateExperiment } from './experim
|
|
|
7
7
|
|
|
8
8
|
// These experiments have a jira-specific key that differs from the experiment name,
|
|
9
9
|
// so they must opt out of product-key routing to avoid sending the wrong key on jira.
|
|
10
|
-
export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', '
|
|
10
|
+
export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_editor_blocks', 'platform_editor_controls', 'platform_editor_preview_panel_linking_exp', 'platform_synced_block', 'platform_editor_static_css', 'advanced_layouts', 'single_column_layouts', 'platform_editor_preview_panel_responsiveness', 'platform_editor_toolbar_aifc', 'comment_on_bodied_extensions'];
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Extract valid expected values.
|
|
@@ -776,17 +776,6 @@ export var editorExperimentsConfig = {
|
|
|
776
776
|
values: ['control', 'test'],
|
|
777
777
|
defaultValue: 'control'
|
|
778
778
|
}),
|
|
779
|
-
// Added 2025-09-17
|
|
780
|
-
// Added 2025-11-25
|
|
781
|
-
smart_link_confluence_short_link_analytics: createMultivariateExperiment({
|
|
782
|
-
productKeys: {
|
|
783
|
-
confluence: 'smart-link-confluence-short-link-analytics',
|
|
784
|
-
jira: 'smart-link-confluence-short-link-analytics'
|
|
785
|
-
},
|
|
786
|
-
param: 'cohort',
|
|
787
|
-
values: ['control', 'test'],
|
|
788
|
-
defaultValue: 'control'
|
|
789
|
-
}),
|
|
790
779
|
// Added 2026-06-25
|
|
791
780
|
jira_editor_a11y_toolbar_fixes: createBooleanExperiment({
|
|
792
781
|
productKeys: {
|
|
@@ -840,13 +840,6 @@ export declare const editorExperimentsConfig: {
|
|
|
840
840
|
productKeys?: ProductKeys;
|
|
841
841
|
typeGuard: IsBooleanType;
|
|
842
842
|
};
|
|
843
|
-
smart_link_confluence_short_link_analytics: {
|
|
844
|
-
defaultValue: 'control' | 'test';
|
|
845
|
-
param: string;
|
|
846
|
-
productKeys?: ProductKeys;
|
|
847
|
-
typeGuard: (value: unknown) => value is 'control' | 'test';
|
|
848
|
-
values: ('control' | 'test')[];
|
|
849
|
-
};
|
|
850
843
|
linking_platform_track_non_primary_3p_clicks: {
|
|
851
844
|
defaultValue: boolean;
|
|
852
845
|
param: string;
|
package/package.json
CHANGED