Skip to content

Releases: FACT-Finder-Web-Components/ff-web-components

5.2.0

25 Mar 11:10
d3f56d9

Choose a tag to compare

FEATURE

  • Recently Viewed Products
    • Introduced a new component ff-recently-viewed to display the user's most recently viewed products.

IMPROVEMENT

  • Suggest
    • Add hide-delay attribute to ff-suggest to allow configuration of the time it takes Suggest's popup to close. Use it when your users experience unreliable click behavior. Happens typically with input devices such as touchpads.
    • <a> tags within ff-suggest-item elements now behave "natively" on Ctrl-click etc.
  • Hit highlighting
    • Introduced new formatter ff-hitHighlight to be used in HTML templates of ff-asn-group-element and ff-suggest-item.
    • New attribute no-auto-highlight on ff-asn and ff-suggest.
      • These two elements add the highlighting markup to the underlying data.
        This makes the data unusable for other purposes.
        With no-auto-highlight, this no longer happens.
        Instead, you specify ff-hitHighlight in the HTML templates yourself wherever you need it.
        Example: <ff-suggest-item type="productName">{{{ff-hitHighlight name}}}</ff-suggest-item>.
      • We recommend to adjust your integration to use no-auto-highlight as this behavior will become the default in a future release.

FIX

  • Suggest
    • Popup closes before click event is registered. Especially noticeable on touchpads.
  • ff-asn
    • Default template of ff-asn-group-element correctly renders hit highlighting.
  • Predictive Basket
    • Cart and checkout tracking threw an error.

5.1.8

08 Jan 15:05
bff7e4d

Choose a tag to compare

FIX

  • Suggest
    • Suggest does not close when using TAB key to jump out of search box.
    • When using suggest-onfocus on ff-searchbox, the last Suggest result is reused without issuing a new request.
    • Suggest no longer remains open under certain conditions when it should close.
  • Tracking
    • Click, cart and checkout tracking did not include campaign ID.

5.1.7

24 Oct 14:48
5731bbe

Choose a tag to compare

FIX

  • Always use absolute URLs for history updates.
    • This avoids unexpected URLs when a base path is configured with the <base> tag.

IMPROVEMENT

  • Implement handling of URL fragment during URL generation.
  • Implement liveRankingRules parameter
    • Appears in SearchParams, NavigationParams, SuggestParams

5.1.6

04 Aug 07:12
1509cfa

Choose a tag to compare

FIX

  • Implementation of followSearch parameter
    • Paging and products-per-page elements did not send followSearch after initial request.
    • ff-searchbox erroneously sent it for search and suggestions when it shouldn't.

IMPROVEMENT

  • ff-asn-group, ff-asn-group-slider
    • Set default style to visibility:hidden on collapsed groups. This takes nested elements out of the tabindex chain. display:none cannot be used because it breaks the recalculation of the slider's position.
  • Add latest REST API parameter exactSearchMode to SearchParams and SuggestParams.
  • URL manipulation
    • Add option to only partially block the category filter's path from being written to the URL. This is important on category pages where a part of the category path is already in the URL's static path while deeper filter levels shall remain dynamic.
    • Affected APIs are: routing.setUrlParamOptionsListener and utils.env.searchParamsFromUrl.

5.1.5

25 Jun 09:51
b61acb4

Choose a tag to compare

FIX

  • Hitting the ENTER key on an item in ff-record-list does not navigate to detail page.

5.1.4

23 Jun 11:47
94604ec

Choose a tag to compare

IMPROVEMENT

  • URL manipulation
    • Add search parameters showMarkets and showPermutedSearchParams to default block-list of URL writing. These parameters are rather internal in their nature and typically should not appear in the URL.

5.1.3

27 May 12:44
62f3c2e

Choose a tag to compare

IMPROVEMENT

  • Add filter field to campaign params (CampaignPageParams, CampaignProductParams, CampaignShoppingCartParams) to mirror updated FactFinder REST API.
  • Add support for new REST API parameter useVectorSearchMode in SearchControlParams.
  • Add option to specify HTML templates through different syntax to avoid clashes with 3rd party frameworks.
    • Available in ff-record-list and ff-suggest.

5.1.2

11 Apr 14:10
0c7b760

Choose a tag to compare

FIX

  • skipBeforeHandlers flag is ignored in search and navigation requests.

5.1.1

04 Mar 09:11
3e77aa6

Choose a tag to compare

IMPROVEMENT

  • Add support for new FactFinder fields
    • filterWarning (Filter)
    • showPermutedSearchParams (NavigationCategoryParams, NavigationParams, SearchParams, SuggestParams)

5.1.0

18 Feb 10:41
34afd8d

Choose a tag to compare

FEATURE

  • Popular Searches
    • Activate with new attribute <ff-searchbox popular-searches>
    • Rendering happens through ff-suggest with new template slot <template data-role="popular-searches">

IMPROVEMENT

  • ff-suggest
    • The suggestions template is now defined through <template data-role="suggestions">.
    • The old approach remains available for compatibility but is no longer documented.