@artsy/cohesion 4.112.0 → 4.113.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,15 @@
|
|
|
1
|
+
# v4.113.0 (Thu Mar 02 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: add searchSuggestionQuickNavigationItemSelected event [#411](https://github.com/artsy/cohesion/pull/411) ([@dblandin](https://github.com/dblandin))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- devon blandin ([@dblandin](https://github.com/dblandin))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.112.0 (Thu Mar 02 2023)
|
|
2
14
|
|
|
3
15
|
#### 🚀 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";
|