@atlaskit/teams-app-internal-analytics 1.27.1 → 1.27.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,20 @@
1
1
  # @atlaskit/teams-app-internal-analytics
2
2
 
3
+ ## 1.27.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7de638877e6ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7de638877e6ae) -
8
+ Add classification to failed star team
9
+
10
+ ## 1.27.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [`c1deed94ac30d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1deed94ac30d) -
15
+ [ux] Build custom fields for number and string type, add analytics events for updating custom
16
+ fields
17
+
3
18
  ## 1.27.1
4
19
 
5
20
  ### Patch Changes
@@ -3201,6 +3201,48 @@ events:
3201
3201
  consumer:
3202
3202
  type: string
3203
3203
  description: The consumer of the team
3204
+ - teamCustomField clicked:
3205
+ type: ui
3206
+ description: fired when user clicks a custom field to start editing
3207
+ attributes:
3208
+ teamId:
3209
+ type: string
3210
+ description: The id of the team
3211
+ fieldId:
3212
+ type: string
3213
+ description: The ARI of the custom field
3214
+ fieldType:
3215
+ type: string
3216
+ description: The type of the custom field (STRING, NUMBER, SELECTOR, USER, TEAM)
3217
+ - teamCustomField updateSucceeded:
3218
+ type: track
3219
+ description: fired when saving a custom field value succeeds
3220
+ attributes:
3221
+ teamId:
3222
+ type: string
3223
+ description: The id of the team
3224
+ fieldId:
3225
+ type: string
3226
+ description: The ARI of the custom field
3227
+ fieldType:
3228
+ type: string
3229
+ description: The type of the custom field (STRING, NUMBER, SELECTOR, USER, TEAM)
3230
+ - teamCustomField updateFailed:
3231
+ type: track
3232
+ description: fired when saving a custom field value fails (network error or server error)
3233
+ attributes:
3234
+ teamId:
3235
+ type: string
3236
+ description: The id of the team
3237
+ fieldId:
3238
+ type: string
3239
+ description: The ARI of the custom field
3240
+ fieldType:
3241
+ type: string
3242
+ description: The type of the custom field (STRING, NUMBER, SELECTOR, USER, TEAM)
3243
+ errorMessage:
3244
+ type: string
3245
+ description: The error message returned from the mutation
3204
3246
  - invitePrompt eligibilityChecked:
3205
3247
  type: operational
3206
3248
  description:
@@ -3332,6 +3374,10 @@ events:
3332
3374
  type: string
3333
3375
  required: false
3334
3376
  description: Specific type of error encountered
3377
+ classification:
3378
+ type: string
3379
+ required: false
3380
+ description: Classification of the error encountered
3335
3381
  - teamProfileHierarchyTab viewed:
3336
3382
  type: screen
3337
3383
  description: fired when the team profile hierarchy tab is viewed
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::cbc269295ed6028e0abc5d33a2165ed0>>
6
+ * @codegen <<SignedSource::7a338699bda4131da7df23ae3c72eb27>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1447,6 +1447,22 @@ export type TeamAssignedTypePickerClickedAttributesType = {
1447
1447
  teamProfileTabIndex: number;
1448
1448
  consumer: string;
1449
1449
  };
1450
+ export type TeamCustomFieldClickedAttributesType = {
1451
+ teamId: string;
1452
+ fieldId: string;
1453
+ fieldType: string;
1454
+ };
1455
+ export type TeamCustomFieldUpdateSucceededAttributesType = {
1456
+ teamId: string;
1457
+ fieldId: string;
1458
+ fieldType: string;
1459
+ };
1460
+ export type TeamCustomFieldUpdateFailedAttributesType = {
1461
+ teamId: string;
1462
+ fieldId: string;
1463
+ fieldType: string;
1464
+ errorMessage: string;
1465
+ };
1450
1466
  export type InvitePromptEligibilityCheckedAttributesType = {
1451
1467
  isEligible: boolean;
1452
1468
  ineligibilityReason: string;
@@ -1495,6 +1511,7 @@ export type StarTeamFailedAttributesType = {
1495
1511
  error: string;
1496
1512
  errorMessage: string;
1497
1513
  errorType: string | null;
1514
+ classification: string | null;
1498
1515
  };
1499
1516
  export type TeamProfileHierarchyTabViewedAttributesType = {
1500
1517
  teamId: string;
@@ -2538,6 +2555,15 @@ export type AnalyticsEventAttributes = {
2538
2555
  /**
2539
2556
  * fired when team assigned type picker is clicked */
2540
2557
  'ui.teamAssignedTypePicker.clicked': TeamAssignedTypePickerClickedAttributesType;
2558
+ /**
2559
+ * fired when user clicks a custom field to start editing */
2560
+ 'ui.teamCustomField.clicked': TeamCustomFieldClickedAttributesType;
2561
+ /**
2562
+ * fired when saving a custom field value succeeds */
2563
+ 'track.teamCustomField.updateSucceeded': TeamCustomFieldUpdateSucceededAttributesType;
2564
+ /**
2565
+ * fired when saving a custom field value fails (network error or server error) */
2566
+ 'track.teamCustomField.updateFailed': TeamCustomFieldUpdateFailedAttributesType;
2541
2567
  /**
2542
2568
  * Fired when eligibility check is performed for twcg_640_invite_prompt_on_teams_page_links */
2543
2569
  'operational.invitePrompt.eligibilityChecked': InvitePromptEligibilityCheckedAttributesType;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::cbc269295ed6028e0abc5d33a2165ed0>>
6
+ * @codegen <<SignedSource::7a338699bda4131da7df23ae3c72eb27>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1447,6 +1447,22 @@ export type TeamAssignedTypePickerClickedAttributesType = {
1447
1447
  teamProfileTabIndex: number;
1448
1448
  consumer: string;
1449
1449
  };
1450
+ export type TeamCustomFieldClickedAttributesType = {
1451
+ teamId: string;
1452
+ fieldId: string;
1453
+ fieldType: string;
1454
+ };
1455
+ export type TeamCustomFieldUpdateSucceededAttributesType = {
1456
+ teamId: string;
1457
+ fieldId: string;
1458
+ fieldType: string;
1459
+ };
1460
+ export type TeamCustomFieldUpdateFailedAttributesType = {
1461
+ teamId: string;
1462
+ fieldId: string;
1463
+ fieldType: string;
1464
+ errorMessage: string;
1465
+ };
1450
1466
  export type InvitePromptEligibilityCheckedAttributesType = {
1451
1467
  isEligible: boolean;
1452
1468
  ineligibilityReason: string;
@@ -1495,6 +1511,7 @@ export type StarTeamFailedAttributesType = {
1495
1511
  error: string;
1496
1512
  errorMessage: string;
1497
1513
  errorType: string | null;
1514
+ classification: string | null;
1498
1515
  };
1499
1516
  export type TeamProfileHierarchyTabViewedAttributesType = {
1500
1517
  teamId: string;
@@ -2538,6 +2555,15 @@ export type AnalyticsEventAttributes = {
2538
2555
  /**
2539
2556
  * fired when team assigned type picker is clicked */
2540
2557
  'ui.teamAssignedTypePicker.clicked': TeamAssignedTypePickerClickedAttributesType;
2558
+ /**
2559
+ * fired when user clicks a custom field to start editing */
2560
+ 'ui.teamCustomField.clicked': TeamCustomFieldClickedAttributesType;
2561
+ /**
2562
+ * fired when saving a custom field value succeeds */
2563
+ 'track.teamCustomField.updateSucceeded': TeamCustomFieldUpdateSucceededAttributesType;
2564
+ /**
2565
+ * fired when saving a custom field value fails (network error or server error) */
2566
+ 'track.teamCustomField.updateFailed': TeamCustomFieldUpdateFailedAttributesType;
2541
2567
  /**
2542
2568
  * Fired when eligibility check is performed for twcg_640_invite_prompt_on_teams_page_links */
2543
2569
  'operational.invitePrompt.eligibilityChecked': InvitePromptEligibilityCheckedAttributesType;
package/package.json CHANGED
@@ -84,7 +84,7 @@
84
84
  }
85
85
  },
86
86
  "name": "@atlaskit/teams-app-internal-analytics",
87
- "version": "1.27.1",
87
+ "version": "1.27.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",