@atlaskit/teams-app-internal-analytics 1.25.3 → 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,12 @@
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
+
3
10
  ## 1.25.3
4
11
 
5
12
  ### Patch Changes
@@ -3364,3 +3364,34 @@ events:
3364
3364
  type: string
3365
3365
  required: false
3366
3366
  description: Specific type of error encountered
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:
3378
+ type: string
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::291243b3bb3f0ae95b6cd18a60d7200b>>
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 = {
@@ -1508,6 +1508,16 @@ export type StarTeamFailedAttributesType = {
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
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;
1520
+ };
1511
1521
  export type AnalyticsEventAttributes = {
1512
1522
  /**
1513
1523
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2550,5 +2560,14 @@ export type AnalyticsEventAttributes = {
2550
2560
  /**
2551
2561
  * fired when fetching starred teams or rendering the star team component fails */
2552
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;
2553
2572
  };
2554
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::291243b3bb3f0ae95b6cd18a60d7200b>>
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 = {
@@ -1508,6 +1508,16 @@ export type StarTeamFailedAttributesType = {
1508
1508
  errorMessage: string;
1509
1509
  errorType: string | null;
1510
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;
1520
+ };
1511
1521
  export type AnalyticsEventAttributes = {
1512
1522
  /**
1513
1523
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2550,5 +2560,14 @@ export type AnalyticsEventAttributes = {
2550
2560
  /**
2551
2561
  * fired when fetching starred teams or rendering the star team component fails */
2552
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;
2553
2572
  };
2554
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.3",
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",