@atlaskit/tmp-editor-statsig 132.2.0 → 132.3.1
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 +63 -0
- package/dist/cjs/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +11 -12
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +11 -12
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +11 -12
- package/dist/types/experiments-config.d.ts +6 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 132.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`895ac23f1a3be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/895ac23f1a3be) -
|
|
8
|
+
Agent edit presence: surface agent-authored collaborative edits to other users.
|
|
9
|
+
- `collab-provider` detects agent-authored remote steps (`agentType`/`agentId`) and registers a
|
|
10
|
+
synthetic agent participant in the AI-provider (`agent:`) partition so the agent appears in
|
|
11
|
+
presence, with a 30s sliding inactivity window (CCI-18030). `editor-common` gains optional
|
|
12
|
+
`agentId`/`agentType` on the collab step types.
|
|
13
|
+
- `editor-plugin-collab-edit` + `editor-core` add the in-editor shimmer (CCI-18033): when an
|
|
14
|
+
agent-authored step lands, the top-level block(s) it touched are covered by a skeleton-loader
|
|
15
|
+
shimmer (grey skeleton with a moving highlight) with a Rovo agent telepointer/cursor — labelled
|
|
16
|
+
with the agent's type — at the end of the range, then removed on a timer to reveal the content.
|
|
17
|
+
Gated behind the default-OFF `platform_editor_agent_be_streaming` experiment; the `durationMs`
|
|
18
|
+
dynamic-config param controls how long the shimmer stays (0 disables it) and
|
|
19
|
+
`telepointerDisabled` hides the telepointer. `tmp-editor-statsig` registers the experiment.
|
|
20
|
+
- `ratcheting` excludes the new `agentShimmerStyles.ts` from the "No unsafe typography" rule (the
|
|
21
|
+
agent telepointer label mirrors the existing AI in-editor telepointer's sub-token 10px/9px
|
|
22
|
+
sizing, matching its already-excluded Compiled counterpart).
|
|
23
|
+
|
|
24
|
+
## 132.3.0
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- [`103ecc1edeedc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/103ecc1edeedc) -
|
|
29
|
+
Remove Confluence short link metadata from smart link clicked analytics payloads.
|
|
30
|
+
|
|
31
|
+
This removes the temporary `isConfluenceShortLink` field that was added to support an
|
|
32
|
+
investigation into Confluence short link usage. The investigation is complete, and the smart link
|
|
33
|
+
clicked analytics payload now returns to its previous shape.
|
|
34
|
+
|
|
35
|
+
This also removes the temporary `smart_link_confluence_short_link_analytics` experiment from
|
|
36
|
+
`editorExperimentsConfig` and the generated experiment key types. Consumers that checked this
|
|
37
|
+
temporary experiment can remove that branch.
|
|
38
|
+
|
|
39
|
+
Before:
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
if (expValEquals('smart_link_confluence_short_link_analytics', 'cohort', 'test')) {
|
|
43
|
+
trackLinkClicked({ isConfluenceShortLink });
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
After:
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
trackLinkClicked();
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Before:
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
const { isConfluenceShortLink, ...payload } = event;
|
|
57
|
+
sendAnalytics(payload, { isShortLink: isConfluenceShortLink });
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
After:
|
|
61
|
+
|
|
62
|
+
```ts
|
|
63
|
+
sendAnalytics(event);
|
|
64
|
+
```
|
|
65
|
+
|
|
3
66
|
## 132.2.0
|
|
4
67
|
|
|
5
68
|
### 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.
|
|
@@ -39,6 +39,16 @@ var disallowsProductKeys = exports.disallowsProductKeys = ['platform_editor_bloc
|
|
|
39
39
|
var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
40
40
|
// new format to avoid collisions with other users when updating the file
|
|
41
41
|
|
|
42
|
+
// Added 2026-07-21
|
|
43
|
+
// `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
|
|
44
|
+
// `durationMs` shimmer duration, read at runtime via `expVal`.
|
|
45
|
+
platform_editor_agent_be_streaming: (0, _experimentBuilders.createBooleanExperiment)({
|
|
46
|
+
productKeys: {
|
|
47
|
+
confluence: 'platform_editor_agent_be_streaming'
|
|
48
|
+
},
|
|
49
|
+
param: 'isEnabled',
|
|
50
|
+
defaultValue: false
|
|
51
|
+
}),
|
|
42
52
|
// Added 2026-07-17
|
|
43
53
|
platform_editor_status_popup_suggestions: (0, _experimentBuilders.createBooleanExperiment)({
|
|
44
54
|
productKeys: {
|
|
@@ -782,17 +792,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
782
792
|
values: ['control', 'test'],
|
|
783
793
|
defaultValue: 'control'
|
|
784
794
|
}),
|
|
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
795
|
// Added 2026-06-25
|
|
797
796
|
jira_editor_a11y_toolbar_fixes: (0, _experimentBuilders.createBooleanExperiment)({
|
|
798
797
|
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.
|
|
@@ -33,6 +33,16 @@ export const disallowsProductKeys = ['platform_editor_block_menu', 'platform_edi
|
|
|
33
33
|
export const editorExperimentsConfig = {
|
|
34
34
|
// new format to avoid collisions with other users when updating the file
|
|
35
35
|
|
|
36
|
+
// Added 2026-07-21
|
|
37
|
+
// `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
|
|
38
|
+
// `durationMs` shimmer duration, read at runtime via `expVal`.
|
|
39
|
+
platform_editor_agent_be_streaming: createBooleanExperiment({
|
|
40
|
+
productKeys: {
|
|
41
|
+
confluence: 'platform_editor_agent_be_streaming'
|
|
42
|
+
},
|
|
43
|
+
param: 'isEnabled',
|
|
44
|
+
defaultValue: false
|
|
45
|
+
}),
|
|
36
46
|
// Added 2026-07-17
|
|
37
47
|
platform_editor_status_popup_suggestions: createBooleanExperiment({
|
|
38
48
|
productKeys: {
|
|
@@ -776,17 +786,6 @@ export const editorExperimentsConfig = {
|
|
|
776
786
|
values: ['control', 'test'],
|
|
777
787
|
defaultValue: 'control'
|
|
778
788
|
}),
|
|
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
789
|
// Added 2026-06-25
|
|
791
790
|
jira_editor_a11y_toolbar_fixes: createBooleanExperiment({
|
|
792
791
|
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.
|
|
@@ -33,6 +33,16 @@ export var disallowsProductKeys = ['platform_editor_block_menu', 'platform_edito
|
|
|
33
33
|
export var editorExperimentsConfig = {
|
|
34
34
|
// new format to avoid collisions with other users when updating the file
|
|
35
35
|
|
|
36
|
+
// Added 2026-07-21
|
|
37
|
+
// `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
|
|
38
|
+
// `durationMs` shimmer duration, read at runtime via `expVal`.
|
|
39
|
+
platform_editor_agent_be_streaming: createBooleanExperiment({
|
|
40
|
+
productKeys: {
|
|
41
|
+
confluence: 'platform_editor_agent_be_streaming'
|
|
42
|
+
},
|
|
43
|
+
param: 'isEnabled',
|
|
44
|
+
defaultValue: false
|
|
45
|
+
}),
|
|
36
46
|
// Added 2026-07-17
|
|
37
47
|
platform_editor_status_popup_suggestions: createBooleanExperiment({
|
|
38
48
|
productKeys: {
|
|
@@ -776,17 +786,6 @@ export var editorExperimentsConfig = {
|
|
|
776
786
|
values: ['control', 'test'],
|
|
777
787
|
defaultValue: 'control'
|
|
778
788
|
}),
|
|
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
789
|
// Added 2026-06-25
|
|
791
790
|
jira_editor_a11y_toolbar_fixes: createBooleanExperiment({
|
|
792
791
|
productKeys: {
|
|
@@ -21,6 +21,12 @@ export type ExperimentDefaultValue<ExperimentName extends keyof EditorExperiment
|
|
|
21
21
|
* existing experiments.
|
|
22
22
|
*/
|
|
23
23
|
export declare const editorExperimentsConfig: {
|
|
24
|
+
platform_editor_agent_be_streaming: {
|
|
25
|
+
defaultValue: boolean;
|
|
26
|
+
param: string;
|
|
27
|
+
productKeys?: ProductKeys;
|
|
28
|
+
typeGuard: IsBooleanType;
|
|
29
|
+
};
|
|
24
30
|
platform_editor_status_popup_suggestions: {
|
|
25
31
|
defaultValue: boolean;
|
|
26
32
|
param: string;
|
|
@@ -840,13 +846,6 @@ export declare const editorExperimentsConfig: {
|
|
|
840
846
|
productKeys?: ProductKeys;
|
|
841
847
|
typeGuard: IsBooleanType;
|
|
842
848
|
};
|
|
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
849
|
linking_platform_track_non_primary_3p_clicks: {
|
|
851
850
|
defaultValue: boolean;
|
|
852
851
|
param: string;
|
package/package.json
CHANGED