@artsy/cohesion 4.112.0 → 4.114.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.114.0 (Fri Mar 03 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Feat(CX-3429): Add SWA ContextModules [#412](https://github.com/artsy/cohesion/pull/412) ([@lordkiz](https://github.com/lordkiz))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Kizito Egeonu ([@lordkiz](https://github.com/lordkiz))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.113.0 (Thu Mar 02 2023)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: add searchSuggestionQuickNavigationItemSelected event [#411](https://github.com/artsy/cohesion/pull/411) ([@dblandin](https://github.com/dblandin))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- devon blandin ([@dblandin](https://github.com/dblandin))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.112.0 (Thu Mar 02 2023)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -179,3 +179,24 @@ export interface ConsignmentArtistFailed {
|
|
|
179
179
|
context_owner_type: OwnerType.consign;
|
|
180
180
|
query: string;
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* A user selects a quick navigation item within a search suggestion
|
|
184
|
+
*
|
|
185
|
+
* This schema describes events sent to Segment from [[searchSuggestionQuickNavigationItemSelected]]
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* ```
|
|
189
|
+
* {
|
|
190
|
+
* action: "searchSuggestionQuickNavigationItemSelected",
|
|
191
|
+
* context_module: "header",
|
|
192
|
+
* destination_path: "/artist/andy-warhol/works-for-sale",
|
|
193
|
+
* label: "Auction Results"
|
|
194
|
+
* }
|
|
195
|
+
* ```
|
|
196
|
+
*/
|
|
197
|
+
export interface SearchSuggestionQuickNavigationItemSelected {
|
|
198
|
+
action: ActionType.searchSuggestionQuickNavigationItemSelected;
|
|
199
|
+
context_module?: ContextModule;
|
|
200
|
+
destination_path: string;
|
|
201
|
+
label: "Artworks" | "Auction Results";
|
|
202
|
+
}
|
|
@@ -474,6 +474,10 @@ export declare enum ActionType {
|
|
|
474
474
|
* Corresponds to {@link Screen}
|
|
475
475
|
*/
|
|
476
476
|
screen = "screen",
|
|
477
|
+
/**
|
|
478
|
+
* Corresponds to {@link SearchSuggestionQuickNavigationItemSelected}
|
|
479
|
+
*/
|
|
480
|
+
searchSuggestionQuickNavigationItemSelected = "searchSuggestionQuickNavigationItemSelected",
|
|
477
481
|
/**
|
|
478
482
|
* Corresponds to {@link SearchedPriceDatabase}
|
|
479
483
|
*/
|
|
@@ -129,6 +129,7 @@ exports.ActionType = ActionType;
|
|
|
129
129
|
ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
|
|
130
130
|
ActionType["saveCollectedArtwork"] = "saveCollectedArtwork";
|
|
131
131
|
ActionType["screen"] = "screen";
|
|
132
|
+
ActionType["searchSuggestionQuickNavigationItemSelected"] = "searchSuggestionQuickNavigationItemSelected";
|
|
132
133
|
ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
|
|
133
134
|
ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
|
|
134
135
|
ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
|
|
@@ -160,6 +160,9 @@ export declare enum ContextModule {
|
|
|
160
160
|
saveWorksCTA = "saveWorksCTA",
|
|
161
161
|
sellFooter = "sellFooter",
|
|
162
162
|
sellHeader = "sellHeader",
|
|
163
|
+
sellHowItWorks = "sellHowItWorks",
|
|
164
|
+
sellMeetTheSpecialists = "sellMeetTheSpecialists",
|
|
165
|
+
sellSpeakToTheTeam = "sellSpeakToTheTeam",
|
|
163
166
|
showHeader = "showHeader",
|
|
164
167
|
showInfo = "showInfo",
|
|
165
168
|
showsRail = "showsRail",
|
|
@@ -174,6 +174,9 @@ exports.ContextModule = ContextModule;
|
|
|
174
174
|
ContextModule["saveWorksCTA"] = "saveWorksCTA";
|
|
175
175
|
ContextModule["sellFooter"] = "sellFooter";
|
|
176
176
|
ContextModule["sellHeader"] = "sellHeader";
|
|
177
|
+
ContextModule["sellHowItWorks"] = "sellHowItWorks";
|
|
178
|
+
ContextModule["sellMeetTheSpecialists"] = "sellMeetTheSpecialists";
|
|
179
|
+
ContextModule["sellSpeakToTheTeam"] = "sellSpeakToTheTeam";
|
|
177
180
|
ContextModule["showHeader"] = "showHeader";
|
|
178
181
|
ContextModule["showInfo"] = "showInfo";
|
|
179
182
|
ContextModule["showsRail"] = "showsRail";
|