@atlaskit/teams-app-internal-analytics 1.18.0 → 1.19.1

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.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fbefd8fca3f37`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fbefd8fca3f37) -
8
+ NO-ISSUE rename teamAgentAssociation track event from succedded to added
9
+
10
+ ## 1.19.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`24b2ff24249b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24b2ff24249b2) -
15
+ Added teamwork graph related analytics events
16
+
3
17
  ## 1.18.0
4
18
 
5
19
  ### Minor Changes
@@ -1519,7 +1519,7 @@ events:
1519
1519
  memberOfTeam:
1520
1520
  type: boolean
1521
1521
  description: whether the user is a member of the team
1522
- - teamAgentAssociation succedded:
1522
+ - teamAgentAssociation added:
1523
1523
  type: track
1524
1524
  description: add agent to team succeeded
1525
1525
  attributes:
@@ -2456,6 +2456,10 @@ events:
2456
2456
  position:
2457
2457
  type: number
2458
2458
  description: the position of the team profile item
2459
+ isPoweredByTWG:
2460
+ type: boolean
2461
+ required: false
2462
+ description: whether the team profile item is powered by TWG
2459
2463
  - showMore clicked:
2460
2464
  type: ui
2461
2465
  description: fired when the show more button is clicked
@@ -2979,3 +2983,24 @@ events:
2979
2983
  withSearchQuery:
2980
2984
  type: boolean
2981
2985
  description: whether the search query is present
2986
+ - agentProfileAboutTeams viewed:
2987
+ type: screen
2988
+ description: fired when agent profile about teams section is viewed
2989
+ attributes:
2990
+ teamsCount:
2991
+ type: number
2992
+ description: how many teams
2993
+ - userProfileAboutTeams viewed:
2994
+ type: screen
2995
+ description: fired when user profile about teams section is viewed
2996
+ attributes:
2997
+ teamsCount:
2998
+ type: number
2999
+ description: how many teams
3000
+ - teamAgentsPanel viewed:
3001
+ type: screen
3002
+ description: fired when team agents panel is viewed
3003
+ attributes:
3004
+ activeAgentsCount:
3005
+ type: number
3006
+ description: how many active agents
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::cca058e42b3290c5e6cd84091c7e9308>>
6
+ * @codegen <<SignedSource::92aa276c532558dbd384c96eb2906f50>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -689,7 +689,7 @@ export type TeamAgentAssociationFailedAttributesType = {
689
689
  orgAdminTriggered: boolean;
690
690
  memberOfTeam: boolean;
691
691
  };
692
- export type TeamAgentAssociationSucceddedAttributesType = {
692
+ export type TeamAgentAssociationAddedAttributesType = {
693
693
  numberOfAgents: number;
694
694
  teamId: string;
695
695
  };
@@ -1148,6 +1148,7 @@ export type UserProfileScreenAboutPanelViewedAttributesType = {
1148
1148
  export type PrivacyPolicyLinkClickedAttributesType = undefined;
1149
1149
  export type TeamProfileItemClickedAttributesType = {
1150
1150
  position: number;
1151
+ isPoweredByTWG: boolean | null;
1151
1152
  };
1152
1153
  export type ShowMoreClickedAttributesType = {
1153
1154
  selectedUser: boolean | null;
@@ -1343,6 +1344,15 @@ export type PeopleSearchResultClickedAttributesType = {
1343
1344
  entryIndex: number;
1344
1345
  withSearchQuery: boolean;
1345
1346
  };
1347
+ export type AgentProfileAboutTeamsViewedAttributesType = {
1348
+ teamsCount: number;
1349
+ };
1350
+ export type UserProfileAboutTeamsViewedAttributesType = {
1351
+ teamsCount: number;
1352
+ };
1353
+ export type TeamAgentsPanelViewedAttributesType = {
1354
+ activeAgentsCount: number;
1355
+ };
1346
1356
  export type AnalyticsEventAttributes = {
1347
1357
  /**
1348
1358
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -1819,7 +1829,7 @@ export type AnalyticsEventAttributes = {
1819
1829
  'operational.teamAgentAssociation.failed': TeamAgentAssociationFailedAttributesType;
1820
1830
  /**
1821
1831
  * add agent to team succeeded */
1822
- 'track.teamAgentAssociation.succedded': TeamAgentAssociationSucceddedAttributesType;
1832
+ 'track.teamAgentAssociation.added': TeamAgentAssociationAddedAttributesType;
1823
1833
  /**
1824
1834
  * container is created and linked to a team */
1825
1835
  'track.teamContainerCreatedAndLinked.success': TeamContainerCreatedAndLinkedSuccessAttributesType;
@@ -2300,5 +2310,14 @@ export type AnalyticsEventAttributes = {
2300
2310
  /**
2301
2311
  * fired when the people search result is clicked */
2302
2312
  'ui.peopleSearchResult.clicked': PeopleSearchResultClickedAttributesType;
2313
+ /**
2314
+ * fired when agent profile about teams section is viewed */
2315
+ 'screen.agentProfileAboutTeams.viewed': AgentProfileAboutTeamsViewedAttributesType;
2316
+ /**
2317
+ * fired when user profile about teams section is viewed */
2318
+ 'screen.userProfileAboutTeams.viewed': UserProfileAboutTeamsViewedAttributesType;
2319
+ /**
2320
+ * fired when team agents panel is viewed */
2321
+ 'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
2303
2322
  };
2304
2323
  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::cca058e42b3290c5e6cd84091c7e9308>>
6
+ * @codegen <<SignedSource::92aa276c532558dbd384c96eb2906f50>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -689,7 +689,7 @@ export type TeamAgentAssociationFailedAttributesType = {
689
689
  orgAdminTriggered: boolean;
690
690
  memberOfTeam: boolean;
691
691
  };
692
- export type TeamAgentAssociationSucceddedAttributesType = {
692
+ export type TeamAgentAssociationAddedAttributesType = {
693
693
  numberOfAgents: number;
694
694
  teamId: string;
695
695
  };
@@ -1148,6 +1148,7 @@ export type UserProfileScreenAboutPanelViewedAttributesType = {
1148
1148
  export type PrivacyPolicyLinkClickedAttributesType = undefined;
1149
1149
  export type TeamProfileItemClickedAttributesType = {
1150
1150
  position: number;
1151
+ isPoweredByTWG: boolean | null;
1151
1152
  };
1152
1153
  export type ShowMoreClickedAttributesType = {
1153
1154
  selectedUser: boolean | null;
@@ -1343,6 +1344,15 @@ export type PeopleSearchResultClickedAttributesType = {
1343
1344
  entryIndex: number;
1344
1345
  withSearchQuery: boolean;
1345
1346
  };
1347
+ export type AgentProfileAboutTeamsViewedAttributesType = {
1348
+ teamsCount: number;
1349
+ };
1350
+ export type UserProfileAboutTeamsViewedAttributesType = {
1351
+ teamsCount: number;
1352
+ };
1353
+ export type TeamAgentsPanelViewedAttributesType = {
1354
+ activeAgentsCount: number;
1355
+ };
1346
1356
  export type AnalyticsEventAttributes = {
1347
1357
  /**
1348
1358
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -1819,7 +1829,7 @@ export type AnalyticsEventAttributes = {
1819
1829
  'operational.teamAgentAssociation.failed': TeamAgentAssociationFailedAttributesType;
1820
1830
  /**
1821
1831
  * add agent to team succeeded */
1822
- 'track.teamAgentAssociation.succedded': TeamAgentAssociationSucceddedAttributesType;
1832
+ 'track.teamAgentAssociation.added': TeamAgentAssociationAddedAttributesType;
1823
1833
  /**
1824
1834
  * container is created and linked to a team */
1825
1835
  'track.teamContainerCreatedAndLinked.success': TeamContainerCreatedAndLinkedSuccessAttributesType;
@@ -2300,5 +2310,14 @@ export type AnalyticsEventAttributes = {
2300
2310
  /**
2301
2311
  * fired when the people search result is clicked */
2302
2312
  'ui.peopleSearchResult.clicked': PeopleSearchResultClickedAttributesType;
2313
+ /**
2314
+ * fired when agent profile about teams section is viewed */
2315
+ 'screen.agentProfileAboutTeams.viewed': AgentProfileAboutTeamsViewedAttributesType;
2316
+ /**
2317
+ * fired when user profile about teams section is viewed */
2318
+ 'screen.userProfileAboutTeams.viewed': UserProfileAboutTeamsViewedAttributesType;
2319
+ /**
2320
+ * fired when team agents panel is viewed */
2321
+ 'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
2303
2322
  };
2304
2323
  export type EventKey = keyof AnalyticsEventAttributes;
package/package.json CHANGED
@@ -31,8 +31,8 @@
31
31
  "@atlaskit/analytics-namespaced-context": "^7.1.0",
32
32
  "@atlaskit/analytics-next": "^11.1.0",
33
33
  "@atlaskit/css": "^0.15.0",
34
- "@atlaskit/primitives": "^16.0.0",
35
- "@atlaskit/tokens": "^7.0.0",
34
+ "@atlaskit/primitives": "^16.1.0",
35
+ "@atlaskit/tokens": "^7.1.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@compiled/react": "^0.18.6"
38
38
  },
@@ -88,16 +88,12 @@
88
88
  }
89
89
  },
90
90
  "name": "@atlaskit/teams-app-internal-analytics",
91
- "version": "1.18.0",
91
+ "version": "1.19.1",
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",
95
95
  "publishConfig": {
96
96
  "registry": "https://registry.npmjs.org/"
97
97
  },
98
- "platform-feature-flags": {
99
- "internal.browse-users-allowed": {
100
- "type": "boolean"
101
- }
102
- }
98
+ "platform-feature-flags": {}
103
99
  }