@atlaskit/teams-app-internal-analytics 1.23.2 → 1.24.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.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`2f0921abc9f22`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f0921abc9f22) -
8
+ Added requestedContainers analytics events from teams-public
9
+
3
10
  ## 1.23.2
4
11
 
5
12
  ### Patch Changes
@@ -3268,3 +3268,27 @@ events:
3268
3268
  error:
3269
3269
  type: string
3270
3270
  description: The error that was thrown
3271
+ - requestedContainers tryAgain:
3272
+ type: track
3273
+ description: Fired when the user tries to add requested containers again
3274
+ attributes:
3275
+ containers:
3276
+ type: []
3277
+ description: The containers that the user tried to add
3278
+ teamId:
3279
+ type: string
3280
+ description: The id of the team
3281
+ - requestedContainers failed:
3282
+ type: track
3283
+ description: Fired when the user fails to add requested containers
3284
+ attributes:
3285
+ containers:
3286
+ type: []
3287
+ description: The containers that the user tried to add
3288
+ teamId:
3289
+ type: string
3290
+ description: The id of the team
3291
+ tryAgainCount:
3292
+ required: false
3293
+ type: number
3294
+ description: The number of times the user has tried to add requested containers
@@ -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.23.1"
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.23.1"
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.23.1"
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::69ce17efcdd11244664ecaea57b5d532>>
6
+ * @codegen <<SignedSource::08bbe83a9568b2ddda9eb5332ffdf047>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1448,6 +1448,15 @@ export type FeatureExposedAttributesType = {
1448
1448
  export type InvitePromptShowContainerAddedFlagFailedAttributesType = {
1449
1449
  error: string;
1450
1450
  };
1451
+ export type RequestedContainersTryAgainAttributesType = {
1452
+ containers: unknown[];
1453
+ teamId: string;
1454
+ };
1455
+ export type RequestedContainersFailedAttributesType = {
1456
+ containers: unknown[];
1457
+ teamId: string;
1458
+ tryAgainCount: number | null;
1459
+ };
1451
1460
  export type AnalyticsEventAttributes = {
1452
1461
  /**
1453
1462
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2465,5 +2474,11 @@ export type AnalyticsEventAttributes = {
2465
2474
  /**
2466
2475
  * Fired when something fails horribly inside of showContainerAddedFlagFailed */
2467
2476
  'operational.invitePrompt.showContainerAddedFlagFailed': InvitePromptShowContainerAddedFlagFailedAttributesType;
2477
+ /**
2478
+ * Fired when the user tries to add requested containers again */
2479
+ 'track.requestedContainers.tryAgain': RequestedContainersTryAgainAttributesType;
2480
+ /**
2481
+ * Fired when the user fails to add requested containers */
2482
+ 'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
2468
2483
  };
2469
2484
  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::69ce17efcdd11244664ecaea57b5d532>>
6
+ * @codegen <<SignedSource::08bbe83a9568b2ddda9eb5332ffdf047>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1448,6 +1448,15 @@ export type FeatureExposedAttributesType = {
1448
1448
  export type InvitePromptShowContainerAddedFlagFailedAttributesType = {
1449
1449
  error: string;
1450
1450
  };
1451
+ export type RequestedContainersTryAgainAttributesType = {
1452
+ containers: unknown[];
1453
+ teamId: string;
1454
+ };
1455
+ export type RequestedContainersFailedAttributesType = {
1456
+ containers: unknown[];
1457
+ teamId: string;
1458
+ tryAgainCount: number | null;
1459
+ };
1451
1460
  export type AnalyticsEventAttributes = {
1452
1461
  /**
1453
1462
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -2465,5 +2474,11 @@ export type AnalyticsEventAttributes = {
2465
2474
  /**
2466
2475
  * Fired when something fails horribly inside of showContainerAddedFlagFailed */
2467
2476
  'operational.invitePrompt.showContainerAddedFlagFailed': InvitePromptShowContainerAddedFlagFailedAttributesType;
2477
+ /**
2478
+ * Fired when the user tries to add requested containers again */
2479
+ 'track.requestedContainers.tryAgain': RequestedContainersTryAgainAttributesType;
2480
+ /**
2481
+ * Fired when the user fails to add requested containers */
2482
+ 'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
2468
2483
  };
2469
2484
  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.23.2",
87
+ "version": "1.24.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",