@atlaskit/teams-app-internal-analytics 1.25.1 → 1.25.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,19 @@
1
1
  # @atlaskit/teams-app-internal-analytics
2
2
 
3
+ ## 1.25.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3e341ed734ff1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e341ed734ff1) -
8
+ Remove source from track.starTeam.failed
9
+
10
+ ## 1.25.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [`0dd4d571a5040`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0dd4d571a5040) -
15
+ Add starTeam failed event
16
+
3
17
  ## 1.25.1
4
18
 
5
19
  ### Patch Changes
@@ -3350,3 +3350,17 @@ 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
@@ -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::291243b3bb3f0ae95b6cd18a60d7200b>>
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,11 @@ 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
+ };
1506
1511
  export type AnalyticsEventAttributes = {
1507
1512
  /**
1508
1513
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2542,5 +2547,8 @@ export type AnalyticsEventAttributes = {
2542
2547
  /**
2543
2548
  * fired when starring or unstarring a team fails */
2544
2549
  'track.starred.failed.team': StarredFailedTeamAttributesType;
2550
+ /**
2551
+ * fired when fetching starred teams or rendering the star team component fails */
2552
+ 'track.starTeam.failed': StarTeamFailedAttributesType;
2545
2553
  };
2546
2554
  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::291243b3bb3f0ae95b6cd18a60d7200b>>
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,11 @@ 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
+ };
1506
1511
  export type AnalyticsEventAttributes = {
1507
1512
  /**
1508
1513
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2542,5 +2547,8 @@ export type AnalyticsEventAttributes = {
2542
2547
  /**
2543
2548
  * fired when starring or unstarring a team fails */
2544
2549
  'track.starred.failed.team': StarredFailedTeamAttributesType;
2550
+ /**
2551
+ * fired when fetching starred teams or rendering the star team component fails */
2552
+ 'track.starTeam.failed': StarTeamFailedAttributesType;
2545
2553
  };
2546
2554
  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.3",
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",