@atlaskit/teams-app-internal-analytics 1.20.1 → 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,18 @@
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
+
10
+ ## 1.20.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 1.20.1
4
17
 
5
18
  ### 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
@@ -2563,6 +2567,9 @@ events:
2563
2567
  isSiteAdmin:
2564
2568
  type: boolean
2565
2569
  description: whether the user is a site admin
2570
+ isArchived:
2571
+ type: boolean
2572
+ description: whether the team is archived (DISBANDED state)
2566
2573
  isOrgAdmin:
2567
2574
  type: boolean
2568
2575
  description: whether the user is an org admin
@@ -2585,6 +2592,90 @@ events:
2585
2592
  containersCurrentlyConnected:
2586
2593
  type: []
2587
2594
  description: the list of currently connected containers
2595
+ - teamArchived succeeded:
2596
+ type: track
2597
+ description: team archived successfully
2598
+ attributes:
2599
+ <<: *PackageMetaDataContext
2600
+ teamId:
2601
+ type: string
2602
+ description: id of the archived team
2603
+ required: false
2604
+ isOrgAdmin:
2605
+ type: boolean
2606
+ description: whether the user is an org admin
2607
+ required: false
2608
+ isMember:
2609
+ type: boolean
2610
+ description: whether the user is a member of the team
2611
+ required: false
2612
+ isVerified:
2613
+ type: boolean
2614
+ description: whether the team is verified
2615
+ required: false
2616
+ - teamArchived failed:
2617
+ type: track
2618
+ description: team archival failed
2619
+ attributes:
2620
+ <<: *PackageMetaDataContext
2621
+ teamId:
2622
+ type: string
2623
+ description: id of the team that failed to archive
2624
+ required: false
2625
+ isOrgAdmin:
2626
+ type: boolean
2627
+ description: whether the user is an org admin
2628
+ required: false
2629
+ isMember:
2630
+ type: boolean
2631
+ description: whether the user is a member of the team
2632
+ required: false
2633
+ isVerified:
2634
+ type: boolean
2635
+ description: whether the team is verified
2636
+ required: false
2637
+ error:
2638
+ type: string
2639
+ description: error message
2640
+ required: false
2641
+ - teamUnarchived succeeded:
2642
+ type: track
2643
+ description: team unarchived successfully
2644
+ attributes:
2645
+ <<: *PackageMetaDataContext
2646
+ teamId:
2647
+ type: string
2648
+ description: id of the unarchived team
2649
+ required: false
2650
+ isOrgAdmin:
2651
+ type: boolean
2652
+ description: whether the user is an org admin
2653
+ required: false
2654
+ isMember:
2655
+ type: boolean
2656
+ description: whether the user is a member of the team
2657
+ required: false
2658
+ - teamUnarchived failed:
2659
+ type: track
2660
+ description: team unarchival failed
2661
+ attributes:
2662
+ <<: *PackageMetaDataContext
2663
+ teamId:
2664
+ type: string
2665
+ description: id of the team that failed to unarchive
2666
+ required: false
2667
+ isOrgAdmin:
2668
+ type: boolean
2669
+ description: whether the user is an org admin
2670
+ required: false
2671
+ isMember:
2672
+ type: boolean
2673
+ description: whether the user is a member of the team
2674
+ required: false
2675
+ error:
2676
+ type: string
2677
+ description: error message
2678
+ required: false
2588
2679
  - GetTeamProfile succeeded:
2589
2680
  type: operational
2590
2681
  description: fired when the get team profile request is succeeded
@@ -3006,3 +3097,32 @@ events:
3006
3097
  activeAgentsCount:
3007
3098
  type: number
3008
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.0"
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.0"
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.0"
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::9e9bc5d40f9d5b5fed4a027237e3b005>>
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;
@@ -1187,6 +1188,7 @@ export type TeamProfileScreenViewedAttributesType = {
1187
1188
  isViewerMember: boolean;
1188
1189
  isVerified: boolean;
1189
1190
  isSiteAdmin: boolean;
1191
+ isArchived: boolean;
1190
1192
  isOrgAdmin: boolean;
1191
1193
  orgId: string | null;
1192
1194
  hasContainersConnect: boolean;
@@ -1195,6 +1197,30 @@ export type TeamProfileScreenViewedAttributesType = {
1195
1197
  webLinksCurrentlyConnected: unknown[];
1196
1198
  containersCurrentlyConnected: unknown[];
1197
1199
  };
1200
+ export type TeamArchivedSucceededAttributesType = {
1201
+ teamId: string | null;
1202
+ isOrgAdmin: boolean | null;
1203
+ isMember: boolean | null;
1204
+ isVerified: boolean | null;
1205
+ };
1206
+ export type TeamArchivedFailedAttributesType = {
1207
+ teamId: string | null;
1208
+ isOrgAdmin: boolean | null;
1209
+ isMember: boolean | null;
1210
+ isVerified: boolean | null;
1211
+ error: string | null;
1212
+ };
1213
+ export type TeamUnarchivedSucceededAttributesType = {
1214
+ teamId: string | null;
1215
+ isOrgAdmin: boolean | null;
1216
+ isMember: boolean | null;
1217
+ };
1218
+ export type TeamUnarchivedFailedAttributesType = {
1219
+ teamId: string | null;
1220
+ isOrgAdmin: boolean | null;
1221
+ isMember: boolean | null;
1222
+ error: string | null;
1223
+ };
1198
1224
  export type GetTeamProfileSucceededAttributesType = {
1199
1225
  status: number;
1200
1226
  isVerified: boolean;
@@ -1353,6 +1379,17 @@ export type UserProfileAboutTeamsViewedAttributesType = {
1353
1379
  export type TeamAgentsPanelViewedAttributesType = {
1354
1380
  activeAgentsCount: number;
1355
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
+ };
1356
1393
  export type AnalyticsEventAttributes = {
1357
1394
  /**
1358
1395
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2202,6 +2239,18 @@ export type AnalyticsEventAttributes = {
2202
2239
  /**
2203
2240
  * fired when the team profile screen is viewed */
2204
2241
  'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2242
+ /**
2243
+ * team archived successfully */
2244
+ 'track.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2245
+ /**
2246
+ * team archival failed */
2247
+ 'track.teamArchived.failed': TeamArchivedFailedAttributesType;
2248
+ /**
2249
+ * team unarchived successfully */
2250
+ 'track.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2251
+ /**
2252
+ * team unarchival failed */
2253
+ 'track.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2205
2254
  /**
2206
2255
  * fired when the get team profile request is succeeded */
2207
2256
  'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
@@ -2319,5 +2368,11 @@ export type AnalyticsEventAttributes = {
2319
2368
  /**
2320
2369
  * fired when team agents panel is viewed */
2321
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;
2322
2377
  };
2323
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::9e9bc5d40f9d5b5fed4a027237e3b005>>
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;
@@ -1187,6 +1188,7 @@ export type TeamProfileScreenViewedAttributesType = {
1187
1188
  isViewerMember: boolean;
1188
1189
  isVerified: boolean;
1189
1190
  isSiteAdmin: boolean;
1191
+ isArchived: boolean;
1190
1192
  isOrgAdmin: boolean;
1191
1193
  orgId: string | null;
1192
1194
  hasContainersConnect: boolean;
@@ -1195,6 +1197,30 @@ export type TeamProfileScreenViewedAttributesType = {
1195
1197
  webLinksCurrentlyConnected: unknown[];
1196
1198
  containersCurrentlyConnected: unknown[];
1197
1199
  };
1200
+ export type TeamArchivedSucceededAttributesType = {
1201
+ teamId: string | null;
1202
+ isOrgAdmin: boolean | null;
1203
+ isMember: boolean | null;
1204
+ isVerified: boolean | null;
1205
+ };
1206
+ export type TeamArchivedFailedAttributesType = {
1207
+ teamId: string | null;
1208
+ isOrgAdmin: boolean | null;
1209
+ isMember: boolean | null;
1210
+ isVerified: boolean | null;
1211
+ error: string | null;
1212
+ };
1213
+ export type TeamUnarchivedSucceededAttributesType = {
1214
+ teamId: string | null;
1215
+ isOrgAdmin: boolean | null;
1216
+ isMember: boolean | null;
1217
+ };
1218
+ export type TeamUnarchivedFailedAttributesType = {
1219
+ teamId: string | null;
1220
+ isOrgAdmin: boolean | null;
1221
+ isMember: boolean | null;
1222
+ error: string | null;
1223
+ };
1198
1224
  export type GetTeamProfileSucceededAttributesType = {
1199
1225
  status: number;
1200
1226
  isVerified: boolean;
@@ -1353,6 +1379,17 @@ export type UserProfileAboutTeamsViewedAttributesType = {
1353
1379
  export type TeamAgentsPanelViewedAttributesType = {
1354
1380
  activeAgentsCount: number;
1355
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
+ };
1356
1393
  export type AnalyticsEventAttributes = {
1357
1394
  /**
1358
1395
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2202,6 +2239,18 @@ export type AnalyticsEventAttributes = {
2202
2239
  /**
2203
2240
  * fired when the team profile screen is viewed */
2204
2241
  'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2242
+ /**
2243
+ * team archived successfully */
2244
+ 'track.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
2245
+ /**
2246
+ * team archival failed */
2247
+ 'track.teamArchived.failed': TeamArchivedFailedAttributesType;
2248
+ /**
2249
+ * team unarchived successfully */
2250
+ 'track.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
2251
+ /**
2252
+ * team unarchival failed */
2253
+ 'track.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
2205
2254
  /**
2206
2255
  * fired when the get team profile request is succeeded */
2207
2256
  'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
@@ -2319,5 +2368,11 @@ export type AnalyticsEventAttributes = {
2319
2368
  /**
2320
2369
  * fired when team agents panel is viewed */
2321
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;
2322
2377
  };
2323
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.16.0",
34
- "@atlaskit/primitives": "^16.2.0",
35
- "@atlaskit/tokens": "^8.1.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.1",
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",