@atlaskit/teams-app-internal-analytics 1.23.2 → 1.24.1
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 +14 -0
- package/analytics.spec.yaml +55 -1
- package/dist/cjs/ui/analytics-context/index.js +1 -1
- package/dist/es2019/ui/analytics-context/index.js +1 -1
- package/dist/esm/ui/analytics-context/index.js +1 -1
- package/dist/types/common/utils/generated/analytics.types.d.ts +59 -5
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +59 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`618326bff43d8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/618326bff43d8) -
|
|
8
|
+
PTC-15081: Add analytics for user profile tabs - hierarchy/goals/projects/kudos
|
|
9
|
+
|
|
10
|
+
## 1.24.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`2f0921abc9f22`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f0921abc9f22) -
|
|
15
|
+
Added requestedContainers analytics events from teams-public
|
|
16
|
+
|
|
3
17
|
## 1.23.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -77,6 +77,13 @@ shared:
|
|
|
77
77
|
type: boolean
|
|
78
78
|
required: false
|
|
79
79
|
description: whether this event is fired from the new user profile page
|
|
80
|
+
UserProfileViewedTabAttribute: &UserProfileViewedTabAttribute
|
|
81
|
+
tab:
|
|
82
|
+
type: string
|
|
83
|
+
required: false
|
|
84
|
+
description:
|
|
85
|
+
the user profile tab where the viewed event was fired (overview, hierarchy, goals, projects,
|
|
86
|
+
kudos)
|
|
80
87
|
AgentProfileCardActionsAttributes: &AgentProfileCardActionsAttributes
|
|
81
88
|
agentId:
|
|
82
89
|
type: string
|
|
@@ -1385,6 +1392,14 @@ events:
|
|
|
1385
1392
|
type: operational
|
|
1386
1393
|
attributes:
|
|
1387
1394
|
<<: *ExperienceMetadata
|
|
1395
|
+
- userProfile_projectsAndGoals taskStart:
|
|
1396
|
+
type: operational
|
|
1397
|
+
attributes:
|
|
1398
|
+
<<: [*ExperienceMetadata, *UserProfileViewedTabAttribute]
|
|
1399
|
+
- userProfile_projectsAndGoals taskSuccess:
|
|
1400
|
+
type: operational
|
|
1401
|
+
attributes:
|
|
1402
|
+
<<: [*ExperienceMetadata, *UserProfileViewedTabAttribute]
|
|
1388
1403
|
- teamsPermissionsRequest failed:
|
|
1389
1404
|
type: operational
|
|
1390
1405
|
attributes:
|
|
@@ -2159,6 +2174,7 @@ events:
|
|
|
2159
2174
|
type: string
|
|
2160
2175
|
required: false
|
|
2161
2176
|
description: the workspace uuid
|
|
2177
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2162
2178
|
- ProfileProjectsLink clicked:
|
|
2163
2179
|
type: ui
|
|
2164
2180
|
description: fired when the profile projects link is clicked
|
|
@@ -2166,6 +2182,7 @@ events:
|
|
|
2166
2182
|
entryIndex:
|
|
2167
2183
|
type: number
|
|
2168
2184
|
description: the index
|
|
2185
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2169
2186
|
- ProfileGoalsLink clicked:
|
|
2170
2187
|
type: ui
|
|
2171
2188
|
description: fired when the profile goals link is clicked
|
|
@@ -2173,6 +2190,7 @@ events:
|
|
|
2173
2190
|
entryIndex:
|
|
2174
2191
|
type: number
|
|
2175
2192
|
description: the index
|
|
2193
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2176
2194
|
- button clicked (followTeamProjectsGoalsButton):
|
|
2177
2195
|
type: ui
|
|
2178
2196
|
description: fired when the follow team projects and goals button is clicked
|
|
@@ -2199,6 +2217,7 @@ events:
|
|
|
2199
2217
|
isEmpty:
|
|
2200
2218
|
type: boolean
|
|
2201
2219
|
description: whether the profile kudos is empty
|
|
2220
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2202
2221
|
- ProfileKudosTab clicked:
|
|
2203
2222
|
type: ui
|
|
2204
2223
|
description: fired when the profile kudos tab is clicked
|
|
@@ -2249,6 +2268,7 @@ events:
|
|
|
2249
2268
|
type: string
|
|
2250
2269
|
required: false
|
|
2251
2270
|
description: the workspace uuid
|
|
2271
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2252
2272
|
- ui viewed:
|
|
2253
2273
|
type: ui
|
|
2254
2274
|
description: fired when the reporting lines chart is viewed - used for Atlas MAU
|
|
@@ -2379,6 +2399,8 @@ events:
|
|
|
2379
2399
|
- button clicked (profileHeaderMediaPickerUpload):
|
|
2380
2400
|
type: ui
|
|
2381
2401
|
description: fired when the media picker upload button is clicked
|
|
2402
|
+
attributes:
|
|
2403
|
+
<<: *NewUserProfileAttribute
|
|
2382
2404
|
- button clicked (profileHeaderRemove):
|
|
2383
2405
|
type: ui
|
|
2384
2406
|
description: fired when the remove header image button is clicked
|
|
@@ -2408,12 +2430,17 @@ events:
|
|
|
2408
2430
|
hasUploadedAvatar:
|
|
2409
2431
|
type: boolean
|
|
2410
2432
|
description: whether the avatar has been uploaded
|
|
2433
|
+
<<: *NewUserProfileAttribute
|
|
2411
2434
|
- button clicked (changeProfilePhoto):
|
|
2412
2435
|
type: ui
|
|
2413
2436
|
description: fired when the change profile photo button is clicked
|
|
2437
|
+
attributes:
|
|
2438
|
+
<<: *NewUserProfileAttribute
|
|
2414
2439
|
- button clicked (createInitialsAvatar):
|
|
2415
2440
|
type: ui
|
|
2416
2441
|
description: fired when the create initials avatar button is clicked
|
|
2442
|
+
attributes:
|
|
2443
|
+
<<: *NewUserProfileAttribute
|
|
2417
2444
|
- avatarInitialsPicker opened:
|
|
2418
2445
|
type: track
|
|
2419
2446
|
description: fired when the avatar initials picker is opened
|
|
@@ -2421,6 +2448,7 @@ events:
|
|
|
2421
2448
|
hasUploadedAvatar:
|
|
2422
2449
|
type: boolean
|
|
2423
2450
|
description: whether the avatar has been uploaded
|
|
2451
|
+
<<: *NewUserProfileAttribute
|
|
2424
2452
|
- uploadAvatar failed:
|
|
2425
2453
|
type: track
|
|
2426
2454
|
description: fired when the upload avatar action is failed
|
|
@@ -2524,6 +2552,8 @@ events:
|
|
|
2524
2552
|
- button clicked (manageAccountButton):
|
|
2525
2553
|
type: ui
|
|
2526
2554
|
description: fired when the manage account button is clicked
|
|
2555
|
+
attributes:
|
|
2556
|
+
<<: *NewUserProfileAttribute
|
|
2527
2557
|
- button clicked (manageAccessButton):
|
|
2528
2558
|
type: ui
|
|
2529
2559
|
description: fired when the manage access button is clicked
|
|
@@ -2539,7 +2569,7 @@ events:
|
|
|
2539
2569
|
isCurrentUser:
|
|
2540
2570
|
type: boolean
|
|
2541
2571
|
description: whether the user is the current user
|
|
2542
|
-
<<: *NewUserProfileAttribute
|
|
2572
|
+
<<: [*NewUserProfileAttribute, *UserProfileViewedTabAttribute]
|
|
2543
2573
|
- viewAllWork clicked:
|
|
2544
2574
|
type: ui
|
|
2545
2575
|
description: fired when the view all work button is clicked
|
|
@@ -3268,3 +3298,27 @@ events:
|
|
|
3268
3298
|
error:
|
|
3269
3299
|
type: string
|
|
3270
3300
|
description: The error that was thrown
|
|
3301
|
+
- requestedContainers tryAgain:
|
|
3302
|
+
type: track
|
|
3303
|
+
description: Fired when the user tries to add requested containers again
|
|
3304
|
+
attributes:
|
|
3305
|
+
containers:
|
|
3306
|
+
type: []
|
|
3307
|
+
description: The containers that the user tried to add
|
|
3308
|
+
teamId:
|
|
3309
|
+
type: string
|
|
3310
|
+
description: The id of the team
|
|
3311
|
+
- requestedContainers failed:
|
|
3312
|
+
type: track
|
|
3313
|
+
description: Fired when the user fails to add requested containers
|
|
3314
|
+
attributes:
|
|
3315
|
+
containers:
|
|
3316
|
+
type: []
|
|
3317
|
+
description: The containers that the user tried to add
|
|
3318
|
+
teamId:
|
|
3319
|
+
type: string
|
|
3320
|
+
description: The id of the team
|
|
3321
|
+
tryAgainCount:
|
|
3322
|
+
required: false
|
|
3323
|
+
type: number
|
|
3324
|
+
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: "
|
|
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: "
|
|
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: "
|
|
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::
|
|
6
|
+
* @codegen <<SignedSource::75e27d84529f4d2b7d1f40c1944f5f61>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -642,6 +642,22 @@ export type RecommendedProductsTaskFailAttributesType = {
|
|
|
642
642
|
isStandalone: boolean;
|
|
643
643
|
hasBrowsUsersPermission: boolean;
|
|
644
644
|
};
|
|
645
|
+
export type ProjectsAndGoalsTaskStartAttributesType = {
|
|
646
|
+
sloSatisifed: boolean;
|
|
647
|
+
taskDuration: number;
|
|
648
|
+
latencySlo: number;
|
|
649
|
+
isStandalone: boolean;
|
|
650
|
+
hasBrowsUsersPermission: boolean;
|
|
651
|
+
tab: string | null;
|
|
652
|
+
};
|
|
653
|
+
export type ProjectsAndGoalsTaskSuccessAttributesType = {
|
|
654
|
+
sloSatisifed: boolean;
|
|
655
|
+
taskDuration: number;
|
|
656
|
+
latencySlo: number;
|
|
657
|
+
isStandalone: boolean;
|
|
658
|
+
hasBrowsUsersPermission: boolean;
|
|
659
|
+
tab: string | null;
|
|
660
|
+
};
|
|
645
661
|
export type TeamsPermissionsRequestFailedAttributesType = {
|
|
646
662
|
message: string;
|
|
647
663
|
status: string;
|
|
@@ -1030,12 +1046,18 @@ export type ProfileProjectsAndGoalsViewedAttributesType = {
|
|
|
1030
1046
|
hasProjects: boolean;
|
|
1031
1047
|
product: string;
|
|
1032
1048
|
workspaceUuid: string | null;
|
|
1049
|
+
isNewUserProfile: boolean | null;
|
|
1050
|
+
tab: string | null;
|
|
1033
1051
|
};
|
|
1034
1052
|
export type ProfileProjectsLinkClickedAttributesType = {
|
|
1035
1053
|
entryIndex: number;
|
|
1054
|
+
isNewUserProfile: boolean | null;
|
|
1055
|
+
tab: string | null;
|
|
1036
1056
|
};
|
|
1037
1057
|
export type ProfileGoalsLinkClickedAttributesType = {
|
|
1038
1058
|
entryIndex: number;
|
|
1059
|
+
isNewUserProfile: boolean | null;
|
|
1060
|
+
tab: string | null;
|
|
1039
1061
|
};
|
|
1040
1062
|
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1041
1063
|
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
@@ -1046,6 +1068,8 @@ export type ErrorBoundaryTriggeredAttributesType = {
|
|
|
1046
1068
|
};
|
|
1047
1069
|
export type ProfileKudosViewedAttributesType = {
|
|
1048
1070
|
isEmpty: boolean;
|
|
1071
|
+
isNewUserProfile: boolean | null;
|
|
1072
|
+
tab: string | null;
|
|
1049
1073
|
};
|
|
1050
1074
|
export type ProfileKudosTabClickedAttributesType = {
|
|
1051
1075
|
tabName: 'given' | 'received';
|
|
@@ -1065,6 +1089,8 @@ export type ReportingLinesChartExpandedAttributesType = {
|
|
|
1065
1089
|
export type ReportingLinesChartViewedAttributesType = {
|
|
1066
1090
|
product: string;
|
|
1067
1091
|
workspaceUuid: string | null;
|
|
1092
|
+
isNewUserProfile: boolean | null;
|
|
1093
|
+
tab: string | null;
|
|
1068
1094
|
};
|
|
1069
1095
|
export type UiViewedAttributesType = {
|
|
1070
1096
|
product: string;
|
|
@@ -1113,7 +1139,9 @@ export type HeaderImageSucceededTeamHeaderImageAttributesType = {
|
|
|
1113
1139
|
orgAdminTriggered: boolean;
|
|
1114
1140
|
isVerified: boolean | null;
|
|
1115
1141
|
};
|
|
1116
|
-
export type ButtonClickedProfileHeaderMediaPickerUploadAttributesType =
|
|
1142
|
+
export type ButtonClickedProfileHeaderMediaPickerUploadAttributesType = {
|
|
1143
|
+
isNewUserProfile: boolean | null;
|
|
1144
|
+
};
|
|
1117
1145
|
export type ButtonClickedProfileHeaderRemoveAttributesType = undefined;
|
|
1118
1146
|
export type SendFeedbackClickedAttributesType = undefined;
|
|
1119
1147
|
export type ButtonClickedRemoveAvatarAttributesType = undefined;
|
|
@@ -1125,8 +1153,12 @@ export type AvatarPickerClosedAttributesType = {
|
|
|
1125
1153
|
export type AvatarPickerOpenedAttributesType = {
|
|
1126
1154
|
hasUploadedAvatar: boolean;
|
|
1127
1155
|
};
|
|
1128
|
-
export type ButtonClickedChangeProfilePhotoAttributesType =
|
|
1129
|
-
|
|
1156
|
+
export type ButtonClickedChangeProfilePhotoAttributesType = {
|
|
1157
|
+
isNewUserProfile: boolean | null;
|
|
1158
|
+
};
|
|
1159
|
+
export type ButtonClickedCreateInitialsAvatarAttributesType = {
|
|
1160
|
+
isNewUserProfile: boolean | null;
|
|
1161
|
+
};
|
|
1130
1162
|
export type AvatarInitialsPickerOpenedAttributesType = {
|
|
1131
1163
|
hasUploadedAvatar: boolean;
|
|
1132
1164
|
};
|
|
@@ -1171,7 +1203,9 @@ export type TeamCreateDialogTriggerButtonClickedAttributesType = {
|
|
|
1171
1203
|
trigger: string;
|
|
1172
1204
|
isNewUserProfile: boolean | null;
|
|
1173
1205
|
};
|
|
1174
|
-
export type ButtonClickedManageAccountButtonAttributesType =
|
|
1206
|
+
export type ButtonClickedManageAccountButtonAttributesType = {
|
|
1207
|
+
isNewUserProfile: boolean | null;
|
|
1208
|
+
};
|
|
1175
1209
|
export type ButtonClickedManageAccessButtonAttributesType = undefined;
|
|
1176
1210
|
export type UserProfileScreenLoadFailedAttributesType = {
|
|
1177
1211
|
isNewUserProfile: boolean | null;
|
|
@@ -1179,6 +1213,7 @@ export type UserProfileScreenLoadFailedAttributesType = {
|
|
|
1179
1213
|
export type UserProfileScreenViewedAttributesType = {
|
|
1180
1214
|
isCurrentUser: boolean;
|
|
1181
1215
|
isNewUserProfile: boolean | null;
|
|
1216
|
+
tab: string | null;
|
|
1182
1217
|
};
|
|
1183
1218
|
export type ViewAllWorkClickedAttributesType = {
|
|
1184
1219
|
location: string;
|
|
@@ -1448,6 +1483,15 @@ export type FeatureExposedAttributesType = {
|
|
|
1448
1483
|
export type InvitePromptShowContainerAddedFlagFailedAttributesType = {
|
|
1449
1484
|
error: string;
|
|
1450
1485
|
};
|
|
1486
|
+
export type RequestedContainersTryAgainAttributesType = {
|
|
1487
|
+
containers: unknown[];
|
|
1488
|
+
teamId: string;
|
|
1489
|
+
};
|
|
1490
|
+
export type RequestedContainersFailedAttributesType = {
|
|
1491
|
+
containers: unknown[];
|
|
1492
|
+
teamId: string;
|
|
1493
|
+
tryAgainCount: number | null;
|
|
1494
|
+
};
|
|
1451
1495
|
export type AnalyticsEventAttributes = {
|
|
1452
1496
|
/**
|
|
1453
1497
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1862,6 +1906,10 @@ export type AnalyticsEventAttributes = {
|
|
|
1862
1906
|
/** */
|
|
1863
1907
|
'operational.recommendedProducts.taskFail': RecommendedProductsTaskFailAttributesType;
|
|
1864
1908
|
/** */
|
|
1909
|
+
'operational.projectsAndGoals.taskStart': ProjectsAndGoalsTaskStartAttributesType;
|
|
1910
|
+
/** */
|
|
1911
|
+
'operational.projectsAndGoals.taskSuccess': ProjectsAndGoalsTaskSuccessAttributesType;
|
|
1912
|
+
/** */
|
|
1865
1913
|
'operational.teamsPermissionsRequest.failed': TeamsPermissionsRequestFailedAttributesType;
|
|
1866
1914
|
/** */
|
|
1867
1915
|
'operational.teamsPermissionsRequest.succeeded': TeamsPermissionsRequestSucceededAttributesType;
|
|
@@ -2465,5 +2513,11 @@ export type AnalyticsEventAttributes = {
|
|
|
2465
2513
|
/**
|
|
2466
2514
|
* Fired when something fails horribly inside of showContainerAddedFlagFailed */
|
|
2467
2515
|
'operational.invitePrompt.showContainerAddedFlagFailed': InvitePromptShowContainerAddedFlagFailedAttributesType;
|
|
2516
|
+
/**
|
|
2517
|
+
* Fired when the user tries to add requested containers again */
|
|
2518
|
+
'track.requestedContainers.tryAgain': RequestedContainersTryAgainAttributesType;
|
|
2519
|
+
/**
|
|
2520
|
+
* Fired when the user fails to add requested containers */
|
|
2521
|
+
'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
|
|
2468
2522
|
};
|
|
2469
2523
|
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::
|
|
6
|
+
* @codegen <<SignedSource::75e27d84529f4d2b7d1f40c1944f5f61>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -642,6 +642,22 @@ export type RecommendedProductsTaskFailAttributesType = {
|
|
|
642
642
|
isStandalone: boolean;
|
|
643
643
|
hasBrowsUsersPermission: boolean;
|
|
644
644
|
};
|
|
645
|
+
export type ProjectsAndGoalsTaskStartAttributesType = {
|
|
646
|
+
sloSatisifed: boolean;
|
|
647
|
+
taskDuration: number;
|
|
648
|
+
latencySlo: number;
|
|
649
|
+
isStandalone: boolean;
|
|
650
|
+
hasBrowsUsersPermission: boolean;
|
|
651
|
+
tab: string | null;
|
|
652
|
+
};
|
|
653
|
+
export type ProjectsAndGoalsTaskSuccessAttributesType = {
|
|
654
|
+
sloSatisifed: boolean;
|
|
655
|
+
taskDuration: number;
|
|
656
|
+
latencySlo: number;
|
|
657
|
+
isStandalone: boolean;
|
|
658
|
+
hasBrowsUsersPermission: boolean;
|
|
659
|
+
tab: string | null;
|
|
660
|
+
};
|
|
645
661
|
export type TeamsPermissionsRequestFailedAttributesType = {
|
|
646
662
|
message: string;
|
|
647
663
|
status: string;
|
|
@@ -1030,12 +1046,18 @@ export type ProfileProjectsAndGoalsViewedAttributesType = {
|
|
|
1030
1046
|
hasProjects: boolean;
|
|
1031
1047
|
product: string;
|
|
1032
1048
|
workspaceUuid: string | null;
|
|
1049
|
+
isNewUserProfile: boolean | null;
|
|
1050
|
+
tab: string | null;
|
|
1033
1051
|
};
|
|
1034
1052
|
export type ProfileProjectsLinkClickedAttributesType = {
|
|
1035
1053
|
entryIndex: number;
|
|
1054
|
+
isNewUserProfile: boolean | null;
|
|
1055
|
+
tab: string | null;
|
|
1036
1056
|
};
|
|
1037
1057
|
export type ProfileGoalsLinkClickedAttributesType = {
|
|
1038
1058
|
entryIndex: number;
|
|
1059
|
+
isNewUserProfile: boolean | null;
|
|
1060
|
+
tab: string | null;
|
|
1039
1061
|
};
|
|
1040
1062
|
export type ButtonClickedFollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
1041
1063
|
export type ButtonClickedUnfollowTeamProjectsGoalsButtonAttributesType = undefined;
|
|
@@ -1046,6 +1068,8 @@ export type ErrorBoundaryTriggeredAttributesType = {
|
|
|
1046
1068
|
};
|
|
1047
1069
|
export type ProfileKudosViewedAttributesType = {
|
|
1048
1070
|
isEmpty: boolean;
|
|
1071
|
+
isNewUserProfile: boolean | null;
|
|
1072
|
+
tab: string | null;
|
|
1049
1073
|
};
|
|
1050
1074
|
export type ProfileKudosTabClickedAttributesType = {
|
|
1051
1075
|
tabName: 'given' | 'received';
|
|
@@ -1065,6 +1089,8 @@ export type ReportingLinesChartExpandedAttributesType = {
|
|
|
1065
1089
|
export type ReportingLinesChartViewedAttributesType = {
|
|
1066
1090
|
product: string;
|
|
1067
1091
|
workspaceUuid: string | null;
|
|
1092
|
+
isNewUserProfile: boolean | null;
|
|
1093
|
+
tab: string | null;
|
|
1068
1094
|
};
|
|
1069
1095
|
export type UiViewedAttributesType = {
|
|
1070
1096
|
product: string;
|
|
@@ -1113,7 +1139,9 @@ export type HeaderImageSucceededTeamHeaderImageAttributesType = {
|
|
|
1113
1139
|
orgAdminTriggered: boolean;
|
|
1114
1140
|
isVerified: boolean | null;
|
|
1115
1141
|
};
|
|
1116
|
-
export type ButtonClickedProfileHeaderMediaPickerUploadAttributesType =
|
|
1142
|
+
export type ButtonClickedProfileHeaderMediaPickerUploadAttributesType = {
|
|
1143
|
+
isNewUserProfile: boolean | null;
|
|
1144
|
+
};
|
|
1117
1145
|
export type ButtonClickedProfileHeaderRemoveAttributesType = undefined;
|
|
1118
1146
|
export type SendFeedbackClickedAttributesType = undefined;
|
|
1119
1147
|
export type ButtonClickedRemoveAvatarAttributesType = undefined;
|
|
@@ -1125,8 +1153,12 @@ export type AvatarPickerClosedAttributesType = {
|
|
|
1125
1153
|
export type AvatarPickerOpenedAttributesType = {
|
|
1126
1154
|
hasUploadedAvatar: boolean;
|
|
1127
1155
|
};
|
|
1128
|
-
export type ButtonClickedChangeProfilePhotoAttributesType =
|
|
1129
|
-
|
|
1156
|
+
export type ButtonClickedChangeProfilePhotoAttributesType = {
|
|
1157
|
+
isNewUserProfile: boolean | null;
|
|
1158
|
+
};
|
|
1159
|
+
export type ButtonClickedCreateInitialsAvatarAttributesType = {
|
|
1160
|
+
isNewUserProfile: boolean | null;
|
|
1161
|
+
};
|
|
1130
1162
|
export type AvatarInitialsPickerOpenedAttributesType = {
|
|
1131
1163
|
hasUploadedAvatar: boolean;
|
|
1132
1164
|
};
|
|
@@ -1171,7 +1203,9 @@ export type TeamCreateDialogTriggerButtonClickedAttributesType = {
|
|
|
1171
1203
|
trigger: string;
|
|
1172
1204
|
isNewUserProfile: boolean | null;
|
|
1173
1205
|
};
|
|
1174
|
-
export type ButtonClickedManageAccountButtonAttributesType =
|
|
1206
|
+
export type ButtonClickedManageAccountButtonAttributesType = {
|
|
1207
|
+
isNewUserProfile: boolean | null;
|
|
1208
|
+
};
|
|
1175
1209
|
export type ButtonClickedManageAccessButtonAttributesType = undefined;
|
|
1176
1210
|
export type UserProfileScreenLoadFailedAttributesType = {
|
|
1177
1211
|
isNewUserProfile: boolean | null;
|
|
@@ -1179,6 +1213,7 @@ export type UserProfileScreenLoadFailedAttributesType = {
|
|
|
1179
1213
|
export type UserProfileScreenViewedAttributesType = {
|
|
1180
1214
|
isCurrentUser: boolean;
|
|
1181
1215
|
isNewUserProfile: boolean | null;
|
|
1216
|
+
tab: string | null;
|
|
1182
1217
|
};
|
|
1183
1218
|
export type ViewAllWorkClickedAttributesType = {
|
|
1184
1219
|
location: string;
|
|
@@ -1448,6 +1483,15 @@ export type FeatureExposedAttributesType = {
|
|
|
1448
1483
|
export type InvitePromptShowContainerAddedFlagFailedAttributesType = {
|
|
1449
1484
|
error: string;
|
|
1450
1485
|
};
|
|
1486
|
+
export type RequestedContainersTryAgainAttributesType = {
|
|
1487
|
+
containers: unknown[];
|
|
1488
|
+
teamId: string;
|
|
1489
|
+
};
|
|
1490
|
+
export type RequestedContainersFailedAttributesType = {
|
|
1491
|
+
containers: unknown[];
|
|
1492
|
+
teamId: string;
|
|
1493
|
+
tryAgainCount: number | null;
|
|
1494
|
+
};
|
|
1451
1495
|
export type AnalyticsEventAttributes = {
|
|
1452
1496
|
/**
|
|
1453
1497
|
* fired when the teams-app-internal-analytics example button is clicked */
|
|
@@ -1862,6 +1906,10 @@ export type AnalyticsEventAttributes = {
|
|
|
1862
1906
|
/** */
|
|
1863
1907
|
'operational.recommendedProducts.taskFail': RecommendedProductsTaskFailAttributesType;
|
|
1864
1908
|
/** */
|
|
1909
|
+
'operational.projectsAndGoals.taskStart': ProjectsAndGoalsTaskStartAttributesType;
|
|
1910
|
+
/** */
|
|
1911
|
+
'operational.projectsAndGoals.taskSuccess': ProjectsAndGoalsTaskSuccessAttributesType;
|
|
1912
|
+
/** */
|
|
1865
1913
|
'operational.teamsPermissionsRequest.failed': TeamsPermissionsRequestFailedAttributesType;
|
|
1866
1914
|
/** */
|
|
1867
1915
|
'operational.teamsPermissionsRequest.succeeded': TeamsPermissionsRequestSucceededAttributesType;
|
|
@@ -2465,5 +2513,11 @@ export type AnalyticsEventAttributes = {
|
|
|
2465
2513
|
/**
|
|
2466
2514
|
* Fired when something fails horribly inside of showContainerAddedFlagFailed */
|
|
2467
2515
|
'operational.invitePrompt.showContainerAddedFlagFailed': InvitePromptShowContainerAddedFlagFailedAttributesType;
|
|
2516
|
+
/**
|
|
2517
|
+
* Fired when the user tries to add requested containers again */
|
|
2518
|
+
'track.requestedContainers.tryAgain': RequestedContainersTryAgainAttributesType;
|
|
2519
|
+
/**
|
|
2520
|
+
* Fired when the user fails to add requested containers */
|
|
2521
|
+
'track.requestedContainers.failed': RequestedContainersFailedAttributesType;
|
|
2468
2522
|
};
|
|
2469
2523
|
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.
|
|
87
|
+
"version": "1.24.1",
|
|
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",
|