@artsy/cohesion
Advanced tools
Comparing version 1.35.0 to 1.36.0
@@ -0,1 +1,20 @@ | ||
# v1.36.0 (Mon Sep 28 2020) | ||
#### 🚀 Enhancement | ||
- [AS-1562] Analytics tracking for Fairs work on Web [#106](https://github.com/artsy/cohesion/pull/106) ([@louislecluse](https://github.com/louislecluse)) | ||
#### 🏠 Internal | ||
- Update aws-s3 orb from 1.1.0 to v1.1.1 [#104](https://github.com/artsy/cohesion/pull/104) ([@renovate-bot](https://github.com/renovate-bot)) | ||
- Update dep typescript from 4.0.2 to v4.0.3 [#103](https://github.com/artsy/cohesion/pull/103) ([@renovate-bot](https://github.com/renovate-bot)) | ||
- Update aws-s3 orb from 1.0.16 to v1.1.0 [#102](https://github.com/artsy/cohesion/pull/102) ([@renovate-bot](https://github.com/renovate-bot)) | ||
#### Authors: 2 | ||
- [@louislecluse](https://github.com/louislecluse) | ||
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot)) | ||
--- | ||
# v1.35.0 (Mon Sep 14 2020) | ||
@@ -2,0 +21,0 @@ |
@@ -16,2 +16,25 @@ import { ActionType } from "."; | ||
/** | ||
* A user clicks a grouping of articles on web | ||
* | ||
* This schema describes events sent to Segment from [[clickedEntityGroup]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "clickedArticleGroup", | ||
* context_module: "relatedArticles", | ||
* context_page_owner_type: "fair", | ||
* context_page_owner_id: "5e726bd22524980012caafb0", | ||
* context_page_owner_slug: "arteba-special-edition", | ||
* destination_page_owner_type: "article", | ||
* destination_page_owner_id: "542f1ccc7261694847410400", | ||
* destination_page_owner_slug: "acaw-acaw-presenter-charwei-tsai", | ||
* type: "thumbnail" | ||
* } | ||
* ``` | ||
*/ | ||
export interface ClickedArticleGroup extends ClickedEntityGroup { | ||
action: ActionType.clickedArticleGroup; | ||
} | ||
/** | ||
* A user clicks a grouping of artists on web | ||
@@ -159,3 +182,3 @@ * | ||
export interface ClickedEntityGroup { | ||
action: ActionType.clickedArtistGroup | ActionType.clickedArtistSeriesGroup | ActionType.clickedArtworkGroup | ActionType.clickedAuctionGroup | ActionType.clickedCollectionGroup | ActionType.clickedFairGroup | ActionType.clickedMainArtworkGrid; | ||
action: ActionType.clickedArticleGroup | ActionType.clickedArtistGroup | ActionType.clickedArtistSeriesGroup | ActionType.clickedArtworkGroup | ActionType.clickedAuctionGroup | ActionType.clickedCollectionGroup | ActionType.clickedFairGroup | ActionType.clickedMainArtworkGrid; | ||
context_module: ContextModule; | ||
@@ -205,1 +228,53 @@ context_page_owner_type: PageOwnerType; | ||
} | ||
/** | ||
* A user clicks on a navigation tab on web. | ||
* | ||
* This schema describes events sent to Segment from [[clickedMainArtworkGrid]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "clickedNavigationTab", | ||
* context_module: "exhibitorsTab", | ||
* context_page_owner_type: "fair", | ||
* context_page_owner_id: "5e726bd22524980012caafb0", | ||
* context_page_owner_slug: "arteba-special-edition", | ||
* destination_path: "/arteba-special-edition/artworks", | ||
* subject: "Artworks" | ||
* } | ||
* ``` | ||
*/ | ||
export interface ClickedNavigationTab { | ||
action: ActionType.clickedNavigationTab; | ||
context_module: ContextModule; | ||
context_page_owner_type: PageOwnerType; | ||
context_page_owner_id?: string; | ||
context_page_owner_slug?: string; | ||
destination_path: string; | ||
subject: string; | ||
} | ||
/** | ||
* A user clicks a show more button on web. | ||
* | ||
* This schema describes events sent to Segment from [[clickedMainArtworkGrid]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "clickedShowMore", | ||
* context_module: "exhibitorsTab", | ||
* context_page_owner_type: "fair", | ||
* context_page_owner_id: "5e726bd22524980012caafb0", | ||
* context_page_owner_slug: "arteba-special-edition", | ||
* subject: "Show More" | ||
* } | ||
* ``` | ||
*/ | ||
export interface ClickedShowMore { | ||
action: ActionType.clickedShowMore; | ||
context_module: ContextModule; | ||
context_page_owner_type: PageOwnerType; | ||
context_page_owner_id?: string; | ||
context_page_owner_slug?: string; | ||
subject: string; | ||
} |
import { AuthImpression, CreatedAccount, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication"; | ||
import { ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ClickedMainArtworkGrid } from "./Click"; | ||
import { ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedShowMore } from "./Click"; | ||
import { FocusedOnConversationMessageInput, SentConversationMessage } from "./Conversations"; | ||
@@ -12,3 +12,3 @@ import { TappedArtistGroup, TappedArtistSeriesGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedConsign, TappedExploreGroup, TappedFairGroup, TappedMainArtworkGrid, TappedPromoSpace, TappedTabBar, TappedViewingRoomGroup } from "./Tap"; | ||
*/ | ||
export declare type Event = AuthImpression | CreatedAccount | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | FocusedOnConversationMessageInput | FollowEvents | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedMainArtworkGrid | TappedPromoSpace | TappedTabBar | TappedViewingRoomGroup | TimeOnPage; | ||
export declare type Event = AuthImpression | CreatedAccount | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedCollectionGroup | ClickedFairGroup | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedShowMore | FocusedOnConversationMessageInput | FollowEvents | ResetYourPassword | SentConversationMessage | SuccessfullyLoggedIn | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedCollectionGroup | TappedExploreGroup | TappedFairGroup | TappedConsign | TappedMainArtworkGrid | TappedPromoSpace | TappedTabBar | TappedViewingRoomGroup | TimeOnPage; | ||
/** | ||
@@ -25,2 +25,6 @@ * The top-level actions an Event describes. | ||
/** | ||
* Corresponds to {@link ClickedArticleGroup} | ||
*/ | ||
clickedArticleGroup = "clickedArticleGroup", | ||
/** | ||
* Corresponds to {@link ClickedArtistGroup} | ||
@@ -54,2 +58,10 @@ */ | ||
/** | ||
* Corresponds to {@link ClickedNavigationTab} | ||
*/ | ||
clickedNavigationTab = "clickedNavigationTab", | ||
/** | ||
* Corresponds to {@link ClickedShowMore} | ||
*/ | ||
clickedShowMore = "clickedShowMore", | ||
/** | ||
* Corresponds to {@link CreatedAccount} | ||
@@ -56,0 +68,0 @@ */ |
@@ -24,2 +24,3 @@ "use strict"; | ||
ActionType["authImpression"] = "authImpression"; | ||
ActionType["clickedArticleGroup"] = "clickedArticleGroup"; | ||
ActionType["clickedArtistGroup"] = "clickedArtistGroup"; | ||
@@ -32,2 +33,4 @@ ActionType["clickedArtistSeriesGroup"] = "clickedArtistSeriesGroup"; | ||
ActionType["clickedMainArtworkGrid"] = "clickedMainArtworkGrid"; | ||
ActionType["clickedNavigationTab"] = "clickedNavigationTab"; | ||
ActionType["clickedShowMore"] = "clickedShowMore"; | ||
ActionType["createdAccount"] = "createdAccount"; | ||
@@ -34,0 +37,0 @@ ActionType["focusedOnConversationMessageInput"] = "focusedOnConversationMessageInput"; |
@@ -20,2 +20,3 @@ /** | ||
artworkSidebar = "artworkSidebar", | ||
artworksTab = "artworksTab", | ||
auctionSidebar = "auctionSidebar", | ||
@@ -35,2 +36,3 @@ auctionCard = "auctionCard", | ||
currentShowsRail = "currentShowsRail", | ||
exhibitorsTab = "exhibitorsTab", | ||
fairInfo = "fairInfo", | ||
@@ -37,0 +39,0 @@ fairsHeader = "fairsHeader", |
@@ -34,2 +34,3 @@ "use strict"; | ||
ContextModule["artworkSidebar"] = "artworkSidebar"; | ||
ContextModule["artworksTab"] = "artworksTab"; | ||
ContextModule["auctionSidebar"] = "auctionSidebar"; | ||
@@ -49,2 +50,3 @@ ContextModule["auctionCard"] = "auctionCard"; | ||
ContextModule["currentShowsRail"] = "currentShowsRail"; | ||
ContextModule["exhibitorsTab"] = "exhibitorsTab"; | ||
ContextModule["fairInfo"] = "fairInfo"; | ||
@@ -51,0 +53,0 @@ ContextModule["fairsHeader"] = "fairsHeader"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "1.35.0", | ||
"version": "1.36.0", | ||
"description": "Analytics schema and library helpers", | ||
@@ -48,3 +48,3 @@ "main": "dist/index.js", | ||
"typedoc": "0.17.7", | ||
"typescript": "4.0.2" | ||
"typescript": "4.0.3" | ||
}, | ||
@@ -51,0 +51,0 @@ "dependencies": {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142963
3472