@artsy/cohesion
Advanced tools
Comparing version 1.65.0 to 1.66.0
@@ -0,1 +1,13 @@ | ||
# v1.66.0 (Wed Dec 09 2020) | ||
#### 🚀 Enhancement | ||
- Tracked events for inbox on iOS [#141](https://github.com/artsy/cohesion/pull/141) ([@mikehrom](https://github.com/mikehrom)) | ||
#### Authors: 1 | ||
- mike hromchak ([@mikehrom](https://github.com/mikehrom)) | ||
--- | ||
# v1.65.0 (Wed Dec 09 2020) | ||
@@ -2,0 +14,0 @@ |
@@ -0,1 +1,3 @@ | ||
import { ContextModule } from "../Values/ContextModule"; | ||
import { OwnerType } from "../Values/OwnerType"; | ||
import { ActionType } from "."; | ||
@@ -42,1 +44,30 @@ /** | ||
} | ||
/** | ||
* A user taps an inquiry message within their inbox | ||
* | ||
* This schema describes events sent to Segment from [[TappedInboxConversation]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "tappedInboxConversation", | ||
* context_module: "inboxInquiries", | ||
* context_screen_owner_type: "inboxInquiries", | ||
* destination_screen_owner_type: "inboxConversation", | ||
* destination_screen_owner_id: "5df3e3fa485efe0012c37055", | ||
* artwork_id: "5fa1bb26522ad2000edb793f", | ||
* partner_id: "51912367a0134c613000001d" | ||
* } | ||
* ``` | ||
*/ | ||
export interface TappedInboxConversation { | ||
action: ActionType.tappedInboxConversation; | ||
context_module: ContextModule.inboxInquiries; | ||
context_screen_owner_type: OwnerType.inboxInquiries; | ||
context_screen_owner_id?: string; | ||
context_screen_owner_slug?: string; | ||
destination_screen_owner_type: OwnerType.inboxConversation; | ||
destination_screen_owner_id: string; | ||
artwork_id: string; | ||
partner_id: string; | ||
} |
import { AddToCalendar } from "./AddToCalendar"; | ||
import { AuthImpression, CreatedAccount, OnboardingUserInputData, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication"; | ||
import { ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairCard, ClickedFairGroup, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedPartnerCard, ClickedShowMore, ClickedViewingRoomCard } from "./Click"; | ||
import { FocusedOnConversationMessageInput, SentConversationMessage } from "./Conversations"; | ||
import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation } from "./Conversations"; | ||
import { CommercialFilterParamsChanged } from "./FilterAndSort"; | ||
@@ -16,3 +16,3 @@ import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, TappedCollectedArtwork } from "./MyCollection"; | ||
*/ | ||
export declare type Event = AddToCalendar | AddCollectedArtwork | AuthImpression | CreatedAccount | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairCard | ClickedFairGroup | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedPartnerCard | ClickedShowMore | ClickedViewingRoomCard | CommercialFilterParamsChanged | DeleteCollectedArtwork | EditCollectedArtwork | FocusedOnConversationMessageInput | FollowEvents | OnboardingUserInputData | ResetYourPassword | SaleScreenLoadComplete | SentConversationMessage | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedCollectedArtwork | TappedCollectionGroup | TappedConsign | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInfoBubble | TappedNavigationTab | TappedMainArtworkGrid | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedViewingRoomCard | TappedViewingRoomGroup | TimeOnPage | ToggledNotification; | ||
export declare type Event = AddToCalendar | AddCollectedArtwork | AuthImpression | CreatedAccount | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairCard | ClickedFairGroup | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedPartnerCard | ClickedShowMore | ClickedViewingRoomCard | CommercialFilterParamsChanged | DeleteCollectedArtwork | EditCollectedArtwork | FocusedOnConversationMessageInput | FollowEvents | OnboardingUserInputData | ResetYourPassword | SaleScreenLoadComplete | SentConversationMessage | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedCollectedArtwork | TappedCollectionGroup | TappedConsign | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedNavigationTab | TappedMainArtworkGrid | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedViewingRoomCard | TappedViewingRoomGroup | TimeOnPage | ToggledNotification; | ||
/** | ||
@@ -209,2 +209,6 @@ * The top-level actions an Event describes. | ||
/** | ||
* Corresponds to {@link TappedInboxConversation} | ||
*/ | ||
tappedInboxConversation = "tappedInboxConversation", | ||
/** | ||
* Corresponds to {@link TappedInfoBubble} | ||
@@ -211,0 +215,0 @@ */ |
@@ -69,2 +69,3 @@ "use strict"; | ||
ActionType["tappedFairCard"] = "tappedFairCard"; | ||
ActionType["tappedInboxConversation"] = "tappedInboxConversation"; | ||
ActionType["tappedInfoBubble"] = "tappedInfoBubble"; | ||
@@ -71,0 +72,0 @@ ActionType["tappedMainArtworkGrid"] = "tappedMainArtworkGrid"; |
@@ -55,2 +55,6 @@ /** | ||
header = "header", | ||
inboxActiveBids = "inboxActiveBids", | ||
inboxClosedBids = "inboxClosedBids", | ||
inboxConversation = "inboxConversation", | ||
inboxInquiries = "inboxInquiries", | ||
intextTooltip = "intextTooltip", | ||
@@ -57,0 +61,0 @@ latestViewingRoomsRail = "latestViewingRoomsRail", |
@@ -69,2 +69,6 @@ "use strict"; | ||
ContextModule["header"] = "header"; | ||
ContextModule["inboxActiveBids"] = "inboxActiveBids"; | ||
ContextModule["inboxClosedBids"] = "inboxClosedBids"; | ||
ContextModule["inboxConversation"] = "inboxConversation"; | ||
ContextModule["inboxInquiries"] = "inboxInquiries"; | ||
ContextModule["intextTooltip"] = "intextTooltip"; | ||
@@ -71,0 +75,0 @@ ContextModule["latestViewingRoomsRail"] = "latestViewingRoomsRail"; |
@@ -32,3 +32,5 @@ /** | ||
home = "home", | ||
inbox = "inbox", | ||
inboxBids = "inboxBids", | ||
inboxConversation = "inboxConversation", | ||
inboxInquiries = "inboxInquiries", | ||
myCollection = "myCollection", | ||
@@ -55,3 +57,3 @@ myCollectionArtwork = "myCollectionArtwork", | ||
*/ | ||
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistInsights | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.home | OwnerType.inbox | OwnerType.myCollection | OwnerType.myCollectionArtwork | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou; | ||
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistInsights | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.home | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionArtwork | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou; | ||
/** | ||
@@ -58,0 +60,0 @@ * Owner types available in web/mobile web |
@@ -46,3 +46,5 @@ "use strict"; | ||
OwnerType["home"] = "home"; | ||
OwnerType["inbox"] = "inbox"; | ||
OwnerType["inboxBids"] = "inboxBids"; | ||
OwnerType["inboxConversation"] = "inboxConversation"; | ||
OwnerType["inboxInquiries"] = "inboxInquiries"; | ||
OwnerType["myCollection"] = "myCollection"; | ||
@@ -49,0 +51,0 @@ OwnerType["myCollectionArtwork"] = "myCollectionArtwork"; |
@@ -6,2 +6,8 @@ /** | ||
*/ | ||
export declare type Tab = "cityGuide" | "favorites" | "home" | "messages" | "profile" | "search" | "sell"; | ||
export declare type Tab = | ||
/** | ||
* not currently in use: | ||
*| "cityGuide" | ||
*| "favorites" | ||
*/ | ||
"home" | "inbox" | "profile" | "search" | "sell"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "1.65.0", | ||
"version": "1.66.0", | ||
"description": "Analytics schema and library helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
214694
5355