@atlaskit/teams-app-internal-analytics 1.25.2 → 1.26.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.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`9002e8f46f8a6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9002e8f46f8a6) -
8
+ [ux] Added parent team picker
9
+
10
+ ## 1.25.3
11
+
12
+ ### Patch Changes
13
+
14
+ - [`3e341ed734ff1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e341ed734ff1) -
15
+ Remove source from track.starTeam.failed
16
+
3
17
  ## 1.25.2
4
18
 
5
19
  ### Patch Changes
@@ -3364,6 +3364,34 @@ events:
3364
3364
  type: string
3365
3365
  required: false
3366
3366
  description: Specific type of error encountered
3367
- source:
3367
+ - parentTeamPicker opened:
3368
+ type: ui
3369
+ description: fired when the parent team picker is opened
3370
+ attributes:
3371
+ <<: *PackageMetaDataContext
3372
+ - parentTeamPicker closed:
3373
+ type: ui
3374
+ description: fired when the parent team picker is closed
3375
+ attributes:
3376
+ <<: *PackageMetaDataContext
3377
+ newParentTeamId:
3368
3378
  type: string
3369
- description: The component where the error occurred
3379
+ description: the id of the new parent team
3380
+ isCanceled:
3381
+ type: boolean
3382
+ description: whether the parent team picker is cancelled
3383
+ - teamPicker failed:
3384
+ type: track
3385
+ description: fired when the team picker fails
3386
+ attributes:
3387
+ <<: *PackageMetaDataContext
3388
+ error:
3389
+ type: string
3390
+ description: the error message
3391
+ errorMessage:
3392
+ type: string
3393
+ description: the error message
3394
+ errorType:
3395
+ type: string
3396
+ required: false
3397
+ description: the error type
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
6
+ * @codegen <<SignedSource::59c4bdd833e5deaf51ba7b43a7658597>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1507,7 +1507,16 @@ export type StarTeamFailedAttributesType = {
1507
1507
  error: string;
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
- source: string;
1510
+ };
1511
+ export type ParentTeamPickerOpenedAttributesType = {};
1512
+ export type ParentTeamPickerClosedAttributesType = {
1513
+ newParentTeamId: string;
1514
+ isCanceled: boolean;
1515
+ };
1516
+ export type TeamPickerFailedAttributesType = {
1517
+ error: string;
1518
+ errorMessage: string;
1519
+ errorType: string | null;
1511
1520
  };
1512
1521
  export type AnalyticsEventAttributes = {
1513
1522
  /**
@@ -2551,5 +2560,14 @@ export type AnalyticsEventAttributes = {
2551
2560
  /**
2552
2561
  * fired when fetching starred teams or rendering the star team component fails */
2553
2562
  'track.starTeam.failed': StarTeamFailedAttributesType;
2563
+ /**
2564
+ * fired when the parent team picker is opened */
2565
+ 'ui.parentTeamPicker.opened': ParentTeamPickerOpenedAttributesType;
2566
+ /**
2567
+ * fired when the parent team picker is closed */
2568
+ 'ui.parentTeamPicker.closed': ParentTeamPickerClosedAttributesType;
2569
+ /**
2570
+ * fired when the team picker fails */
2571
+ 'track.teamPicker.failed': TeamPickerFailedAttributesType;
2554
2572
  };
2555
2573
  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::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
6
+ * @codegen <<SignedSource::59c4bdd833e5deaf51ba7b43a7658597>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1507,7 +1507,16 @@ export type StarTeamFailedAttributesType = {
1507
1507
  error: string;
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
- source: string;
1510
+ };
1511
+ export type ParentTeamPickerOpenedAttributesType = {};
1512
+ export type ParentTeamPickerClosedAttributesType = {
1513
+ newParentTeamId: string;
1514
+ isCanceled: boolean;
1515
+ };
1516
+ export type TeamPickerFailedAttributesType = {
1517
+ error: string;
1518
+ errorMessage: string;
1519
+ errorType: string | null;
1511
1520
  };
1512
1521
  export type AnalyticsEventAttributes = {
1513
1522
  /**
@@ -2551,5 +2560,14 @@ export type AnalyticsEventAttributes = {
2551
2560
  /**
2552
2561
  * fired when fetching starred teams or rendering the star team component fails */
2553
2562
  'track.starTeam.failed': StarTeamFailedAttributesType;
2563
+ /**
2564
+ * fired when the parent team picker is opened */
2565
+ 'ui.parentTeamPicker.opened': ParentTeamPickerOpenedAttributesType;
2566
+ /**
2567
+ * fired when the parent team picker is closed */
2568
+ 'ui.parentTeamPicker.closed': ParentTeamPickerClosedAttributesType;
2569
+ /**
2570
+ * fired when the team picker fails */
2571
+ 'track.teamPicker.failed': TeamPickerFailedAttributesType;
2554
2572
  };
2555
2573
  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.2",
87
+ "version": "1.26.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",