@atlaskit/react-ufo 4.11.5 → 4.11.6
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.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b629e44ac5c35`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b629e44ac5c35) -
|
|
8
|
+
Do not send prior fg for press interactions
|
|
9
|
+
|
|
3
10
|
## 4.11.5
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1045,9 +1045,7 @@ function addNewInteraction(interactionId, ufoName, type, startTime, rate, labelS
|
|
|
1045
1045
|
};
|
|
1046
1046
|
vcObserver = (0, _vc.newVCObserver)(vcOptions);
|
|
1047
1047
|
}
|
|
1048
|
-
|
|
1049
|
-
// Create per-interaction VC observer when feature flag is enabled
|
|
1050
|
-
|
|
1048
|
+
var priorAccessedFg = type === 'press' && (0, _platformFeatureFlags.fg)('platform_ufo_drop_prior_fg_interactions') ? {} : Object.fromEntries(_featureFlagsAccessed.allFeatureFlagsAccessed);
|
|
1051
1049
|
var metrics = {
|
|
1052
1050
|
id: interactionId,
|
|
1053
1051
|
start: startTime,
|
|
@@ -1079,7 +1077,7 @@ function addNewInteraction(interactionId, ufoName, type, startTime, rate, labelS
|
|
|
1079
1077
|
labelStack: labelStack,
|
|
1080
1078
|
routeName: routeName !== null && routeName !== void 0 ? routeName : ufoName,
|
|
1081
1079
|
featureFlags: addFeatureFlagsToInteraction ? {
|
|
1082
|
-
prior:
|
|
1080
|
+
prior: priorAccessedFg,
|
|
1083
1081
|
during: {}
|
|
1084
1082
|
} : undefined,
|
|
1085
1083
|
knownSegments: [],
|
|
@@ -924,9 +924,7 @@ export function addNewInteraction(interactionId, ufoName, type, startTime, rate,
|
|
|
924
924
|
};
|
|
925
925
|
vcObserver = newVCObserver(vcOptions);
|
|
926
926
|
}
|
|
927
|
-
|
|
928
|
-
// Create per-interaction VC observer when feature flag is enabled
|
|
929
|
-
|
|
927
|
+
const priorAccessedFg = type === 'press' && fg('platform_ufo_drop_prior_fg_interactions') ? {} : Object.fromEntries(allFeatureFlagsAccessed);
|
|
930
928
|
const metrics = {
|
|
931
929
|
id: interactionId,
|
|
932
930
|
start: startTime,
|
|
@@ -958,7 +956,7 @@ export function addNewInteraction(interactionId, ufoName, type, startTime, rate,
|
|
|
958
956
|
labelStack,
|
|
959
957
|
routeName: routeName !== null && routeName !== void 0 ? routeName : ufoName,
|
|
960
958
|
featureFlags: addFeatureFlagsToInteraction ? {
|
|
961
|
-
prior:
|
|
959
|
+
prior: priorAccessedFg,
|
|
962
960
|
during: {}
|
|
963
961
|
} : undefined,
|
|
964
962
|
knownSegments: [],
|
|
@@ -999,9 +999,7 @@ export function addNewInteraction(interactionId, ufoName, type, startTime, rate,
|
|
|
999
999
|
};
|
|
1000
1000
|
vcObserver = newVCObserver(vcOptions);
|
|
1001
1001
|
}
|
|
1002
|
-
|
|
1003
|
-
// Create per-interaction VC observer when feature flag is enabled
|
|
1004
|
-
|
|
1002
|
+
var priorAccessedFg = type === 'press' && fg('platform_ufo_drop_prior_fg_interactions') ? {} : Object.fromEntries(allFeatureFlagsAccessed);
|
|
1005
1003
|
var metrics = {
|
|
1006
1004
|
id: interactionId,
|
|
1007
1005
|
start: startTime,
|
|
@@ -1033,7 +1031,7 @@ export function addNewInteraction(interactionId, ufoName, type, startTime, rate,
|
|
|
1033
1031
|
labelStack: labelStack,
|
|
1034
1032
|
routeName: routeName !== null && routeName !== void 0 ? routeName : ufoName,
|
|
1035
1033
|
featureFlags: addFeatureFlagsToInteraction ? {
|
|
1036
|
-
prior:
|
|
1034
|
+
prior: priorAccessedFg,
|
|
1037
1035
|
during: {}
|
|
1038
1036
|
} : undefined,
|
|
1039
1037
|
knownSegments: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.6",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -168,6 +168,9 @@
|
|
|
168
168
|
},
|
|
169
169
|
"platform_report_ssr_ratio_in_v3": {
|
|
170
170
|
"type": "boolean"
|
|
171
|
+
},
|
|
172
|
+
"platform_ufo_drop_prior_fg_interactions": {
|
|
173
|
+
"type": "boolean"
|
|
171
174
|
}
|
|
172
175
|
}
|
|
173
176
|
}
|