@atlaskit/tmp-editor-statsig 135.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,47 @@
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
+
3
45
  ## 135.0.0
4
46
 
5
47
  ### 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'
@@ -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'
@@ -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'
@@ -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": "135.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",