@artsy/cohesion 4.271.0 → 4.272.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.272.0 (Thu Jun 12 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Adds more custom events for BulkEdits [#603](https://github.com/artsy/cohesion/pull/603) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.271.0 (Thu Jun 12 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -159,4 +159,49 @@ export interface CmsBulkEditResolvedAllConflictsShown {
|
|
|
159
159
|
action: CmsActionType.shownResolvedAllConflicts;
|
|
160
160
|
context_module: CmsContextModule.bulkEditFlow;
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Bluk edit flow processing started
|
|
164
|
+
*
|
|
165
|
+
* Example:
|
|
166
|
+
* {
|
|
167
|
+
* action: "processingStarted",
|
|
168
|
+
* context_module: "Artworks - bulk edit",
|
|
169
|
+
* value: 25
|
|
170
|
+
* }
|
|
171
|
+
*/
|
|
172
|
+
export interface CmsBulkEditProcessingStarted {
|
|
173
|
+
action: CmsActionType.processingStarted;
|
|
174
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
175
|
+
value: number;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Bulk Edit flow processing completed
|
|
179
|
+
*
|
|
180
|
+
* Example:
|
|
181
|
+
* {
|
|
182
|
+
* action: "processingCompleted",
|
|
183
|
+
* context_module: "Artworks - bulk edit",
|
|
184
|
+
* value: 24
|
|
185
|
+
* }
|
|
186
|
+
*/
|
|
187
|
+
export interface CmsBulkEditProcessingCompleted {
|
|
188
|
+
action: CmsActionType.processingCompleted;
|
|
189
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
190
|
+
value: number;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Bulk edit failed
|
|
194
|
+
*
|
|
195
|
+
* Example:
|
|
196
|
+
* {
|
|
197
|
+
* action: "bulkEditFailed",
|
|
198
|
+
* context_module: "Artworks - bulk edit",
|
|
199
|
+
* value: "Network error" // or any error message displayed to user
|
|
200
|
+
* }
|
|
201
|
+
*/
|
|
202
|
+
export interface CmsBulkEditFailed {
|
|
203
|
+
action: CmsActionType.bulkEditFailed;
|
|
204
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
205
|
+
value: string;
|
|
206
|
+
}
|
|
207
|
+
export type CmsBulkEditFlow = CmsBulkEditClickedCancelEdits | CmsBulkEditClickedChangeAvailability | CmsBulkEditClickedConfirmEdits | CmsBulkEditClickedEditPill | CmsBulkEditClickedResolveAllConflicts | CmsBulkEditClickedShortlistPill | CmsBulkEditConflictsShown | CmsBulkEditFailed | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditProcessingCompleted | CmsBulkEditProcessingStarted | CmsBulkEditResolvedAllConflictsShown;
|
|
@@ -24,6 +24,10 @@ export declare enum CmsActionType {
|
|
|
24
24
|
* Corresponds to {@link CmsBatchImportFlow}
|
|
25
25
|
*/
|
|
26
26
|
artistNeedsMatching = "artistNeedsMatching",
|
|
27
|
+
/**
|
|
28
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
29
|
+
*/
|
|
30
|
+
bulkEditFailed = "bulkEditFailed",
|
|
27
31
|
/**
|
|
28
32
|
* Corresponds to {@link CmsArtworkFilter}
|
|
29
33
|
*/
|
|
@@ -40,20 +44,28 @@ export declare enum CmsActionType {
|
|
|
40
44
|
* Corresponds to {@link SettingsFlow}
|
|
41
45
|
*/
|
|
42
46
|
editedLocation = "editedLocation",
|
|
47
|
+
/**
|
|
48
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
49
|
+
*/
|
|
50
|
+
processingStarted = "processingStarted",
|
|
51
|
+
/**
|
|
52
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
53
|
+
*/
|
|
54
|
+
processingCompleted = "processingCompleted",
|
|
43
55
|
/**
|
|
44
56
|
* Corresponds to {@link CmsArtworkFilter}
|
|
45
57
|
*/
|
|
46
58
|
searchedArtwork = "searched artwork",
|
|
47
59
|
/**
|
|
48
|
-
* Corresponds to {@link
|
|
60
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
49
61
|
*/
|
|
50
62
|
shownConflicts = "shownConflicts",
|
|
51
63
|
/**
|
|
52
|
-
* Corresponds to {@link
|
|
64
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
53
65
|
*/
|
|
54
66
|
shownMaxEditLimitReached = "shownMaxEditLimitReached",
|
|
55
67
|
/**
|
|
56
|
-
* Corresponds to {@link
|
|
68
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
57
69
|
*/
|
|
58
70
|
shownResolvedAllConflicts = "shownResolvedAllConflicts",
|
|
59
71
|
/**
|
|
@@ -22,10 +22,13 @@ exports.CmsActionType = CmsActionType;
|
|
|
22
22
|
(function (CmsActionType) {
|
|
23
23
|
CmsActionType["addedNewLocation"] = "addedNewLocation";
|
|
24
24
|
CmsActionType["artistNeedsMatching"] = "artistNeedsMatching";
|
|
25
|
+
CmsActionType["bulkEditFailed"] = "bulkEditFailed";
|
|
25
26
|
CmsActionType["clickedOnDuplicateArtwork"] = "clickedonduplicateartwork";
|
|
26
27
|
CmsActionType["createdArtwork"] = "created artwork";
|
|
27
28
|
CmsActionType["csvImportError"] = "csvImportError";
|
|
28
29
|
CmsActionType["editedLocation"] = "editedLocation";
|
|
30
|
+
CmsActionType["processingStarted"] = "processingStarted";
|
|
31
|
+
CmsActionType["processingCompleted"] = "processingCompleted";
|
|
29
32
|
CmsActionType["searchedArtwork"] = "searched artwork";
|
|
30
33
|
CmsActionType["shownConflicts"] = "shownConflicts";
|
|
31
34
|
CmsActionType["shownMaxEditLimitReached"] = "shownMaxEditLimitReached";
|