@artsy/cohesion 4.418.0 → 4.419.1--canary.770.16991.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/HomePage.d.ts +21 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.419.0 (Thu Oct 29 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Adding new variants for click event [#768](https://github.com/artsy/cohesion/pull/768) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.418.0 (Thu Oct 29 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -8,17 +8,36 @@ import { CmsActionType } from "./index";
|
|
|
8
8
|
/**
|
|
9
9
|
* A partner clicks an Actionable Insights card on the CMS homepage
|
|
10
10
|
*
|
|
11
|
+
* `subject` is the card that was clicked: `inquiryResponse`, `orderResponse`,
|
|
12
|
+
* `publishArtworks`, or `sendOffer` (the "Send an offer on a new inquiry" card).
|
|
13
|
+
* `variant` is how the card is presented: `improve` for a problem to fix,
|
|
14
|
+
* `opportunity` for something the partner can act on (`sendOffer`), or
|
|
15
|
+
* `positive` for good news. `destination_path` is the link the card opens, which
|
|
16
|
+
* for `sendOffer` is the eligible conversation with its send-offer modal open.
|
|
17
|
+
*
|
|
11
18
|
* @example
|
|
12
19
|
* ```
|
|
13
20
|
* {
|
|
14
21
|
* action: "clickedActionableInsight",
|
|
15
22
|
* context_module: "actionableInsights",
|
|
16
23
|
* context_page_owner_type: "home",
|
|
17
|
-
* subject: "inquiryResponse" | "publishArtworks" | "orderResponse",
|
|
18
|
-
* variant: "improve" | "positive",
|
|
24
|
+
* subject: "inquiryResponse" | "publishArtworks" | "orderResponse" | "sendOffer",
|
|
25
|
+
* variant: "improve" | "opportunity" | "positive",
|
|
19
26
|
* destination_path: "/conversations"
|
|
20
27
|
* }
|
|
21
28
|
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```
|
|
32
|
+
* {
|
|
33
|
+
* action: "clickedActionableInsight",
|
|
34
|
+
* context_module: "actionableInsights",
|
|
35
|
+
* context_page_owner_type: "home",
|
|
36
|
+
* subject: "sendOffer",
|
|
37
|
+
* variant: "opportunity",
|
|
38
|
+
* destination_path: "/conversations/6740c1f1a1b2c3d4e5f60718"
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
22
41
|
*/
|
|
23
42
|
export interface CmsClickedActionableInsight {
|
|
24
43
|
action: CmsActionType.clickedActionableInsight;
|