December 2019 Release (v2.7610)

This page summarizes the improvements, new features, and bug fixes introduced in the December 2019 Release (initially released as v2.7610.7).

To download the latest version of this release (v2.7610.10):

Resource Script to include
Coveo JavaScript Search Framework (minified)
<!-- Coveo JavaScript Search Framework (with lazy loading) -->
<script class="coveo-script" src="https://static.cloud.coveo.com/searchui/v2.7610/js/CoveoJsSearch.Lazy.min.js"></script>
<!-- If you prefer to use the eager loading version, use the following link instead -->
<script class="coveo-script" src="https://static.cloud.coveo.com/searchui/v2.7610/js/CoveoJsSearch.min.js"></script>
CSS
<link rel="stylesheet" href="https://static.cloud.coveo.com/searchui/v2.7610/css/CoveoFullSearch.css"/>
Result templates
<script src="https://static.cloud.coveo.com/searchui/v2.7610/js/templates/templates.js"></script>

For more available resources, see CDN Links.

Release Highlights

New Pilot Component: QuerySuggestPreview

Issue numbers: JSUI-2685, JSUI-2693

Pilot Feature

The pilot QuerySuggestPreview component allows you to display the most relevant results when hovering over a Coveo ML query suggestion in the Omnibox.

See Rendering Query Suggestion Result Previews.

<!-- ... -->
<div class="CoveoQuerySuggestPreview"></div>
<div class="CoveoSearchbox"></div>
<!-- ... -->

QuerySuggestPreview Demo

New DynamicFacet Option: dependsOn

Issue number: JSUI-2643

The DynamicFacet and DynamicFacetRange components now have a dependsOn option allowing you to display a “dependent” facet only when a value is selected in its specified “parent”.

See Use Dynamic Facets.

<!-- ... -->
<div class="CoveoDynamicFacetManager">
  <div class="CoveoDynamicFacet"
       data-id="facet-filetype"
       data-title="File Type"
       data-field="@filetype"
       data-tab="All"></div>
  <div class="CoveoDynamicFacetRange"
       data-title="File Size"
       data-field="@syssize"
       data-depends-on="facet-filetype"
       data-ranges='[{"start":0,"end":1000},{"start":1000,"end":5000}]'></div>
</div>
<!-- ... -->

DynamicFacet dependsOn Demo

Did You Mean Localized String Customization

Issue number: JSUI-2679

You can now specify where the query appears in custom localized text for the DidYouMean component.

See Change the Language of Your Search Interface.

<!-- ... -->
<script src="https://static.cloud.coveo.com/searchui/v2.7610/js/cultures/pl.js"></script>
<script>
String.toLocaleString({
  "pl": {
    "didYouMean": "Czy chodziło Ci o : {0} a nie o"
  }
});
</script>
<!-- ... -->

Did You Mean Localized String Customization Demo

Other Changes

Issue number Enhancement
JSUI-2645 [Tab] Allow responsive behavior when initializing the component while it’s hidden.
JSUI-2689 [Facet] Use lowercase values for the sortCriteria option.
JSUI-2701 [ICommerceRequest] Support the filter and operation properties.
Issue number Case Maintenance case
JSUI-2636 00055912 Fixed several in-product external documentation links.
JSUI-2644 00056043 [FacetSlider] Fixed issue where the component would sometimes disappear when selecting values in other facets.
JSUI-2728 00057466 [CategoryFacet] Fixed issue where component was showing even when there were no values to display.
JSUI-2748 00057676 [FieldSuggestions] Fixed issue where clicking a field suggestion would clear the search box and trigger an empty query rather than triggering the expected query.
Issue number Bug fix
JSUI-2661 [Omnibox] Fixed issue where the currently focused query suggestion was not cleared when entering a new query.
JSUI-2662 Fixed issue where the keyboard “Enter” key couldn’t be used to select a new tab when jQuery was loaded in a page.
JSUI-2682 Fixed issue where the search button had to be clicked twice to execute a query when multiple search boxes were initialized in the search interface.
JSUI-2721 / JSUI-2737 Refactored the usage analytics data logged by the DynamicFacet and DynamicFacetRange components.
JSUI-2730 [DynamicFacetRange] Fixed issue where Firefox was unable to parse string date ranges.
Recommended Articles