@artsy/cohesion 4.272.2 → 4.273.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.273.0 (Mon Jun 16 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Adds artwork_ids metadata to processing and shortlist bulk edit events [#606](https://github.com/artsy/cohesion/pull/606) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.272.2 (Fri Jun 13 2025)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -51,7 +51,8 @@ export interface CmsBulkEditClickedEditPill {
|
|
|
51
51
|
* action: "click",
|
|
52
52
|
* context_module: "Artworks - bulk edit",
|
|
53
53
|
* label: "shortlist",
|
|
54
|
-
* value:
|
|
54
|
+
* value: 3, // how many artworks selected
|
|
55
|
+
* artwork_ids: ["artwork1", "artwork2", "artwork3"]
|
|
55
56
|
* }
|
|
56
57
|
* ```
|
|
57
58
|
*/
|
|
@@ -60,6 +61,7 @@ export interface CmsBulkEditClickedShortlistPill {
|
|
|
60
61
|
context_module: CmsContextModule.bulkEditFlow;
|
|
61
62
|
label: "shortlist";
|
|
62
63
|
value: number;
|
|
64
|
+
artwork_ids: string[];
|
|
63
65
|
}
|
|
64
66
|
/**
|
|
65
67
|
* Partners clicked resolve all conflicts link
|
|
@@ -182,12 +184,14 @@ export interface CmsBulkEditProcessingStarted {
|
|
|
182
184
|
* action: "processingCompleted",
|
|
183
185
|
* context_module: "Artworks - bulk edit",
|
|
184
186
|
* value: 24 // total number of artworks successfully processed
|
|
187
|
+
* artwork_ids: ["artwork1", "artwork2"]
|
|
185
188
|
* }
|
|
186
189
|
*/
|
|
187
190
|
export interface CmsBulkEditProcessingCompleted {
|
|
188
191
|
action: CmsActionType.processingCompleted;
|
|
189
192
|
context_module: CmsContextModule.bulkEditFlow;
|
|
190
193
|
value: number;
|
|
194
|
+
artwork_ids: string[];
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
197
|
* Bulk edit failed
|
|
@@ -196,12 +200,14 @@ export interface CmsBulkEditProcessingCompleted {
|
|
|
196
200
|
* {
|
|
197
201
|
* action: "bulkEditFailed",
|
|
198
202
|
* context_module: "Artworks - bulk edit",
|
|
199
|
-
* value: [ 'availability: must be "for sale", "sold" or "not for sale" for works available for purchase', "error2" ]
|
|
203
|
+
* value: [ 'availability: must be "for sale", "sold" or "not for sale" for works available for purchase', "error2" ],
|
|
204
|
+
* artwork_ids: [ "artwork1", "artwork2" ]
|
|
200
205
|
* }
|
|
201
206
|
*/
|
|
202
207
|
export interface CmsBulkEditFailed {
|
|
203
208
|
action: CmsActionType.bulkEditFailed;
|
|
204
209
|
context_module: CmsContextModule.bulkEditFlow;
|
|
205
210
|
value: string[];
|
|
211
|
+
artwork_ids: string[];
|
|
206
212
|
}
|
|
207
213
|
export type CmsBulkEditFlow = CmsBulkEditClickedCancelEdits | CmsBulkEditClickedChangeAvailability | CmsBulkEditClickedConfirmEdits | CmsBulkEditClickedEditPill | CmsBulkEditClickedResolveAllConflicts | CmsBulkEditClickedShortlistPill | CmsBulkEditConflictsShown | CmsBulkEditFailed | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditProcessingCompleted | CmsBulkEditProcessingStarted | CmsBulkEditResolvedAllConflictsShown;
|