@atlaskit/teams-app-internal-analytics 1.25.0 → 1.25.2
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,19 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.25.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0dd4d571a5040`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0dd4d571a5040) -
|
|
8
|
+
Add starTeam failed event
|
|
9
|
+
|
|
10
|
+
## 1.25.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`2595e04a5295b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2595e04a5295b) -
|
|
15
|
+
Add starButton viewed (team) event
|
|
16
|
+
|
|
3
17
|
## 1.25.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -1454,6 +1454,11 @@ events:
|
|
|
1454
1454
|
<<: *PackageMetaDataContext
|
|
1455
1455
|
screen:
|
|
1456
1456
|
type: string
|
|
1457
|
+
- starButton viewed (team):
|
|
1458
|
+
type: ui
|
|
1459
|
+
description: fired when the star team button is viewed
|
|
1460
|
+
attributes:
|
|
1461
|
+
<<: *PackageMetaDataContext
|
|
1457
1462
|
- connectJiraProjectTab clicked:
|
|
1458
1463
|
type: ui
|
|
1459
1464
|
attributes:
|
|
@@ -3345,3 +3350,20 @@ events:
|
|
|
3345
3350
|
errorMessage:
|
|
3346
3351
|
type: string
|
|
3347
3352
|
description: The error message describing why the action failed
|
|
3353
|
+
- starTeam failed:
|
|
3354
|
+
type: track
|
|
3355
|
+
description: fired when fetching starred teams or rendering the star team component fails
|
|
3356
|
+
attributes:
|
|
3357
|
+
error:
|
|
3358
|
+
type: string
|
|
3359
|
+
description: the error message
|
|
3360
|
+
errorMessage:
|
|
3361
|
+
type: string
|
|
3362
|
+
description: The error message
|
|
3363
|
+
errorType:
|
|
3364
|
+
type: string
|
|
3365
|
+
required: false
|
|
3366
|
+
description: Specific type of error encountered
|
|
3367
|
+
source:
|
|
3368
|
+
type: string
|
|
3369
|
+
description: The component where the error occurred
|
|
@@ -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::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -678,6 +678,7 @@ export type TeamContainerLinkerViewedAttributesType = {
|
|
|
678
678
|
export type TeamContainerLinkerResultsViewedAttributesType = {
|
|
679
679
|
screen: string;
|
|
680
680
|
};
|
|
681
|
+
export type StarButtonViewedTeamAttributesType = {};
|
|
681
682
|
export type ConnectJiraProjectTabClickedAttributesType = {};
|
|
682
683
|
export type ConnectLoomSpaceTabClickedAttributesType = {};
|
|
683
684
|
export type ConnectConfluenceSpaceTabClickedAttributesType = {};
|
|
@@ -1502,6 +1503,12 @@ export type StarredFailedTeamAttributesType = {
|
|
|
1502
1503
|
starred: boolean;
|
|
1503
1504
|
errorMessage: string;
|
|
1504
1505
|
};
|
|
1506
|
+
export type StarTeamFailedAttributesType = {
|
|
1507
|
+
error: string;
|
|
1508
|
+
errorMessage: string;
|
|
1509
|
+
errorType: string | null;
|
|
1510
|
+
source: string;
|
|
1511
|
+
};
|
|
1505
1512
|
export type AnalyticsEventAttributes = {
|
|
1506
1513
|
/**
|
|
1507
1514
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1936,6 +1943,9 @@ export type AnalyticsEventAttributes = {
|
|
|
1936
1943
|
'ui.teamContainerLinker.viewed': TeamContainerLinkerViewedAttributesType;
|
|
1937
1944
|
/** */
|
|
1938
1945
|
'ui.teamContainerLinkerResults.viewed': TeamContainerLinkerResultsViewedAttributesType;
|
|
1946
|
+
/**
|
|
1947
|
+
* fired when the star team button is viewed */
|
|
1948
|
+
'ui.starButton.viewed.team': StarButtonViewedTeamAttributesType;
|
|
1939
1949
|
/** */
|
|
1940
1950
|
'ui.connectJiraProjectTab.clicked': ConnectJiraProjectTabClickedAttributesType;
|
|
1941
1951
|
/** */
|
|
@@ -2538,5 +2548,8 @@ export type AnalyticsEventAttributes = {
|
|
|
2538
2548
|
/**
|
|
2539
2549
|
* fired when starring or unstarring a team fails */
|
|
2540
2550
|
'track.starred.failed.team': StarredFailedTeamAttributesType;
|
|
2551
|
+
/**
|
|
2552
|
+
* fired when fetching starred teams or rendering the star team component fails */
|
|
2553
|
+
'track.starTeam.failed': StarTeamFailedAttributesType;
|
|
2541
2554
|
};
|
|
2542
2555
|
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::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -678,6 +678,7 @@ export type TeamContainerLinkerViewedAttributesType = {
|
|
|
678
678
|
export type TeamContainerLinkerResultsViewedAttributesType = {
|
|
679
679
|
screen: string;
|
|
680
680
|
};
|
|
681
|
+
export type StarButtonViewedTeamAttributesType = {};
|
|
681
682
|
export type ConnectJiraProjectTabClickedAttributesType = {};
|
|
682
683
|
export type ConnectLoomSpaceTabClickedAttributesType = {};
|
|
683
684
|
export type ConnectConfluenceSpaceTabClickedAttributesType = {};
|
|
@@ -1502,6 +1503,12 @@ export type StarredFailedTeamAttributesType = {
|
|
|
1502
1503
|
starred: boolean;
|
|
1503
1504
|
errorMessage: string;
|
|
1504
1505
|
};
|
|
1506
|
+
export type StarTeamFailedAttributesType = {
|
|
1507
|
+
error: string;
|
|
1508
|
+
errorMessage: string;
|
|
1509
|
+
errorType: string | null;
|
|
1510
|
+
source: string;
|
|
1511
|
+
};
|
|
1505
1512
|
export type AnalyticsEventAttributes = {
|
|
1506
1513
|
/**
|
|
1507
1514
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1936,6 +1943,9 @@ export type AnalyticsEventAttributes = {
|
|
|
1936
1943
|
'ui.teamContainerLinker.viewed': TeamContainerLinkerViewedAttributesType;
|
|
1937
1944
|
/** */
|
|
1938
1945
|
'ui.teamContainerLinkerResults.viewed': TeamContainerLinkerResultsViewedAttributesType;
|
|
1946
|
+
/**
|
|
1947
|
+
* fired when the star team button is viewed */
|
|
1948
|
+
'ui.starButton.viewed.team': StarButtonViewedTeamAttributesType;
|
|
1939
1949
|
/** */
|
|
1940
1950
|
'ui.connectJiraProjectTab.clicked': ConnectJiraProjectTabClickedAttributesType;
|
|
1941
1951
|
/** */
|
|
@@ -2538,5 +2548,8 @@ export type AnalyticsEventAttributes = {
|
|
|
2538
2548
|
/**
|
|
2539
2549
|
* fired when starring or unstarring a team fails */
|
|
2540
2550
|
'track.starred.failed.team': StarredFailedTeamAttributesType;
|
|
2551
|
+
/**
|
|
2552
|
+
* fired when fetching starred teams or rendering the star team component fails */
|
|
2553
|
+
'track.starTeam.failed': StarTeamFailedAttributesType;
|
|
2541
2554
|
};
|
|
2542
2555
|
export type EventKey = keyof AnalyticsEventAttributes;
|
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
87
|
-
"version": "1.25.
|
|
87
|
+
"version": "1.25.2",
|
|
88
88
|
"description": "A package used by the teams app and platform packages to handle people and teams analytics",
|
|
89
89
|
"author": "Atlassian Pty Ltd",
|
|
90
90
|
"license": "Apache-2.0",
|