@atlaskit/teams-app-internal-analytics 1.7.0 → 1.8.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.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`935419dbf39da`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/935419dbf39da) -
|
|
8
|
+
Migrated projects-and-goals-list analytics to teams-app-internal-analytics
|
|
9
|
+
|
|
3
10
|
## 1.7.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -2075,3 +2075,50 @@ events:
|
|
|
2075
2075
|
memberCount:
|
|
2076
2076
|
type: number
|
|
2077
2077
|
description: the number of members
|
|
2078
|
+
- ProfileProjectsAndGoalsTab clicked:
|
|
2079
|
+
type: ui
|
|
2080
|
+
description: fired when the profile projects and goals tab is clicked
|
|
2081
|
+
attributes:
|
|
2082
|
+
tabName:
|
|
2083
|
+
type: string
|
|
2084
|
+
description: the name of the tab
|
|
2085
|
+
- ProfileProjectsAndGoals viewed:
|
|
2086
|
+
type: ui
|
|
2087
|
+
description: fired when the profile projects and goals is viewed
|
|
2088
|
+
attributes:
|
|
2089
|
+
isEmpty:
|
|
2090
|
+
type: boolean
|
|
2091
|
+
description: whether the profile projects and goals is empty
|
|
2092
|
+
hasGoals:
|
|
2093
|
+
type: boolean
|
|
2094
|
+
description: whether the profile projects and goals has goals
|
|
2095
|
+
hasProjects:
|
|
2096
|
+
type: boolean
|
|
2097
|
+
description: whether the profile projects and goals has projects
|
|
2098
|
+
product:
|
|
2099
|
+
type: string
|
|
2100
|
+
description: the product
|
|
2101
|
+
workspaceUuid:
|
|
2102
|
+
type: string
|
|
2103
|
+
required: false
|
|
2104
|
+
description: the workspace uuid
|
|
2105
|
+
- ProfileProjectsLink clicked:
|
|
2106
|
+
type: ui
|
|
2107
|
+
description: fired when the profile projects link is clicked
|
|
2108
|
+
attributes:
|
|
2109
|
+
entryIndex:
|
|
2110
|
+
type: number
|
|
2111
|
+
description: the index
|
|
2112
|
+
- ProfileGoalsLink clicked:
|
|
2113
|
+
type: ui
|
|
2114
|
+
description: fired when the profile goals link is clicked
|
|
2115
|
+
attributes:
|
|
2116
|
+
entryIndex:
|
|
2117
|
+
type: number
|
|
2118
|
+
description: the index
|
|
2119
|
+
- button clicked (followTeamProjectsGoalsButton):
|
|
2120
|
+
type: ui
|
|
2121
|
+
description: fired when the follow team projects and goals button is clicked
|
|
2122
|
+
- button clicked (unfollowTeamProjectsGoalsButton):
|
|
2123
|
+
type: ui
|
|
2124
|
+
description: fired when the unfollow team projects and goals button is clicked
|
|
@@ -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::8b0c2c2e9bf4e074a8dace8dc1cd3f5c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1004,6 +1004,24 @@ export type TeamProfileCardClickedMoreMembersAttributesType = {
|
|
|
1004
1004
|
duration: number;
|
|
1005
1005
|
memberCount: number;
|
|
1006
1006
|
};
|
|
1007
|
+
export type ProfileProjectsAndGoalsTabClickedAttributesType = {
|
|
1008
|
+
tabName: string;
|
|
1009
|
+
};
|
|
1010
|
+
export type ProfileProjectsAndGoalsViewedAttributesType = {
|
|
1011
|
+
isEmpty: boolean;
|
|
1012
|
+
hasGoals: boolean;
|
|
1013
|
+
hasProjects: boolean;
|
|
1014
|
+
product: string;
|
|
1015
|
+
workspaceUuid: string | null;
|
|
1016
|
+
};
|
|
1017
|
+
export type ProfileProjectsLinkClickedAttributesType = {
|
|
1018
|
+
entryIndex: number;
|
|
1019
|
+
};
|
|
1020
|
+
export type ProfileGoalsLinkClickedAttributesType = {
|
|
1021
|
+
entryIndex: number;
|
|
1022
|
+
};
|
|
1023
|
+
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1024
|
+
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1007
1025
|
export type AnalyticsEventAttributes = {
|
|
1008
1026
|
/**
|
|
1009
1027
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1661,5 +1679,23 @@ export type AnalyticsEventAttributes = {
|
|
|
1661
1679
|
/**
|
|
1662
1680
|
* fired when the more members is clicked */
|
|
1663
1681
|
'ui.teamProfileCard.clicked.moreMembers': TeamProfileCardClickedMoreMembersAttributesType;
|
|
1682
|
+
/**
|
|
1683
|
+
* fired when the profile projects and goals tab is clicked */
|
|
1684
|
+
'ui.ProfileProjectsAndGoalsTab.clicked': ProfileProjectsAndGoalsTabClickedAttributesType;
|
|
1685
|
+
/**
|
|
1686
|
+
* fired when the profile projects and goals is viewed */
|
|
1687
|
+
'ui.ProfileProjectsAndGoals.viewed': ProfileProjectsAndGoalsViewedAttributesType;
|
|
1688
|
+
/**
|
|
1689
|
+
* fired when the profile projects link is clicked */
|
|
1690
|
+
'ui.ProfileProjectsLink.clicked': ProfileProjectsLinkClickedAttributesType;
|
|
1691
|
+
/**
|
|
1692
|
+
* fired when the profile goals link is clicked */
|
|
1693
|
+
'ui.ProfileGoalsLink.clicked': ProfileGoalsLinkClickedAttributesType;
|
|
1694
|
+
/**
|
|
1695
|
+
* fired when the follow team projects and goals button is clicked */
|
|
1696
|
+
'ui.button.clicked.followTeamProjectsGoalsButton': ButtonClickedFollowTeamProjectsGoalsButtonAttributesType;
|
|
1697
|
+
/**
|
|
1698
|
+
* fired when the unfollow team projects and goals button is clicked */
|
|
1699
|
+
'ui.button.clicked.unfollowTeamProjectsGoalsButton': ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType;
|
|
1664
1700
|
};
|
|
1665
1701
|
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::8b0c2c2e9bf4e074a8dace8dc1cd3f5c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1004,6 +1004,24 @@ export type TeamProfileCardClickedMoreMembersAttributesType = {
|
|
|
1004
1004
|
duration: number;
|
|
1005
1005
|
memberCount: number;
|
|
1006
1006
|
};
|
|
1007
|
+
export type ProfileProjectsAndGoalsTabClickedAttributesType = {
|
|
1008
|
+
tabName: string;
|
|
1009
|
+
};
|
|
1010
|
+
export type ProfileProjectsAndGoalsViewedAttributesType = {
|
|
1011
|
+
isEmpty: boolean;
|
|
1012
|
+
hasGoals: boolean;
|
|
1013
|
+
hasProjects: boolean;
|
|
1014
|
+
product: string;
|
|
1015
|
+
workspaceUuid: string | null;
|
|
1016
|
+
};
|
|
1017
|
+
export type ProfileProjectsLinkClickedAttributesType = {
|
|
1018
|
+
entryIndex: number;
|
|
1019
|
+
};
|
|
1020
|
+
export type ProfileGoalsLinkClickedAttributesType = {
|
|
1021
|
+
entryIndex: number;
|
|
1022
|
+
};
|
|
1023
|
+
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1024
|
+
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1007
1025
|
export type AnalyticsEventAttributes = {
|
|
1008
1026
|
/**
|
|
1009
1027
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1661,5 +1679,23 @@ export type AnalyticsEventAttributes = {
|
|
|
1661
1679
|
/**
|
|
1662
1680
|
* fired when the more members is clicked */
|
|
1663
1681
|
'ui.teamProfileCard.clicked.moreMembers': TeamProfileCardClickedMoreMembersAttributesType;
|
|
1682
|
+
/**
|
|
1683
|
+
* fired when the profile projects and goals tab is clicked */
|
|
1684
|
+
'ui.ProfileProjectsAndGoalsTab.clicked': ProfileProjectsAndGoalsTabClickedAttributesType;
|
|
1685
|
+
/**
|
|
1686
|
+
* fired when the profile projects and goals is viewed */
|
|
1687
|
+
'ui.ProfileProjectsAndGoals.viewed': ProfileProjectsAndGoalsViewedAttributesType;
|
|
1688
|
+
/**
|
|
1689
|
+
* fired when the profile projects link is clicked */
|
|
1690
|
+
'ui.ProfileProjectsLink.clicked': ProfileProjectsLinkClickedAttributesType;
|
|
1691
|
+
/**
|
|
1692
|
+
* fired when the profile goals link is clicked */
|
|
1693
|
+
'ui.ProfileGoalsLink.clicked': ProfileGoalsLinkClickedAttributesType;
|
|
1694
|
+
/**
|
|
1695
|
+
* fired when the follow team projects and goals button is clicked */
|
|
1696
|
+
'ui.button.clicked.followTeamProjectsGoalsButton': ButtonClickedFollowTeamProjectsGoalsButtonAttributesType;
|
|
1697
|
+
/**
|
|
1698
|
+
* fired when the unfollow team projects and goals button is clicked */
|
|
1699
|
+
'ui.button.clicked.unfollowTeamProjectsGoalsButton': ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType;
|
|
1664
1700
|
};
|
|
1665
1701
|
export type EventKey = keyof AnalyticsEventAttributes;
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@af/integration-testing": "workspace:^",
|
|
44
44
|
"@af/visual-regression": "workspace:^",
|
|
45
45
|
"@atlaskit/ssr": "workspace:^",
|
|
46
|
-
"@atlassian/ptc-test-utils": "^0.
|
|
46
|
+
"@atlassian/ptc-test-utils": "^0.11.0",
|
|
47
47
|
"@testing-library/react": "^13.4.0",
|
|
48
48
|
"@testing-library/react-hooks": "^8.0.1",
|
|
49
49
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
91
|
-
"version": "1.
|
|
91
|
+
"version": "1.8.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",
|