June 2021 1st Release (v2.10086)

This page summarizes the improvements and bug fixes introduced in the June 2021 1st Release (initially released as v2.10086.2).

You can get the latest version of this release (v2.10086.2):

  • From GitHub (2.10086.2)
  • From npm (npm install coveo-search-ui@2.10086.2)
  • From the Coveo CDN:
Resource1 Script to include
CSS (minified)

With SRI:

<link rel="stylesheet" href="https://static.cloud.coveo.com/searchui/v2.10086/2/css/CoveoFullSearch.min.css" integrity="sha512-SvJKQ8/gNL2d8gVWx23GajIUPZAK+F83AI2pXl+pV0X3BfK6R3uBpEHo8CDv1YuIFzfvfs6znp77Amaj3te0xQ==" crossorigin="anonymous" />

Without SRI:

<link rel="stylesheet" href="https://static.cloud.coveo.com/searchui/v2.10086/css/CoveoFullSearch.min.css" />
Framework (lazy loading, minified)

With SRI:2

<script class="coveo-script" src="https://static.cloud.coveo.com/searchui/v2.10086/2/js/CoveoJsSearch.Lazy.min.js" integrity="sha512-2TcfWwP+nJVSb+PmZCxAQbtuTBqBY1IFNzNWQYCdG0aDFn3B2YvNaDZoRJKzqxCEqxyyg/Ki5PVZrouuGDkbvw==" crossorigin="anonymous"></script>

Without SRI:

<script class="coveo-script" src="https://static.cloud.coveo.com/searchui/v2.10086/js/CoveoJsSearch.Lazy.min.js"></script>

With SRI:

<script src="https://static.cloud.coveo.com/searchui/v2.10086/2/js/templates/templates.js" integrity="sha512-uu361iGkzq8eo/FYkLHLnDsDwaON4Zp43MA3FOVbCjnAlJLR8vug8xsKt0WVqS2VIPfTmi9A+PD4ltalF/Jb8w==" crossorigin="anonymous"></script>

Without SRI:

<script src="https://static.cloud.coveo.com/searchui/v2.10086/js/templates/templates.js"></script>

1: For additional resources, see CDN Links.

2: See Subresource Integrity.

Release Highlights

New Components: SmartSnippet and SmartSnippetSuggestions

Issue number: JSUI-3230

The new SmartSnippet component uses machine learning to extract the parts of an item that are most relevant to a user’s query. It then uses this information to provide the user with answers that appear directly on the results page.

Smart snippets example

For more information, check out the Smart Snippet documentation.

The SmartSnippetSuggestions component is similar to Query Suggestions, but it specifically displays additional queries for which the Smart Snippets model can provide relevant answers.

Other Changes

Issue number Enhancement
JSUI-3230 [SmartSnippet] Smart Snippet and Smart Snippet Suggestions are now publicly available and documented.
Issue number Case Maintenance case
JSUI-3221 00066567 Fixed issue where result templates for different screen sizes could be shown in the result list at the same time.
JSUI-3223   [DynamicFacetRange] Added new option to sort facet values in ascending (default) or descending order.
JSUI-3229 00068068 Fixed issue where the Debug window opened in the Salesforce Insight Panel instead of Full Search.
JSUI-3233   Fixed issue where the redirection that’s triggered when selecting a query suggestion sent the wrong analytics event.
JSUI-3240 00068431 [ResultLink] Fixed issue where setting the hrefTemplate to a relative link didn’t work.
Recommended Articles