@artsy/cohesion 4.413.0 → 4.414.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 +12 -0
- package/dist/Schema/Events/Click.d.ts +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.414.0 (Mon Oct 26 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: allow artistHeader context module on clickedSocialPost [#765](https://github.com/artsy/cohesion/pull/765) ([@rquartararo](https://github.com/rquartararo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Rachel Quartararo ([@rquartararo](https://github.com/rquartararo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.413.0 (Mon Oct 12 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 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;
|