@artsy/cohesion 4.245.0 → 4.246.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.246.0 (Mon Mar 24 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- fix(batch-import): Use action instead of event [#572](https://github.com/artsy/cohesion/pull/572) ([@damassi](https://github.com/damassi))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.245.0 (Wed Mar 19 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -11,6 +11,7 @@ import { CmsActionType } from "./index";
|
|
|
11
11
|
* @example
|
|
12
12
|
* ```
|
|
13
13
|
* {
|
|
14
|
+
* action: "click",
|
|
14
15
|
* context_module: "batchImportFlow",
|
|
15
16
|
* context_page_owner_type: "batchImport",
|
|
16
17
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
@@ -20,6 +21,7 @@ import { CmsActionType } from "./index";
|
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
23
|
export interface CmsBatchImportFlowClickImport {
|
|
24
|
+
action: "click";
|
|
23
25
|
context_module: CmsContextModule.batchImportFlow;
|
|
24
26
|
context_page_owner_type: CmsOwnerType.batchImport;
|
|
25
27
|
context_page_owner_id: string;
|
|
@@ -32,6 +34,7 @@ export interface CmsBatchImportFlowClickImport {
|
|
|
32
34
|
* @example
|
|
33
35
|
* ```
|
|
34
36
|
* {
|
|
37
|
+
* action: "click",
|
|
35
38
|
* context_module: "batchImportFlow",
|
|
36
39
|
* context_page_owner_type: "batchImport",
|
|
37
40
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
@@ -40,6 +43,7 @@ export interface CmsBatchImportFlowClickImport {
|
|
|
40
43
|
* ```
|
|
41
44
|
*/
|
|
42
45
|
export interface CmsBatchImportFlowClickAddCSV {
|
|
46
|
+
action: "click";
|
|
43
47
|
context_module: CmsContextModule.batchImportFlow;
|
|
44
48
|
context_page_owner_type: CmsOwnerType.batchImport;
|
|
45
49
|
context_page_owner_id: string;
|
|
@@ -51,6 +55,7 @@ export interface CmsBatchImportFlowClickAddCSV {
|
|
|
51
55
|
* @example
|
|
52
56
|
* ```
|
|
53
57
|
* {
|
|
58
|
+
* action: "click",
|
|
54
59
|
* context_module: "batchImportFlow",
|
|
55
60
|
* context_page_owner_type: "batchImport",
|
|
56
61
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
@@ -59,18 +64,39 @@ export interface CmsBatchImportFlowClickAddCSV {
|
|
|
59
64
|
* ```
|
|
60
65
|
*/
|
|
61
66
|
export interface CmsBatchImportFlowClickDownloadTemplate {
|
|
67
|
+
action: "click";
|
|
62
68
|
context_module: CmsContextModule.batchImportFlow;
|
|
63
69
|
context_page_owner_type: CmsOwnerType.batchImport;
|
|
64
70
|
context_page_owner_id: string;
|
|
65
71
|
label: "click download template";
|
|
66
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* An error occurred during CSV import.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```
|
|
78
|
+
* {
|
|
79
|
+
* action: "csvImportError",
|
|
80
|
+
* context_page_owner_type: "batchImport",
|
|
81
|
+
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
82
|
+
* // list of errors
|
|
83
|
+
* value: [ "error1", "error2" ]
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export interface CmsBatchImportFlowImportError {
|
|
88
|
+
action: CmsActionType.csvImportError;
|
|
89
|
+
context_page_owner_type: CmsOwnerType.batchImport;
|
|
90
|
+
context_page_owner_id: string;
|
|
91
|
+
value: string[];
|
|
92
|
+
}
|
|
67
93
|
/**
|
|
68
94
|
* Some artworks have missing information warnings.
|
|
69
95
|
*
|
|
70
96
|
* @example
|
|
71
97
|
* ```
|
|
72
98
|
* {
|
|
73
|
-
*
|
|
99
|
+
* action: "shownMissingInformation",
|
|
74
100
|
* context_page_owner_type: "batchImport",
|
|
75
101
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
76
102
|
* // number of artworks with warnings
|
|
@@ -79,7 +105,7 @@ export interface CmsBatchImportFlowClickDownloadTemplate {
|
|
|
79
105
|
* ```
|
|
80
106
|
*/
|
|
81
107
|
export interface CmsBatchImportFlowShownMissingInformation {
|
|
82
|
-
|
|
108
|
+
action: CmsActionType.shownMissingInformation;
|
|
83
109
|
context_page_owner_type: CmsOwnerType.batchImport;
|
|
84
110
|
context_page_owner_id: string;
|
|
85
111
|
value: number;
|
|
@@ -90,7 +116,7 @@ export interface CmsBatchImportFlowShownMissingInformation {
|
|
|
90
116
|
* @example
|
|
91
117
|
* ```
|
|
92
118
|
* {
|
|
93
|
-
*
|
|
119
|
+
* action: "artistNeedsMatching",
|
|
94
120
|
* context_page_owner_type: "batchImportArtistMatching",
|
|
95
121
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
96
122
|
* // number of artists with missing matching
|
|
@@ -99,18 +125,40 @@ export interface CmsBatchImportFlowShownMissingInformation {
|
|
|
99
125
|
* ```
|
|
100
126
|
*/
|
|
101
127
|
export interface CmsBatchImportFlowArtistNeedsMatching {
|
|
102
|
-
|
|
128
|
+
action: CmsActionType.artistNeedsMatching;
|
|
103
129
|
context_page_owner_type: CmsOwnerType.batchImportArtistMatching;
|
|
104
130
|
context_page_owner_id: string;
|
|
105
131
|
value: number;
|
|
106
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* Partners click to see highlighted warning / error
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```
|
|
138
|
+
* {
|
|
139
|
+
* action: "click",
|
|
140
|
+
* context_module: "batchImportFlow",
|
|
141
|
+
* context_page_owner_type: "batchImport",
|
|
142
|
+
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
143
|
+
* label: "click import"
|
|
144
|
+
* }
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
export interface CmsBatchImportClickSeeWarning {
|
|
148
|
+
action: "click";
|
|
149
|
+
context_module: CmsContextModule.batchImportFlow;
|
|
150
|
+
context_page_owner_type: CmsOwnerType.batchImport;
|
|
151
|
+
context_page_owner_id: string;
|
|
152
|
+
label: "click see warning csv";
|
|
153
|
+
}
|
|
107
154
|
/**
|
|
108
155
|
* Partners click to exit the batch import flow
|
|
109
156
|
*
|
|
110
157
|
* @example
|
|
111
158
|
* ```
|
|
112
159
|
* {
|
|
113
|
-
*
|
|
160
|
+
* action: "click",
|
|
161
|
+
* context_module: "batchImportFlow",
|
|
114
162
|
* context_page_owner_type: "batchImport",
|
|
115
163
|
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
116
164
|
* label: "click import"
|
|
@@ -118,6 +166,7 @@ export interface CmsBatchImportFlowArtistNeedsMatching {
|
|
|
118
166
|
* ```
|
|
119
167
|
*/
|
|
120
168
|
export interface CmsBatchImportClickExit {
|
|
169
|
+
action: "click";
|
|
121
170
|
context_module: CmsContextModule.batchImportFlow;
|
|
122
171
|
context_page_owner_type: CmsOwnerType.batchImport;
|
|
123
172
|
context_page_owner_id: string;
|
|
@@ -15,6 +15,10 @@ export declare enum CmsActionType {
|
|
|
15
15
|
* Corresponds to {@link CmsBatchImportFlow}
|
|
16
16
|
*/
|
|
17
17
|
artistNeedsMatching = "artistNeedsMatching",
|
|
18
|
+
/**
|
|
19
|
+
* Corresponds to {@link CmsBatchImportFlow}
|
|
20
|
+
*/
|
|
21
|
+
csvImportError = "csvImportError",
|
|
18
22
|
/**
|
|
19
23
|
* Corresponds to {@link BatchImportFlow}
|
|
20
24
|
*/
|
|
@@ -21,5 +21,6 @@ exports.CmsActionType = CmsActionType;
|
|
|
21
21
|
|
|
22
22
|
(function (CmsActionType) {
|
|
23
23
|
CmsActionType["artistNeedsMatching"] = "artistNeedsMatching";
|
|
24
|
+
CmsActionType["csvImportError"] = "csvImportError";
|
|
24
25
|
CmsActionType["shownMissingInformation"] = "shownMissingInformation";
|
|
25
26
|
})(CmsActionType || (exports.CmsActionType = CmsActionType = {}));
|
|
@@ -14,7 +14,7 @@ import { AddedToAlbum, CompletedOfflineSync, CreatedAlbum, SentContent, ToggledP
|
|
|
14
14
|
import { TappedProductCapabilitiesGroup } from "./HomeFeedArtsyOnboarding";
|
|
15
15
|
import { MyCollectionOnboardingCompleted, TappedExploreMyCollection, VisitMyCollection, VisitMyCollectionOnboardingSlide } from "./HomeFeedMyCollectionOnboarding";
|
|
16
16
|
import { Impression } from "./Impression";
|
|
17
|
-
import { BannerViewed, CreateAlertReminderMessageViewed, EditProfileModalViewed, ErrorMessageViewed, ItemViewed, RailViewed, SendOffersBannerViewed, SendOffersErrorMessage, SendOffersModalViewed, ShippingEstimateViewed, TooltipViewed,
|
|
17
|
+
import { BannerViewed, CreateAlertReminderMessageViewed, EditProfileModalViewed, ErrorMessageViewed, ItemViewed, ProgressiveOnboardingTooltipViewed, RailViewed, SendOffersBannerViewed, SendOffersErrorMessage, SendOffersModalViewed, ShippingEstimateViewed, TooltipViewed, ValidationAddressViewed } from "./ImpressionTracking";
|
|
18
18
|
import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SaveCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedMyCollectionAddArtworkArtist, TappedRequestPriceEstimate } from "./MyCollection";
|
|
19
19
|
import { TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight, TappedMyCollectionInsightsMedianAuctionPriceChartCategory, TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe, TappedMyCollectionInsightsMedianAuctionRailItem } from "./MyCollectionInsights";
|
|
20
20
|
import { PromptForReview } from "./PromptForReview";
|