@artsy/cohesion 4.312.0 → 4.314.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,27 @@
|
|
|
1
|
+
# v4.314.0 (Fri Oct 31 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: add schema for clicking to see message examples in quick replies [#649](https://github.com/artsy/cohesion/pull/649) ([@mzikherman](https://github.com/mzikherman))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Matt Zikherman ([@mzikherman](https://github.com/mzikherman))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.313.0 (Thu Oct 30 2025)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- chore: Add Tracking Events for Bulk Images Upload [#648](https://github.com/artsy/cohesion/pull/648) ([@lidimayra](https://github.com/lidimayra))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Lidiane T ([@lidimayra](https://github.com/lidimayra))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.312.0 (Mon Oct 27 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -165,4 +165,82 @@ export interface CmsArtworkFilterRemoveFilter {
|
|
|
165
165
|
context_module: CmsContextModule.artworkFilterFilterArtworks;
|
|
166
166
|
label: "remove filter";
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
/**
|
|
169
|
+
* Bulk images upload - drag and drop images to an artwork
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* ```
|
|
173
|
+
* {
|
|
174
|
+
* action: "drag and drop",
|
|
175
|
+
* context_module: "Artworks - quick edit",
|
|
176
|
+
* label: "bulk images upload",
|
|
177
|
+
* artwork_id: "artwork-id",
|
|
178
|
+
* value: 3
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
export interface CmsArtworkFilterBulkImagesUpload {
|
|
183
|
+
action: CmsActionType.dragAndDrop;
|
|
184
|
+
context_module: CmsContextModule.artworkFilterQuickEdit;
|
|
185
|
+
label: "bulk images upload";
|
|
186
|
+
artwork_id: string;
|
|
187
|
+
value: number;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Bulk images upload - success message shown
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```
|
|
194
|
+
* {
|
|
195
|
+
* action: "shownSuccessfullyUploadedImages",
|
|
196
|
+
* context_module: "Artworks - quick edit",
|
|
197
|
+
* artwork_id: "artwork-id",
|
|
198
|
+
* value: 3
|
|
199
|
+
* }
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
export interface CmsArtworkFilterBulkImagesSuccessShown {
|
|
203
|
+
action: CmsActionType.shownSuccessfullyUploadedImages;
|
|
204
|
+
context_module: CmsContextModule.artworkFilterQuickEdit;
|
|
205
|
+
artwork_id: string;
|
|
206
|
+
value: number;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Bulk images upload - error message shown for invalid image formats
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* ```
|
|
213
|
+
* {
|
|
214
|
+
* action: "shownInvalidImagesFormat",
|
|
215
|
+
* context_module: "Artworks - quick edit",
|
|
216
|
+
* artwork_id: "artwork-id",
|
|
217
|
+
* filetype: "pdf"
|
|
218
|
+
* }
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
export interface CmsArtworkFilterBulkImagesInvalidFormatShown {
|
|
222
|
+
action: CmsActionType.shownInvalidImagesFormat;
|
|
223
|
+
context_module: CmsContextModule.artworkFilterQuickEdit;
|
|
224
|
+
artwork_id: string;
|
|
225
|
+
filetype: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Bulk images upload - error message shown when max images upload limit is reached
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* ```
|
|
232
|
+
* {
|
|
233
|
+
* action: "shownMaxImagesUploadLimitReached",
|
|
234
|
+
* context_module: "Artworks - quick edit",
|
|
235
|
+
* artwork_id: "artwork-id",
|
|
236
|
+
* value: 15
|
|
237
|
+
* }
|
|
238
|
+
* ```
|
|
239
|
+
*/
|
|
240
|
+
export interface CmsArtworkFilterBulkImagesMaxLimitReached {
|
|
241
|
+
action: CmsActionType.shownMaxImagesUploadLimitReached;
|
|
242
|
+
context_module: CmsContextModule.artworkFilterQuickEdit;
|
|
243
|
+
artwork_id: string;
|
|
244
|
+
value: number;
|
|
245
|
+
}
|
|
246
|
+
export type CmsArtworkFilter = CmsArtworkFilterClickDuplicateArtwork | CmsArtworkFilterClickSort | CmsArtworkFilterQuickEditClickFilter | CmsArtworkFilterQuickEditSavePrice | CmsArtworkFilterQuickEditChangeAvailability | CmsArtworkFilterQuickEditPublish | CmsArtworkFilterQuickEditClickImport | CmsArtworkFilterRemoveFilter | CmsArtworkFilterSearch | CmsArtworkFilterBulkImagesUpload | CmsArtworkFilterBulkImagesSuccessShown | CmsArtworkFilterBulkImagesInvalidFormatShown | CmsArtworkFilterBulkImagesMaxLimitReached;
|
|
@@ -160,7 +160,24 @@ export interface CmsQuickReplyEditedTemplate {
|
|
|
160
160
|
context_page_owner_id: string;
|
|
161
161
|
conversation_template_id: string;
|
|
162
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* User clicks "See message examples" to view example templates
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* ```
|
|
168
|
+
* {
|
|
169
|
+
* action: "clickedSeeMessageExamples",
|
|
170
|
+
* context_module: "conversations",
|
|
171
|
+
* context_page_owner_id: "496984",
|
|
172
|
+
* }
|
|
173
|
+
* ```
|
|
174
|
+
*/
|
|
175
|
+
export interface CmsQuickReplyClickedSeeMessageExamples {
|
|
176
|
+
action: CmsActionType.clickedSeeMessageExamples;
|
|
177
|
+
context_module: CmsContextModule.conversations;
|
|
178
|
+
context_page_owner_id: string;
|
|
179
|
+
}
|
|
163
180
|
/**
|
|
164
181
|
* Union type of all CMS Quick Reply events
|
|
165
182
|
*/
|
|
166
|
-
export type CmsQuickReplyFlow = CmsQuickReplyOpenedMenu | CmsQuickReplyClickedDeleteTemplate | CmsQuickReplyDeletedTemplate | CmsQuickReplyClickedCreateNewTemplate | CmsQuickReplyCreatedNewTemplate | CmsQuickReplySavedExampleTemplate | CmsQuickReplyClickedEditTemplate | CmsQuickReplyEditedTemplate;
|
|
183
|
+
export type CmsQuickReplyFlow = CmsQuickReplyOpenedMenu | CmsQuickReplyClickedDeleteTemplate | CmsQuickReplyDeletedTemplate | CmsQuickReplyClickedCreateNewTemplate | CmsQuickReplyCreatedNewTemplate | CmsQuickReplySavedExampleTemplate | CmsQuickReplyClickedEditTemplate | CmsQuickReplyEditedTemplate | CmsQuickReplyClickedSeeMessageExamples;
|
|
@@ -169,5 +169,25 @@ export declare enum CmsActionType {
|
|
|
169
169
|
/**
|
|
170
170
|
* Corresponds to {@link CmsQuickReplyFlow}
|
|
171
171
|
*/
|
|
172
|
-
savedExampleTemplate = "savedExampleTemplate"
|
|
172
|
+
savedExampleTemplate = "savedExampleTemplate",
|
|
173
|
+
/**
|
|
174
|
+
* Corresponds to {@link CmsQuickReplyFlow}
|
|
175
|
+
*/
|
|
176
|
+
clickedSeeMessageExamples = "clickedSeeMessageExamples",
|
|
177
|
+
/**
|
|
178
|
+
* Corresponds to {@link CmsArtworkFilter}
|
|
179
|
+
*/
|
|
180
|
+
dragAndDrop = "drag and drop",
|
|
181
|
+
/**
|
|
182
|
+
* Corresponds to {@link CmsArtworkFilter}
|
|
183
|
+
*/
|
|
184
|
+
shownSuccessfullyUploadedImages = "shownSuccessfullyUploadedImages",
|
|
185
|
+
/**
|
|
186
|
+
* Corresponds to {@link CmsArtworkFilter}
|
|
187
|
+
*/
|
|
188
|
+
shownInvalidImagesFormat = "shownInvalidImagesFormat",
|
|
189
|
+
/**
|
|
190
|
+
* Corresponds to {@link CmsArtworkFilter}
|
|
191
|
+
*/
|
|
192
|
+
shownMaxImagesUploadLimitReached = "shownMaxImagesUploadLimitReached"
|
|
173
193
|
}
|
|
@@ -58,4 +58,9 @@ exports.CmsActionType = CmsActionType;
|
|
|
58
58
|
CmsActionType["editedTemplate"] = "editedTemplate";
|
|
59
59
|
CmsActionType["openedMenu"] = "openedMenu";
|
|
60
60
|
CmsActionType["savedExampleTemplate"] = "savedExampleTemplate";
|
|
61
|
+
CmsActionType["clickedSeeMessageExamples"] = "clickedSeeMessageExamples";
|
|
62
|
+
CmsActionType["dragAndDrop"] = "drag and drop";
|
|
63
|
+
CmsActionType["shownSuccessfullyUploadedImages"] = "shownSuccessfullyUploadedImages";
|
|
64
|
+
CmsActionType["shownInvalidImagesFormat"] = "shownInvalidImagesFormat";
|
|
65
|
+
CmsActionType["shownMaxImagesUploadLimitReached"] = "shownMaxImagesUploadLimitReached";
|
|
61
66
|
})(CmsActionType || (exports.CmsActionType = CmsActionType = {}));
|