@artsy/cohesion 4.147.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
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
|
|
1
13
|
# v4.147.0 (Fri Sep 15 2023)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -1645,3 +1645,28 @@ export interface ClickedUploadArtwork {
|
|
|
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";
|