@artsy/cohesion 4.167.0 → 4.168.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.168.0 (Tue Apr 02 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Adding event tracking for news taps on app [#486](https://github.com/artsy/cohesion/pull/486) ([@leodmz](https://github.com/leodmz))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Leo Demazeau ([@leodmz](https://github.com/leodmz))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.167.0 (Wed Feb 07 2024)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -972,3 +972,28 @@ export interface TappedHighlightAchievement {
|
|
|
972
972
|
context_screen_owner_id: string;
|
|
973
973
|
context_screen_owner_slug?: string;
|
|
974
974
|
}
|
|
975
|
+
/**
|
|
976
|
+
* A user taps the dedicated section to news in the app
|
|
977
|
+
*
|
|
978
|
+
* This schema describes events sent to Segment from [[tappedNewsSection]]
|
|
979
|
+
*
|
|
980
|
+
* @example
|
|
981
|
+
* ```
|
|
982
|
+
* {
|
|
983
|
+
* action: "tappedNewsSection",
|
|
984
|
+
* context_module : "", Home or News
|
|
985
|
+
* context_screen_owner_type: "Home",
|
|
986
|
+
* context_screen_owner_id: "58de681f275b2464fcdde097",
|
|
987
|
+
* destination_screen_owner_type: "Artwork"
|
|
988
|
+
* destination_screen_owner_id: "58de681f275b2464fcdde097"
|
|
989
|
+
* }
|
|
990
|
+
* ```
|
|
991
|
+
*/
|
|
992
|
+
export interface TappedNewsSection {
|
|
993
|
+
action: ActionType.tappedNewsSection;
|
|
994
|
+
context_module: ContextModule;
|
|
995
|
+
context_screen_owner_type: ScreenOwnerType;
|
|
996
|
+
context_screen_owner_id: string;
|
|
997
|
+
destination_screen_owner_type: ScreenOwnerType;
|
|
998
|
+
destination_screen_owner_id: string;
|
|
999
|
+
}
|
|
@@ -928,6 +928,10 @@ export declare enum ActionType {
|
|
|
928
928
|
* Corresponds to {@link TappedHighlightAchievement}
|
|
929
929
|
*/
|
|
930
930
|
tappedHighlightAchievement = "tappedHighlightAchievement",
|
|
931
|
+
/**
|
|
932
|
+
* Corresponds to {@link TappedNewsSection}
|
|
933
|
+
*/
|
|
934
|
+
tappedNewsSection = "tappedNewsSection",
|
|
931
935
|
/**
|
|
932
936
|
* Corresponds to {@link TimeOnPage}
|
|
933
937
|
*/
|
|
@@ -242,6 +242,7 @@ exports.ActionType = ActionType;
|
|
|
242
242
|
ActionType["tappedVerifiedRepresentative"] = "tappedVerifiedRepresentative";
|
|
243
243
|
ActionType["tappedGene"] = "tappedGene";
|
|
244
244
|
ActionType["tappedHighlightAchievement"] = "tappedHighlightAchievement";
|
|
245
|
+
ActionType["tappedNewsSection"] = "tappedNewsSection";
|
|
245
246
|
ActionType["timeOnPage"] = "timeOnPage";
|
|
246
247
|
ActionType["toggledAccordion"] = "toggledAccordion";
|
|
247
248
|
ActionType["toggledNotification"] = "toggledNotification";
|