@atlaskit/teams-app-internal-analytics 1.18.0 → 1.19.0
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/analytics.spec.yaml +25 -0
- package/dist/cjs/ui/analytics-context/index.js +1 -1
- package/dist/es2019/ui/analytics-context/index.js +1 -1
- package/dist/esm/ui/analytics-context/index.js +1 -1
- package/dist/types/common/utils/generated/analytics.types.d.ts +20 -1
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +20 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`24b2ff24249b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24b2ff24249b2) -
|
|
8
|
+
Added teamwork graph related analytics events
|
|
9
|
+
|
|
3
10
|
## 1.18.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -2456,6 +2456,10 @@ events:
|
|
|
2456
2456
|
position:
|
|
2457
2457
|
type: number
|
|
2458
2458
|
description: the position of the team profile item
|
|
2459
|
+
isPoweredByTWG:
|
|
2460
|
+
type: boolean
|
|
2461
|
+
required: false
|
|
2462
|
+
description: whether the team profile item is powered by TWG
|
|
2459
2463
|
- showMore clicked:
|
|
2460
2464
|
type: ui
|
|
2461
2465
|
description: fired when the show more button is clicked
|
|
@@ -2979,3 +2983,24 @@ events:
|
|
|
2979
2983
|
withSearchQuery:
|
|
2980
2984
|
type: boolean
|
|
2981
2985
|
description: whether the search query is present
|
|
2986
|
+
- agentProfileAboutTeams viewed:
|
|
2987
|
+
type: screen
|
|
2988
|
+
description: fired when agent profile about teams section is viewed
|
|
2989
|
+
attributes:
|
|
2990
|
+
teamsCount:
|
|
2991
|
+
type: number
|
|
2992
|
+
description: how many teams
|
|
2993
|
+
- userProfileAboutTeams viewed:
|
|
2994
|
+
type: screen
|
|
2995
|
+
description: fired when user profile about teams section is viewed
|
|
2996
|
+
attributes:
|
|
2997
|
+
teamsCount:
|
|
2998
|
+
type: number
|
|
2999
|
+
description: how many teams
|
|
3000
|
+
- teamAgentsPanel viewed:
|
|
3001
|
+
type: screen
|
|
3002
|
+
description: fired when team agents panel is viewed
|
|
3003
|
+
attributes:
|
|
3004
|
+
activeAgentsCount:
|
|
3005
|
+
type: number
|
|
3006
|
+
description: how many active agents
|
|
@@ -16,7 +16,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
16
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
17
|
var defaultAnalyticsContextData = exports.defaultAnalyticsContextData = {
|
|
18
18
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
19
|
-
packageVersion: "
|
|
19
|
+
packageVersion: "1.18.0"
|
|
20
20
|
};
|
|
21
21
|
function TeamsAppAnalyticsContext(_ref) {
|
|
22
22
|
var data = _ref.data,
|
|
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
3
3
|
export const defaultAnalyticsContextData = {
|
|
4
4
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
5
|
-
packageVersion: "
|
|
5
|
+
packageVersion: "1.18.0"
|
|
6
6
|
};
|
|
7
7
|
export function TeamsAppAnalyticsContext({
|
|
8
8
|
data,
|
|
@@ -6,7 +6,7 @@ import React, { useMemo } from 'react';
|
|
|
6
6
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
7
7
|
export var defaultAnalyticsContextData = {
|
|
8
8
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
9
|
-
packageVersion: "
|
|
9
|
+
packageVersion: "1.18.0"
|
|
10
10
|
};
|
|
11
11
|
export function TeamsAppAnalyticsContext(_ref) {
|
|
12
12
|
var data = _ref.data,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::240011c0c702e1957926c381c0891181>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1148,6 +1148,7 @@ export type UserProfileScreenAboutPanelViewedAttributesType = {
|
|
|
1148
1148
|
export type PrivacyPolicyLinkClickedAttributesType = undefined;
|
|
1149
1149
|
export type TeamProfileItemClickedAttributesType = {
|
|
1150
1150
|
position: number;
|
|
1151
|
+
isPoweredByTWG: boolean | null;
|
|
1151
1152
|
};
|
|
1152
1153
|
export type ShowMoreClickedAttributesType = {
|
|
1153
1154
|
selectedUser: boolean | null;
|
|
@@ -1343,6 +1344,15 @@ export type PeopleSearchResultClickedAttributesType = {
|
|
|
1343
1344
|
entryIndex: number;
|
|
1344
1345
|
withSearchQuery: boolean;
|
|
1345
1346
|
};
|
|
1347
|
+
export type AgentProfileAboutTeamsViewedAttributesType = {
|
|
1348
|
+
teamsCount: number;
|
|
1349
|
+
};
|
|
1350
|
+
export type UserProfileAboutTeamsViewedAttributesType = {
|
|
1351
|
+
teamsCount: number;
|
|
1352
|
+
};
|
|
1353
|
+
export type TeamAgentsPanelViewedAttributesType = {
|
|
1354
|
+
activeAgentsCount: number;
|
|
1355
|
+
};
|
|
1346
1356
|
export type AnalyticsEventAttributes = {
|
|
1347
1357
|
/**
|
|
1348
1358
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -2300,5 +2310,14 @@ export type AnalyticsEventAttributes = {
|
|
|
2300
2310
|
/**
|
|
2301
2311
|
* fired when the people search result is clicked */
|
|
2302
2312
|
'ui.peopleSearchResult.clicked': PeopleSearchResultClickedAttributesType;
|
|
2313
|
+
/**
|
|
2314
|
+
* fired when agent profile about teams section is viewed */
|
|
2315
|
+
'screen.agentProfileAboutTeams.viewed': AgentProfileAboutTeamsViewedAttributesType;
|
|
2316
|
+
/**
|
|
2317
|
+
* fired when user profile about teams section is viewed */
|
|
2318
|
+
'screen.userProfileAboutTeams.viewed': UserProfileAboutTeamsViewedAttributesType;
|
|
2319
|
+
/**
|
|
2320
|
+
* fired when team agents panel is viewed */
|
|
2321
|
+
'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
|
|
2303
2322
|
};
|
|
2304
2323
|
export type EventKey = keyof AnalyticsEventAttributes;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::240011c0c702e1957926c381c0891181>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1148,6 +1148,7 @@ export type UserProfileScreenAboutPanelViewedAttributesType = {
|
|
|
1148
1148
|
export type PrivacyPolicyLinkClickedAttributesType = undefined;
|
|
1149
1149
|
export type TeamProfileItemClickedAttributesType = {
|
|
1150
1150
|
position: number;
|
|
1151
|
+
isPoweredByTWG: boolean | null;
|
|
1151
1152
|
};
|
|
1152
1153
|
export type ShowMoreClickedAttributesType = {
|
|
1153
1154
|
selectedUser: boolean | null;
|
|
@@ -1343,6 +1344,15 @@ export type PeopleSearchResultClickedAttributesType = {
|
|
|
1343
1344
|
entryIndex: number;
|
|
1344
1345
|
withSearchQuery: boolean;
|
|
1345
1346
|
};
|
|
1347
|
+
export type AgentProfileAboutTeamsViewedAttributesType = {
|
|
1348
|
+
teamsCount: number;
|
|
1349
|
+
};
|
|
1350
|
+
export type UserProfileAboutTeamsViewedAttributesType = {
|
|
1351
|
+
teamsCount: number;
|
|
1352
|
+
};
|
|
1353
|
+
export type TeamAgentsPanelViewedAttributesType = {
|
|
1354
|
+
activeAgentsCount: number;
|
|
1355
|
+
};
|
|
1346
1356
|
export type AnalyticsEventAttributes = {
|
|
1347
1357
|
/**
|
|
1348
1358
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -2300,5 +2310,14 @@ export type AnalyticsEventAttributes = {
|
|
|
2300
2310
|
/**
|
|
2301
2311
|
* fired when the people search result is clicked */
|
|
2302
2312
|
'ui.peopleSearchResult.clicked': PeopleSearchResultClickedAttributesType;
|
|
2313
|
+
/**
|
|
2314
|
+
* fired when agent profile about teams section is viewed */
|
|
2315
|
+
'screen.agentProfileAboutTeams.viewed': AgentProfileAboutTeamsViewedAttributesType;
|
|
2316
|
+
/**
|
|
2317
|
+
* fired when user profile about teams section is viewed */
|
|
2318
|
+
'screen.userProfileAboutTeams.viewed': UserProfileAboutTeamsViewedAttributesType;
|
|
2319
|
+
/**
|
|
2320
|
+
* fired when team agents panel is viewed */
|
|
2321
|
+
'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
|
|
2303
2322
|
};
|
|
2304
2323
|
export type EventKey = keyof AnalyticsEventAttributes;
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
32
32
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
33
|
"@atlaskit/css": "^0.15.0",
|
|
34
|
-
"@atlaskit/primitives": "^16.
|
|
34
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
35
35
|
"@atlaskit/tokens": "^7.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@compiled/react": "^0.18.6"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
91
|
-
"version": "1.
|
|
91
|
+
"version": "1.19.0",
|
|
92
92
|
"description": "A package used by the teams app and platform packages to handle people and teams analytics",
|
|
93
93
|
"author": "Atlassian Pty Ltd",
|
|
94
94
|
"license": "Apache-2.0",
|