Skip to content

Releases: AddSearch/search-ui

v0.4.1

23 Mar 07:44
Compare
Choose a tag to compare

New component: loadMore. Can be used to:

  • Add a "Load more results" button instead of pagination. See example
  • Create an infinite scroll implementation. See example

Added support for infinite scroll to autocomplete component. See example

v0.4.0

18 Mar 13:42
Compare
Choose a tag to compare

Renewed the logic of how analytics events are sent to AddSearch Analytics Dashboard

  • In Search-as-you-type implementations, a search event is sent after 2,5 sec pause in typing, or if a search result is clicked within that debounce time
  • Filter changes and result page changes don't fire search events
  • Third-party analytics software can be integrated with the analyticsCallback function

This release requires AddSearch JS Client 0.3.0 or newer.

v0.3.4

17 Mar 12:00
Compare
Choose a tag to compare

Fixed an issue with the searchField component's button that cleared search results when the keyword was empty but the matchAllQuery setting was enabled.

v0.3.3

12 Mar 09:03
Compare
Choose a tag to compare

This release includes following improvements

  • Support for Promotions added to the searchResults component
  • Moved the searchResults component's featured image to a separate subtemplate
  • Improved component styling across different browsers

v0.3.2

06 Mar 08:41
Compare
Choose a tag to compare

Icons for PDF, DOC, and PPT results. Placeholder image for search results with no image.

v0.3.1

27 Feb 13:36
Compare
Choose a tag to compare

Small improvements:

  • Improved browser history behavior when the back button is pressed
  • Fixed searchField component's styling to keep the search button closer to the input field

v0.3.0

26 Feb 12:21
Compare
Choose a tag to compare

The default styles for all components are refined and unified on all browsers. Check out the components demo to see default styles: https://demo.addsearch.com/search-ui-examples/components/

New settings:

  • searchField: Control search icon's visibility with the ''icon'' setting
  • filters: Clear other filters when a specific filter is enabled with the ''clearOtherFilters'' setting. The primary use case is to clear tab-specific filters when a tab is switched

v0.2.3

11 Feb 14:28
Compare
Choose a tag to compare

Added a callback function to call after an autocomplete box is shown. This can be used, for example, to align the autocomplete box.

function autocompleteShown(container) {
  console.log(container);
}

searchui.autocomplete({
  containerId: 'autocomplete',
  onShow: autocompleteShown,
  ...

Added a new example with (almost) all components in use:

v0.2.2

06 Feb 08:02
Compare
Choose a tag to compare

Improve functionality when multiple searchField components are used on the same page.

v0.2.1

04 Feb 12:25
Compare
Choose a tag to compare

Click tracking support added to autocomplete component. The link must have a data-analytics-click attribute with the docid as value.

<a href="{{url}}" data-analytics-click="{{id}}">{{title}}</a>

New experimental component segmentedResults to show federated search results in different lists by content type.

searchui.segmentedResults({
  containerId: 'container',
  client: clientWithFilters,
  template: handlebarsTemplate
});