@atlaskit/teams-app-internal-analytics 1.25.3 → 1.27.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,19 @@
1
1
  # @atlaskit/teams-app-internal-analytics
2
2
 
3
+ ## 1.27.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5f4ff6a2dd06d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f4ff6a2dd06d) -
8
+ Added analytics events for team hierarchy tree
9
+
10
+ ## 1.26.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`9002e8f46f8a6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9002e8f46f8a6) -
15
+ [ux] Added parent team picker
16
+
3
17
  ## 1.25.3
4
18
 
5
19
  ### Patch Changes
@@ -3364,3 +3364,129 @@ events:
3364
3364
  type: string
3365
3365
  required: false
3366
3366
  description: Specific type of error encountered
3367
+ - teamProfileHierarchyTab viewed:
3368
+ type: screen
3369
+ description: fired when the team profile hierarchy tab is viewed
3370
+ attributes:
3371
+ teamId:
3372
+ type: string
3373
+ description: the id of the team
3374
+ - teamHierarchyTreeShowMoreChildren clicked:
3375
+ type: ui
3376
+ description: fired when the show more children button in the team hierarchy tree is clicked
3377
+ attributes:
3378
+ <<: *PackageMetaDataContext
3379
+ teamId:
3380
+ type: string
3381
+ description: the id of the team
3382
+ - teamHierarchyTreeCollapseChildren clicked:
3383
+ type: ui
3384
+ description: fired when the collapse children button in the team hierarchy tree is clicked
3385
+ attributes:
3386
+ <<: *PackageMetaDataContext
3387
+ teamId:
3388
+ type: string
3389
+ description: the id of the team
3390
+ - teamHierarchyTreeShowMoreAncestors clicked:
3391
+ type: ui
3392
+ description: fired when the show more ancestors button in the team hierarchy tree is clicked
3393
+ attributes:
3394
+ <<: *PackageMetaDataContext
3395
+ teamId:
3396
+ type: string
3397
+ description: the id of the team
3398
+ - teamHierarchyTreeCollapseAncestors clicked:
3399
+ type: ui
3400
+ description: fired when the collapse ancestors button in the team hierarchy tree is clicked
3401
+ attributes:
3402
+ <<: *PackageMetaDataContext
3403
+ teamId:
3404
+ type: string
3405
+ description: the id of the team
3406
+ - teamHierarchyTreeCard hovered:
3407
+ type: ui
3408
+ description: fired when the team hierarchy card is hovered
3409
+ attributes:
3410
+ <<: *PackageMetaDataContext
3411
+ teamId:
3412
+ type: string
3413
+ description: the id of the team
3414
+ - teamHierarchyTreeCard clicked:
3415
+ type: ui
3416
+ description: fired when the team hierarchy card is clicked
3417
+ attributes:
3418
+ <<: *PackageMetaDataContext
3419
+ teamId:
3420
+ type: string
3421
+ description: the id of the team
3422
+ - teamHierarchyErrorState viewed:
3423
+ type: screen
3424
+ description: fired when the team hierarchy error state is viewed
3425
+ attributes:
3426
+ <<: *PackageMetaDataContext
3427
+ teamId:
3428
+ type: string
3429
+ description: the id of the team
3430
+ - teamHierarchyEmptyState viewed:
3431
+ type: screen
3432
+ description: fired when the team hierarchy empty state is viewed
3433
+ attributes:
3434
+ <<: *PackageMetaDataContext
3435
+ teamId:
3436
+ type: string
3437
+ description: the id of the team
3438
+ - parentTeamPicker opened:
3439
+ type: ui
3440
+ description: fired when the parent team picker is opened
3441
+ attributes:
3442
+ <<: *PackageMetaDataContext
3443
+ - parentTeamPicker closed:
3444
+ type: ui
3445
+ description: fired when the parent team picker is closed
3446
+ attributes:
3447
+ <<: *PackageMetaDataContext
3448
+ newParentTeamId:
3449
+ type: string
3450
+ description: the id of the new parent team
3451
+ isCanceled:
3452
+ type: boolean
3453
+ description: whether the parent team picker is cancelled
3454
+ - teamPicker failed:
3455
+ type: track
3456
+ description: fired when the team picker fails
3457
+ attributes:
3458
+ <<: *PackageMetaDataContext
3459
+ error:
3460
+ type: string
3461
+ description: the error message
3462
+ errorMessage:
3463
+ type: string
3464
+ description: the error message
3465
+ errorType:
3466
+ type: string
3467
+ required: false
3468
+ description: the error type
3469
+ - subTeamPicker opened:
3470
+ type: ui
3471
+ description: fired when the sub team picker is opened
3472
+ attributes:
3473
+ <<: *PackageMetaDataContext
3474
+ - subTeamPicker closed:
3475
+ type: ui
3476
+ description: fired when the sub team picker is closed
3477
+ attributes:
3478
+ <<: *PackageMetaDataContext
3479
+ teamId:
3480
+ type: string
3481
+ description: the id of the team
3482
+ - subTeamPicker updated:
3483
+ type: ui
3484
+ description: fired when the sub team picker is updated
3485
+ attributes:
3486
+ <<: *PackageMetaDataContext
3487
+ subTeamId:
3488
+ type: string
3489
+ description: the id of the team
3490
+ action:
3491
+ type: string
3492
+ description: the action that was performed
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::291243b3bb3f0ae95b6cd18a60d7200b>>
6
+ * @codegen <<SignedSource::cd3e43aed89c6bc6bfed2bb49ec98ee6>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1508,6 +1508,51 @@ export type StarTeamFailedAttributesType = {
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
1510
  };
1511
+ export type TeamProfileHierarchyTabViewedAttributesType = {
1512
+ teamId: string;
1513
+ };
1514
+ export type TeamHierarchyTreeShowMoreChildrenClickedAttributesType = {
1515
+ teamId: string;
1516
+ };
1517
+ export type TeamHierarchyTreeCollapseChildrenClickedAttributesType = {
1518
+ teamId: string;
1519
+ };
1520
+ export type TeamHierarchyTreeShowMoreAncestorsClickedAttributesType = {
1521
+ teamId: string;
1522
+ };
1523
+ export type TeamHierarchyTreeCollapseAncestorsClickedAttributesType = {
1524
+ teamId: string;
1525
+ };
1526
+ export type TeamHierarchyTreeCardHoveredAttributesType = {
1527
+ teamId: string;
1528
+ };
1529
+ export type TeamHierarchyTreeCardClickedAttributesType = {
1530
+ teamId: string;
1531
+ };
1532
+ export type TeamHierarchyErrorStateViewedAttributesType = {
1533
+ teamId: string;
1534
+ };
1535
+ export type TeamHierarchyEmptyStateViewedAttributesType = {
1536
+ teamId: string;
1537
+ };
1538
+ export type ParentTeamPickerOpenedAttributesType = {};
1539
+ export type ParentTeamPickerClosedAttributesType = {
1540
+ newParentTeamId: string;
1541
+ isCanceled: boolean;
1542
+ };
1543
+ export type TeamPickerFailedAttributesType = {
1544
+ error: string;
1545
+ errorMessage: string;
1546
+ errorType: string | null;
1547
+ };
1548
+ export type SubTeamPickerOpenedAttributesType = {};
1549
+ export type SubTeamPickerClosedAttributesType = {
1550
+ teamId: string;
1551
+ };
1552
+ export type SubTeamPickerUpdatedAttributesType = {
1553
+ subTeamId: string;
1554
+ action: string;
1555
+ };
1511
1556
  export type AnalyticsEventAttributes = {
1512
1557
  /**
1513
1558
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2550,5 +2595,50 @@ export type AnalyticsEventAttributes = {
2550
2595
  /**
2551
2596
  * fired when fetching starred teams or rendering the star team component fails */
2552
2597
  'track.starTeam.failed': StarTeamFailedAttributesType;
2598
+ /**
2599
+ * fired when the team profile hierarchy tab is viewed */
2600
+ 'screen.teamProfileHierarchyTab.viewed': TeamProfileHierarchyTabViewedAttributesType;
2601
+ /**
2602
+ * fired when the show more children button in the team hierarchy tree is clicked */
2603
+ 'ui.teamHierarchyTreeShowMoreChildren.clicked': TeamHierarchyTreeShowMoreChildrenClickedAttributesType;
2604
+ /**
2605
+ * fired when the collapse children button in the team hierarchy tree is clicked */
2606
+ 'ui.teamHierarchyTreeCollapseChildren.clicked': TeamHierarchyTreeCollapseChildrenClickedAttributesType;
2607
+ /**
2608
+ * fired when the show more ancestors button in the team hierarchy tree is clicked */
2609
+ 'ui.teamHierarchyTreeShowMoreAncestors.clicked': TeamHierarchyTreeShowMoreAncestorsClickedAttributesType;
2610
+ /**
2611
+ * fired when the collapse ancestors button in the team hierarchy tree is clicked */
2612
+ 'ui.teamHierarchyTreeCollapseAncestors.clicked': TeamHierarchyTreeCollapseAncestorsClickedAttributesType;
2613
+ /**
2614
+ * fired when the team hierarchy card is hovered */
2615
+ 'ui.teamHierarchyTreeCard.hovered': TeamHierarchyTreeCardHoveredAttributesType;
2616
+ /**
2617
+ * fired when the team hierarchy card is clicked */
2618
+ 'ui.teamHierarchyTreeCard.clicked': TeamHierarchyTreeCardClickedAttributesType;
2619
+ /**
2620
+ * fired when the team hierarchy error state is viewed */
2621
+ 'screen.teamHierarchyErrorState.viewed': TeamHierarchyErrorStateViewedAttributesType;
2622
+ /**
2623
+ * fired when the team hierarchy empty state is viewed */
2624
+ 'screen.teamHierarchyEmptyState.viewed': TeamHierarchyEmptyStateViewedAttributesType;
2625
+ /**
2626
+ * fired when the parent team picker is opened */
2627
+ 'ui.parentTeamPicker.opened': ParentTeamPickerOpenedAttributesType;
2628
+ /**
2629
+ * fired when the parent team picker is closed */
2630
+ 'ui.parentTeamPicker.closed': ParentTeamPickerClosedAttributesType;
2631
+ /**
2632
+ * fired when the team picker fails */
2633
+ 'track.teamPicker.failed': TeamPickerFailedAttributesType;
2634
+ /**
2635
+ * fired when the sub team picker is opened */
2636
+ 'ui.subTeamPicker.opened': SubTeamPickerOpenedAttributesType;
2637
+ /**
2638
+ * fired when the sub team picker is closed */
2639
+ 'ui.subTeamPicker.closed': SubTeamPickerClosedAttributesType;
2640
+ /**
2641
+ * fired when the sub team picker is updated */
2642
+ 'ui.subTeamPicker.updated': SubTeamPickerUpdatedAttributesType;
2553
2643
  };
2554
2644
  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::291243b3bb3f0ae95b6cd18a60d7200b>>
6
+ * @codegen <<SignedSource::cd3e43aed89c6bc6bfed2bb49ec98ee6>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1508,6 +1508,51 @@ export type StarTeamFailedAttributesType = {
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
1510
  };
1511
+ export type TeamProfileHierarchyTabViewedAttributesType = {
1512
+ teamId: string;
1513
+ };
1514
+ export type TeamHierarchyTreeShowMoreChildrenClickedAttributesType = {
1515
+ teamId: string;
1516
+ };
1517
+ export type TeamHierarchyTreeCollapseChildrenClickedAttributesType = {
1518
+ teamId: string;
1519
+ };
1520
+ export type TeamHierarchyTreeShowMoreAncestorsClickedAttributesType = {
1521
+ teamId: string;
1522
+ };
1523
+ export type TeamHierarchyTreeCollapseAncestorsClickedAttributesType = {
1524
+ teamId: string;
1525
+ };
1526
+ export type TeamHierarchyTreeCardHoveredAttributesType = {
1527
+ teamId: string;
1528
+ };
1529
+ export type TeamHierarchyTreeCardClickedAttributesType = {
1530
+ teamId: string;
1531
+ };
1532
+ export type TeamHierarchyErrorStateViewedAttributesType = {
1533
+ teamId: string;
1534
+ };
1535
+ export type TeamHierarchyEmptyStateViewedAttributesType = {
1536
+ teamId: string;
1537
+ };
1538
+ export type ParentTeamPickerOpenedAttributesType = {};
1539
+ export type ParentTeamPickerClosedAttributesType = {
1540
+ newParentTeamId: string;
1541
+ isCanceled: boolean;
1542
+ };
1543
+ export type TeamPickerFailedAttributesType = {
1544
+ error: string;
1545
+ errorMessage: string;
1546
+ errorType: string | null;
1547
+ };
1548
+ export type SubTeamPickerOpenedAttributesType = {};
1549
+ export type SubTeamPickerClosedAttributesType = {
1550
+ teamId: string;
1551
+ };
1552
+ export type SubTeamPickerUpdatedAttributesType = {
1553
+ subTeamId: string;
1554
+ action: string;
1555
+ };
1511
1556
  export type AnalyticsEventAttributes = {
1512
1557
  /**
1513
1558
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2550,5 +2595,50 @@ export type AnalyticsEventAttributes = {
2550
2595
  /**
2551
2596
  * fired when fetching starred teams or rendering the star team component fails */
2552
2597
  'track.starTeam.failed': StarTeamFailedAttributesType;
2598
+ /**
2599
+ * fired when the team profile hierarchy tab is viewed */
2600
+ 'screen.teamProfileHierarchyTab.viewed': TeamProfileHierarchyTabViewedAttributesType;
2601
+ /**
2602
+ * fired when the show more children button in the team hierarchy tree is clicked */
2603
+ 'ui.teamHierarchyTreeShowMoreChildren.clicked': TeamHierarchyTreeShowMoreChildrenClickedAttributesType;
2604
+ /**
2605
+ * fired when the collapse children button in the team hierarchy tree is clicked */
2606
+ 'ui.teamHierarchyTreeCollapseChildren.clicked': TeamHierarchyTreeCollapseChildrenClickedAttributesType;
2607
+ /**
2608
+ * fired when the show more ancestors button in the team hierarchy tree is clicked */
2609
+ 'ui.teamHierarchyTreeShowMoreAncestors.clicked': TeamHierarchyTreeShowMoreAncestorsClickedAttributesType;
2610
+ /**
2611
+ * fired when the collapse ancestors button in the team hierarchy tree is clicked */
2612
+ 'ui.teamHierarchyTreeCollapseAncestors.clicked': TeamHierarchyTreeCollapseAncestorsClickedAttributesType;
2613
+ /**
2614
+ * fired when the team hierarchy card is hovered */
2615
+ 'ui.teamHierarchyTreeCard.hovered': TeamHierarchyTreeCardHoveredAttributesType;
2616
+ /**
2617
+ * fired when the team hierarchy card is clicked */
2618
+ 'ui.teamHierarchyTreeCard.clicked': TeamHierarchyTreeCardClickedAttributesType;
2619
+ /**
2620
+ * fired when the team hierarchy error state is viewed */
2621
+ 'screen.teamHierarchyErrorState.viewed': TeamHierarchyErrorStateViewedAttributesType;
2622
+ /**
2623
+ * fired when the team hierarchy empty state is viewed */
2624
+ 'screen.teamHierarchyEmptyState.viewed': TeamHierarchyEmptyStateViewedAttributesType;
2625
+ /**
2626
+ * fired when the parent team picker is opened */
2627
+ 'ui.parentTeamPicker.opened': ParentTeamPickerOpenedAttributesType;
2628
+ /**
2629
+ * fired when the parent team picker is closed */
2630
+ 'ui.parentTeamPicker.closed': ParentTeamPickerClosedAttributesType;
2631
+ /**
2632
+ * fired when the team picker fails */
2633
+ 'track.teamPicker.failed': TeamPickerFailedAttributesType;
2634
+ /**
2635
+ * fired when the sub team picker is opened */
2636
+ 'ui.subTeamPicker.opened': SubTeamPickerOpenedAttributesType;
2637
+ /**
2638
+ * fired when the sub team picker is closed */
2639
+ 'ui.subTeamPicker.closed': SubTeamPickerClosedAttributesType;
2640
+ /**
2641
+ * fired when the sub team picker is updated */
2642
+ 'ui.subTeamPicker.updated': SubTeamPickerUpdatedAttributesType;
2553
2643
  };
2554
2644
  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.25.3",
87
+ "version": "1.27.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",