@atlaskit/react-ufo 4.11.1 → 4.11.2
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 +7 -0
- package/dist/cjs/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +8 -18
- package/dist/es2019/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +8 -18
- package/dist/esm/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +8 -18
- package/dist/types/create-post-interaction-log-payload/index.d.ts +1 -1
- package/dist/types-ts4.5/create-post-interaction-log-payload/index.d.ts +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 4.11.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2237400c3b932`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2237400c3b932) -
|
|
8
|
+
FG cleanup - platform_ufo_unify_abort_status_in_ttvc_debug_data
|
|
9
|
+
|
|
3
10
|
## 4.11.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -310,24 +310,14 @@ var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
|
310
310
|
// Only create debug details if callbacks exist
|
|
311
311
|
v3RevisionDebugDetails = null;
|
|
312
312
|
if (shouldCalculateDebugDetails) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
};
|
|
322
|
-
} else {
|
|
323
|
-
v3RevisionDebugDetails = {
|
|
324
|
-
revision: this.revisionNo,
|
|
325
|
-
isClean: isVCClean,
|
|
326
|
-
abortReason: dirtyReason,
|
|
327
|
-
vcLogs: enhancedVcLogs,
|
|
328
|
-
interactionId: interactionId
|
|
329
|
-
};
|
|
330
|
-
}
|
|
313
|
+
v3RevisionDebugDetails = {
|
|
314
|
+
revision: this.revisionNo,
|
|
315
|
+
isClean: isVCClean && !interactionAbortReason && isPageVisible,
|
|
316
|
+
abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
|
|
317
|
+
vcLogs: enhancedVcLogs,
|
|
318
|
+
interactionId: interactionId,
|
|
319
|
+
interactionType: interactionType
|
|
320
|
+
};
|
|
331
321
|
}
|
|
332
322
|
|
|
333
323
|
// Handle devtool callback
|
|
@@ -208,24 +208,14 @@ export default class AbstractVCCalculatorBase {
|
|
|
208
208
|
// Only create debug details if callbacks exist
|
|
209
209
|
let v3RevisionDebugDetails = null;
|
|
210
210
|
if (shouldCalculateDebugDetails) {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
};
|
|
220
|
-
} else {
|
|
221
|
-
v3RevisionDebugDetails = {
|
|
222
|
-
revision: this.revisionNo,
|
|
223
|
-
isClean: isVCClean,
|
|
224
|
-
abortReason: dirtyReason,
|
|
225
|
-
vcLogs: enhancedVcLogs,
|
|
226
|
-
interactionId
|
|
227
|
-
};
|
|
228
|
-
}
|
|
211
|
+
v3RevisionDebugDetails = {
|
|
212
|
+
revision: this.revisionNo,
|
|
213
|
+
isClean: isVCClean && !interactionAbortReason && isPageVisible,
|
|
214
|
+
abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
|
|
215
|
+
vcLogs: enhancedVcLogs,
|
|
216
|
+
interactionId,
|
|
217
|
+
interactionType
|
|
218
|
+
};
|
|
229
219
|
}
|
|
230
220
|
|
|
231
221
|
// Handle devtool callback
|
|
@@ -304,24 +304,14 @@ var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
|
304
304
|
// Only create debug details if callbacks exist
|
|
305
305
|
v3RevisionDebugDetails = null;
|
|
306
306
|
if (shouldCalculateDebugDetails) {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
};
|
|
316
|
-
} else {
|
|
317
|
-
v3RevisionDebugDetails = {
|
|
318
|
-
revision: this.revisionNo,
|
|
319
|
-
isClean: isVCClean,
|
|
320
|
-
abortReason: dirtyReason,
|
|
321
|
-
vcLogs: enhancedVcLogs,
|
|
322
|
-
interactionId: interactionId
|
|
323
|
-
};
|
|
324
|
-
}
|
|
307
|
+
v3RevisionDebugDetails = {
|
|
308
|
+
revision: this.revisionNo,
|
|
309
|
+
isClean: isVCClean && !interactionAbortReason && isPageVisible,
|
|
310
|
+
abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
|
|
311
|
+
vcLogs: enhancedVcLogs,
|
|
312
|
+
interactionId: interactionId,
|
|
313
|
+
interactionType: interactionType
|
|
314
|
+
};
|
|
325
315
|
}
|
|
326
316
|
|
|
327
317
|
// Handle devtool callback
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PostInteractionLogOutput } from '../common';
|
|
2
2
|
import type { LateMutation } from '../common/react-ufo-payload-schema';
|
|
3
|
-
declare function createPostInteractionLogPayload({ lastInteractionFinish, reactProfilerTimings, lastInteractionFinishVCResult, postInteractionFinishVCResult, postInteractionHoldInfo }: PostInteractionLogOutput): {
|
|
3
|
+
declare function createPostInteractionLogPayload({ lastInteractionFinish, reactProfilerTimings, lastInteractionFinishVCResult, postInteractionFinishVCResult, postInteractionHoldInfo, }: PostInteractionLogOutput): {
|
|
4
4
|
actionSubject: string;
|
|
5
5
|
action: string;
|
|
6
6
|
eventType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PostInteractionLogOutput } from '../common';
|
|
2
2
|
import type { LateMutation } from '../common/react-ufo-payload-schema';
|
|
3
|
-
declare function createPostInteractionLogPayload({ lastInteractionFinish, reactProfilerTimings, lastInteractionFinishVCResult, postInteractionFinishVCResult, postInteractionHoldInfo }: PostInteractionLogOutput): {
|
|
3
|
+
declare function createPostInteractionLogPayload({ lastInteractionFinish, reactProfilerTimings, lastInteractionFinishVCResult, postInteractionFinishVCResult, postInteractionHoldInfo, }: PostInteractionLogOutput): {
|
|
4
4
|
actionSubject: string;
|
|
5
5
|
action: string;
|
|
6
6
|
eventType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -124,9 +124,6 @@
|
|
|
124
124
|
"platform_ufo_enable_interactivity_jsm": {
|
|
125
125
|
"type": "boolean"
|
|
126
126
|
},
|
|
127
|
-
"platform_ufo_unify_abort_status_in_ttvc_debug_data": {
|
|
128
|
-
"type": "boolean"
|
|
129
|
-
},
|
|
130
127
|
"platform_ufo_exclude_3p_elements_from_ttai": {
|
|
131
128
|
"type": "boolean"
|
|
132
129
|
},
|