@atlaskit/teams-app-internal-analytics 1.14.0 → 1.15.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 +11 -0
- package/analytics.spec.yaml +19 -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 +17 -1
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +17 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`401418d726a4e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/401418d726a4e) -
|
|
8
|
+
Add more analytics events to hierarchy exp
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 1.14.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -597,6 +597,25 @@ events:
|
|
|
597
597
|
error:
|
|
598
598
|
type: string
|
|
599
599
|
description: the error
|
|
600
|
+
- teamProfileBreadcrumbsItem clicked:
|
|
601
|
+
type: ui
|
|
602
|
+
description: fired when the team profile breadcrumbs item is clicked
|
|
603
|
+
attributes:
|
|
604
|
+
<<: *PackageMetaDataContext
|
|
605
|
+
targetTeamId:
|
|
606
|
+
type: string
|
|
607
|
+
description: the team id
|
|
608
|
+
- hierarchyTeamLinkOut clicked:
|
|
609
|
+
type: ui
|
|
610
|
+
description: fired when the hierarchy team link out is clicked
|
|
611
|
+
attributes:
|
|
612
|
+
<<: *PackageMetaDataContext
|
|
613
|
+
targetTeamId:
|
|
614
|
+
type: string
|
|
615
|
+
description: the team id
|
|
616
|
+
- hierarchyField hovered:
|
|
617
|
+
type: ui
|
|
618
|
+
description: fired when the hierarchy field is hovered
|
|
600
619
|
- parentTeamLinker opened:
|
|
601
620
|
type: ui
|
|
602
621
|
description: fired when the parent team field is clicked
|
|
@@ -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: "0.0.0-development"
|
|
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: "0.0.0-development"
|
|
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: "0.0.0-development"
|
|
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::91c72b4ac5c355e95b3dd872f1c196e2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -165,6 +165,13 @@ export type TeamMenuLinkFailedAttributesType = {
|
|
|
165
165
|
status: number | null;
|
|
166
166
|
error: string;
|
|
167
167
|
};
|
|
168
|
+
export type TeamProfileBreadcrumbsItemClickedAttributesType = {
|
|
169
|
+
targetTeamId: string;
|
|
170
|
+
};
|
|
171
|
+
export type HierarchyTeamLinkOutClickedAttributesType = {
|
|
172
|
+
targetTeamId: string;
|
|
173
|
+
};
|
|
174
|
+
export type HierarchyFieldHoveredAttributesType = undefined;
|
|
168
175
|
export type ParentTeamLinkerOpenedAttributesType = {};
|
|
169
176
|
export type ParentTeamLinkerClosedAttributesType = {
|
|
170
177
|
isCanceled: boolean;
|
|
@@ -1241,6 +1248,15 @@ export type AnalyticsEventAttributes = {
|
|
|
1241
1248
|
/**
|
|
1242
1249
|
* fired when the people menu link is failed */
|
|
1243
1250
|
'operational.teamMenuLink.failed': TeamMenuLinkFailedAttributesType;
|
|
1251
|
+
/**
|
|
1252
|
+
* fired when the team profile breadcrumbs item is clicked */
|
|
1253
|
+
'ui.teamProfileBreadcrumbsItem.clicked': TeamProfileBreadcrumbsItemClickedAttributesType;
|
|
1254
|
+
/**
|
|
1255
|
+
* fired when the hierarchy team link out is clicked */
|
|
1256
|
+
'ui.hierarchyTeamLinkOut.clicked': HierarchyTeamLinkOutClickedAttributesType;
|
|
1257
|
+
/**
|
|
1258
|
+
* fired when the hierarchy field is hovered */
|
|
1259
|
+
'ui.hierarchyField.hovered': HierarchyFieldHoveredAttributesType;
|
|
1244
1260
|
/**
|
|
1245
1261
|
* fired when the parent team field is clicked */
|
|
1246
1262
|
'ui.parentTeamLinker.opened': ParentTeamLinkerOpenedAttributesType;
|
|
@@ -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::91c72b4ac5c355e95b3dd872f1c196e2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -165,6 +165,13 @@ export type TeamMenuLinkFailedAttributesType = {
|
|
|
165
165
|
status: number | null;
|
|
166
166
|
error: string;
|
|
167
167
|
};
|
|
168
|
+
export type TeamProfileBreadcrumbsItemClickedAttributesType = {
|
|
169
|
+
targetTeamId: string;
|
|
170
|
+
};
|
|
171
|
+
export type HierarchyTeamLinkOutClickedAttributesType = {
|
|
172
|
+
targetTeamId: string;
|
|
173
|
+
};
|
|
174
|
+
export type HierarchyFieldHoveredAttributesType = undefined;
|
|
168
175
|
export type ParentTeamLinkerOpenedAttributesType = {};
|
|
169
176
|
export type ParentTeamLinkerClosedAttributesType = {
|
|
170
177
|
isCanceled: boolean;
|
|
@@ -1241,6 +1248,15 @@ export type AnalyticsEventAttributes = {
|
|
|
1241
1248
|
/**
|
|
1242
1249
|
* fired when the people menu link is failed */
|
|
1243
1250
|
'operational.teamMenuLink.failed': TeamMenuLinkFailedAttributesType;
|
|
1251
|
+
/**
|
|
1252
|
+
* fired when the team profile breadcrumbs item is clicked */
|
|
1253
|
+
'ui.teamProfileBreadcrumbsItem.clicked': TeamProfileBreadcrumbsItemClickedAttributesType;
|
|
1254
|
+
/**
|
|
1255
|
+
* fired when the hierarchy team link out is clicked */
|
|
1256
|
+
'ui.hierarchyTeamLinkOut.clicked': HierarchyTeamLinkOutClickedAttributesType;
|
|
1257
|
+
/**
|
|
1258
|
+
* fired when the hierarchy field is hovered */
|
|
1259
|
+
'ui.hierarchyField.hovered': HierarchyFieldHoveredAttributesType;
|
|
1244
1260
|
/**
|
|
1245
1261
|
* fired when the parent team field is clicked */
|
|
1246
1262
|
'ui.parentTeamLinker.opened': ParentTeamLinkerOpenedAttributesType;
|
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
91
|
-
"version": "1.
|
|
91
|
+
"version": "1.15.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",
|