@atlaskit/teams-app-internal-analytics 1.27.3 → 1.27.4
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 +8 -0
- package/analytics.spec.yaml +271 -0
- 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 +153 -1
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +153 -1
- package/package.json +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.27.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7fb5bfbafb83e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7fb5bfbafb83e) -
|
|
8
|
+
Enrol people-and-teams packages into the React Compiler with platform gating via
|
|
9
|
+
isReactCompilerActivePlatform
|
|
10
|
+
|
|
3
11
|
## 1.27.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -394,6 +394,247 @@ events:
|
|
|
394
394
|
type: []
|
|
395
395
|
required: false
|
|
396
396
|
description: the result
|
|
397
|
+
- inviteToSoftwareAndBusinessProjects succeeded:
|
|
398
|
+
type: track
|
|
399
|
+
description: fired when inviting users to software and business projects succeeded
|
|
400
|
+
attributes:
|
|
401
|
+
<<: *PackageMetaDataContext
|
|
402
|
+
touchpoint:
|
|
403
|
+
type: string
|
|
404
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
405
|
+
spacesCount:
|
|
406
|
+
type: number
|
|
407
|
+
description: the number of spaces the invite was attempted for
|
|
408
|
+
newUsersCount:
|
|
409
|
+
type: number
|
|
410
|
+
description: the number of new users invited by email
|
|
411
|
+
existingUsersCount:
|
|
412
|
+
type: number
|
|
413
|
+
description: the number of existing users invited by account id
|
|
414
|
+
usersInvitedCount:
|
|
415
|
+
type: number
|
|
416
|
+
description: the number of users successfully invited with INVITED status
|
|
417
|
+
usersRequestedAccessCount:
|
|
418
|
+
type: number
|
|
419
|
+
description: the number of users with INVITED_PENDING_APPROVAL status
|
|
420
|
+
usersAlreadyExistsCount:
|
|
421
|
+
type: number
|
|
422
|
+
description: the number of invite results with USER_EXISTS status
|
|
423
|
+
usersPendingInviteCount:
|
|
424
|
+
type: number
|
|
425
|
+
description: the number of invite results with PENDING_INVITE_EXISTS status
|
|
426
|
+
invitesFailedCount:
|
|
427
|
+
type: number
|
|
428
|
+
description: the number of invite results with NOT_INVITED status
|
|
429
|
+
totalRequests:
|
|
430
|
+
type: number
|
|
431
|
+
description: the total number of invite results returned
|
|
432
|
+
projectAccessGrantedCount:
|
|
433
|
+
type: number
|
|
434
|
+
description: the number of invite results with GRANTED project access status
|
|
435
|
+
projectAccessPendingCount:
|
|
436
|
+
type: number
|
|
437
|
+
description: the number of invite results with PENDING project access status
|
|
438
|
+
projectAccessExistingCount:
|
|
439
|
+
type: number
|
|
440
|
+
description: the number of invite results with EXISTING project access status
|
|
441
|
+
projectAccessNotGrantedCount:
|
|
442
|
+
type: number
|
|
443
|
+
description: the number of invite results with NOT_GRANTED project access status
|
|
444
|
+
- inviteToSoftwareAndBusinessProjects failed:
|
|
445
|
+
type: track
|
|
446
|
+
description: fired when inviting users to software and business projects failed
|
|
447
|
+
attributes:
|
|
448
|
+
<<: *PackageMetaDataContext
|
|
449
|
+
touchpoint:
|
|
450
|
+
type: string
|
|
451
|
+
required: false
|
|
452
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
453
|
+
message:
|
|
454
|
+
type: string
|
|
455
|
+
description: the error message
|
|
456
|
+
spacesCount:
|
|
457
|
+
type: number
|
|
458
|
+
description: the number of spaces the invite was attempted for
|
|
459
|
+
newUsersCount:
|
|
460
|
+
type: number
|
|
461
|
+
description: the number of new users invited by email
|
|
462
|
+
existingUsersCount:
|
|
463
|
+
type: number
|
|
464
|
+
description: the number of existing users invited by account id
|
|
465
|
+
- sendSpaceTeamInvites scheduled:
|
|
466
|
+
type: track
|
|
467
|
+
description: fired when a space invite is scheduled (queued in the debounce window)
|
|
468
|
+
attributes:
|
|
469
|
+
<<: *PackageMetaDataContext
|
|
470
|
+
spaceId:
|
|
471
|
+
type: string
|
|
472
|
+
description: the space or project the invite was scheduled for
|
|
473
|
+
teamId:
|
|
474
|
+
type: string
|
|
475
|
+
description: the team whose members will be invited
|
|
476
|
+
- sendSpaceTeamInvites sending:
|
|
477
|
+
type: track
|
|
478
|
+
description: fired when a scheduled space invite begins sending (debounce window elapsed)
|
|
479
|
+
attributes:
|
|
480
|
+
<<: *PackageMetaDataContext
|
|
481
|
+
spaceId:
|
|
482
|
+
type: string
|
|
483
|
+
description: the space or project the invite is being sent to
|
|
484
|
+
teamId:
|
|
485
|
+
type: string
|
|
486
|
+
description: the team whose members are being invited
|
|
487
|
+
- project updated:
|
|
488
|
+
type: track
|
|
489
|
+
description:
|
|
490
|
+
fired when a space invite request completes successfully and the project membership is
|
|
491
|
+
updated
|
|
492
|
+
attributes:
|
|
493
|
+
<<: *PackageMetaDataContext
|
|
494
|
+
spaceId:
|
|
495
|
+
type: string
|
|
496
|
+
description: the space or project the invite was sent to
|
|
497
|
+
teamId:
|
|
498
|
+
type: string
|
|
499
|
+
description: the team whose members were invited
|
|
500
|
+
teamInviteStatus:
|
|
501
|
+
type: ['SUCCESS', 'PARTIAL_SUCCESS', 'FAILED', 'SKIPPED']
|
|
502
|
+
description: the outcome status of the invite (SUCCESS, PARTIAL_SUCCESS, FAILED, SKIPPED)
|
|
503
|
+
totalTeamCount:
|
|
504
|
+
type: number
|
|
505
|
+
description: total number of teams in the invite batch
|
|
506
|
+
totalMemberCount:
|
|
507
|
+
type: number
|
|
508
|
+
description: total number of members resolved across all teams
|
|
509
|
+
failedTeamCount:
|
|
510
|
+
type: number
|
|
511
|
+
description: number of teams where the invite was not fully successful
|
|
512
|
+
successTeamCount:
|
|
513
|
+
type: number
|
|
514
|
+
description: number of teams where at least some members were invited
|
|
515
|
+
failedInviteCount:
|
|
516
|
+
type: number
|
|
517
|
+
description: total number of members who failed to be invited
|
|
518
|
+
successInviteCount:
|
|
519
|
+
type: number
|
|
520
|
+
description: total number of members successfully invited
|
|
521
|
+
touchpoint:
|
|
522
|
+
type: ['teamProfileSpaceLinking', 'spaceNavTeamLinking']
|
|
523
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
524
|
+
- projectUpdate failed:
|
|
525
|
+
type: track
|
|
526
|
+
description: fired when a space invite for team members failed
|
|
527
|
+
attributes:
|
|
528
|
+
<<: *PackageMetaDataContext
|
|
529
|
+
message:
|
|
530
|
+
type: string
|
|
531
|
+
required: false
|
|
532
|
+
description: the error message when a network or parsing error occurs
|
|
533
|
+
spaceId:
|
|
534
|
+
type: string
|
|
535
|
+
description: the space or project the invite was attempted for
|
|
536
|
+
teamId:
|
|
537
|
+
type: string
|
|
538
|
+
required: false
|
|
539
|
+
description: the team whose members failed to be invited
|
|
540
|
+
teamInviteStatus:
|
|
541
|
+
type: ['SUCCESS', 'PARTIAL_SUCCESS', 'FAILED', 'SKIPPED']
|
|
542
|
+
required: false
|
|
543
|
+
description:
|
|
544
|
+
the outcome status from the API (FAILED, SKIPPED) when the request succeeded but no
|
|
545
|
+
members were invited
|
|
546
|
+
totalTeamCount:
|
|
547
|
+
type: number
|
|
548
|
+
required: false
|
|
549
|
+
description: total number of teams in the invite batch
|
|
550
|
+
totalMemberCount:
|
|
551
|
+
type: number
|
|
552
|
+
required: false
|
|
553
|
+
description: total number of members resolved across all teams
|
|
554
|
+
failedTeamCount:
|
|
555
|
+
type: number
|
|
556
|
+
required: false
|
|
557
|
+
description: number of teams where the invite was not fully successful
|
|
558
|
+
successTeamCount:
|
|
559
|
+
type: number
|
|
560
|
+
required: false
|
|
561
|
+
description: number of teams where at least some members were invited
|
|
562
|
+
failedInviteCount:
|
|
563
|
+
type: number
|
|
564
|
+
required: false
|
|
565
|
+
description: total number of members who failed to be invited
|
|
566
|
+
successInviteCount:
|
|
567
|
+
type: number
|
|
568
|
+
required: false
|
|
569
|
+
description: total number of members successfully invited
|
|
570
|
+
touchpoint:
|
|
571
|
+
type: ['teamProfileSpaceLinking', 'spaceNavTeamLinking']
|
|
572
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
573
|
+
- user invited:
|
|
574
|
+
type: track
|
|
575
|
+
description:
|
|
576
|
+
fired when a user is successfully invited to a project via the team profile add people to
|
|
577
|
+
project flow (INVITED or USER_EXISTS status)
|
|
578
|
+
attributes:
|
|
579
|
+
<<: *PackageMetaDataContext
|
|
580
|
+
userId:
|
|
581
|
+
type: string
|
|
582
|
+
required: false
|
|
583
|
+
description: the AAID or email of the invited user
|
|
584
|
+
inviteStatus:
|
|
585
|
+
type: string
|
|
586
|
+
description: the invite status returned by the API (INVITED, USER_EXISTS)
|
|
587
|
+
projectAccessStatus:
|
|
588
|
+
type: string
|
|
589
|
+
required: false
|
|
590
|
+
description: the project access status returned by the API (GRANTED, EXISTING)
|
|
591
|
+
projectId:
|
|
592
|
+
type: number
|
|
593
|
+
description: the project/space ID the user was invited to
|
|
594
|
+
touchpoint:
|
|
595
|
+
type: string
|
|
596
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
597
|
+
- productAccess requested:
|
|
598
|
+
type: track
|
|
599
|
+
description:
|
|
600
|
+
fired when a product access request is submitted for a user via the team profile add people
|
|
601
|
+
to project flow (INVITED_PENDING_APPROVAL or PENDING_INVITE_EXISTS status)
|
|
602
|
+
attributes:
|
|
603
|
+
<<: *PackageMetaDataContext
|
|
604
|
+
requestedForUserId:
|
|
605
|
+
type: string
|
|
606
|
+
required: false
|
|
607
|
+
description: the AAID or email of the user whose access was requested
|
|
608
|
+
inviteStatus:
|
|
609
|
+
type: string
|
|
610
|
+
description:
|
|
611
|
+
the invite status returned by the API (INVITED_PENDING_APPROVAL, PENDING_INVITE_EXISTS)
|
|
612
|
+
projectAccessStatus:
|
|
613
|
+
type: string
|
|
614
|
+
required: false
|
|
615
|
+
description: the project access status returned by the API (PENDING)
|
|
616
|
+
projectId:
|
|
617
|
+
type: number
|
|
618
|
+
description: the project/space ID access was requested for
|
|
619
|
+
exists:
|
|
620
|
+
type: boolean
|
|
621
|
+
description:
|
|
622
|
+
whether the access request already existed (true for PENDING_INVITE_EXISTS, false for
|
|
623
|
+
INVITED_PENDING_APPROVAL)
|
|
624
|
+
touchpoint:
|
|
625
|
+
type: string
|
|
626
|
+
description: identifies the UI touchpoint that triggered the invite
|
|
627
|
+
- sendSpaceTeamInvites cancelled:
|
|
628
|
+
type: track
|
|
629
|
+
description: fired when a pending space invite is cancelled before it was sent
|
|
630
|
+
attributes:
|
|
631
|
+
<<: *PackageMetaDataContext
|
|
632
|
+
spaceId:
|
|
633
|
+
type: string
|
|
634
|
+
description: the space or project the invite was cancelled for
|
|
635
|
+
teamId:
|
|
636
|
+
type: string
|
|
637
|
+
description: the team whose invite was cancelled
|
|
397
638
|
- containerPermissions succeeded:
|
|
398
639
|
type: track
|
|
399
640
|
description: fired when the container permissions are succeeded
|
|
@@ -3165,6 +3406,36 @@ events:
|
|
|
3165
3406
|
type: screen
|
|
3166
3407
|
description:
|
|
3167
3408
|
fired when user profile working with me section is viewed (only when section has content)
|
|
3409
|
+
- userProfileWorkingWithMeEmptyState viewed:
|
|
3410
|
+
type: screen
|
|
3411
|
+
description:
|
|
3412
|
+
fired when user profile working with me empty state is viewed (only when section has no
|
|
3413
|
+
content)
|
|
3414
|
+
- workingWithMeEditButton clicked:
|
|
3415
|
+
type: ui
|
|
3416
|
+
description: fired when user clicks the edit button on the working with me section
|
|
3417
|
+
- workingWithMe saved:
|
|
3418
|
+
type: track
|
|
3419
|
+
description: fired when user saves the working with me section
|
|
3420
|
+
attributes:
|
|
3421
|
+
isEmpty:
|
|
3422
|
+
type: boolean
|
|
3423
|
+
description: whether the saved content is empty
|
|
3424
|
+
- addPronounsButton clicked:
|
|
3425
|
+
type: ui
|
|
3426
|
+
description: fired when user clicks the add pronouns button on the user profile header
|
|
3427
|
+
- editPronounsButton clicked:
|
|
3428
|
+
type: ui
|
|
3429
|
+
description: fired when user clicks the edit pronouns button on the user profile header
|
|
3430
|
+
- pronouns saved:
|
|
3431
|
+
type: track
|
|
3432
|
+
description: fired when user successfully saves pronouns
|
|
3433
|
+
attributes:
|
|
3434
|
+
isUpdate:
|
|
3435
|
+
type: boolean
|
|
3436
|
+
description:
|
|
3437
|
+
whether the action was an update to existing pronouns (true) or adding new pronouns
|
|
3438
|
+
(false)
|
|
3168
3439
|
- teamAgentsPanel viewed:
|
|
3169
3440
|
type: screen
|
|
3170
3441
|
description: fired when team agents panel is viewed
|
|
@@ -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: "1.27.3"
|
|
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: "1.27.3"
|
|
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: "1.27.3"
|
|
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::2317f0bdf5554824b2cfc647cb3497bb>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -95,6 +95,107 @@ export type InviteToProductServiceFailedAttributesType = {
|
|
|
95
95
|
errors: unknown[] | null;
|
|
96
96
|
result: unknown[] | null;
|
|
97
97
|
};
|
|
98
|
+
export type InviteToSoftwareAndBusinessProjectsSucceededAttributesType = {
|
|
99
|
+
touchpoint: string;
|
|
100
|
+
spacesCount: number;
|
|
101
|
+
newUsersCount: number;
|
|
102
|
+
existingUsersCount: number;
|
|
103
|
+
usersInvitedCount: number;
|
|
104
|
+
usersRequestedAccessCount: number;
|
|
105
|
+
usersAlreadyExistsCount: number;
|
|
106
|
+
usersPendingInviteCount: number;
|
|
107
|
+
invitesFailedCount: number;
|
|
108
|
+
totalRequests: number;
|
|
109
|
+
projectAccessGrantedCount: number;
|
|
110
|
+
projectAccessPendingCount: number;
|
|
111
|
+
projectAccessExistingCount: number;
|
|
112
|
+
projectAccessNotGrantedCount: number;
|
|
113
|
+
};
|
|
114
|
+
export type InviteToSoftwareAndBusinessProjectsFailedAttributesType = {
|
|
115
|
+
touchpoint?: string | null;
|
|
116
|
+
message: string;
|
|
117
|
+
spacesCount: number;
|
|
118
|
+
newUsersCount: number;
|
|
119
|
+
existingUsersCount: number;
|
|
120
|
+
usersInvitedCount?: number | null;
|
|
121
|
+
usersRequestedAccessCount?: number | null;
|
|
122
|
+
usersAlreadyExistsCount?: number | null;
|
|
123
|
+
usersPendingInviteCount?: number | null;
|
|
124
|
+
invitesFailedCount?: number | null;
|
|
125
|
+
totalRequests?: number | null;
|
|
126
|
+
projectAccessGrantedCount?: number | null;
|
|
127
|
+
projectAccessPendingCount?: number | null;
|
|
128
|
+
projectAccessExistingCount?: number | null;
|
|
129
|
+
projectAccessNotGrantedCount?: number | null;
|
|
130
|
+
};
|
|
131
|
+
export type InviteToProjectUpdatedAttributesType = {
|
|
132
|
+
spaceId: number;
|
|
133
|
+
touchpoint: string;
|
|
134
|
+
numberOfUsersInvitedByEmail: number;
|
|
135
|
+
numberOfUsersRequestedAccess: number;
|
|
136
|
+
numberOfInvitesFailed: number;
|
|
137
|
+
totalRequests: number;
|
|
138
|
+
};
|
|
139
|
+
export type InviteToProjectUpdateFailedAttributesType = {
|
|
140
|
+
spaceId: number;
|
|
141
|
+
touchpoint: string;
|
|
142
|
+
numberOfUsersInvitedByEmail: number;
|
|
143
|
+
numberOfUsersRequestedAccess: number;
|
|
144
|
+
numberOfInvitesFailed: number;
|
|
145
|
+
totalRequests: number;
|
|
146
|
+
};
|
|
147
|
+
export type UserInvitedAttributesType = {
|
|
148
|
+
userId: string | null;
|
|
149
|
+
inviteStatus: string;
|
|
150
|
+
projectAccessStatus?: string | null;
|
|
151
|
+
projectId: number;
|
|
152
|
+
touchpoint: string;
|
|
153
|
+
};
|
|
154
|
+
export type ProductAccessRequestedAttributesType = {
|
|
155
|
+
requestedForUserId: string | null;
|
|
156
|
+
inviteStatus: string;
|
|
157
|
+
projectAccessStatus?: string | null;
|
|
158
|
+
projectId: number;
|
|
159
|
+
exists: boolean;
|
|
160
|
+
touchpoint: string;
|
|
161
|
+
};
|
|
162
|
+
export type SendSpaceTeamInvitesScheduledAttributesType = {
|
|
163
|
+
spaceId: string;
|
|
164
|
+
teamId: string;
|
|
165
|
+
};
|
|
166
|
+
export type SendSpaceTeamInvitesSendingAttributesType = {
|
|
167
|
+
spaceId: string;
|
|
168
|
+
teamId: string;
|
|
169
|
+
};
|
|
170
|
+
export type ProjectUpdatedAttributesType = {
|
|
171
|
+
spaceId: string;
|
|
172
|
+
teamId: string;
|
|
173
|
+
teamInviteStatus: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED' | 'SKIPPED';
|
|
174
|
+
totalTeamCount: number;
|
|
175
|
+
totalMemberCount: number;
|
|
176
|
+
failedTeamCount: number;
|
|
177
|
+
successTeamCount: number;
|
|
178
|
+
failedInviteCount: number;
|
|
179
|
+
successInviteCount: number;
|
|
180
|
+
touchpoint: 'teamProfileSpaceLinking' | 'spaceNavTeamLinking';
|
|
181
|
+
};
|
|
182
|
+
export type ProjectUpdateFailedAttributesType = {
|
|
183
|
+
message: string | null;
|
|
184
|
+
spaceId: string;
|
|
185
|
+
teamId: string | null;
|
|
186
|
+
teamInviteStatus: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED' | 'SKIPPED' | null;
|
|
187
|
+
totalTeamCount: number | null;
|
|
188
|
+
totalMemberCount: number | null;
|
|
189
|
+
failedTeamCount: number | null;
|
|
190
|
+
successTeamCount: number | null;
|
|
191
|
+
failedInviteCount: number | null;
|
|
192
|
+
successInviteCount: number | null;
|
|
193
|
+
touchpoint: 'teamProfileSpaceLinking' | 'spaceNavTeamLinking';
|
|
194
|
+
};
|
|
195
|
+
export type SendSpaceTeamInvitesCancelledAttributesType = {
|
|
196
|
+
spaceId: string;
|
|
197
|
+
teamId: string;
|
|
198
|
+
};
|
|
98
199
|
export type ContainerPermissionsSucceededAttributesType = {
|
|
99
200
|
canCreateConfluenceContainer: boolean;
|
|
100
201
|
canCreateJiraContainer: boolean;
|
|
@@ -1433,6 +1534,16 @@ export type UserProfileAboutTeamsViewedAttributesType = {
|
|
|
1433
1534
|
isNewUserProfile: boolean | null;
|
|
1434
1535
|
};
|
|
1435
1536
|
export type UserProfileWorkingWithMeViewedAttributesType = undefined;
|
|
1537
|
+
export type UserProfileWorkingWithMeEmptyStateViewedAttributesType = undefined;
|
|
1538
|
+
export type WorkingWithMeEditButtonClickedAttributesType = undefined;
|
|
1539
|
+
export type WorkingWithMeSavedAttributesType = {
|
|
1540
|
+
isEmpty: boolean;
|
|
1541
|
+
};
|
|
1542
|
+
export type AddPronounsButtonClickedAttributesType = undefined;
|
|
1543
|
+
export type EditPronounsButtonClickedAttributesType = undefined;
|
|
1544
|
+
export type PronounsSavedAttributesType = {
|
|
1545
|
+
isUpdate: boolean;
|
|
1546
|
+
};
|
|
1436
1547
|
export type TeamAgentsPanelViewedAttributesType = {
|
|
1437
1548
|
activeAgentsCount: number;
|
|
1438
1549
|
};
|
|
@@ -1634,6 +1745,29 @@ export type AnalyticsEventAttributes = {
|
|
|
1634
1745
|
/**
|
|
1635
1746
|
* fired when the invite to product service failed */
|
|
1636
1747
|
'track.inviteToProductService.failed': InviteToProductServiceFailedAttributesType;
|
|
1748
|
+
/**
|
|
1749
|
+
* fired when inviting users to software and business projects succeeded */
|
|
1750
|
+
'track.inviteToSoftwareAndBusinessProjects.succeeded': InviteToSoftwareAndBusinessProjectsSucceededAttributesType;
|
|
1751
|
+
/**
|
|
1752
|
+
* fired when inviting users to software and business projects failed */
|
|
1753
|
+
'track.inviteToSoftwareAndBusinessProjects.failed': InviteToSoftwareAndBusinessProjectsFailedAttributesType;
|
|
1754
|
+
/**
|
|
1755
|
+
* fired when a space invite is scheduled (queued in the debounce window) */
|
|
1756
|
+
'track.sendSpaceTeamInvites.scheduled': SendSpaceTeamInvitesScheduledAttributesType;
|
|
1757
|
+
/**
|
|
1758
|
+
* fired when a scheduled space invite begins sending (debounce window elapsed) */
|
|
1759
|
+
'track.sendSpaceTeamInvites.sending': SendSpaceTeamInvitesSendingAttributesType;
|
|
1760
|
+
/**
|
|
1761
|
+
* fired when a space invite request completes successfully and the project membership is updated */
|
|
1762
|
+
'track.project.updated': ProjectUpdatedAttributesType | InviteToProjectUpdatedAttributesType;
|
|
1763
|
+
/**
|
|
1764
|
+
* fired when a space invite for team members failed */
|
|
1765
|
+
'track.projectUpdate.failed': ProjectUpdateFailedAttributesType | InviteToProjectUpdateFailedAttributesType;
|
|
1766
|
+
'track.user.invited': UserInvitedAttributesType;
|
|
1767
|
+
'track.productAccess.requested': ProductAccessRequestedAttributesType;
|
|
1768
|
+
/**
|
|
1769
|
+
* fired when a pending space invite is cancelled before it was sent */
|
|
1770
|
+
'track.sendSpaceTeamInvites.cancelled': SendSpaceTeamInvitesCancelledAttributesType;
|
|
1637
1771
|
/**
|
|
1638
1772
|
* fired when the container permissions are succeeded */
|
|
1639
1773
|
'track.containerPermissions.succeeded': ContainerPermissionsSucceededAttributesType;
|
|
@@ -2546,6 +2680,24 @@ export type AnalyticsEventAttributes = {
|
|
|
2546
2680
|
/**
|
|
2547
2681
|
* fired when user profile working with me section is viewed (only when section has content) */
|
|
2548
2682
|
'screen.userProfileWorkingWithMe.viewed': UserProfileWorkingWithMeViewedAttributesType;
|
|
2683
|
+
/**
|
|
2684
|
+
* fired when user profile working with me empty state is viewed (only when section has no content) */
|
|
2685
|
+
'screen.userProfileWorkingWithMeEmptyState.viewed': UserProfileWorkingWithMeEmptyStateViewedAttributesType;
|
|
2686
|
+
/**
|
|
2687
|
+
* fired when user clicks the edit button on the working with me section */
|
|
2688
|
+
'ui.workingWithMeEditButton.clicked': WorkingWithMeEditButtonClickedAttributesType;
|
|
2689
|
+
/**
|
|
2690
|
+
* fired when user saves the working with me section */
|
|
2691
|
+
'track.workingWithMe.saved': WorkingWithMeSavedAttributesType;
|
|
2692
|
+
/**
|
|
2693
|
+
* fired when user clicks the add pronouns button on the user profile header */
|
|
2694
|
+
'ui.addPronounsButton.clicked': AddPronounsButtonClickedAttributesType;
|
|
2695
|
+
/**
|
|
2696
|
+
* fired when user clicks the edit pronouns button on the user profile header */
|
|
2697
|
+
'ui.editPronounsButton.clicked': EditPronounsButtonClickedAttributesType;
|
|
2698
|
+
/**
|
|
2699
|
+
* fired when user successfully saves pronouns */
|
|
2700
|
+
'track.pronouns.saved': PronounsSavedAttributesType;
|
|
2549
2701
|
/**
|
|
2550
2702
|
* fired when team agents panel is viewed */
|
|
2551
2703
|
'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
|
|
@@ -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::2317f0bdf5554824b2cfc647cb3497bb>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -95,6 +95,107 @@ export type InviteToProductServiceFailedAttributesType = {
|
|
|
95
95
|
errors: unknown[] | null;
|
|
96
96
|
result: unknown[] | null;
|
|
97
97
|
};
|
|
98
|
+
export type InviteToSoftwareAndBusinessProjectsSucceededAttributesType = {
|
|
99
|
+
touchpoint: string;
|
|
100
|
+
spacesCount: number;
|
|
101
|
+
newUsersCount: number;
|
|
102
|
+
existingUsersCount: number;
|
|
103
|
+
usersInvitedCount: number;
|
|
104
|
+
usersRequestedAccessCount: number;
|
|
105
|
+
usersAlreadyExistsCount: number;
|
|
106
|
+
usersPendingInviteCount: number;
|
|
107
|
+
invitesFailedCount: number;
|
|
108
|
+
totalRequests: number;
|
|
109
|
+
projectAccessGrantedCount: number;
|
|
110
|
+
projectAccessPendingCount: number;
|
|
111
|
+
projectAccessExistingCount: number;
|
|
112
|
+
projectAccessNotGrantedCount: number;
|
|
113
|
+
};
|
|
114
|
+
export type InviteToSoftwareAndBusinessProjectsFailedAttributesType = {
|
|
115
|
+
touchpoint?: string | null;
|
|
116
|
+
message: string;
|
|
117
|
+
spacesCount: number;
|
|
118
|
+
newUsersCount: number;
|
|
119
|
+
existingUsersCount: number;
|
|
120
|
+
usersInvitedCount?: number | null;
|
|
121
|
+
usersRequestedAccessCount?: number | null;
|
|
122
|
+
usersAlreadyExistsCount?: number | null;
|
|
123
|
+
usersPendingInviteCount?: number | null;
|
|
124
|
+
invitesFailedCount?: number | null;
|
|
125
|
+
totalRequests?: number | null;
|
|
126
|
+
projectAccessGrantedCount?: number | null;
|
|
127
|
+
projectAccessPendingCount?: number | null;
|
|
128
|
+
projectAccessExistingCount?: number | null;
|
|
129
|
+
projectAccessNotGrantedCount?: number | null;
|
|
130
|
+
};
|
|
131
|
+
export type InviteToProjectUpdatedAttributesType = {
|
|
132
|
+
spaceId: number;
|
|
133
|
+
touchpoint: string;
|
|
134
|
+
numberOfUsersInvitedByEmail: number;
|
|
135
|
+
numberOfUsersRequestedAccess: number;
|
|
136
|
+
numberOfInvitesFailed: number;
|
|
137
|
+
totalRequests: number;
|
|
138
|
+
};
|
|
139
|
+
export type InviteToProjectUpdateFailedAttributesType = {
|
|
140
|
+
spaceId: number;
|
|
141
|
+
touchpoint: string;
|
|
142
|
+
numberOfUsersInvitedByEmail: number;
|
|
143
|
+
numberOfUsersRequestedAccess: number;
|
|
144
|
+
numberOfInvitesFailed: number;
|
|
145
|
+
totalRequests: number;
|
|
146
|
+
};
|
|
147
|
+
export type UserInvitedAttributesType = {
|
|
148
|
+
userId: string | null;
|
|
149
|
+
inviteStatus: string;
|
|
150
|
+
projectAccessStatus?: string | null;
|
|
151
|
+
projectId: number;
|
|
152
|
+
touchpoint: string;
|
|
153
|
+
};
|
|
154
|
+
export type ProductAccessRequestedAttributesType = {
|
|
155
|
+
requestedForUserId: string | null;
|
|
156
|
+
inviteStatus: string;
|
|
157
|
+
projectAccessStatus?: string | null;
|
|
158
|
+
projectId: number;
|
|
159
|
+
exists: boolean;
|
|
160
|
+
touchpoint: string;
|
|
161
|
+
};
|
|
162
|
+
export type SendSpaceTeamInvitesScheduledAttributesType = {
|
|
163
|
+
spaceId: string;
|
|
164
|
+
teamId: string;
|
|
165
|
+
};
|
|
166
|
+
export type SendSpaceTeamInvitesSendingAttributesType = {
|
|
167
|
+
spaceId: string;
|
|
168
|
+
teamId: string;
|
|
169
|
+
};
|
|
170
|
+
export type ProjectUpdatedAttributesType = {
|
|
171
|
+
spaceId: string;
|
|
172
|
+
teamId: string;
|
|
173
|
+
teamInviteStatus: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED' | 'SKIPPED';
|
|
174
|
+
totalTeamCount: number;
|
|
175
|
+
totalMemberCount: number;
|
|
176
|
+
failedTeamCount: number;
|
|
177
|
+
successTeamCount: number;
|
|
178
|
+
failedInviteCount: number;
|
|
179
|
+
successInviteCount: number;
|
|
180
|
+
touchpoint: 'teamProfileSpaceLinking' | 'spaceNavTeamLinking';
|
|
181
|
+
};
|
|
182
|
+
export type ProjectUpdateFailedAttributesType = {
|
|
183
|
+
message: string | null;
|
|
184
|
+
spaceId: string;
|
|
185
|
+
teamId: string | null;
|
|
186
|
+
teamInviteStatus: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED' | 'SKIPPED' | null;
|
|
187
|
+
totalTeamCount: number | null;
|
|
188
|
+
totalMemberCount: number | null;
|
|
189
|
+
failedTeamCount: number | null;
|
|
190
|
+
successTeamCount: number | null;
|
|
191
|
+
failedInviteCount: number | null;
|
|
192
|
+
successInviteCount: number | null;
|
|
193
|
+
touchpoint: 'teamProfileSpaceLinking' | 'spaceNavTeamLinking';
|
|
194
|
+
};
|
|
195
|
+
export type SendSpaceTeamInvitesCancelledAttributesType = {
|
|
196
|
+
spaceId: string;
|
|
197
|
+
teamId: string;
|
|
198
|
+
};
|
|
98
199
|
export type ContainerPermissionsSucceededAttributesType = {
|
|
99
200
|
canCreateConfluenceContainer: boolean;
|
|
100
201
|
canCreateJiraContainer: boolean;
|
|
@@ -1433,6 +1534,16 @@ export type UserProfileAboutTeamsViewedAttributesType = {
|
|
|
1433
1534
|
isNewUserProfile: boolean | null;
|
|
1434
1535
|
};
|
|
1435
1536
|
export type UserProfileWorkingWithMeViewedAttributesType = undefined;
|
|
1537
|
+
export type UserProfileWorkingWithMeEmptyStateViewedAttributesType = undefined;
|
|
1538
|
+
export type WorkingWithMeEditButtonClickedAttributesType = undefined;
|
|
1539
|
+
export type WorkingWithMeSavedAttributesType = {
|
|
1540
|
+
isEmpty: boolean;
|
|
1541
|
+
};
|
|
1542
|
+
export type AddPronounsButtonClickedAttributesType = undefined;
|
|
1543
|
+
export type EditPronounsButtonClickedAttributesType = undefined;
|
|
1544
|
+
export type PronounsSavedAttributesType = {
|
|
1545
|
+
isUpdate: boolean;
|
|
1546
|
+
};
|
|
1436
1547
|
export type TeamAgentsPanelViewedAttributesType = {
|
|
1437
1548
|
activeAgentsCount: number;
|
|
1438
1549
|
};
|
|
@@ -1634,6 +1745,29 @@ export type AnalyticsEventAttributes = {
|
|
|
1634
1745
|
/**
|
|
1635
1746
|
* fired when the invite to product service failed */
|
|
1636
1747
|
'track.inviteToProductService.failed': InviteToProductServiceFailedAttributesType;
|
|
1748
|
+
/**
|
|
1749
|
+
* fired when inviting users to software and business projects succeeded */
|
|
1750
|
+
'track.inviteToSoftwareAndBusinessProjects.succeeded': InviteToSoftwareAndBusinessProjectsSucceededAttributesType;
|
|
1751
|
+
/**
|
|
1752
|
+
* fired when inviting users to software and business projects failed */
|
|
1753
|
+
'track.inviteToSoftwareAndBusinessProjects.failed': InviteToSoftwareAndBusinessProjectsFailedAttributesType;
|
|
1754
|
+
/**
|
|
1755
|
+
* fired when a space invite is scheduled (queued in the debounce window) */
|
|
1756
|
+
'track.sendSpaceTeamInvites.scheduled': SendSpaceTeamInvitesScheduledAttributesType;
|
|
1757
|
+
/**
|
|
1758
|
+
* fired when a scheduled space invite begins sending (debounce window elapsed) */
|
|
1759
|
+
'track.sendSpaceTeamInvites.sending': SendSpaceTeamInvitesSendingAttributesType;
|
|
1760
|
+
/**
|
|
1761
|
+
* fired when a space invite request completes successfully and the project membership is updated */
|
|
1762
|
+
'track.project.updated': ProjectUpdatedAttributesType | InviteToProjectUpdatedAttributesType;
|
|
1763
|
+
/**
|
|
1764
|
+
* fired when a space invite for team members failed */
|
|
1765
|
+
'track.projectUpdate.failed': ProjectUpdateFailedAttributesType | InviteToProjectUpdateFailedAttributesType;
|
|
1766
|
+
'track.user.invited': UserInvitedAttributesType;
|
|
1767
|
+
'track.productAccess.requested': ProductAccessRequestedAttributesType;
|
|
1768
|
+
/**
|
|
1769
|
+
* fired when a pending space invite is cancelled before it was sent */
|
|
1770
|
+
'track.sendSpaceTeamInvites.cancelled': SendSpaceTeamInvitesCancelledAttributesType;
|
|
1637
1771
|
/**
|
|
1638
1772
|
* fired when the container permissions are succeeded */
|
|
1639
1773
|
'track.containerPermissions.succeeded': ContainerPermissionsSucceededAttributesType;
|
|
@@ -2546,6 +2680,24 @@ export type AnalyticsEventAttributes = {
|
|
|
2546
2680
|
/**
|
|
2547
2681
|
* fired when user profile working with me section is viewed (only when section has content) */
|
|
2548
2682
|
'screen.userProfileWorkingWithMe.viewed': UserProfileWorkingWithMeViewedAttributesType;
|
|
2683
|
+
/**
|
|
2684
|
+
* fired when user profile working with me empty state is viewed (only when section has no content) */
|
|
2685
|
+
'screen.userProfileWorkingWithMeEmptyState.viewed': UserProfileWorkingWithMeEmptyStateViewedAttributesType;
|
|
2686
|
+
/**
|
|
2687
|
+
* fired when user clicks the edit button on the working with me section */
|
|
2688
|
+
'ui.workingWithMeEditButton.clicked': WorkingWithMeEditButtonClickedAttributesType;
|
|
2689
|
+
/**
|
|
2690
|
+
* fired when user saves the working with me section */
|
|
2691
|
+
'track.workingWithMe.saved': WorkingWithMeSavedAttributesType;
|
|
2692
|
+
/**
|
|
2693
|
+
* fired when user clicks the add pronouns button on the user profile header */
|
|
2694
|
+
'ui.addPronounsButton.clicked': AddPronounsButtonClickedAttributesType;
|
|
2695
|
+
/**
|
|
2696
|
+
* fired when user clicks the edit pronouns button on the user profile header */
|
|
2697
|
+
'ui.editPronounsButton.clicked': EditPronounsButtonClickedAttributesType;
|
|
2698
|
+
/**
|
|
2699
|
+
* fired when user successfully saves pronouns */
|
|
2700
|
+
'track.pronouns.saved': PronounsSavedAttributesType;
|
|
2549
2701
|
/**
|
|
2550
2702
|
* fired when team agents panel is viewed */
|
|
2551
2703
|
'screen.teamAgentsPanel.viewed': TeamAgentsPanelViewedAttributesType;
|
package/package.json
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"atlassian": {
|
|
3
|
+
"react-compiler": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"gating": {
|
|
6
|
+
"source": "@atlassian/react-compiler-gating",
|
|
7
|
+
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
3
10
|
"team": "People and Teams Collective",
|
|
4
11
|
"website": {
|
|
5
12
|
"name": "TeamsAppInternalAnalytics",
|
|
@@ -29,7 +36,7 @@
|
|
|
29
36
|
"dependencies": {
|
|
30
37
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
31
38
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
32
|
-
"@atlaskit/analytics-next": "^11.
|
|
39
|
+
"@atlaskit/analytics-next": "^11.2.0",
|
|
33
40
|
"@babel/runtime": "^7.0.0",
|
|
34
41
|
"@compiled/react": "^0.20.0"
|
|
35
42
|
},
|
|
@@ -41,6 +48,7 @@
|
|
|
41
48
|
"@af/visual-regression": "workspace:^",
|
|
42
49
|
"@atlaskit/ssr": "workspace:^",
|
|
43
50
|
"@atlassian/ptc-test-utils": "^0.12.0",
|
|
51
|
+
"@atlassian/react-compiler-gating": "workspace:^",
|
|
44
52
|
"@testing-library/react": "^16.3.0",
|
|
45
53
|
"@testing-library/user-event": "^14.4.3",
|
|
46
54
|
"react-dom": "^18.2.0"
|
|
@@ -84,7 +92,7 @@
|
|
|
84
92
|
}
|
|
85
93
|
},
|
|
86
94
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
87
|
-
"version": "1.27.
|
|
95
|
+
"version": "1.27.4",
|
|
88
96
|
"description": "A package used by the teams app and platform packages to handle people and teams analytics",
|
|
89
97
|
"author": "Atlassian Pty Ltd",
|
|
90
98
|
"license": "Apache-2.0",
|