@atlaskit/profilecard 25.1.10 → 25.1.11
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,15 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 25.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2172074697645`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2172074697645) -
|
|
8
|
+
[RAGE-2910] Temporarily OR `hasVersionCapability` GraphQL gate with
|
|
9
|
+
`fg('rovo_agent_versioning_enabled')` to unblock demo while BE backfill is incomplete. TODO:
|
|
10
|
+
revert OR-with-fg condition once backfill is complete (tracked in
|
|
11
|
+
https://product-fabric.atlassian.net/browse/RAGE-2910).
|
|
12
|
+
|
|
3
13
|
## 25.1.10
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -82,7 +82,7 @@ var useAgentUrlActions = exports.useAgentUrlActions = function useAgentUrlAction
|
|
|
82
82
|
return (0, _duplicateFetch.fetchHasVersionCapability)(cloudId);
|
|
83
83
|
case 7:
|
|
84
84
|
hasVersionCapability = _context.sent;
|
|
85
|
-
if (hasVersionCapability) {
|
|
85
|
+
if (!(!hasVersionCapability && !(0, _platformFeatureFlags.fg)('rovo_agent_versioning_enabled'))) {
|
|
86
86
|
_context.next = 11;
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
@@ -60,7 +60,8 @@ export const useAgentUrlActions = ({
|
|
|
60
60
|
|
|
61
61
|
// Check if versioning migration has completed for this site
|
|
62
62
|
const hasVersionCapability = await fetchHasVersionCapability(cloudId);
|
|
63
|
-
|
|
63
|
+
// TODO https://product-fabric.atlassian.net/browse/RAGE-2910 remove OR fg condition
|
|
64
|
+
if (!hasVersionCapability && !fg('rovo_agent_versioning_enabled')) {
|
|
64
65
|
// Opening in same tab because, we cannot open in new tab after async operation, because browsers prevent `.open` after certain duration
|
|
65
66
|
window.location.assign(legacyDuplicateUrl);
|
|
66
67
|
return;
|
|
@@ -75,7 +75,7 @@ export var useAgentUrlActions = function useAgentUrlActions(_ref3) {
|
|
|
75
75
|
return fetchHasVersionCapability(cloudId);
|
|
76
76
|
case 7:
|
|
77
77
|
hasVersionCapability = _context.sent;
|
|
78
|
-
if (hasVersionCapability) {
|
|
78
|
+
if (!(!hasVersionCapability && !fg('rovo_agent_versioning_enabled'))) {
|
|
79
79
|
_context.next = 11;
|
|
80
80
|
break;
|
|
81
81
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.11",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/popup": "^4.17.0",
|
|
67
67
|
"@atlaskit/primitives": "^19.0.0",
|
|
68
68
|
"@atlaskit/rovo-agent-components": "^4.3.0",
|
|
69
|
-
"@atlaskit/rovo-triggers": "^5.
|
|
69
|
+
"@atlaskit/rovo-triggers": "^5.44.0",
|
|
70
70
|
"@atlaskit/spinner": "^19.1.0",
|
|
71
71
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
72
72
|
"@atlaskit/teams-app-internal-analytics": "^1.27.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/teams-avatar": "^2.6.0",
|
|
75
75
|
"@atlaskit/teams-public": "^1.1.0",
|
|
76
76
|
"@atlaskit/theme": "^23.2.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^70.
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^70.4.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^21.2.0",
|
|
80
80
|
"@babel/runtime": "^7.0.0",
|