@artsy/cohesion 4.146.0 → 4.148.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 +24 -0
- package/dist/Schema/Events/Click.d.ts +29 -4
- package/dist/Schema/Events/Tap.d.ts +25 -0
- package/dist/Schema/Events/index.d.ts +8 -0
- package/dist/Schema/Events/index.js +2 -0
- package/dist/Schema/Values/ContextModule.d.ts +2 -0
- package/dist/Schema/Values/ContextModule.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.148.0 (Thu Sep 21 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- DIA-112 Adding tracking of clicks on the gallery verified rep pill [#462](https://github.com/artsy/cohesion/pull/462) ([@leodmz](https://github.com/leodmz))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Leo Demazeau ([@leodmz](https://github.com/leodmz))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.147.0 (Fri Sep 15 2023)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat(AMBER-207): add context module for demand page, use page owner types [#461](https://github.com/artsy/cohesion/pull/461) ([@mdole](https://github.com/mdole))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Matt Dole ([@mdole](https://github.com/mdole))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.146.0 (Fri Sep 15 2023)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1559,7 +1559,7 @@ export interface ClickedOnDuplicateArtwork {
|
|
|
1559
1559
|
export interface ClickedValidationAddressOptions {
|
|
1560
1560
|
action: ActionType.clickedValidationAddressOptions;
|
|
1561
1561
|
context_module: ContextModule;
|
|
1562
|
-
context_page_owner_type:
|
|
1562
|
+
context_page_owner_type: PageOwnerType;
|
|
1563
1563
|
context_page_owner_id: string;
|
|
1564
1564
|
user_id: string;
|
|
1565
1565
|
subject: string;
|
|
@@ -1587,7 +1587,7 @@ export interface ClickedValidationAddressOptions {
|
|
|
1587
1587
|
export interface ClickedCloseValidationAddressModal {
|
|
1588
1588
|
action: ActionType.clickedCloseValidationAddressModal;
|
|
1589
1589
|
context_module: ContextModule;
|
|
1590
|
-
context_page_owner_type:
|
|
1590
|
+
context_page_owner_type: PageOwnerType;
|
|
1591
1591
|
context_page_owner_id: string;
|
|
1592
1592
|
subject: string;
|
|
1593
1593
|
option: string;
|
|
@@ -1613,7 +1613,7 @@ export interface ClickedCloseValidationAddressModal {
|
|
|
1613
1613
|
export interface ClickedNavBar {
|
|
1614
1614
|
action: ActionType.clickedNavBar;
|
|
1615
1615
|
context_module: ContextModule;
|
|
1616
|
-
context_page_owner_type:
|
|
1616
|
+
context_page_owner_type: PageOwnerType;
|
|
1617
1617
|
context_page_owner_id?: string;
|
|
1618
1618
|
destination_path: string;
|
|
1619
1619
|
subject: string;
|
|
@@ -1639,9 +1639,34 @@ export interface ClickedNavBar {
|
|
|
1639
1639
|
export interface ClickedUploadArtwork {
|
|
1640
1640
|
action: ActionType.clickedUploadArtwork;
|
|
1641
1641
|
context_module: ContextModule;
|
|
1642
|
-
context_page_owner_type:
|
|
1642
|
+
context_page_owner_type: PageOwnerType;
|
|
1643
1643
|
context_page_owner_id?: string;
|
|
1644
1644
|
artist_id?: string;
|
|
1645
1645
|
search_criteria_id?: string;
|
|
1646
1646
|
subject: string;
|
|
1647
1647
|
}
|
|
1648
|
+
/**
|
|
1649
|
+
* User clicks on the gallery representation pill under featured representation on the artist page
|
|
1650
|
+
*
|
|
1651
|
+
* This schema describes events sent to Segment from [[clickedVerifiedRepresentative]]
|
|
1652
|
+
*
|
|
1653
|
+
* @example
|
|
1654
|
+
* ```
|
|
1655
|
+
* {
|
|
1656
|
+
* action: "clickedVerifiedRepresentative",
|
|
1657
|
+
* context_module: ""
|
|
1658
|
+
* context_page_owner_type: PageOwnerType
|
|
1659
|
+
* context_page_owner_id?: "artist_id"
|
|
1660
|
+
* destination_page_owner_type: PageOwnerType
|
|
1661
|
+
* destination_page_owner_id?: "partner_id"
|
|
1662
|
+
* }
|
|
1663
|
+
* ```
|
|
1664
|
+
*/
|
|
1665
|
+
export interface ClickedVerifiedRepresentative {
|
|
1666
|
+
action: ActionType.clickedVerifiedRepresentative;
|
|
1667
|
+
context_module?: ContextModule;
|
|
1668
|
+
context_page_owner_type: PageOwnerType;
|
|
1669
|
+
context_page_owner_id: string;
|
|
1670
|
+
destination_page_owner_type: PageOwnerType;
|
|
1671
|
+
destination_page_owner_id: string;
|
|
1672
|
+
}
|
|
@@ -897,3 +897,28 @@ export interface LongPressedArtwork {
|
|
|
897
897
|
context_screen_owner_id?: string;
|
|
898
898
|
context_screen_owner_slug?: string;
|
|
899
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* User taps on the gallery representation pill under featured representation on the artist page
|
|
902
|
+
*
|
|
903
|
+
* This schema describes events sent to Segment from [[tappeddVerifiedRepresentative]]
|
|
904
|
+
*
|
|
905
|
+
* @example
|
|
906
|
+
* ```
|
|
907
|
+
* {
|
|
908
|
+
* action: "tappedVerifiedRepresentative",
|
|
909
|
+
* context_module: ""
|
|
910
|
+
* context_screen_owner_type: PageOwnerType
|
|
911
|
+
* context_screen_owner_id?: "artist_id"
|
|
912
|
+
* destination_screen_owner_type: PageOwnerType
|
|
913
|
+
* destination_screen_owner_id?: "partner_id"
|
|
914
|
+
* }
|
|
915
|
+
* ```
|
|
916
|
+
*/
|
|
917
|
+
export interface TappedVerifiedRepresentative {
|
|
918
|
+
action: ActionType.tappedVerifiedRepresentative;
|
|
919
|
+
context_module?: ContextModule;
|
|
920
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
921
|
+
context_screen_owner_id: string;
|
|
922
|
+
destination_screen_owner_type: ScreenOwnerType;
|
|
923
|
+
destination_screen_owner_id: string;
|
|
924
|
+
}
|
|
@@ -360,6 +360,10 @@ export declare enum ActionType {
|
|
|
360
360
|
* Corresponds to {@link ClickedCloseValidationAddressModal}
|
|
361
361
|
*/
|
|
362
362
|
clickedCloseValidationAddressModal = "clickedCloseValidationAddressModal",
|
|
363
|
+
/**
|
|
364
|
+
* Corresponds to {@link ClickedVerifiedRepresentative}
|
|
365
|
+
*/
|
|
366
|
+
clickedVerifiedRepresentative = "clickedVerifiedRepresentative",
|
|
363
367
|
/**
|
|
364
368
|
* Corresponds to {@link CommercialFilterParamsChanged}
|
|
365
369
|
*/
|
|
@@ -840,6 +844,10 @@ export declare enum ActionType {
|
|
|
840
844
|
* Corresponds to {@link TappedViewOffer}
|
|
841
845
|
*/
|
|
842
846
|
tappedViewOffer = "tappedViewOffer",
|
|
847
|
+
/**
|
|
848
|
+
* Corresponds to {@link TappedVerifiedRepresentative}
|
|
849
|
+
*/
|
|
850
|
+
tappedVerifiedRepresentative = "tappedVerifiedRepresentative",
|
|
843
851
|
/**
|
|
844
852
|
* Corresponds to {@link TimeOnPage}
|
|
845
853
|
*/
|
|
@@ -100,6 +100,7 @@ exports.ActionType = ActionType;
|
|
|
100
100
|
ActionType["clickedViewingRoomCard"] = "clickedViewingRoomCard";
|
|
101
101
|
ActionType["clickedValidationAddressOptions"] = "clickedValidationAddressOptions";
|
|
102
102
|
ActionType["clickedCloseValidationAddressModal"] = "clickedCloseValidationAddressModal";
|
|
103
|
+
ActionType["clickedVerifiedRepresentative"] = "clickedVerifiedRepresentative";
|
|
103
104
|
ActionType["commercialFilterParamsChanged"] = "commercialFilterParamsChanged";
|
|
104
105
|
ActionType["completedOnboarding"] = "completedOnboarding";
|
|
105
106
|
ActionType["confirmBid"] = "confirmBid";
|
|
@@ -220,6 +221,7 @@ exports.ActionType = ActionType;
|
|
|
220
221
|
ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
|
|
221
222
|
ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
|
|
222
223
|
ActionType["tappedViewOffer"] = "tappedViewOffer";
|
|
224
|
+
ActionType["tappedVerifiedRepresentative"] = "tappedVerifiedRepresentative";
|
|
223
225
|
ActionType["timeOnPage"] = "timeOnPage";
|
|
224
226
|
ActionType["toggledAccordion"] = "toggledAccordion";
|
|
225
227
|
ActionType["toggledNotification"] = "toggledNotification";
|
|
@@ -9,6 +9,8 @@ export declare enum ContextModule {
|
|
|
9
9
|
aboutThisAuction = "aboutThisAuction",
|
|
10
10
|
adServer = "adServer",
|
|
11
11
|
activityRail = "activityRail",
|
|
12
|
+
alertsWithPrice = "alertsWithPrice",
|
|
13
|
+
alertsWithoutPrice = "alertsWithoutPrice",
|
|
12
14
|
articleArtist = "articleArtist",
|
|
13
15
|
articleRail = "articleRail",
|
|
14
16
|
article = "article",
|
|
@@ -23,6 +23,8 @@ exports.ContextModule = ContextModule;
|
|
|
23
23
|
ContextModule["aboutThisAuction"] = "aboutThisAuction";
|
|
24
24
|
ContextModule["adServer"] = "adServer";
|
|
25
25
|
ContextModule["activityRail"] = "activityRail";
|
|
26
|
+
ContextModule["alertsWithPrice"] = "alertsWithPrice";
|
|
27
|
+
ContextModule["alertsWithoutPrice"] = "alertsWithoutPrice";
|
|
26
28
|
ContextModule["articleArtist"] = "articleArtist";
|
|
27
29
|
ContextModule["articleRail"] = "articleRail";
|
|
28
30
|
ContextModule["article"] = "article";
|