@artsy/cohesion 4.270.0 → 4.271.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 +12 -0
- package/dist/Schema/CMS/Events/BulkEditFlow.d.ts +109 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.271.0 (Thu Jun 12 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Adds 6 new click events for bulk edit flow [#601](https://github.com/artsy/cohesion/pull/601) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.270.0 (Thu Jun 12 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -4,6 +4,114 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { CmsActionType } from ".";
|
|
6
6
|
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
7
|
+
/**
|
|
8
|
+
* Partners clicked change availability pill
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```
|
|
12
|
+
* {
|
|
13
|
+
* action: "click",
|
|
14
|
+
* context_module: "Artworks - bulk edit",
|
|
15
|
+
* label: "change availability",
|
|
16
|
+
* value: "on hold", // e.g. "on hold", "available", "not for sale"
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export interface CmsBulkEditClickedChangeAvailability {
|
|
21
|
+
action: "click";
|
|
22
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
23
|
+
label: "change availability";
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Partners clicked bulk edit pill
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```
|
|
31
|
+
* {
|
|
32
|
+
* action: "click",
|
|
33
|
+
* context_module: "Artworks - bulk edit",
|
|
34
|
+
* label: "bulk edit",
|
|
35
|
+
* value: "5", // how many artworks selected
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export interface CmsBulkEditClickedEditPill {
|
|
40
|
+
action: "click";
|
|
41
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
42
|
+
label: "bulk edit";
|
|
43
|
+
value: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Partners clicked shortlist pill
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```
|
|
50
|
+
* {
|
|
51
|
+
* action: "click",
|
|
52
|
+
* context_module: "Artworks - bulk edit",
|
|
53
|
+
* label: "shortlist",
|
|
54
|
+
* value: "5", // how many artworks selected
|
|
55
|
+
* }
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export interface CmsBulkEditClickedShortlistPill {
|
|
59
|
+
action: "click";
|
|
60
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
61
|
+
label: "shortlist";
|
|
62
|
+
value: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Partners clicked resolve all conflicts link
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```
|
|
69
|
+
* {
|
|
70
|
+
* action: "click",
|
|
71
|
+
* context_module: "Artworks - bulk edit",
|
|
72
|
+
* label: "resolve all conflicts",
|
|
73
|
+
* }
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
export interface CmsBulkEditClickedResolveAllConflicts {
|
|
77
|
+
action: "click";
|
|
78
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
79
|
+
label: "resolve all conflicts";
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Partners clicked confirm edits button
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```
|
|
86
|
+
* {
|
|
87
|
+
* action: "click",
|
|
88
|
+
* context_module: "Artworks - bulk edit",
|
|
89
|
+
* label: "confirm edit",
|
|
90
|
+
* }
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export interface CmsBulkEditClickedConfirmEdits {
|
|
94
|
+
action: "click";
|
|
95
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
96
|
+
label: "confirm edit";
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Partners clicked cancel button in bulk edit drawer
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```
|
|
103
|
+
* {
|
|
104
|
+
* action: "click",
|
|
105
|
+
* context_module: "Artworks - bulk edit",
|
|
106
|
+
* label: "cancel",
|
|
107
|
+
* }
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export interface CmsBulkEditClickedCancelEdits {
|
|
111
|
+
action: "click";
|
|
112
|
+
context_module: CmsContextModule.bulkEditFlow;
|
|
113
|
+
label: "cancel";
|
|
114
|
+
}
|
|
7
115
|
/**
|
|
8
116
|
* A partner has seen the max edit limit reached tool tip.
|
|
9
117
|
*
|
|
@@ -51,4 +159,4 @@ export interface CmsBulkEditResolvedAllConflictsShown {
|
|
|
51
159
|
action: CmsActionType.shownResolvedAllConflicts;
|
|
52
160
|
context_module: CmsContextModule.bulkEditFlow;
|
|
53
161
|
}
|
|
54
|
-
export type CmsBulkEditFlow = CmsBulkEditConflictsShown | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditResolvedAllConflictsShown;
|
|
162
|
+
export type CmsBulkEditFlow = CmsBulkEditClickedCancelEdits | CmsBulkEditClickedChangeAvailability | CmsBulkEditClickedConfirmEdits | CmsBulkEditClickedEditPill | CmsBulkEditClickedResolveAllConflicts | CmsBulkEditClickedShortlistPill | CmsBulkEditConflictsShown | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditResolvedAllConflictsShown;
|