@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 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
- if ((0, _platformFeatureFlags.fg)('platform_ufo_unify_abort_status_in_ttvc_debug_data')) {
314
- v3RevisionDebugDetails = {
315
- revision: this.revisionNo,
316
- isClean: isVCClean && !interactionAbortReason && isPageVisible,
317
- abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
318
- vcLogs: enhancedVcLogs,
319
- interactionId: interactionId,
320
- interactionType: interactionType
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
- if (fg('platform_ufo_unify_abort_status_in_ttvc_debug_data')) {
212
- v3RevisionDebugDetails = {
213
- revision: this.revisionNo,
214
- isClean: isVCClean && !interactionAbortReason && isPageVisible,
215
- abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
216
- vcLogs: enhancedVcLogs,
217
- interactionId,
218
- interactionType
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
- if (fg('platform_ufo_unify_abort_status_in_ttvc_debug_data')) {
308
- v3RevisionDebugDetails = {
309
- revision: this.revisionNo,
310
- isClean: isVCClean && !interactionAbortReason && isPageVisible,
311
- abortReason: !isPageVisible ? 'browser_backgrounded' : dirtyReason !== null && dirtyReason !== void 0 ? dirtyReason : interactionAbortReason,
312
- vcLogs: enhancedVcLogs,
313
- interactionId: interactionId,
314
- interactionType: interactionType
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.1",
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
  },