@artsy/cohesion 4.413.0 → 4.415.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.415.0 (Tue Oct 27 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: add recommendedArticles context module [#756](https://github.com/artsy/cohesion/pull/756) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.414.0 (Mon Oct 26 2026)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: allow artistHeader context module on clickedSocialPost [#765](https://github.com/artsy/cohesion/pull/765) ([@rquartararo](https://github.com/rquartararo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Rachel Quartararo ([@rquartararo](https://github.com/rquartararo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.413.0 (Mon Oct 12 2026)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1446,7 +1446,8 @@ export interface ClickedExternalNewsSource {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
/**
|
|
1448
1448
|
* A user clicks a post in the "Social" rail — today, an Instagram post on the artist
|
|
1449
|
-
* overview page
|
|
1449
|
+
* overview page — or the social profile link in the artist header. Either links out
|
|
1450
|
+
* to the network itself.
|
|
1450
1451
|
*
|
|
1451
1452
|
* This schema describes events sent to Segment from [[clickedSocialPost]]
|
|
1452
1453
|
*
|
|
@@ -1466,11 +1467,11 @@ export interface ClickedExternalNewsSource {
|
|
|
1466
1467
|
*/
|
|
1467
1468
|
export interface ClickedSocialPost {
|
|
1468
1469
|
action: ActionType.clickedSocialPost;
|
|
1469
|
-
context_module: ContextModule.socialRail;
|
|
1470
|
+
context_module: ContextModule.socialRail | ContextModule.artistHeader;
|
|
1470
1471
|
context_page_owner_type: PageOwnerType;
|
|
1471
1472
|
context_page_owner_id?: string;
|
|
1472
1473
|
context_page_owner_slug?: string;
|
|
1473
|
-
/** The post the
|
|
1474
|
+
/** The post (rail) or profile (header) the click links out to. Absent when the post has no permalink */
|
|
1474
1475
|
destination_path?: string;
|
|
1475
1476
|
/** One-based position of the post in the rail */
|
|
1476
1477
|
horizontal_slide_position?: number;
|
|
@@ -242,6 +242,7 @@ export declare enum ContextModule {
|
|
|
242
242
|
recentlyViewedRail = "recentlyViewedRail",
|
|
243
243
|
recentPriceRanges = "recentPriceRanges",
|
|
244
244
|
recentSearchesRail = "recentSearchesRail",
|
|
245
|
+
recommendedArticles = "recommendedArticles",
|
|
245
246
|
recommendedArtistsRail = "recommendedArtistsRail",
|
|
246
247
|
recommendedWorksForYouRail = "recommendedWorksForYouRail",
|
|
247
248
|
relatedArticles = "relatedArticles",
|
|
@@ -255,6 +255,7 @@ exports.ContextModule = ContextModule;
|
|
|
255
255
|
ContextModule["recentlyViewedRail"] = "recentlyViewedRail";
|
|
256
256
|
ContextModule["recentPriceRanges"] = "recentPriceRanges";
|
|
257
257
|
ContextModule["recentSearchesRail"] = "recentSearchesRail";
|
|
258
|
+
ContextModule["recommendedArticles"] = "recommendedArticles";
|
|
258
259
|
ContextModule["recommendedArtistsRail"] = "recommendedArtistsRail";
|
|
259
260
|
ContextModule["recommendedWorksForYouRail"] = "recommendedWorksForYouRail";
|
|
260
261
|
ContextModule["relatedArticles"] = "relatedArticles";
|