@artsy/cohesion 4.252.0 → 4.253.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.253.0 (Thu Apr 10 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(DIA-1252): add tappedShare event [#579](https://github.com/artsy/cohesion/pull/579) ([@iskounen](https://github.com/iskounen))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Adam Iskounen ([@iskounen](https://github.com/iskounen))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.252.0 (Wed Apr 09 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -567,6 +567,29 @@ export interface TappedRewind {
|
|
|
567
567
|
context_screen_owner_slug: string;
|
|
568
568
|
context_screen_owner_type: ScreenOwnerType;
|
|
569
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* A user taps on the share button
|
|
572
|
+
*
|
|
573
|
+
* This schema describes events sent to Segment from [[tappedShare]]
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* ```
|
|
577
|
+
* {
|
|
578
|
+
* action: "tappedShare",
|
|
579
|
+
* context_module: "infiniteDiscovery",
|
|
580
|
+
* context_screen_owner_id: "artwork-id",
|
|
581
|
+
* context_screen_owner_slug: "artwork-slug",
|
|
582
|
+
* context_screen_owner_type: "infiniteDiscoveryArtwork"
|
|
583
|
+
* }
|
|
584
|
+
* ```
|
|
585
|
+
*/
|
|
586
|
+
export interface TappedShare {
|
|
587
|
+
action: ActionType.tappedShare;
|
|
588
|
+
context_module: ContextModule;
|
|
589
|
+
context_screen_owner_id: string;
|
|
590
|
+
context_screen_owner_slug: string;
|
|
591
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
592
|
+
}
|
|
570
593
|
/**
|
|
571
594
|
* A user taps a button that navigates to the Sell With Artsy home screen (not the 'sell' icon in the tab bar)
|
|
572
595
|
*
|
|
@@ -1050,6 +1050,10 @@ export declare enum ActionType {
|
|
|
1050
1050
|
* Corresponds to {@link TappedSellArtwork}
|
|
1051
1051
|
*/
|
|
1052
1052
|
tappedSellArtwork = "tappedSellArtwork",
|
|
1053
|
+
/**
|
|
1054
|
+
* Corresponds to {@link TappedShare}
|
|
1055
|
+
*/
|
|
1056
|
+
tappedShare = "tappedShare",
|
|
1053
1057
|
/**
|
|
1054
1058
|
* Corresponds to {@link TappedShowGroup}
|
|
1055
1059
|
*/
|
|
@@ -272,6 +272,7 @@ exports.ActionType = ActionType;
|
|
|
272
272
|
ActionType["tappedRewind"] = "tappedRewind";
|
|
273
273
|
ActionType["tappedSell"] = "tappedSell";
|
|
274
274
|
ActionType["tappedSellArtwork"] = "tappedSellArtwork";
|
|
275
|
+
ActionType["tappedShare"] = "tappedShare";
|
|
275
276
|
ActionType["tappedShowGroup"] = "tappedShowGroup";
|
|
276
277
|
ActionType["tappedShowMore"] = "tappedShowMore";
|
|
277
278
|
ActionType["tappedSkip"] = "tappedSkip";
|