@artsy/cohesion 4.303.0 → 4.305.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.305.0 (Fri Sep 26 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: Add new type to track publish learn more help doc clicks [#641](https://github.com/artsy/cohesion/pull/641) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.304.0 (Tue Sep 23 2025)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: Add searchBulkEditField event [#640](https://github.com/artsy/cohesion/pull/640) ([@olerichter00](https://github.com/olerichter00))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.303.0 (Mon Sep 22 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Schemas describing CMS BulkEditFlow events
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
-
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
6
5
|
import { CmsActionType } from ".";
|
|
6
|
+
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
7
7
|
/**
|
|
8
8
|
* Generic click event in the bulk edit flow.
|
|
9
9
|
*
|
|
@@ -16,7 +16,7 @@ import { CmsActionType } from ".";
|
|
|
16
16
|
* artwork_ids: ["artwork1", "artwork2", "artwork3"]
|
|
17
17
|
* }
|
|
18
18
|
*/
|
|
19
|
-
export type CmsBulkEditClickLabel = "add to show" | "bulk edit" | "cancel" | "change availability" | "confirm edit" | "failed updates page edit" | "publish" | "resolve all conflicts" | "shortlist" | "unpublish";
|
|
19
|
+
export type CmsBulkEditClickLabel = "add to show" | "bulk edit" | "cancel" | "change availability" | "confirm edit" | "failed updates page edit" | "publish" | "publish learn more" | "resolve all conflicts" | "shortlist" | "unpublish";
|
|
20
20
|
export interface CmsBulkEditClickedEvent {
|
|
21
21
|
action: "click";
|
|
22
22
|
context_module: CmsContextModule.bulkEditFlow;
|
|
@@ -133,4 +133,21 @@ export interface CmsBulkEditFailed {
|
|
|
133
133
|
value: string[];
|
|
134
134
|
artwork_ids: string[];
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
/**
|
|
137
|
+
* Search in the bulk edit drawer
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```
|
|
141
|
+
* {
|
|
142
|
+
* action: "searchBulkEditField",
|
|
143
|
+
* context_module: "Artworks - bulk edit",
|
|
144
|
+
* value: "search input"
|
|
145
|
+
* }
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
export interface CmsBulkEditSearch {
|
|
149
|
+
action: CmsActionType.searchBulkEditField;
|
|
150
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
151
|
+
value: string;
|
|
152
|
+
}
|
|
153
|
+
export type CmsBulkEditFlow = CmsBulkEditClickedEvent | CmsBulkEditFailedUpdatesPageShown | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditConflictsShown | CmsBulkEditResolvedAllConflictsShown | CmsBulkEditProcessingStarted | CmsBulkEditProcessingCompleted | CmsBulkEditFailed | CmsBulkEditSearch;
|
|
@@ -77,6 +77,10 @@ export declare enum CmsActionType {
|
|
|
77
77
|
* Corresponds to {@link CmsArtworkFilter}
|
|
78
78
|
*/
|
|
79
79
|
searchedArtwork = "searched artwork",
|
|
80
|
+
/**
|
|
81
|
+
* Corresponds to {@link CmsBulkEditFlow}
|
|
82
|
+
*/
|
|
83
|
+
searchBulkEditField = "searchBulkEditField",
|
|
80
84
|
/**
|
|
81
85
|
* Corresponds to {@link CmsBulkEditFlow}
|
|
82
86
|
*/
|
|
@@ -35,6 +35,7 @@ exports.CmsActionType = CmsActionType;
|
|
|
35
35
|
CmsActionType["processingStarted"] = "processingStarted";
|
|
36
36
|
CmsActionType["processingCompleted"] = "processingCompleted";
|
|
37
37
|
CmsActionType["searchedArtwork"] = "searched artwork";
|
|
38
|
+
CmsActionType["searchBulkEditField"] = "searchBulkEditField";
|
|
38
39
|
CmsActionType["shownConflicts"] = "shownConflicts";
|
|
39
40
|
CmsActionType["shownFailedUpdatesPage"] = "shownFailedUpdatesPage";
|
|
40
41
|
CmsActionType["shownMaxEditLimitReached"] = "shownMaxEditLimitReached";
|