@atlaskit/teams-app-internal-analytics 1.25.1 → 1.25.2

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.25.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0dd4d571a5040`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0dd4d571a5040) -
8
+ Add starTeam failed event
9
+
3
10
  ## 1.25.1
4
11
 
5
12
  ### Patch Changes
@@ -3350,3 +3350,20 @@ events:
3350
3350
  errorMessage:
3351
3351
  type: string
3352
3352
  description: The error message describing why the action failed
3353
+ - starTeam failed:
3354
+ type: track
3355
+ description: fired when fetching starred teams or rendering the star team component fails
3356
+ attributes:
3357
+ error:
3358
+ type: string
3359
+ description: the error message
3360
+ errorMessage:
3361
+ type: string
3362
+ description: The error message
3363
+ errorType:
3364
+ type: string
3365
+ required: false
3366
+ description: Specific type of error encountered
3367
+ source:
3368
+ type: string
3369
+ description: The component where the error occurred
@@ -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.25.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.25.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.25.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::c6459d5c7859139ba640983c40f5c40e>>
6
+ * @codegen <<SignedSource::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1503,6 +1503,12 @@ export type StarredFailedTeamAttributesType = {
1503
1503
  starred: boolean;
1504
1504
  errorMessage: string;
1505
1505
  };
1506
+ export type StarTeamFailedAttributesType = {
1507
+ error: string;
1508
+ errorMessage: string;
1509
+ errorType: string | null;
1510
+ source: string;
1511
+ };
1506
1512
  export type AnalyticsEventAttributes = {
1507
1513
  /**
1508
1514
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2542,5 +2548,8 @@ export type AnalyticsEventAttributes = {
2542
2548
  /**
2543
2549
  * fired when starring or unstarring a team fails */
2544
2550
  'track.starred.failed.team': StarredFailedTeamAttributesType;
2551
+ /**
2552
+ * fired when fetching starred teams or rendering the star team component fails */
2553
+ 'track.starTeam.failed': StarTeamFailedAttributesType;
2545
2554
  };
2546
2555
  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::c6459d5c7859139ba640983c40f5c40e>>
6
+ * @codegen <<SignedSource::e9b8e3d67597c5c85abc4fe33e0c4bd8>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1503,6 +1503,12 @@ export type StarredFailedTeamAttributesType = {
1503
1503
  starred: boolean;
1504
1504
  errorMessage: string;
1505
1505
  };
1506
+ export type StarTeamFailedAttributesType = {
1507
+ error: string;
1508
+ errorMessage: string;
1509
+ errorType: string | null;
1510
+ source: string;
1511
+ };
1506
1512
  export type AnalyticsEventAttributes = {
1507
1513
  /**
1508
1514
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2542,5 +2548,8 @@ export type AnalyticsEventAttributes = {
2542
2548
  /**
2543
2549
  * fired when starring or unstarring a team fails */
2544
2550
  'track.starred.failed.team': StarredFailedTeamAttributesType;
2551
+ /**
2552
+ * fired when fetching starred teams or rendering the star team component fails */
2553
+ 'track.starTeam.failed': StarTeamFailedAttributesType;
2545
2554
  };
2546
2555
  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.1",
87
+ "version": "1.25.2",
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",