@artsy/cohesion 4.250.0 → 4.252.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,27 @@
|
|
|
1
|
+
# v4.252.0 (Wed Apr 09 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: adjust types for the favorites tab tracking [#578](https://github.com/artsy/cohesion/pull/578) ([@dariakoko](https://github.com/dariakoko))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.251.0 (Tue Apr 08 2025)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- chore(ONYX-1646): follows tracking followup [#577](https://github.com/artsy/cohesion/pull/577) ([@dariakoko](https://github.com/dariakoko))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.250.0 (Tue Apr 08 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -68,10 +68,11 @@ export interface TappedArtworkList {
|
|
|
68
68
|
* }
|
|
69
69
|
* ```
|
|
70
70
|
*/
|
|
71
|
+
export type SelectedFromDrawerSubject = "artists" | "galleries" | "categories" | "shows";
|
|
71
72
|
export interface SelectedFromDrawer {
|
|
72
73
|
action: ActionType.selectedFromDrawer;
|
|
73
74
|
context_screen: OwnerType.favoritesFollows;
|
|
74
|
-
subject:
|
|
75
|
+
subject: SelectedFromDrawerSubject;
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
77
78
|
* A user taps a grouping of Follows group
|
|
@@ -93,13 +94,11 @@ export interface TappedFollowsGroup extends TappedEntityGroup {
|
|
|
93
94
|
action: ActionType.tappedFollowsGroup;
|
|
94
95
|
context_screen: OwnerType.favoritesFollows;
|
|
95
96
|
destination_screen_owner_type: OwnerType.artist | OwnerType.gallery | OwnerType.category | OwnerType.show;
|
|
96
|
-
destination_screen_owner_slug: string;
|
|
97
|
-
destination_screen_owner_id: string;
|
|
98
97
|
}
|
|
99
98
|
/**
|
|
100
99
|
* A user taps a grouping of Alerts
|
|
101
100
|
*
|
|
102
|
-
* This schema describes events sent to Segment from [[
|
|
101
|
+
* This schema describes events sent to Segment from [[TappedAlertsGroup]]
|
|
103
102
|
*
|
|
104
103
|
* @example
|
|
105
104
|
* ```
|
|
@@ -112,7 +111,7 @@ export interface TappedFollowsGroup extends TappedEntityGroup {
|
|
|
112
111
|
* }
|
|
113
112
|
* ```
|
|
114
113
|
*/
|
|
115
|
-
export interface TappedAlertsGroup
|
|
114
|
+
export interface TappedAlertsGroup {
|
|
116
115
|
action: ActionType.tappedAlertsGroup;
|
|
117
116
|
context_screen: OwnerType.favoritesAlerts;
|
|
118
117
|
destination_screen_owner_type: OwnerType.alert;
|
|
@@ -451,7 +451,7 @@ export interface TappedInfoBubble {
|
|
|
451
451
|
context_screen_owner_type: ScreenOwnerType;
|
|
452
452
|
context_screen_owner_id?: string;
|
|
453
453
|
context_screen_owner_slug?: string;
|
|
454
|
-
subject: "auctionResults" | "demandIndex" | "priceEstimate" | "artistMarketStatistics" | "auctionResultSalePrice" | "alertsHeader" | "followsHeader" | "signalYourInterestToGalleries";
|
|
454
|
+
subject: "auctionResults" | "demandIndex" | "priceEstimate" | "artistMarketStatistics" | "auctionResultSalePrice" | "alertsHeader" | "followsHeader" | "signalYourInterestToGalleries" | "favoritesHeader";
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* A user taps on an artwork in the main artwork grid, which is the main product feed we can find on our core merchandising surfaces.
|
|
@@ -99,6 +99,9 @@ export declare enum ContextModule {
|
|
|
99
99
|
fairRail = "fairRail",
|
|
100
100
|
fairsHeader = "fairsHeader",
|
|
101
101
|
fairTab = "fairTab",
|
|
102
|
+
favoritesAlerts = "favoritesAlerts",
|
|
103
|
+
favoritesFollows = "favoritesFollows",
|
|
104
|
+
favoritesSaves = "favoritesSaves",
|
|
102
105
|
featuredArtists = "featuredArtists",
|
|
103
106
|
featuredArtistsRail = "featuredArtistsRail",
|
|
104
107
|
featuredCollection = "featuredCollection",
|
|
@@ -110,6 +113,8 @@ export declare enum ContextModule {
|
|
|
110
113
|
filterScreen = "filterScreen",
|
|
111
114
|
findTheArtYouWant = "findTheArtYouWant",
|
|
112
115
|
follows = "follows",
|
|
116
|
+
followedArtistListItem = "followedArtistListItem",
|
|
117
|
+
followedGalleryListItem = "followedGalleryListItem",
|
|
113
118
|
footer = "footer",
|
|
114
119
|
frequentlyAskedQuestions = "frequentlyAskedQuestions",
|
|
115
120
|
galleriesForYouBanner = "galleriesForYouBanner",
|
|
@@ -113,6 +113,9 @@ exports.ContextModule = ContextModule;
|
|
|
113
113
|
ContextModule["fairRail"] = "fairRail";
|
|
114
114
|
ContextModule["fairsHeader"] = "fairsHeader";
|
|
115
115
|
ContextModule["fairTab"] = "fairTab";
|
|
116
|
+
ContextModule["favoritesAlerts"] = "favoritesAlerts";
|
|
117
|
+
ContextModule["favoritesFollows"] = "favoritesFollows";
|
|
118
|
+
ContextModule["favoritesSaves"] = "favoritesSaves";
|
|
116
119
|
ContextModule["featuredArtists"] = "featuredArtists";
|
|
117
120
|
ContextModule["featuredArtistsRail"] = "featuredArtistsRail";
|
|
118
121
|
ContextModule["featuredCollection"] = "featuredCollection";
|
|
@@ -124,6 +127,8 @@ exports.ContextModule = ContextModule;
|
|
|
124
127
|
ContextModule["filterScreen"] = "filterScreen";
|
|
125
128
|
ContextModule["findTheArtYouWant"] = "findTheArtYouWant";
|
|
126
129
|
ContextModule["follows"] = "follows";
|
|
130
|
+
ContextModule["followedArtistListItem"] = "followedArtistListItem";
|
|
131
|
+
ContextModule["followedGalleryListItem"] = "followedGalleryListItem";
|
|
127
132
|
ContextModule["footer"] = "footer";
|
|
128
133
|
ContextModule["frequentlyAskedQuestions"] = "frequentlyAskedQuestions";
|
|
129
134
|
ContextModule["galleriesForYouBanner"] = "galleriesForYouBanner";
|
|
@@ -162,7 +162,7 @@ export declare enum OwnerType {
|
|
|
162
162
|
/**
|
|
163
163
|
* Owner types available in iOS/Android
|
|
164
164
|
*/
|
|
165
|
-
export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPriceRange | OwnerType.accountSettings | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.favorites | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
|
|
165
|
+
export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPriceRange | OwnerType.accountSettings | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.favorites | OwnerType.favoritesAlerts | OwnerType.favoritesFollows | OwnerType.favoritesSaves | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
|
|
166
166
|
/**
|
|
167
167
|
* Owner types available in web/mobile web
|
|
168
168
|
*/
|