@atlaskit/teams-app-internal-analytics 1.8.0 → 1.9.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 +13 -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 +9 -1
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ce32ce836a0fa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ce32ce836a0fa) -
|
|
8
|
+
Migrate error boundary analytics from team-profile to teams-app-internal-analytics
|
|
9
|
+
|
|
3
10
|
## 1.8.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -2122,3 +2122,16 @@ events:
|
|
|
2122
2122
|
- button clicked (unfollowTeamProjectsGoalsButton):
|
|
2123
2123
|
type: ui
|
|
2124
2124
|
description: fired when the unfollow team projects and goals button is clicked
|
|
2125
|
+
- errorBoundary triggered:
|
|
2126
|
+
type: operational
|
|
2127
|
+
description: fired when an error boundary is triggered
|
|
2128
|
+
attributes:
|
|
2129
|
+
product:
|
|
2130
|
+
type: string
|
|
2131
|
+
description: the name of the product
|
|
2132
|
+
boundary:
|
|
2133
|
+
type: string
|
|
2134
|
+
description: the name of the error boundary
|
|
2135
|
+
error:
|
|
2136
|
+
type: string
|
|
2137
|
+
description: the error message
|
|
@@ -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.8.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.8.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.8.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::5bf63f0d58116f1c1218fe6ce17463c5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1022,6 +1022,11 @@ export type ProfileGoalsLinkClickedAttributesType = {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1024
1024
|
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1025
|
+
export type ErrorBoundaryTriggeredAttributesType = {
|
|
1026
|
+
product: string;
|
|
1027
|
+
boundary: string;
|
|
1028
|
+
error: string;
|
|
1029
|
+
};
|
|
1025
1030
|
export type AnalyticsEventAttributes = {
|
|
1026
1031
|
/**
|
|
1027
1032
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1697,5 +1702,8 @@ export type AnalyticsEventAttributes = {
|
|
|
1697
1702
|
/**
|
|
1698
1703
|
* fired when the unfollow team projects and goals button is clicked */
|
|
1699
1704
|
'ui.button.clicked.unfollowTeamProjectsGoalsButton': ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType;
|
|
1705
|
+
/**
|
|
1706
|
+
* fired when an error boundary is triggered */
|
|
1707
|
+
'operational.errorBoundary.triggered': ErrorBoundaryTriggeredAttributesType;
|
|
1700
1708
|
};
|
|
1701
1709
|
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::5bf63f0d58116f1c1218fe6ce17463c5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1022,6 +1022,11 @@ export type ProfileGoalsLinkClickedAttributesType = {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1024
1024
|
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1025
|
+
export type ErrorBoundaryTriggeredAttributesType = {
|
|
1026
|
+
product: string;
|
|
1027
|
+
boundary: string;
|
|
1028
|
+
error: string;
|
|
1029
|
+
};
|
|
1025
1030
|
export type AnalyticsEventAttributes = {
|
|
1026
1031
|
/**
|
|
1027
1032
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1697,5 +1702,8 @@ export type AnalyticsEventAttributes = {
|
|
|
1697
1702
|
/**
|
|
1698
1703
|
* fired when the unfollow team projects and goals button is clicked */
|
|
1699
1704
|
'ui.button.clicked.unfollowTeamProjectsGoalsButton': ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType;
|
|
1705
|
+
/**
|
|
1706
|
+
* fired when an error boundary is triggered */
|
|
1707
|
+
'operational.errorBoundary.triggered': ErrorBoundaryTriggeredAttributesType;
|
|
1700
1708
|
};
|
|
1701
1709
|
export type EventKey = keyof AnalyticsEventAttributes;
|
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.9.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",
|