@atlaskit/tmp-editor-statsig 134.0.0 → 135.0.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 CHANGED
@@ -1,5 +1,56 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 135.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`782360c1111dc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/782360c1111dc) -
8
+ Agent-edit shimmer review follow-ups (behind the default-OFF `platform_editor_agent_be_streaming`
9
+ experiment):
10
+ - Add a second shimmer phase: after the skeleton loader clears, the changed range shows a purple
11
+ "just edited" highlight (same colours as the editor AI "improve writing" in-editor highlight)
12
+ that eases in and out over its lifetime. The Rovo telepointer stays through both phases.
13
+ - The two phases are sized by independent experiment params: `shimmerDurationMs` (skeleton,
14
+ renamed from `durationMs`) and `highlightDurationMs` (highlight). `0` on either skips just that
15
+ phase, `0` on both shows nothing.
16
+ - Gate the agent-edit shimmer styles behind the experiment in both the emotion and compiled
17
+ `EditorContentContainer` style entries, using the no-exposure check on the hot render path.
18
+ - Add an `agentEditReceived` collab-provider analytics event, fired once per received transaction
19
+ that contains agent-authored steps, with non-PII attributes (agent ids, count, kinds,
20
+ agent/total step counts).
21
+ - Add an `agentEditShimmerNotShown` COLLAB operational analytics event for agent edits that apply
22
+ without the shimmer (`rebasedConcurrentEdit`, `nothingToShow`, `captureThrew`,
23
+ `tornDownMidAnimation`); neutral action + `reason`, non-PII attributes.
24
+ - Hoist the top-level block/position helpers in `agent-shimmer-ranges` to reusable module scope,
25
+ drop the redundant upper-bound clamp in `agent-shimmer-decorations`, and remove the empty
26
+ `@example` JSDoc tags added in the original PR.
27
+
28
+ `@atlaskit/editor-common` gains a new subpath export,
29
+ `@atlaskit/editor-common/analytics/types/agent-edit-shimmer-events`, exposing the
30
+ `agentEditShimmerNotShown` operational event types. Usage:
31
+
32
+ ```ts
33
+ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
34
+ import type { AgentEditShimmerNotShownReason } from '@atlaskit/editor-common/analytics/types/agent-edit-shimmer-events';
35
+
36
+ const reason: AgentEditShimmerNotShownReason = 'captureThrew';
37
+ editorAnalyticsApi?.fireAnalyticsEvent({
38
+ action: ACTION.AGENT_EDIT_SHIMMER_NOT_SHOWN,
39
+ actionSubject: ACTION_SUBJECT.COLLAB,
40
+ eventType: EVENT_TYPE.OPERATIONAL,
41
+ attributes: { reason },
42
+ });
43
+ ```
44
+
45
+ ## 135.0.0
46
+
47
+ ### Major Changes
48
+
49
+ - [`c0fedda79b60e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c0fedda79b60e) -
50
+ Clean up experiment `platform_editor_fix_a11y_tab_focus_insertion_menu`
51
+ - [`d19e8a0a9bc84`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d19e8a0a9bc84) -
52
+ Clean up experiment `platform_editor_fix_advanced_codeblocks_crlf_patch`
53
+
3
54
  ## 134.0.0
4
55
 
5
56
  ### Major Changes
@@ -49,7 +49,8 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
49
49
  }),
50
50
  // Added 2026-07-21
51
51
  // `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
52
- // `durationMs` shimmer duration, read at runtime via `expVal`.
52
+ // `shimmerDurationMs` (skeleton) and `highlightDurationMs` (purple highlight) durations, read at
53
+ // runtime via `expVal`.
53
54
  platform_editor_agent_be_streaming: (0, _experimentBuilders.createBooleanExperiment)({
54
55
  productKeys: {
55
56
  confluence: 'platform_editor_agent_be_streaming'
@@ -205,6 +206,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
205
206
  param: 'isEnabled',
206
207
  defaultValue: false
207
208
  }),
209
+ platform_editor_disable_afps: (0, _experimentBuilders.createBooleanExperiment)({
210
+ productKeys: {
211
+ confluence: 'platform_editor_disable_afps'
212
+ },
213
+ param: 'isEnabled',
214
+ defaultValue: false
215
+ }),
208
216
  // Added 2026-07-14
209
217
  platform_editor_dom_node_count: (0, _experimentBuilders.createBooleanExperiment)({
210
218
  productKeys: {
@@ -1338,14 +1346,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1338
1346
  param: 'isEnabled',
1339
1347
  defaultValue: false
1340
1348
  }),
1341
- platform_editor_fix_advanced_codeblocks_crlf_patch: (0, _experimentBuilders.createBooleanExperiment)({
1342
- productKeys: {
1343
- confluence: 'platform_editor_fix_advanced_codeblocks_crlf_patch',
1344
- jira: 'platform_editor_fix_advanced_codeblocks_crlf_patch'
1345
- },
1346
- param: 'isEnabled',
1347
- defaultValue: false
1348
- }),
1349
1349
  // Added 2026-04-01
1350
1350
  cc_page_experiences_editor_image_generation: (0, _experimentBuilders.createBooleanExperiment)({
1351
1351
  productKeys: {
@@ -2118,15 +2118,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
2118
2118
  param: 'isEnabled',
2119
2119
  defaultValue: false
2120
2120
  }),
2121
- // Added 2026-05-21
2122
- platform_editor_fix_a11y_tab_focus_insertion_menu: (0, _experimentBuilders.createBooleanExperiment)({
2123
- productKeys: {
2124
- confluence: 'platform_editor_fix_a11y_tab_focus_insertion_menu',
2125
- jira: 'platform_editor_fix_a11y_tab_focus_insertion_menu'
2126
- },
2127
- param: 'isEnabled',
2128
- defaultValue: false
2129
- }),
2130
2121
  // Added 2026-04-30
2131
2122
  confluence_fe_disable_comment_if_offline_fix: (0, _experimentBuilders.createBooleanExperiment)({
2132
2123
  productKeys: {
@@ -43,7 +43,8 @@ export const editorExperimentsConfig = {
43
43
  }),
44
44
  // Added 2026-07-21
45
45
  // `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
46
- // `durationMs` shimmer duration, read at runtime via `expVal`.
46
+ // `shimmerDurationMs` (skeleton) and `highlightDurationMs` (purple highlight) durations, read at
47
+ // runtime via `expVal`.
47
48
  platform_editor_agent_be_streaming: createBooleanExperiment({
48
49
  productKeys: {
49
50
  confluence: 'platform_editor_agent_be_streaming'
@@ -199,6 +200,13 @@ export const editorExperimentsConfig = {
199
200
  param: 'isEnabled',
200
201
  defaultValue: false
201
202
  }),
203
+ platform_editor_disable_afps: createBooleanExperiment({
204
+ productKeys: {
205
+ confluence: 'platform_editor_disable_afps'
206
+ },
207
+ param: 'isEnabled',
208
+ defaultValue: false
209
+ }),
202
210
  // Added 2026-07-14
203
211
  platform_editor_dom_node_count: createBooleanExperiment({
204
212
  productKeys: {
@@ -1332,14 +1340,6 @@ export const editorExperimentsConfig = {
1332
1340
  param: 'isEnabled',
1333
1341
  defaultValue: false
1334
1342
  }),
1335
- platform_editor_fix_advanced_codeblocks_crlf_patch: createBooleanExperiment({
1336
- productKeys: {
1337
- confluence: 'platform_editor_fix_advanced_codeblocks_crlf_patch',
1338
- jira: 'platform_editor_fix_advanced_codeblocks_crlf_patch'
1339
- },
1340
- param: 'isEnabled',
1341
- defaultValue: false
1342
- }),
1343
1343
  // Added 2026-04-01
1344
1344
  cc_page_experiences_editor_image_generation: createBooleanExperiment({
1345
1345
  productKeys: {
@@ -2112,15 +2112,6 @@ export const editorExperimentsConfig = {
2112
2112
  param: 'isEnabled',
2113
2113
  defaultValue: false
2114
2114
  }),
2115
- // Added 2026-05-21
2116
- platform_editor_fix_a11y_tab_focus_insertion_menu: createBooleanExperiment({
2117
- productKeys: {
2118
- confluence: 'platform_editor_fix_a11y_tab_focus_insertion_menu',
2119
- jira: 'platform_editor_fix_a11y_tab_focus_insertion_menu'
2120
- },
2121
- param: 'isEnabled',
2122
- defaultValue: false
2123
- }),
2124
2115
  // Added 2026-04-30
2125
2116
  confluence_fe_disable_comment_if_offline_fix: createBooleanExperiment({
2126
2117
  productKeys: {
@@ -43,7 +43,8 @@ export var editorExperimentsConfig = {
43
43
  }),
44
44
  // Added 2026-07-21
45
45
  // `isEnabled` is the gating param; the experiment's dynamic config also carries the numeric
46
- // `durationMs` shimmer duration, read at runtime via `expVal`.
46
+ // `shimmerDurationMs` (skeleton) and `highlightDurationMs` (purple highlight) durations, read at
47
+ // runtime via `expVal`.
47
48
  platform_editor_agent_be_streaming: createBooleanExperiment({
48
49
  productKeys: {
49
50
  confluence: 'platform_editor_agent_be_streaming'
@@ -199,6 +200,13 @@ export var editorExperimentsConfig = {
199
200
  param: 'isEnabled',
200
201
  defaultValue: false
201
202
  }),
203
+ platform_editor_disable_afps: createBooleanExperiment({
204
+ productKeys: {
205
+ confluence: 'platform_editor_disable_afps'
206
+ },
207
+ param: 'isEnabled',
208
+ defaultValue: false
209
+ }),
202
210
  // Added 2026-07-14
203
211
  platform_editor_dom_node_count: createBooleanExperiment({
204
212
  productKeys: {
@@ -1332,14 +1340,6 @@ export var editorExperimentsConfig = {
1332
1340
  param: 'isEnabled',
1333
1341
  defaultValue: false
1334
1342
  }),
1335
- platform_editor_fix_advanced_codeblocks_crlf_patch: createBooleanExperiment({
1336
- productKeys: {
1337
- confluence: 'platform_editor_fix_advanced_codeblocks_crlf_patch',
1338
- jira: 'platform_editor_fix_advanced_codeblocks_crlf_patch'
1339
- },
1340
- param: 'isEnabled',
1341
- defaultValue: false
1342
- }),
1343
1343
  // Added 2026-04-01
1344
1344
  cc_page_experiences_editor_image_generation: createBooleanExperiment({
1345
1345
  productKeys: {
@@ -2112,15 +2112,6 @@ export var editorExperimentsConfig = {
2112
2112
  param: 'isEnabled',
2113
2113
  defaultValue: false
2114
2114
  }),
2115
- // Added 2026-05-21
2116
- platform_editor_fix_a11y_tab_focus_insertion_menu: createBooleanExperiment({
2117
- productKeys: {
2118
- confluence: 'platform_editor_fix_a11y_tab_focus_insertion_menu',
2119
- jira: 'platform_editor_fix_a11y_tab_focus_insertion_menu'
2120
- },
2121
- param: 'isEnabled',
2122
- defaultValue: false
2123
- }),
2124
2115
  // Added 2026-04-30
2125
2116
  confluence_fe_disable_comment_if_offline_fix: createBooleanExperiment({
2126
2117
  productKeys: {
@@ -106,6 +106,12 @@ export declare const editorExperimentsConfig: {
106
106
  productKeys?: ProductKeys;
107
107
  typeGuard: IsBooleanType;
108
108
  };
109
+ platform_editor_disable_afps: {
110
+ defaultValue: boolean;
111
+ param: string;
112
+ productKeys?: ProductKeys;
113
+ typeGuard: IsBooleanType;
114
+ };
109
115
  platform_editor_dom_node_count: {
110
116
  defaultValue: boolean;
111
117
  param: string;
@@ -1028,12 +1034,6 @@ export declare const editorExperimentsConfig: {
1028
1034
  productKeys?: ProductKeys;
1029
1035
  typeGuard: IsBooleanType;
1030
1036
  };
1031
- platform_editor_fix_advanced_codeblocks_crlf_patch: {
1032
- defaultValue: boolean;
1033
- param: string;
1034
- productKeys?: ProductKeys;
1035
- typeGuard: IsBooleanType;
1036
- };
1037
1037
  cc_page_experiences_editor_image_generation: {
1038
1038
  defaultValue: boolean;
1039
1039
  param: string;
@@ -1497,12 +1497,6 @@ export declare const editorExperimentsConfig: {
1497
1497
  productKeys?: ProductKeys;
1498
1498
  typeGuard: IsBooleanType;
1499
1499
  };
1500
- platform_editor_fix_a11y_tab_focus_insertion_menu: {
1501
- defaultValue: boolean;
1502
- param: string;
1503
- productKeys?: ProductKeys;
1504
- typeGuard: IsBooleanType;
1505
- };
1506
1500
  platform_editor_media_reliability_enhancements: {
1507
1501
  defaultValue: boolean;
1508
1502
  param: string;
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/tmp-editor-statsig/exp-test-overrides",
3
+ "main": "../dist/cjs/exp-test-overrides.js",
4
+ "module": "../dist/esm/exp-test-overrides.js",
5
+ "module:es2019": "../dist/es2019/exp-test-overrides.js",
6
+ "types": "../dist/types/exp-test-overrides.d.ts"
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "134.0.0",
3
+ "version": "135.0.1",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",