Skip to content

Releases: yext/answers-search-ui

v1.3.7

12 Apr 14:44
Compare
Choose a tag to compare

Bug Fixes

  • Added a unique identifier to each component. This prevents a bug that led to components being unnecessarily removed from the page during a re-render. (#1371)
  • Updated the rtf-converter dependency to support the new Yext Markdown strike-through syntax. (#1370)
  • Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
  • When a spell check query suggestion is clicked, the proper queryTrigger is now sent. (#1230)
  • Fixed a small race condition that occurred when the ANSWERS instance was loaded
    on the page before the templateBundle. (#1305)

Version 1.7.3

02 Apr 14:37
f3442dc
Compare
Choose a tag to compare

Bug Fixes

  • Interpolation parameters used in run-time translations are now properly sanitized.

Version 1.6.4

02 Apr 12:18
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
  • When a spell check query suggestion is clicked, the proper queryTrigger is now sent. (#1230)
  • Interpolation parameters used in run-time translations are now properly sanitized.
  • Fixed a small race condition that occurred when the ANSWERS instance was loaded
    on the page before the templateBundle. (#1305)

v1.7.2

31 Mar 19:04
18b066d
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
  • When a spell check query suggestion is clicked, the proper queryTrigger is now sent. (#1230)
  • Fixed some small typos about the SearchBar configuration in the README. (#1229)
  • Fixed a small race condition that occurred when the ANSWERS instance was loaded
    on the page before the templateBundle. (#1305)

v1.7.1

08 Jan 15:57
20928fb
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused the LocationBias component to execute an invalid vertical search. The bug
    occurred when there was a global search configuration with a verticalKey, but no verticalKey was present
    in the component's configuration itself. (#1225)
  • Added some missing documentation about supported locales for the Map component. (#1216)

v1.6.3

08 Jan 15:29
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused the LocationBias component to execute an invalid vertical search. The bug
    occurred when there was a global search configuration with a verticalKey, but no verticalKey was present
    in the component's configuration itself. (#1225)

v1.5.7

08 Jan 16:19
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused the LocationBias component to execute an invalid vertical search. The bug
    occurred when there was a global search configuration with a verticalKey, but no verticalKey was present
    in the component's configuration itself. (#1225)

v1.4.9

08 Jan 16:28
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused the LocationBias component to execute an invalid vertical search. The bug
    occurred when there was a global search configuration with a verticalKey, but no verticalKey was present
    in the component's configuration itself. (#1225)

v1.7.0

01 Dec 17:32
3bfe86d
Compare
Choose a tag to compare

Version 1.7.0

Version 1.7.0 of the SDK includes a number of changes needed to support the Overlay integration of Answers. It is also the first version of the SDK that will be published to the npm registry.

Changes

  • Two new hooks were added for the AutoComplete component: onOpen and onClose. These hooks allow custom behavior when the dropdown of query suggestions opens or closes. (#1131).
  • The shouldHideOnEmptySearch configuration option was added to the SearchBar component. This option allows the AutoComplete's query suggestions to be hidden when the search input is empty. (#1136)
  • An onClearSearch hook was added to the SearchBar component. This hook allows custom JS to be executed whenever a user clicks the button to clear the search.
  • An onConductSearch hook was added to the SearchBar component. With this hook, custom JS can be run whenever the user submits a query via the component. (#1132)
  • The SDK's analytics events were updated to include a querySource. The source, which defaults to STANDARD, describes the Answers integration type. It can be set in the config provided to ANSWERS.init. (#1163)
  • A Percy integration was added to the SDK's repository. This integration allows us to run visual regression tests against all code checked into the repo. (#1148)
  • Small changes were made to the SDK to get it ready for release via the npm registry. (#1187)
  • Sourcemaps were added for the answers.min.js, answers-umd.min.js, and answers-modern.min.js assets. (#1178)

Bug Fixes

  • The Pagination component now renders only those page links that are visible. Previously, we were rendering every available page link, those that weren't supposed to be visible were display: none'd. This resulted in unnecessary nodes being added to the DOM. (#1143)
  • To better support WCAG, a focus state was added to the SortOptions component's radio buttons. (#1165)
  • The onVerticalSearch hook is now passed the query when fired as a result of pagination. (#1188)
  • A bug with the LocationBias component was fixed that caused it to load improperly under certain
    circumstances. (#1195)

v1.5.6

16 Nov 15:13
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that prevented text in escaped query suggestions from being properly highlighted.