From 0e9f297f6882b29a402d5772e3071cc60204f6b8 Mon Sep 17 00:00:00 2001 From: vdarosa Date: Tue, 16 Jul 2024 14:32:12 -0400 Subject: [PATCH 1/2] answers-search-ui: added document vertical segment support (#1888) Test: Unit tests all passed and ran localhost to see segments in api response of document vertical search. --- src/core/models/result.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/models/result.js b/src/core/models/result.js index aee7f5042..a1f277036 100644 --- a/src/core/models/result.js +++ b/src/core/models/result.js @@ -137,7 +137,8 @@ export default class Result { distance: result.distance, distanceFromFilter: result.distanceFromFilter, highlighted: appliedHighlightedFields, - highlightedFields + highlightedFields, + segment: result.segment }; if (result.source !== 'KNOWLEDGE_MANAGER') { From 0af0c17a464be3f5c7c1e3f30824da288a870404 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:50:45 -0400 Subject: [PATCH 2/2] v1.17.3 (#1887) Co-authored-by: github-actions[bot] --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7665466c4..eaa3aeac8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@yext/answers-search-ui", - "version": "1.17.2", + "version": "1.17.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@yext/answers-search-ui", - "version": "1.17.2", + "version": "1.17.3", "license": "BSD-3-Clause", "dependencies": { "@mapbox/mapbox-gl-language": "^0.10.1", diff --git a/package.json b/package.json index 55ac6aab4..09b178fcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/answers-search-ui", - "version": "1.17.2", + "version": "1.17.3", "description": "Javascript Search Programming Interface", "main": "dist/answers-umd.js", "repository": {