@atlaskit/teams-app-internal-analytics 1.16.0 → 1.17.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,14 @@
1
1
  # @atlaskit/teams-app-internal-analytics
2
2
 
3
+ ## 1.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`90377bb33b20e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90377bb33b20e) -
8
+ Add teams-profile analytics events
9
+ - [`90377bb33b20e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90377bb33b20e) -
10
+ Migrated user profile analytics to teams-app-internal-analytics
11
+
3
12
  ## 1.16.0
4
13
 
5
14
  ### Minor Changes
@@ -2432,3 +2432,447 @@ events:
2432
2432
  queryName:
2433
2433
  type: string
2434
2434
  description: the query name
2435
+ - profileAboutItem edited:
2436
+ type: track
2437
+ description: fired when the profile about item is edited
2438
+ attributes:
2439
+ fieldKey:
2440
+ type: string
2441
+ description: the key of the field
2442
+ - userProfileScreenAboutPanel viewed:
2443
+ type: track
2444
+ description: fired when the user profile screen about panel is viewed
2445
+ attributes:
2446
+ nonEmptyFields:
2447
+ type: string
2448
+ description: the non empty fields
2449
+ - privacyPolicyLink clicked:
2450
+ type: ui
2451
+ description: fired when the privacy policy link is clicked
2452
+ - teamProfileItem clicked:
2453
+ type: ui
2454
+ description: fired when the team profile item is clicked
2455
+ attributes:
2456
+ position:
2457
+ type: number
2458
+ description: the position of the team profile item
2459
+ - showMore clicked:
2460
+ type: ui
2461
+ description: fired when the show more button is clicked
2462
+ - teamCreateDialogTriggerButton clicked:
2463
+ type: ui
2464
+ description: fired when the team create dialog trigger button is clicked
2465
+ attributes:
2466
+ trigger:
2467
+ type: string
2468
+ description: the trigger
2469
+ - button clicked (manageAccountButton):
2470
+ type: ui
2471
+ description: fired when the manage account button is clicked
2472
+ - button clicked (manageAccessButton):
2473
+ type: ui
2474
+ description: fired when the manage access button is clicked
2475
+ - userProfileScreenLoad failed:
2476
+ type: track
2477
+ description: fired when the user profile screen load fails
2478
+ - userProfileScreen viewed:
2479
+ type: screen
2480
+ description: fired when the user profile screen is viewed
2481
+ attributes:
2482
+ isCurrentUser:
2483
+ type: boolean
2484
+ description: whether the user is the current user
2485
+ - viewAllWork clicked:
2486
+ type: ui
2487
+ description: fired when the view all work button is clicked
2488
+ attributes:
2489
+ location:
2490
+ type: string
2491
+ description: the location
2492
+ - moreWork clicked:
2493
+ type: ui
2494
+ description: fired when the more work button is clicked
2495
+ attributes:
2496
+ numItemsDisplayed:
2497
+ type: number
2498
+ description: the number of items displayed
2499
+ - activityEntry clicked:
2500
+ type: ui
2501
+ description: fired when the activity entry is clicked
2502
+ attributes:
2503
+ provider:
2504
+ type: string
2505
+ description: the provider
2506
+ entryIndex:
2507
+ type: number
2508
+ description: the index
2509
+ - placesLink clicked:
2510
+ type: ui
2511
+ description: fired when the places link is clicked
2512
+ attributes:
2513
+ type:
2514
+ type: string
2515
+ description: the type of the place
2516
+ - ViewedTeamProfileFromRequestToJoinNotification viewed:
2517
+ type: track
2518
+ description: fired when the team profile is viewed from the request to join notification
2519
+ attributes:
2520
+ status:
2521
+ type: number
2522
+ description: error status code
2523
+ required: false
2524
+ errorType:
2525
+ type: string
2526
+ description: error type
2527
+ required: false
2528
+ isVerified:
2529
+ type: boolean
2530
+ description: whether the user is verified
2531
+ - teamProfileScreen viewed:
2532
+ type: screen
2533
+ description: fired when the team profile screen is viewed
2534
+ attributes:
2535
+ teamId:
2536
+ type: string
2537
+ description: id of the selected team
2538
+ membershipState:
2539
+ type: string
2540
+ description: the membership state of the user in the team
2541
+ required: false
2542
+ isViewerMember:
2543
+ type: boolean
2544
+ description: whether the viewer is a member of the team
2545
+ isVerified:
2546
+ type: boolean
2547
+ description: whether the user is verified
2548
+ isSiteAdmin:
2549
+ type: boolean
2550
+ description: whether the user is a site admin
2551
+ isOrgAdmin:
2552
+ type: boolean
2553
+ description: whether the user is an org admin
2554
+ orgId:
2555
+ type: string
2556
+ description: the id of the organization
2557
+ required: false
2558
+ hasContainersConnect:
2559
+ type: boolean
2560
+ description: whether the team has any connected containers
2561
+ numberOfContainersConnected:
2562
+ type: number
2563
+ description: the number of connected containers
2564
+ numberOfWebLinksConnected:
2565
+ type: number
2566
+ description: the number of connected weblinks
2567
+ webLinksCurrentlyConnected:
2568
+ type: []
2569
+ description: the list of currently connected weblinks
2570
+ containersCurrentlyConnected:
2571
+ type: []
2572
+ description: the list of currently connected containers
2573
+ - GetTeamProfile succeeded:
2574
+ type: operational
2575
+ description: fired when the get team profile request is succeeded
2576
+ attributes:
2577
+ status:
2578
+ type: number
2579
+ description: status code of the request
2580
+ isVerified:
2581
+ type: boolean
2582
+ description: whether the user is verified
2583
+ - GetTeamProfile failed:
2584
+ type: operational
2585
+ description: fired when the get team profile request is failed
2586
+ attributes:
2587
+ status:
2588
+ type: number
2589
+ description: status code of the request
2590
+ required: false
2591
+ - addWebLinkDialog opened:
2592
+ type: track
2593
+ description: fired when the add weblink dialog is opened
2594
+ attributes:
2595
+ teamId:
2596
+ type: string
2597
+ description: id of the selected team
2598
+ - editWebLinkDialog opened:
2599
+ type: track
2600
+ description: fired when the edit weblink dialog is opened
2601
+ attributes:
2602
+ teamId:
2603
+ type: string
2604
+ description: id of the selected team
2605
+ - link clicked (helpLink):
2606
+ type: ui
2607
+ description: fired when the help link is clicked
2608
+ attributes:
2609
+ uiScreen:
2610
+ type: string
2611
+ description: the screen where the help link is located
2612
+ descriptionLength:
2613
+ type: number
2614
+ description: the length of the team description
2615
+ titleLength:
2616
+ type: number
2617
+ description: the length of the team title
2618
+ type:
2619
+ type: string
2620
+ description: the type of help link
2621
+ required: false
2622
+ teamId:
2623
+ type: string
2624
+ description: id of the selected team
2625
+ required: false
2626
+ totalTags:
2627
+ type: number
2628
+ description: the number of tags associated with the team
2629
+ required: false
2630
+ numTagsMatchingSearch:
2631
+ type: number
2632
+ description: the number of tags matching the search
2633
+ required: false
2634
+ - TeamsProfileHelpPointers viewed:
2635
+ type: ui
2636
+ description: fired when the help pointers are viewed
2637
+ attributes:
2638
+ isEmpty:
2639
+ type: boolean
2640
+ description: whether the team profile is empty
2641
+ canEdit:
2642
+ type: boolean
2643
+ description: whether the user can edit the team profile
2644
+ totalArticles:
2645
+ type: number
2646
+ description: the number of articles associated with the team
2647
+ totalRequests:
2648
+ type: number
2649
+ description: the number of requests associated with the team
2650
+ - ShowMore expanded:
2651
+ type: ui
2652
+ description: fired when the show more button is clicked to expand the help pointers list
2653
+ attributes:
2654
+ helpType:
2655
+ type: string
2656
+ description: the type of help content being shown (articles or requests)
2657
+ totalHelpPointers:
2658
+ type: number
2659
+ description: the total number of help pointers available
2660
+ - dialog opened (createHelpPointerDialog):
2661
+ type: ui
2662
+ description: fired when the create help pointer dialog is opened
2663
+ attributes:
2664
+ screen:
2665
+ type: string
2666
+ description: the screen where the create help pointer dialog is opened
2667
+ - helpPointer created:
2668
+ type: track
2669
+ description: fired when a help pointer is successfully created
2670
+ attributes:
2671
+ screen:
2672
+ type: string
2673
+ description: the screen where the help pointer is created
2674
+ type:
2675
+ type: string
2676
+ description: the type of help pointer created
2677
+ required: false
2678
+ totalTags:
2679
+ type: number
2680
+ description: the number of tags associated with the team
2681
+ descriptionLength:
2682
+ type: number
2683
+ description: the length of the team description
2684
+ teamId:
2685
+ type: string
2686
+ description: id of the selected team
2687
+ required: false
2688
+ emptyProfilePage:
2689
+ type: boolean
2690
+ description: whether the team profile page is empty
2691
+ - tag created:
2692
+ type: track
2693
+ description: fired when a tag is successfully created
2694
+ attributes:
2695
+ screen:
2696
+ type: string
2697
+ description: the screen where the tag is created
2698
+ context:
2699
+ type: string
2700
+ description: the context where the tag is created
2701
+ - dialog opened (editHelpPointerDialog):
2702
+ type: ui
2703
+ description: fired when the edit help pointer dialog is opened
2704
+ attributes:
2705
+ screen:
2706
+ type: string
2707
+ description: the screen where the edit help pointer dialog is opened
2708
+ - dialog opened (deleteHelpPointerDialog):
2709
+ type: ui
2710
+ description: fired when the delete help pointer dialog is opened
2711
+ attributes:
2712
+ screen:
2713
+ type: string
2714
+ description: the screen where the delete help pointer dialog is opened
2715
+ - helpPointer deleted:
2716
+ type: track
2717
+ description: fired when a help pointer is successfully deleted
2718
+ attributes:
2719
+ screen:
2720
+ type: string
2721
+ description: the screen where the help pointer is deleted
2722
+ type:
2723
+ type: string
2724
+ description: the type of help pointer deleted
2725
+ required: false
2726
+ totalTags:
2727
+ type: number
2728
+ description: the number of tags associated with the team
2729
+ descriptionLength:
2730
+ type: number
2731
+ description: the length of the team description
2732
+ teamId:
2733
+ type: string
2734
+ description: id of the selected team
2735
+ required: false
2736
+ - helpPointer edited:
2737
+ type: track
2738
+ description: fired when a help pointer is successfully edited
2739
+ attributes:
2740
+ screen:
2741
+ type: string
2742
+ description: the screen where the help pointer is edited
2743
+ type:
2744
+ type: string
2745
+ description: the type of help pointer edited
2746
+ required: false
2747
+ totalTags:
2748
+ type: number
2749
+ description: the number of tags associated with the team
2750
+ descriptionLength:
2751
+ type: number
2752
+ description: the length of the team description
2753
+ teamId:
2754
+ type: string
2755
+ description: id of the selected team
2756
+ required: false
2757
+ createdNewTeam:
2758
+ type: boolean
2759
+ description: whether a new team was created
2760
+ - teamLink linked:
2761
+ type: track
2762
+ description: fired when a team is successfully linked to a container
2763
+ attributes:
2764
+ linkId:
2765
+ type: string
2766
+ description: the id of the linked container
2767
+ teamId:
2768
+ type: string
2769
+ description: id of the selected team
2770
+ linkDomain:
2771
+ type: string
2772
+ description: the domain of the linked container
2773
+ hasWebLinksConnected:
2774
+ type: boolean
2775
+ description: whether the team has any connected weblinks
2776
+ isMemberOfTeam:
2777
+ type: boolean
2778
+ description: whether the user is a member of the team
2779
+ memberOfTeam:
2780
+ type: boolean
2781
+ description: whether the user is a member of the team
2782
+ orgAdminTriggered:
2783
+ type: boolean
2784
+ description: whether the org admin triggered the action
2785
+ isVerified:
2786
+ type: boolean
2787
+ description: whether the user is verified
2788
+ required: false
2789
+ - teamLink typed:
2790
+ type: ui
2791
+ description: fired when a link is typed in the add link dialog
2792
+ attributes:
2793
+ length:
2794
+ type: number
2795
+ description: the length of the link being typed
2796
+ isHttp:
2797
+ type: boolean
2798
+ description: whether the link is an http link
2799
+ isHttps:
2800
+ type: boolean
2801
+ description: whether the link is an https link
2802
+ - teamLink clicked (addHttpButton):
2803
+ type: ui
2804
+ description: fired when the add http button is clicked in the add link dialog
2805
+ attributes:
2806
+ previousLength:
2807
+ type: number
2808
+ description: the length of the link before the add http button was clicked
2809
+ - teamLink clicked (addHttpsButton):
2810
+ type: ui
2811
+ description: fired when the add https button is clicked in the add link dialog
2812
+ attributes:
2813
+ previousLength:
2814
+ type: number
2815
+ description: the length of the link before the add https button was clicked
2816
+ - teamRestoreScreen viewed:
2817
+ type: screen
2818
+ description: fired when the team restore screen is viewed
2819
+ attributes:
2820
+ teamId:
2821
+ type: string
2822
+ description: id of the selected team
2823
+ orgAdminTriggered:
2824
+ type: boolean
2825
+ description: whether the org admin triggered the action
2826
+ - button clicked (reactivateTeam):
2827
+ type: ui
2828
+ description: fired when the reactivate team button is clicked
2829
+ attributes:
2830
+ orgAdminTriggered:
2831
+ type: boolean
2832
+ description: whether the org admin triggered the action
2833
+ - teamRestore succeeded:
2834
+ type: operational
2835
+ description: fired when the team is successfully restored
2836
+ - teamRestore failed:
2837
+ type: operational
2838
+ description: fired when the team restore action fails
2839
+ attributes:
2840
+ status:
2841
+ type: number
2842
+ description: the status code if the action failed
2843
+ required: false
2844
+ - GetSettings succeeded:
2845
+ type: operational
2846
+ description: fired when the get settings request is succeeded
2847
+ - GetSettings failed:
2848
+ type: operational
2849
+ description: fired when the get settings request fails
2850
+ - teamLink edited:
2851
+ type: track
2852
+ description: fired when a team link is successfully edited
2853
+ attributes:
2854
+ linkId:
2855
+ type: string
2856
+ description: the id of the linked container
2857
+ teamId:
2858
+ type: string
2859
+ description: id of the selected team
2860
+ linkDomain:
2861
+ type: string
2862
+ description: the domain of the linked container
2863
+ oldLinkDomain:
2864
+ type: string
2865
+ description: the old domain of the linked container
2866
+ isLinkPartOfTeamContainers:
2867
+ type: boolean
2868
+ description: whether the link is part of the team containers section
2869
+ memberOfTeam:
2870
+ type: boolean
2871
+ description: whether the user is a member of the team
2872
+ orgAdminTriggered:
2873
+ type: boolean
2874
+ description: whether the org admin triggered the action
2875
+ isVerified:
2876
+ type: boolean
2877
+ description: whether the user is verified
2878
+ required: false
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::b415cf5bbcb0bc924155416a84549b88>>
6
+ * @codegen <<SignedSource::a6b20df2d2f431cd63752ff404dab502>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1139,6 +1139,170 @@ export type TeamOrgMismatchFailedAttributesType = {
1139
1139
  currentOrgId: string;
1140
1140
  queryName: string;
1141
1141
  };
1142
+ export type ProfileAboutItemEditedAttributesType = {
1143
+ fieldKey: string;
1144
+ };
1145
+ export type UserProfileScreenAboutPanelViewedAttributesType = {
1146
+ nonEmptyFields: string;
1147
+ };
1148
+ export type PrivacyPolicyLinkClickedAttributesType = undefined;
1149
+ export type TeamProfileItemClickedAttributesType = {
1150
+ position: number;
1151
+ };
1152
+ export type ShowMoreClickedAttributesType = undefined;
1153
+ export type TeamCreateDialogTriggerButtonClickedAttributesType = {
1154
+ trigger: string;
1155
+ };
1156
+ export type ButtonClickedManageAccountButtonAttributesType = undefined;
1157
+ export type ButtonClickedManageAccessButtonAttributesType = undefined;
1158
+ export type UserProfileScreenLoadFailedAttributesType = undefined;
1159
+ export type UserProfileScreenViewedAttributesType = {
1160
+ isCurrentUser: boolean;
1161
+ };
1162
+ export type ViewAllWorkClickedAttributesType = {
1163
+ location: string;
1164
+ };
1165
+ export type MoreWorkClickedAttributesType = {
1166
+ numItemsDisplayed: number;
1167
+ };
1168
+ export type ActivityEntryClickedAttributesType = {
1169
+ provider: string;
1170
+ entryIndex: number;
1171
+ };
1172
+ export type PlacesLinkClickedAttributesType = {
1173
+ type: string;
1174
+ };
1175
+ export type ViewedTeamProfileFromRequestToJoinNotificationViewedAttributesType = {
1176
+ status: number | null;
1177
+ errorType: string | null;
1178
+ isVerified: boolean;
1179
+ };
1180
+ export type TeamProfileScreenViewedAttributesType = {
1181
+ teamId: string;
1182
+ membershipState: string | null;
1183
+ isViewerMember: boolean;
1184
+ isVerified: boolean;
1185
+ isSiteAdmin: boolean;
1186
+ isOrgAdmin: boolean;
1187
+ orgId: string | null;
1188
+ hasContainersConnect: boolean;
1189
+ numberOfContainersConnected: number;
1190
+ numberOfWebLinksConnected: number;
1191
+ webLinksCurrentlyConnected: unknown[];
1192
+ containersCurrentlyConnected: unknown[];
1193
+ };
1194
+ export type GetTeamProfileSucceededAttributesType = {
1195
+ status: number;
1196
+ isVerified: boolean;
1197
+ };
1198
+ export type GetTeamProfileFailedAttributesType = {
1199
+ status: number | null;
1200
+ };
1201
+ export type AddWebLinkDialogOpenedAttributesType = {
1202
+ teamId: string;
1203
+ };
1204
+ export type EditWebLinkDialogOpenedAttributesType = {
1205
+ teamId: string;
1206
+ };
1207
+ export type LinkClickedHelpLinkAttributesType = {
1208
+ uiScreen: string;
1209
+ descriptionLength: number;
1210
+ titleLength: number;
1211
+ type: string | null;
1212
+ teamId: string | null;
1213
+ totalTags: number | null;
1214
+ numTagsMatchingSearch: number | null;
1215
+ };
1216
+ export type TeamsProfileHelpPointersViewedAttributesType = {
1217
+ isEmpty: boolean;
1218
+ canEdit: boolean;
1219
+ totalArticles: number;
1220
+ totalRequests: number;
1221
+ };
1222
+ export type ShowMoreExpandedAttributesType = {
1223
+ helpType: string;
1224
+ totalHelpPointers: number;
1225
+ };
1226
+ export type DialogOpenedCreateHelpPointerDialogAttributesType = {
1227
+ screen: string;
1228
+ };
1229
+ export type HelpPointerCreatedAttributesType = {
1230
+ screen: string;
1231
+ type: string | null;
1232
+ totalTags: number;
1233
+ descriptionLength: number;
1234
+ teamId: string | null;
1235
+ emptyProfilePage: boolean;
1236
+ };
1237
+ export type TagCreatedAttributesType = {
1238
+ screen: string;
1239
+ context: string;
1240
+ };
1241
+ export type DialogOpenedEditHelpPointerDialogAttributesType = {
1242
+ screen: string;
1243
+ };
1244
+ export type DialogOpenedDeleteHelpPointerDialogAttributesType = {
1245
+ screen: string;
1246
+ };
1247
+ export type HelpPointerDeletedAttributesType = {
1248
+ screen: string;
1249
+ type: string | null;
1250
+ totalTags: number;
1251
+ descriptionLength: number;
1252
+ teamId: string | null;
1253
+ };
1254
+ export type HelpPointerEditedAttributesType = {
1255
+ screen: string;
1256
+ type: string | null;
1257
+ totalTags: number;
1258
+ descriptionLength: number;
1259
+ teamId: string | null;
1260
+ createdNewTeam: boolean;
1261
+ };
1262
+ export type TeamLinkLinkedAttributesType = {
1263
+ linkId: string;
1264
+ teamId: string;
1265
+ linkDomain: string;
1266
+ hasWebLinksConnected: boolean;
1267
+ isMemberOfTeam: boolean;
1268
+ memberOfTeam: boolean;
1269
+ orgAdminTriggered: boolean;
1270
+ isVerified: boolean | null;
1271
+ };
1272
+ export type TeamLinkTypedAttributesType = {
1273
+ length: number;
1274
+ isHttp: boolean;
1275
+ isHttps: boolean;
1276
+ };
1277
+ export type TeamLinkClickedAddHttpButtonAttributesType = {
1278
+ previousLength: number;
1279
+ };
1280
+ export type TeamLinkClickedAddHttpsButtonAttributesType = {
1281
+ previousLength: number;
1282
+ };
1283
+ export type TeamRestoreScreenViewedAttributesType = {
1284
+ teamId: string;
1285
+ orgAdminTriggered: boolean;
1286
+ };
1287
+ export type ButtonClickedReactivateTeamAttributesType = {
1288
+ orgAdminTriggered: boolean;
1289
+ };
1290
+ export type TeamRestoreSucceededAttributesType = undefined;
1291
+ export type TeamRestoreFailedAttributesType = {
1292
+ status: number | null;
1293
+ };
1294
+ export type GetSettingsSucceededAttributesType = undefined;
1295
+ export type GetSettingsFailedAttributesType = undefined;
1296
+ export type TeamLinkEditedAttributesType = {
1297
+ linkId: string;
1298
+ teamId: string;
1299
+ linkDomain: string;
1300
+ oldLinkDomain: string;
1301
+ isLinkPartOfTeamContainers: boolean;
1302
+ memberOfTeam: boolean;
1303
+ orgAdminTriggered: boolean;
1304
+ isVerified: boolean | null;
1305
+ };
1142
1306
  export type AnalyticsEventAttributes = {
1143
1307
  /**
1144
1308
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -1940,5 +2104,128 @@ export type AnalyticsEventAttributes = {
1940
2104
  /**
1941
2105
  * fired when the team org mismatch is failed */
1942
2106
  'operational.TeamOrgMismatch.failed': TeamOrgMismatchFailedAttributesType;
2107
+ /**
2108
+ * fired when the profile about item is edited */
2109
+ 'track.profileAboutItem.edited': ProfileAboutItemEditedAttributesType;
2110
+ /**
2111
+ * fired when the user profile screen about panel is viewed */
2112
+ 'track.userProfileScreenAboutPanel.viewed': UserProfileScreenAboutPanelViewedAttributesType;
2113
+ /**
2114
+ * fired when the privacy policy link is clicked */
2115
+ 'ui.privacyPolicyLink.clicked': PrivacyPolicyLinkClickedAttributesType;
2116
+ /**
2117
+ * fired when the team profile item is clicked */
2118
+ 'ui.teamProfileItem.clicked': TeamProfileItemClickedAttributesType;
2119
+ /**
2120
+ * fired when the show more button is clicked */
2121
+ 'ui.showMore.clicked': ShowMoreClickedAttributesType;
2122
+ /**
2123
+ * fired when the team create dialog trigger button is clicked */
2124
+ 'ui.teamCreateDialogTriggerButton.clicked': TeamCreateDialogTriggerButtonClickedAttributesType;
2125
+ /**
2126
+ * fired when the manage account button is clicked */
2127
+ 'ui.button.clicked.manageAccountButton': ButtonClickedManageAccountButtonAttributesType;
2128
+ /**
2129
+ * fired when the manage access button is clicked */
2130
+ 'ui.button.clicked.manageAccessButton': ButtonClickedManageAccessButtonAttributesType;
2131
+ /**
2132
+ * fired when the user profile screen load fails */
2133
+ 'track.userProfileScreenLoad.failed': UserProfileScreenLoadFailedAttributesType;
2134
+ /**
2135
+ * fired when the user profile screen is viewed */
2136
+ 'screen.userProfileScreen.viewed': UserProfileScreenViewedAttributesType;
2137
+ /**
2138
+ * fired when the view all work button is clicked */
2139
+ 'ui.viewAllWork.clicked': ViewAllWorkClickedAttributesType;
2140
+ /**
2141
+ * fired when the more work button is clicked */
2142
+ 'ui.moreWork.clicked': MoreWorkClickedAttributesType;
2143
+ /**
2144
+ * fired when the activity entry is clicked */
2145
+ 'ui.activityEntry.clicked': ActivityEntryClickedAttributesType;
2146
+ /**
2147
+ * fired when the places link is clicked */
2148
+ 'ui.placesLink.clicked': PlacesLinkClickedAttributesType;
2149
+ /**
2150
+ * fired when the team profile is viewed from the request to join notification */
2151
+ 'track.ViewedTeamProfileFromRequestToJoinNotification.viewed': ViewedTeamProfileFromRequestToJoinNotificationViewedAttributesType;
2152
+ /**
2153
+ * fired when the team profile screen is viewed */
2154
+ 'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2155
+ /**
2156
+ * fired when the get team profile request is succeeded */
2157
+ 'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
2158
+ /**
2159
+ * fired when the get team profile request is failed */
2160
+ 'operational.GetTeamProfile.failed': GetTeamProfileFailedAttributesType;
2161
+ /**
2162
+ * fired when the add weblink dialog is opened */
2163
+ 'track.addWebLinkDialog.opened': AddWebLinkDialogOpenedAttributesType;
2164
+ /**
2165
+ * fired when the edit weblink dialog is opened */
2166
+ 'track.editWebLinkDialog.opened': EditWebLinkDialogOpenedAttributesType;
2167
+ /**
2168
+ * fired when the help link is clicked */
2169
+ 'ui.link.clicked.helpLink': LinkClickedHelpLinkAttributesType;
2170
+ /**
2171
+ * fired when the help pointers are viewed */
2172
+ 'ui.TeamsProfileHelpPointers.viewed': TeamsProfileHelpPointersViewedAttributesType;
2173
+ /**
2174
+ * fired when the show more button is clicked to expand the help pointers list */
2175
+ 'ui.ShowMore.expanded': ShowMoreExpandedAttributesType;
2176
+ /**
2177
+ * fired when the create help pointer dialog is opened */
2178
+ 'ui.dialog.opened.createHelpPointerDialog': DialogOpenedCreateHelpPointerDialogAttributesType;
2179
+ /**
2180
+ * fired when a help pointer is successfully created */
2181
+ 'track.helpPointer.created': HelpPointerCreatedAttributesType;
2182
+ /**
2183
+ * fired when a tag is successfully created */
2184
+ 'track.tag.created': TagCreatedAttributesType;
2185
+ /**
2186
+ * fired when the edit help pointer dialog is opened */
2187
+ 'ui.dialog.opened.editHelpPointerDialog': DialogOpenedEditHelpPointerDialogAttributesType;
2188
+ /**
2189
+ * fired when the delete help pointer dialog is opened */
2190
+ 'ui.dialog.opened.deleteHelpPointerDialog': DialogOpenedDeleteHelpPointerDialogAttributesType;
2191
+ /**
2192
+ * fired when a help pointer is successfully deleted */
2193
+ 'track.helpPointer.deleted': HelpPointerDeletedAttributesType;
2194
+ /**
2195
+ * fired when a help pointer is successfully edited */
2196
+ 'track.helpPointer.edited': HelpPointerEditedAttributesType;
2197
+ /**
2198
+ * fired when a team is successfully linked to a container */
2199
+ 'track.teamLink.linked': TeamLinkLinkedAttributesType;
2200
+ /**
2201
+ * fired when a link is typed in the add link dialog */
2202
+ 'ui.teamLink.typed': TeamLinkTypedAttributesType;
2203
+ /**
2204
+ * fired when the add http button is clicked in the add link dialog */
2205
+ 'ui.teamLink.clicked.addHttpButton': TeamLinkClickedAddHttpButtonAttributesType;
2206
+ /**
2207
+ * fired when the add https button is clicked in the add link dialog */
2208
+ 'ui.teamLink.clicked.addHttpsButton': TeamLinkClickedAddHttpsButtonAttributesType;
2209
+ /**
2210
+ * fired when the team restore screen is viewed */
2211
+ 'screen.teamRestoreScreen.viewed': TeamRestoreScreenViewedAttributesType;
2212
+ /**
2213
+ * fired when the reactivate team button is clicked */
2214
+ 'ui.button.clicked.reactivateTeam': ButtonClickedReactivateTeamAttributesType;
2215
+ /**
2216
+ * fired when the team is successfully restored */
2217
+ 'operational.teamRestore.succeeded': TeamRestoreSucceededAttributesType;
2218
+ /**
2219
+ * fired when the team restore action fails */
2220
+ 'operational.teamRestore.failed': TeamRestoreFailedAttributesType;
2221
+ /**
2222
+ * fired when the get settings request is succeeded */
2223
+ 'operational.GetSettings.succeeded': GetSettingsSucceededAttributesType;
2224
+ /**
2225
+ * fired when the get settings request fails */
2226
+ 'operational.GetSettings.failed': GetSettingsFailedAttributesType;
2227
+ /**
2228
+ * fired when a team link is successfully edited */
2229
+ 'track.teamLink.edited': TeamLinkEditedAttributesType;
1943
2230
  };
1944
2231
  export type EventKey = keyof AnalyticsEventAttributes;
@@ -1,4 +1,4 @@
1
1
  import type { EventKey } from './generated/analytics.types';
2
2
  import type createEventPayload from './generated/create-event-payload';
3
3
  export type FireEventType = <K extends EventKey>(...params: Parameters<typeof createEventPayload<K>>) => void;
4
- export type AnalyticsEventSource = 'userProfileScreen' | 'teamProfileAbout' | 'teamProfileScreen' | 'userMenu' | 'peopleHome' | 'avatarInitialsPicker' | 'peopleDirectorySearchPage' | 'peopleDirectorySearchResultsPage';
4
+ export type AnalyticsEventSource = 'userProfileScreen' | 'teamProfileAbout' | 'teamProfileScreen' | 'userMenu' | 'peopleHome' | 'avatarInitialsPicker' | 'peopleDirectorySearchPage' | 'peopleDirectorySearchResultsPage' | 'createTeamModal' | 'agentProfileScreen' | 'teamRestoreScreen';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::b415cf5bbcb0bc924155416a84549b88>>
6
+ * @codegen <<SignedSource::a6b20df2d2f431cd63752ff404dab502>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -1139,6 +1139,170 @@ export type TeamOrgMismatchFailedAttributesType = {
1139
1139
  currentOrgId: string;
1140
1140
  queryName: string;
1141
1141
  };
1142
+ export type ProfileAboutItemEditedAttributesType = {
1143
+ fieldKey: string;
1144
+ };
1145
+ export type UserProfileScreenAboutPanelViewedAttributesType = {
1146
+ nonEmptyFields: string;
1147
+ };
1148
+ export type PrivacyPolicyLinkClickedAttributesType = undefined;
1149
+ export type TeamProfileItemClickedAttributesType = {
1150
+ position: number;
1151
+ };
1152
+ export type ShowMoreClickedAttributesType = undefined;
1153
+ export type TeamCreateDialogTriggerButtonClickedAttributesType = {
1154
+ trigger: string;
1155
+ };
1156
+ export type ButtonClickedManageAccountButtonAttributesType = undefined;
1157
+ export type ButtonClickedManageAccessButtonAttributesType = undefined;
1158
+ export type UserProfileScreenLoadFailedAttributesType = undefined;
1159
+ export type UserProfileScreenViewedAttributesType = {
1160
+ isCurrentUser: boolean;
1161
+ };
1162
+ export type ViewAllWorkClickedAttributesType = {
1163
+ location: string;
1164
+ };
1165
+ export type MoreWorkClickedAttributesType = {
1166
+ numItemsDisplayed: number;
1167
+ };
1168
+ export type ActivityEntryClickedAttributesType = {
1169
+ provider: string;
1170
+ entryIndex: number;
1171
+ };
1172
+ export type PlacesLinkClickedAttributesType = {
1173
+ type: string;
1174
+ };
1175
+ export type ViewedTeamProfileFromRequestToJoinNotificationViewedAttributesType = {
1176
+ status: number | null;
1177
+ errorType: string | null;
1178
+ isVerified: boolean;
1179
+ };
1180
+ export type TeamProfileScreenViewedAttributesType = {
1181
+ teamId: string;
1182
+ membershipState: string | null;
1183
+ isViewerMember: boolean;
1184
+ isVerified: boolean;
1185
+ isSiteAdmin: boolean;
1186
+ isOrgAdmin: boolean;
1187
+ orgId: string | null;
1188
+ hasContainersConnect: boolean;
1189
+ numberOfContainersConnected: number;
1190
+ numberOfWebLinksConnected: number;
1191
+ webLinksCurrentlyConnected: unknown[];
1192
+ containersCurrentlyConnected: unknown[];
1193
+ };
1194
+ export type GetTeamProfileSucceededAttributesType = {
1195
+ status: number;
1196
+ isVerified: boolean;
1197
+ };
1198
+ export type GetTeamProfileFailedAttributesType = {
1199
+ status: number | null;
1200
+ };
1201
+ export type AddWebLinkDialogOpenedAttributesType = {
1202
+ teamId: string;
1203
+ };
1204
+ export type EditWebLinkDialogOpenedAttributesType = {
1205
+ teamId: string;
1206
+ };
1207
+ export type LinkClickedHelpLinkAttributesType = {
1208
+ uiScreen: string;
1209
+ descriptionLength: number;
1210
+ titleLength: number;
1211
+ type: string | null;
1212
+ teamId: string | null;
1213
+ totalTags: number | null;
1214
+ numTagsMatchingSearch: number | null;
1215
+ };
1216
+ export type TeamsProfileHelpPointersViewedAttributesType = {
1217
+ isEmpty: boolean;
1218
+ canEdit: boolean;
1219
+ totalArticles: number;
1220
+ totalRequests: number;
1221
+ };
1222
+ export type ShowMoreExpandedAttributesType = {
1223
+ helpType: string;
1224
+ totalHelpPointers: number;
1225
+ };
1226
+ export type DialogOpenedCreateHelpPointerDialogAttributesType = {
1227
+ screen: string;
1228
+ };
1229
+ export type HelpPointerCreatedAttributesType = {
1230
+ screen: string;
1231
+ type: string | null;
1232
+ totalTags: number;
1233
+ descriptionLength: number;
1234
+ teamId: string | null;
1235
+ emptyProfilePage: boolean;
1236
+ };
1237
+ export type TagCreatedAttributesType = {
1238
+ screen: string;
1239
+ context: string;
1240
+ };
1241
+ export type DialogOpenedEditHelpPointerDialogAttributesType = {
1242
+ screen: string;
1243
+ };
1244
+ export type DialogOpenedDeleteHelpPointerDialogAttributesType = {
1245
+ screen: string;
1246
+ };
1247
+ export type HelpPointerDeletedAttributesType = {
1248
+ screen: string;
1249
+ type: string | null;
1250
+ totalTags: number;
1251
+ descriptionLength: number;
1252
+ teamId: string | null;
1253
+ };
1254
+ export type HelpPointerEditedAttributesType = {
1255
+ screen: string;
1256
+ type: string | null;
1257
+ totalTags: number;
1258
+ descriptionLength: number;
1259
+ teamId: string | null;
1260
+ createdNewTeam: boolean;
1261
+ };
1262
+ export type TeamLinkLinkedAttributesType = {
1263
+ linkId: string;
1264
+ teamId: string;
1265
+ linkDomain: string;
1266
+ hasWebLinksConnected: boolean;
1267
+ isMemberOfTeam: boolean;
1268
+ memberOfTeam: boolean;
1269
+ orgAdminTriggered: boolean;
1270
+ isVerified: boolean | null;
1271
+ };
1272
+ export type TeamLinkTypedAttributesType = {
1273
+ length: number;
1274
+ isHttp: boolean;
1275
+ isHttps: boolean;
1276
+ };
1277
+ export type TeamLinkClickedAddHttpButtonAttributesType = {
1278
+ previousLength: number;
1279
+ };
1280
+ export type TeamLinkClickedAddHttpsButtonAttributesType = {
1281
+ previousLength: number;
1282
+ };
1283
+ export type TeamRestoreScreenViewedAttributesType = {
1284
+ teamId: string;
1285
+ orgAdminTriggered: boolean;
1286
+ };
1287
+ export type ButtonClickedReactivateTeamAttributesType = {
1288
+ orgAdminTriggered: boolean;
1289
+ };
1290
+ export type TeamRestoreSucceededAttributesType = undefined;
1291
+ export type TeamRestoreFailedAttributesType = {
1292
+ status: number | null;
1293
+ };
1294
+ export type GetSettingsSucceededAttributesType = undefined;
1295
+ export type GetSettingsFailedAttributesType = undefined;
1296
+ export type TeamLinkEditedAttributesType = {
1297
+ linkId: string;
1298
+ teamId: string;
1299
+ linkDomain: string;
1300
+ oldLinkDomain: string;
1301
+ isLinkPartOfTeamContainers: boolean;
1302
+ memberOfTeam: boolean;
1303
+ orgAdminTriggered: boolean;
1304
+ isVerified: boolean | null;
1305
+ };
1142
1306
  export type AnalyticsEventAttributes = {
1143
1307
  /**
1144
1308
  * fired when the teams-app-internal-analytics example button is clicked */
@@ -1940,5 +2104,128 @@ export type AnalyticsEventAttributes = {
1940
2104
  /**
1941
2105
  * fired when the team org mismatch is failed */
1942
2106
  'operational.TeamOrgMismatch.failed': TeamOrgMismatchFailedAttributesType;
2107
+ /**
2108
+ * fired when the profile about item is edited */
2109
+ 'track.profileAboutItem.edited': ProfileAboutItemEditedAttributesType;
2110
+ /**
2111
+ * fired when the user profile screen about panel is viewed */
2112
+ 'track.userProfileScreenAboutPanel.viewed': UserProfileScreenAboutPanelViewedAttributesType;
2113
+ /**
2114
+ * fired when the privacy policy link is clicked */
2115
+ 'ui.privacyPolicyLink.clicked': PrivacyPolicyLinkClickedAttributesType;
2116
+ /**
2117
+ * fired when the team profile item is clicked */
2118
+ 'ui.teamProfileItem.clicked': TeamProfileItemClickedAttributesType;
2119
+ /**
2120
+ * fired when the show more button is clicked */
2121
+ 'ui.showMore.clicked': ShowMoreClickedAttributesType;
2122
+ /**
2123
+ * fired when the team create dialog trigger button is clicked */
2124
+ 'ui.teamCreateDialogTriggerButton.clicked': TeamCreateDialogTriggerButtonClickedAttributesType;
2125
+ /**
2126
+ * fired when the manage account button is clicked */
2127
+ 'ui.button.clicked.manageAccountButton': ButtonClickedManageAccountButtonAttributesType;
2128
+ /**
2129
+ * fired when the manage access button is clicked */
2130
+ 'ui.button.clicked.manageAccessButton': ButtonClickedManageAccessButtonAttributesType;
2131
+ /**
2132
+ * fired when the user profile screen load fails */
2133
+ 'track.userProfileScreenLoad.failed': UserProfileScreenLoadFailedAttributesType;
2134
+ /**
2135
+ * fired when the user profile screen is viewed */
2136
+ 'screen.userProfileScreen.viewed': UserProfileScreenViewedAttributesType;
2137
+ /**
2138
+ * fired when the view all work button is clicked */
2139
+ 'ui.viewAllWork.clicked': ViewAllWorkClickedAttributesType;
2140
+ /**
2141
+ * fired when the more work button is clicked */
2142
+ 'ui.moreWork.clicked': MoreWorkClickedAttributesType;
2143
+ /**
2144
+ * fired when the activity entry is clicked */
2145
+ 'ui.activityEntry.clicked': ActivityEntryClickedAttributesType;
2146
+ /**
2147
+ * fired when the places link is clicked */
2148
+ 'ui.placesLink.clicked': PlacesLinkClickedAttributesType;
2149
+ /**
2150
+ * fired when the team profile is viewed from the request to join notification */
2151
+ 'track.ViewedTeamProfileFromRequestToJoinNotification.viewed': ViewedTeamProfileFromRequestToJoinNotificationViewedAttributesType;
2152
+ /**
2153
+ * fired when the team profile screen is viewed */
2154
+ 'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
2155
+ /**
2156
+ * fired when the get team profile request is succeeded */
2157
+ 'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
2158
+ /**
2159
+ * fired when the get team profile request is failed */
2160
+ 'operational.GetTeamProfile.failed': GetTeamProfileFailedAttributesType;
2161
+ /**
2162
+ * fired when the add weblink dialog is opened */
2163
+ 'track.addWebLinkDialog.opened': AddWebLinkDialogOpenedAttributesType;
2164
+ /**
2165
+ * fired when the edit weblink dialog is opened */
2166
+ 'track.editWebLinkDialog.opened': EditWebLinkDialogOpenedAttributesType;
2167
+ /**
2168
+ * fired when the help link is clicked */
2169
+ 'ui.link.clicked.helpLink': LinkClickedHelpLinkAttributesType;
2170
+ /**
2171
+ * fired when the help pointers are viewed */
2172
+ 'ui.TeamsProfileHelpPointers.viewed': TeamsProfileHelpPointersViewedAttributesType;
2173
+ /**
2174
+ * fired when the show more button is clicked to expand the help pointers list */
2175
+ 'ui.ShowMore.expanded': ShowMoreExpandedAttributesType;
2176
+ /**
2177
+ * fired when the create help pointer dialog is opened */
2178
+ 'ui.dialog.opened.createHelpPointerDialog': DialogOpenedCreateHelpPointerDialogAttributesType;
2179
+ /**
2180
+ * fired when a help pointer is successfully created */
2181
+ 'track.helpPointer.created': HelpPointerCreatedAttributesType;
2182
+ /**
2183
+ * fired when a tag is successfully created */
2184
+ 'track.tag.created': TagCreatedAttributesType;
2185
+ /**
2186
+ * fired when the edit help pointer dialog is opened */
2187
+ 'ui.dialog.opened.editHelpPointerDialog': DialogOpenedEditHelpPointerDialogAttributesType;
2188
+ /**
2189
+ * fired when the delete help pointer dialog is opened */
2190
+ 'ui.dialog.opened.deleteHelpPointerDialog': DialogOpenedDeleteHelpPointerDialogAttributesType;
2191
+ /**
2192
+ * fired when a help pointer is successfully deleted */
2193
+ 'track.helpPointer.deleted': HelpPointerDeletedAttributesType;
2194
+ /**
2195
+ * fired when a help pointer is successfully edited */
2196
+ 'track.helpPointer.edited': HelpPointerEditedAttributesType;
2197
+ /**
2198
+ * fired when a team is successfully linked to a container */
2199
+ 'track.teamLink.linked': TeamLinkLinkedAttributesType;
2200
+ /**
2201
+ * fired when a link is typed in the add link dialog */
2202
+ 'ui.teamLink.typed': TeamLinkTypedAttributesType;
2203
+ /**
2204
+ * fired when the add http button is clicked in the add link dialog */
2205
+ 'ui.teamLink.clicked.addHttpButton': TeamLinkClickedAddHttpButtonAttributesType;
2206
+ /**
2207
+ * fired when the add https button is clicked in the add link dialog */
2208
+ 'ui.teamLink.clicked.addHttpsButton': TeamLinkClickedAddHttpsButtonAttributesType;
2209
+ /**
2210
+ * fired when the team restore screen is viewed */
2211
+ 'screen.teamRestoreScreen.viewed': TeamRestoreScreenViewedAttributesType;
2212
+ /**
2213
+ * fired when the reactivate team button is clicked */
2214
+ 'ui.button.clicked.reactivateTeam': ButtonClickedReactivateTeamAttributesType;
2215
+ /**
2216
+ * fired when the team is successfully restored */
2217
+ 'operational.teamRestore.succeeded': TeamRestoreSucceededAttributesType;
2218
+ /**
2219
+ * fired when the team restore action fails */
2220
+ 'operational.teamRestore.failed': TeamRestoreFailedAttributesType;
2221
+ /**
2222
+ * fired when the get settings request is succeeded */
2223
+ 'operational.GetSettings.succeeded': GetSettingsSucceededAttributesType;
2224
+ /**
2225
+ * fired when the get settings request fails */
2226
+ 'operational.GetSettings.failed': GetSettingsFailedAttributesType;
2227
+ /**
2228
+ * fired when a team link is successfully edited */
2229
+ 'track.teamLink.edited': TeamLinkEditedAttributesType;
1943
2230
  };
1944
2231
  export type EventKey = keyof AnalyticsEventAttributes;
@@ -1,4 +1,4 @@
1
1
  import type { EventKey } from './generated/analytics.types';
2
2
  import type createEventPayload from './generated/create-event-payload';
3
3
  export type FireEventType = <K extends EventKey>(...params: Parameters<typeof createEventPayload<K>>) => void;
4
- export type AnalyticsEventSource = 'userProfileScreen' | 'teamProfileAbout' | 'teamProfileScreen' | 'userMenu' | 'peopleHome' | 'avatarInitialsPicker' | 'peopleDirectorySearchPage' | 'peopleDirectorySearchResultsPage';
4
+ export type AnalyticsEventSource = 'userProfileScreen' | 'teamProfileAbout' | 'teamProfileScreen' | 'userMenu' | 'peopleHome' | 'avatarInitialsPicker' | 'peopleDirectorySearchPage' | 'peopleDirectorySearchResultsPage' | 'createTeamModal' | 'agentProfileScreen' | 'teamRestoreScreen';
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/primitives": "^15.0.0",
35
35
  "@atlaskit/tokens": "^6.5.0",
36
36
  "@babel/runtime": "^7.0.0",
37
- "@compiled/react": "^0.18.3"
37
+ "@compiled/react": "^0.18.6"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "^18.2.0"
@@ -88,7 +88,7 @@
88
88
  }
89
89
  },
90
90
  "name": "@atlaskit/teams-app-internal-analytics",
91
- "version": "1.16.0",
91
+ "version": "1.17.0",
92
92
  "description": "A package used by the teams app and platform packages to handle people and teams analytics",
93
93
  "author": "Atlassian Pty Ltd",
94
94
  "license": "Apache-2.0",