@artsy/cohesion 4.290.0 → 4.291.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.291.0 (Tue Jul 29 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Add ClickedGraphCTA [#625](https://github.com/artsy/cohesion/pull/625) ([@xander-pero](https://github.com/xander-pero))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@xander-pero](https://github.com/xander-pero)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.290.0 (Mon Jul 28 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -26,6 +26,25 @@ export interface CmsAnalyticsPageChangedTimePeriod {
|
|
|
26
26
|
time_period_start: number;
|
|
27
27
|
time_period_end: number;
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* A partner clicks on the CTA below a graph
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```
|
|
34
|
+
* {
|
|
35
|
+
* action: "clickedGraphCTA",
|
|
36
|
+
* context_module: "publishedArtworks" | "inquiries" | "sales",
|
|
37
|
+
* context_page_owner_type: "analytics",
|
|
38
|
+
* destination_page_owner_type: "artworks" | "conversations" | "orders"
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export interface CmsAnalyticsPageClickedGraphCTA {
|
|
43
|
+
action: CmsActionType.clickedGraphCTA;
|
|
44
|
+
context_module: CmsContextModule;
|
|
45
|
+
context_page_owner_type: CmsOwnerType.analytics;
|
|
46
|
+
destination_page_owner_type: string;
|
|
47
|
+
}
|
|
29
48
|
/**
|
|
30
49
|
* A partner clicks on an entity in the "Most Viewed" section
|
|
31
50
|
*
|
|
@@ -108,4 +127,4 @@ export interface CmsAnalyticsPageViewedTooltip {
|
|
|
108
127
|
context_page_owner_type: CmsOwnerType.analytics;
|
|
109
128
|
type: string;
|
|
110
129
|
}
|
|
111
|
-
export type CmsAnalyticsPage = CmsAnalyticsPageChangedTimePeriod | CmsAnalyticsPageClickedMostViewed | CmsAnalyticsPageViewedGraph | CmsAnalyticsPageViewedGraphDatapoint | CmsAnalyticsPageViewedTooltip;
|
|
130
|
+
export type CmsAnalyticsPage = CmsAnalyticsPageChangedTimePeriod | CmsAnalyticsPageClickedGraphCTA | CmsAnalyticsPageClickedMostViewed | CmsAnalyticsPageViewedGraph | CmsAnalyticsPageViewedGraphDatapoint | CmsAnalyticsPageViewedTooltip;
|
|
@@ -37,6 +37,10 @@ export declare enum CmsActionType {
|
|
|
37
37
|
* Corresponds to {@link CmsAnalyticsPage}
|
|
38
38
|
*/
|
|
39
39
|
changedTimePeriod = "changedTimePeriod",
|
|
40
|
+
/**
|
|
41
|
+
* Corresponds to {@link CmsAnalytics}
|
|
42
|
+
*/
|
|
43
|
+
clickedGraphCTA = "clickedGraphCTA",
|
|
40
44
|
/**
|
|
41
45
|
* Corresponds to {@link CmsAnalytics}
|
|
42
46
|
*/
|
|
@@ -25,6 +25,7 @@ exports.CmsActionType = CmsActionType;
|
|
|
25
25
|
CmsActionType["batchImportTableContentSummary"] = "batchImportTableContentSummary";
|
|
26
26
|
CmsActionType["bulkEditFailed"] = "bulkEditFailed";
|
|
27
27
|
CmsActionType["changedTimePeriod"] = "changedTimePeriod";
|
|
28
|
+
CmsActionType["clickedGraphCTA"] = "clickedGraphCTA";
|
|
28
29
|
CmsActionType["clickedMostViewed"] = "clickedMostViewed";
|
|
29
30
|
CmsActionType["clickedOnDuplicateArtwork"] = "clickedonduplicateartwork";
|
|
30
31
|
CmsActionType["createdArtwork"] = "created artwork";
|