Releases: FACT-Finder-Web-Components/ff-web-components
Releases · FACT-Finder-Web-Components/ff-web-components
5.2.0
FEATURE
- Recently Viewed Products
- Introduced a new component
ff-recently-viewedto display the user's most recently viewed products.
- Introduced a new component
IMPROVEMENT
- Suggest
- Add
hide-delayattribute toff-suggestto 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 withinff-suggest-itemelements now behave "natively" on Ctrl-click etc.
- Add
- Hit highlighting
- Introduced new formatter
ff-hitHighlightto be used in HTML templates offf-asn-group-elementandff-suggest-item. - New attribute
no-auto-highlightonff-asnandff-suggest.- These two elements add the highlighting markup to the underlying data.
This makes the data unusable for other purposes.
Withno-auto-highlight, this no longer happens.
Instead, you specifyff-hitHighlightin 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-highlightas this behavior will become the default in a future release.
- These two elements add the highlighting markup to the underlying data.
- Introduced new formatter
FIX
- Suggest
- Popup closes before click event is registered. Especially noticeable on touchpads.
ff-asn- Default template of
ff-asn-group-elementcorrectly renders hit highlighting.
- Default template of
- Predictive Basket
- Cart and checkout tracking threw an error.
5.1.8
FIX
- Suggest
- Suggest does not close when using TAB key to jump out of search box.
- When using
suggest-onfocusonff-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
FIX
- Always use absolute URLs for history updates.
- This avoids unexpected URLs when a base path is configured with the
<base>tag.
- This avoids unexpected URLs when a base path is configured with the
IMPROVEMENT
- Implement handling of URL fragment during URL generation.
- Implement
liveRankingRulesparameter- Appears in
SearchParams,NavigationParams,SuggestParams
- Appears in
5.1.6
FIX
- Implementation of
followSearchparameter- Paging and products-per-page elements did not send
followSearchafter initial request. ff-searchboxerroneously sent it for search and suggestions when it shouldn't.
- Paging and products-per-page elements did not send
IMPROVEMENT
ff-asn-group,ff-asn-group-slider- Set default style to
visibility:hiddenon collapsed groups. This takes nested elements out of the tabindex chain.display:nonecannot be used because it breaks the recalculation of the slider's position.
- Set default style to
- Add latest REST API parameter
exactSearchModetoSearchParamsandSuggestParams. - 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.setUrlParamOptionsListenerandutils.env.searchParamsFromUrl.
5.1.5
FIX
- Hitting the ENTER key on an item in
ff-record-listdoes not navigate to detail page.
5.1.4
IMPROVEMENT
- URL manipulation
- Add search parameters
showMarketsandshowPermutedSearchParamsto default block-list of URL writing. These parameters are rather internal in their nature and typically should not appear in the URL.
- Add search parameters
5.1.3
IMPROVEMENT
- Add
filterfield to campaign params (CampaignPageParams,CampaignProductParams,CampaignShoppingCartParams) to mirror updated FactFinder REST API. - Add support for new REST API parameter
useVectorSearchModeinSearchControlParams. - Add option to specify HTML templates through different syntax to avoid clashes with 3rd party frameworks.
- Available in
ff-record-listandff-suggest.
- Available in
5.1.2
FIX
skipBeforeHandlersflag is ignored in search and navigation requests.
5.1.1
IMPROVEMENT
- Add support for new FactFinder fields
filterWarning(Filter)showPermutedSearchParams(NavigationCategoryParams,NavigationParams,SearchParams,SuggestParams)
5.1.0
FEATURE
- Popular Searches
- Activate with new attribute
<ff-searchbox popular-searches> - Rendering happens through
ff-suggestwith new template slot<template data-role="popular-searches">
- Activate with new attribute
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.
- The suggestions template is now defined through