@atlaskit/teams-app-internal-analytics 1.20.2 → 1.20.3

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.20.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`26143b0e223ed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26143b0e223ed) -
8
+ Add test for accessibility violations
9
+
3
10
  ## 1.20.2
4
11
 
5
12
  ### Patch Changes
@@ -1135,6 +1135,10 @@ events:
1135
1135
  description: id of the selected team
1136
1136
  numberOfMembers:
1137
1137
  type: number
1138
+ memberIds:
1139
+ type: []
1140
+ required: false
1141
+ description: an array containing member ids that were invited
1138
1142
  - joinRequestAccept failed:
1139
1143
  type: operational
1140
1144
  description: joinRequestAccept failed
@@ -2589,7 +2593,7 @@ events:
2589
2593
  type: []
2590
2594
  description: the list of currently connected containers
2591
2595
  - teamArchived succeeded:
2592
- type: operational
2596
+ type: track
2593
2597
  description: team archived successfully
2594
2598
  attributes:
2595
2599
  <<: *PackageMetaDataContext
@@ -2610,7 +2614,7 @@ events:
2610
2614
  description: whether the team is verified
2611
2615
  required: false
2612
2616
  - teamArchived failed:
2613
- type: operational
2617
+ type: track
2614
2618
  description: team archival failed
2615
2619
  attributes:
2616
2620
  <<: *PackageMetaDataContext
@@ -2635,7 +2639,7 @@ events:
2635
2639
  description: error message
2636
2640
  required: false
2637
2641
  - teamUnarchived succeeded:
2638
- type: operational
2642
+ type: track
2639
2643
  description: team unarchived successfully
2640
2644
  attributes:
2641
2645
  <<: *PackageMetaDataContext
@@ -2652,7 +2656,7 @@ events:
2652
2656
  description: whether the user is a member of the team
2653
2657
  required: false
2654
2658
  - teamUnarchived failed:
2655
- type: operational
2659
+ type: track
2656
2660
  description: team unarchival failed
2657
2661
  attributes:
2658
2662
  <<: *PackageMetaDataContext
@@ -3093,3 +3097,32 @@ events:
3093
3097
  activeAgentsCount:
3094
3098
  type: number
3095
3099
  description: how many active agents
3100
+ - teamAssignedType updated:
3101
+ type: ui
3102
+ description: fired when team assigned type is updated
3103
+ attributes:
3104
+ teamId:
3105
+ type: string
3106
+ description: The id of the team
3107
+ teamProfileTabIndex:
3108
+ type: number
3109
+ description: The index of the team profile tab
3110
+ consumer:
3111
+ type: string
3112
+ description: The consumer of the team
3113
+ typeId:
3114
+ type: string
3115
+ description: The id of the team type
3116
+ - teamAssignedTypePicker clicked:
3117
+ type: ui
3118
+ description: fired when team assigned type picker is clicked
3119
+ attributes:
3120
+ teamId:
3121
+ type: string
3122
+ description: The id of the team
3123
+ teamProfileTabIndex:
3124
+ type: number
3125
+ description: The index of the team profile tab
3126
+ consumer:
3127
+ type: string
3128
+ description: The consumer of the team
@@ -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: "1.20.1"
19
+ packageVersion: "0.0.0-development"
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: "1.20.1"
5
+ packageVersion: "0.0.0-development"
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: "1.20.1"
9
+ packageVersion: "0.0.0-development"
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::64bb0ed4577d5178ad18a2e1074d934c>>
6
+ * @codegen <<SignedSource::342c7a0cbb4be6a44fd40226c94247f7>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -339,6 +339,7 @@ export type JoinRequestCancelFailedAttributesType = {
339
339
  export type TeamInvitationSentAttributesType = {
340
340
  teamId: string;
341
341
  numberOfMembers: number;
342
+ memberIds: unknown[] | null;
342
343
  };
343
344
  export type JoinRequestAcceptFailedAttributesType = {
344
345
  status: number;
@@ -1378,6 +1379,17 @@ export type UserProfileAboutTeamsViewedAttributesType = {
1378
1379
  export type TeamAgentsPanelViewedAttributesType = {
1379
1380
  activeAgentsCount: number;
1380
1381
  };
1382
+ export type TeamAssignedTypeUpdatedAttributesType = {
1383
+ teamId: string;
1384
+ teamProfileTabIndex: number;
1385
+ consumer: string;
1386
+ typeId: string;
1387
+ };
1388
+ export type TeamAssignedTypePickerClickedAttributesType = {
1389
+ teamId: string;
1390
+ teamProfileTabIndex: number;
1391
+ consumer: string;
1392
+ };
1381
1393
  export type AnalyticsEventAttributes = {
1382
1394
  /**
1383
1395
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2229,16 +2241,16 @@ export type AnalyticsEventAttributes = {
2229
2241
  'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2230
2242
  /**
2231
2243
  * team archived successfully */
2232
- 'operational.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2244
+ 'track.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2233
2245
  /**
2234
2246
  * team archival failed */
2235
- 'operational.teamArchived.failed': TeamArchivedFailedAttributesType;
2247
+ 'track.teamArchived.failed': TeamArchivedFailedAttributesType;
2236
2248
  /**
2237
2249
  * team unarchived successfully */
2238
- 'operational.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2250
+ 'track.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2239
2251
  /**
2240
2252
  * team unarchival failed */
2241
- 'operational.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2253
+ 'track.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2242
2254
  /**
2243
2255
  * fired when the get team profile request is succeeded */
2244
2256
  'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
@@ -2356,5 +2368,11 @@ export type AnalyticsEventAttributes = {
2356
2368
  /**
2357
2369
  * fired when team agents panel is viewed */
2358
2370
  'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
2371
+ /**
2372
+ * fired when team assigned type is updated */
2373
+ 'ui.teamAssignedType.updated': TeamAssignedTypeUpdatedAttributesType;
2374
+ /**
2375
+ * fired when team assigned type picker is clicked */
2376
+ 'ui.teamAssignedTypePicker.clicked': TeamAssignedTypePickerClickedAttributesType;
2359
2377
  };
2360
2378
  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::64bb0ed4577d5178ad18a2e1074d934c>>
6
+ * @codegen <<SignedSource::342c7a0cbb4be6a44fd40226c94247f7>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -339,6 +339,7 @@ export type JoinRequestCancelFailedAttributesType = {
339
339
  export type TeamInvitationSentAttributesType = {
340
340
  teamId: string;
341
341
  numberOfMembers: number;
342
+ memberIds: unknown[] | null;
342
343
  };
343
344
  export type JoinRequestAcceptFailedAttributesType = {
344
345
  status: number;
@@ -1378,6 +1379,17 @@ export type UserProfileAboutTeamsViewedAttributesType = {
1378
1379
  export type TeamAgentsPanelViewedAttributesType = {
1379
1380
  activeAgentsCount: number;
1380
1381
  };
1382
+ export type TeamAssignedTypeUpdatedAttributesType = {
1383
+ teamId: string;
1384
+ teamProfileTabIndex: number;
1385
+ consumer: string;
1386
+ typeId: string;
1387
+ };
1388
+ export type TeamAssignedTypePickerClickedAttributesType = {
1389
+ teamId: string;
1390
+ teamProfileTabIndex: number;
1391
+ consumer: string;
1392
+ };
1381
1393
  export type AnalyticsEventAttributes = {
1382
1394
  /**
1383
1395
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2229,16 +2241,16 @@ export type AnalyticsEventAttributes = {
2229
2241
  'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2230
2242
  /**
2231
2243
  * team archived successfully */
2232
- 'operational.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2244
+ 'track.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2233
2245
  /**
2234
2246
  * team archival failed */
2235
- 'operational.teamArchived.failed': TeamArchivedFailedAttributesType;
2247
+ 'track.teamArchived.failed': TeamArchivedFailedAttributesType;
2236
2248
  /**
2237
2249
  * team unarchived successfully */
2238
- 'operational.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2250
+ 'track.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2239
2251
  /**
2240
2252
  * team unarchival failed */
2241
- 'operational.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2253
+ 'track.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2242
2254
  /**
2243
2255
  * fired when the get team profile request is succeeded */
2244
2256
  'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
@@ -2356,5 +2368,11 @@ export type AnalyticsEventAttributes = {
2356
2368
  /**
2357
2369
  * fired when team agents panel is viewed */
2358
2370
  'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
2371
+ /**
2372
+ * fired when team assigned type is updated */
2373
+ 'ui.teamAssignedType.updated': TeamAssignedTypeUpdatedAttributesType;
2374
+ /**
2375
+ * fired when team assigned type picker is clicked */
2376
+ 'ui.teamAssignedTypePicker.clicked': TeamAssignedTypePickerClickedAttributesType;
2359
2377
  };
2360
2378
  export type EventKey = keyof AnalyticsEventAttributes;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "category": "Layout and structure"
7
7
  }
8
8
  },
9
- "repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
9
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
10
10
  "main": "dist/cjs/index.js",
11
11
  "module": "dist/esm/index.js",
12
12
  "module:es2019": "dist/es2019/index.js",
@@ -30,9 +30,6 @@
30
30
  "@atlaskit/analytics-listeners": "^9.1.0",
31
31
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
32
32
  "@atlaskit/analytics-next": "^11.1.0",
33
- "@atlaskit/css": "^0.17.0",
34
- "@atlaskit/primitives": "^16.3.0",
35
- "@atlaskit/tokens": "^8.3.0",
36
33
  "@babel/runtime": "^7.0.0",
37
34
  "@compiled/react": "^0.18.6"
38
35
  },
@@ -88,7 +85,7 @@
88
85
  }
89
86
  },
90
87
  "name": "@atlaskit/teams-app-internal-analytics",
91
- "version": "1.20.2",
88
+ "version": "1.20.3",
92
89
  "description": "A package used by the teams app and platform packages to handle people and teams analytics",
93
90
  "author": "Atlassian Pty Ltd",
94
91
  "license": "Apache-2.0",