@atlaskit/teams-app-internal-analytics 1.24.2 → 1.25.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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.25.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8204a3c66c06b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8204a3c66c06b) -
|
|
8
|
+
Add analytics for starred mutations
|
|
9
|
+
|
|
3
10
|
## 1.24.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -3166,7 +3166,8 @@ events:
|
|
|
3166
3166
|
<<: *NewUserProfileAttribute
|
|
3167
3167
|
- userProfileWorkingWithMe viewed:
|
|
3168
3168
|
type: screen
|
|
3169
|
-
description:
|
|
3169
|
+
description:
|
|
3170
|
+
fired when user profile working with me section is viewed (only when section has content)
|
|
3170
3171
|
- teamAgentsPanel viewed:
|
|
3171
3172
|
type: screen
|
|
3172
3173
|
description: fired when team agents panel is viewed
|
|
@@ -3325,3 +3326,22 @@ events:
|
|
|
3325
3326
|
required: false
|
|
3326
3327
|
type: number
|
|
3327
3328
|
description: The number of times the user has tried to add requested containers
|
|
3329
|
+
- starred succeeded (team):
|
|
3330
|
+
type: track
|
|
3331
|
+
description: fired when a team is starred or unstarred succeeds
|
|
3332
|
+
attributes:
|
|
3333
|
+
<<: *PackageMetaDataContext
|
|
3334
|
+
starred:
|
|
3335
|
+
type: boolean
|
|
3336
|
+
description: Whether the team is starred or not
|
|
3337
|
+
- starred failed (team):
|
|
3338
|
+
type: track
|
|
3339
|
+
description: fired when starring or unstarring a team fails
|
|
3340
|
+
attributes:
|
|
3341
|
+
<<: *PackageMetaDataContext
|
|
3342
|
+
starred:
|
|
3343
|
+
type: boolean
|
|
3344
|
+
description: Whether the action was to star or unstar the team
|
|
3345
|
+
errorMessage:
|
|
3346
|
+
type: string
|
|
3347
|
+
description: The error message describing why the action failed
|
|
@@ -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::eb14794ea55d11eab670651d5ba76de8>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1495,6 +1495,13 @@ export type RequestedContainersFailedAttributesType = {
|
|
|
1495
1495
|
teamId: string;
|
|
1496
1496
|
tryAgainCount: number | null;
|
|
1497
1497
|
};
|
|
1498
|
+
export type StarredSucceededTeamAttributesType = {
|
|
1499
|
+
starred: boolean;
|
|
1500
|
+
};
|
|
1501
|
+
export type StarredFailedTeamAttributesType = {
|
|
1502
|
+
starred: boolean;
|
|
1503
|
+
errorMessage: string;
|
|
1504
|
+
};
|
|
1498
1505
|
export type AnalyticsEventAttributes = {
|
|
1499
1506
|
/**
|
|
1500
1507
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -2525,5 +2532,11 @@ export type AnalyticsEventAttributes = {
|
|
|
2525
2532
|
/**
|
|
2526
2533
|
* Fired when the user fails to add requested containers */
|
|
2527
2534
|
'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
|
|
2535
|
+
/**
|
|
2536
|
+
* fired when a team is starred or unstarred succeeds */
|
|
2537
|
+
'track.starred.succeeded.team': StarredSucceededTeamAttributesType;
|
|
2538
|
+
/**
|
|
2539
|
+
* fired when starring or unstarring a team fails */
|
|
2540
|
+
'track.starred.failed.team': StarredFailedTeamAttributesType;
|
|
2528
2541
|
};
|
|
2529
2542
|
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::eb14794ea55d11eab670651d5ba76de8>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1495,6 +1495,13 @@ export type RequestedContainersFailedAttributesType = {
|
|
|
1495
1495
|
teamId: string;
|
|
1496
1496
|
tryAgainCount: number | null;
|
|
1497
1497
|
};
|
|
1498
|
+
export type StarredSucceededTeamAttributesType = {
|
|
1499
|
+
starred: boolean;
|
|
1500
|
+
};
|
|
1501
|
+
export type StarredFailedTeamAttributesType = {
|
|
1502
|
+
starred: boolean;
|
|
1503
|
+
errorMessage: string;
|
|
1504
|
+
};
|
|
1498
1505
|
export type AnalyticsEventAttributes = {
|
|
1499
1506
|
/**
|
|
1500
1507
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -2525,5 +2532,11 @@ export type AnalyticsEventAttributes = {
|
|
|
2525
2532
|
/**
|
|
2526
2533
|
* Fired when the user fails to add requested containers */
|
|
2527
2534
|
'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
|
|
2535
|
+
/**
|
|
2536
|
+
* fired when a team is starred or unstarred succeeds */
|
|
2537
|
+
'track.starred.succeeded.team': StarredSucceededTeamAttributesType;
|
|
2538
|
+
/**
|
|
2539
|
+
* fired when starring or unstarring a team fails */
|
|
2540
|
+
'track.starred.failed.team': StarredFailedTeamAttributesType;
|
|
2528
2541
|
};
|
|
2529
2542
|
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.
|
|
87
|
+
"version": "1.25.0",
|
|
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",
|