@sledge-app/react-instant-search changelog

v1.0.45 (2024-01-12)

Features

  • product-filter: add config hide filter item when counter is zero

Bug Fixes

  • product-filter: bug fixes: fix bug variant options not changed

v1.0.44 (2024-01-11)

Features

  • product-filter: add best selling and featured sort

v1.0.43 (2024-01-11)

Features

  • product-filter: saved clicked limit

v1.0.42 (2024-01-11)

Bug Fixes

  • product-filter: Fix facet counter on checked vs checked are different on filter tree
  • product-filter: Fix CORS error when facet has this character (')
  • product-filter: Clickable one area checkbox on filter tree

v1.0.41 (2024-01-10)

Bug Fixes

  • product-filter: fix and validate nesting issue

v1.0.40 (2024-01-09)

Features

  • product-filter: add filter tree for collection / product type

v1.0.39 (2024-01-03)

Features

  • core: update logic search result
  • performance: if filter changed, make sure facet not rerender
  • performance: make sure other component not rerender
  • performance: update state on filter price for better performance

v1.0.38 (2024-01-02)

Features

  • localizations: add some languages

Bug Fixes

  • fix bug Pages/ Blogs etc not found when on Products / Collections paginated to other pages.
  • add striped and limit to HTML content in Collection/Pages/Blogs/Articles description

v1.0.37 (2023-12-21)

Features

  • add enter key to confirm search result

v1.0.36 (2023-12-19)

Features

  • localizations: add some languages

Bug Fixes

  • mobile adjustment on product filter

v1.0.35 (2023-12-19)

Features

  • localizations: add some languages

Bug Fixes

  • query: fix pricing query

v1.0.34 (2023-12-19)

Features

  • localizations: add some languages

Bug Fixes

  • facet adjustment

v1.0.33 (2023-12-19)

Bug Fixes

  • core: add default max width component for widget lists (default to 1180px)

v1.0.32 (2023-12-19)

Bug Fixes

  • types: fix filter when type is array

v1.0.31 (2023-12-18)

Bug Fixes

  • avoid search widget element not show while using scroll-trigger animation

v1.0.30 (2023-12-18)

Bug Fixes

  • fix image not show on color swatch filter search result

v1.0.29 (2023-12-18)

Bug Fixes

  • fix default value url search result

v1.0.28 (2023-12-17)

Features

  • element: add prop/attribute url search result for default component SearchViewMoreResult, example:
import {Link} from '~/components';
 
export function SledgeSearchViewMoreResult({
    keyword,
    setShowPopupComponent,
    setRenderSearchResult,
}) {
    return (
        <Link
        to={`/pages/search-result?q=${keyword}`}
        className="sledge-instant-search__icon-widget-button-more"
        onClick={() => {
            setShowPopupComponent && setShowPopupComponent(false);
            setRenderSearchResult && setRenderSearchResult(keyword);
        }}
        >
        View More Result
        </Link>
    );
}
  • element: add prop/attribute url search result for default component suggestionKeywordList, example:
import {Link} from '~/components';
 
export const SledgeSuggestionKeywordList = ({
    keywords,
    setShowPopupComponent,
    setRenderSearchResult,
}) => {
    return (
        <>
        <div className="sledge-instant-search__icon-widget-search-form-result-title">
            Suggestions
        </div>
        <ul className="sledge-instant-search__icon-widget-search-form-result-list">
            {keywords.map((keyword: string, index: number) => {
                return (
                    <li key={index}>
                        <Link
                            to={`/pages/search-result?q=${keyword}`}
                            className="sledge-instant-search__icon-widget-search-form-result-list-link sledge-instant-search__icon-widget-search-form-result-list-link-suggestion"
                            onClick={() => {
                            setShowPopupComponent && setShowPopupComponent(false);
                            setRenderSearchResult && setRenderSearchResult(keyword);
                            }}
                        >
                            <span className="sledge-icon__search">
                                {/* fill with svg */}
                            </span>
                            {keyword}
                        </Link>
                    </li>
                );
            })}
        </ul>
        </>
    );
};

v1.0.27 (2023-12-17)

Bug Fixes

  • ssr: parameter naming

v1.0.26 (2023-12-17)

Bug Fixes

  • fix bug query param changed after click suggestion keyword list / view more result

v1.0.25 (2023-12-14)

Bug Fixes

  • update instantsearch indexing

v1.0.24 (2023-12-13)

Bug Fixes

  • element: update search field styling, font size & max-width

v1.0.23 (2023-12-13)

Features

  • custom components: add collection card custom component
  • custom components: add page card custom component
  • custom components: add blog card custom component
  • custom components: add article card custom component

v1.0.22 (2023-12-13)

Bug Fixes

  • improve skeleton

v1.0.21 (2023-12-13)

Bug Fixes

  • core: adjustment handle last state on instant search

v1.0.20 (2023-11-07)

Bug Fixes

  • core: update object from settings

v1.0.19 (2023-11-02)

Bug Fixes

  • core: append query filters to url

v1.0.18 (2023-11-01)

Bug Fixes

  • core: export react module config

v1.0.17 (2023-11-01)

Bug Fixes

  • element: adjustment style on component filter price
  • element: adjustment style on component scroll area
  • element: adjustment style on search icon widget popup
  • element: adjustment style on search icon widget popup (overlay full width)
  • element: adjustment style on search icon widget popup (dropdown two column)
  • element: adjustment style on search icon widget popup (dropdown one column)
  • element: remove box shadow in trigger component
  • element: remove background color on product grid image
  • element: remove animation in components
  • element: adjustment style on animation instant search popup

v1.0.16 (2023-11-01)

Bug Fixes

  • element: adjustment style on checkbox
  • element: adjustment style on radio button
  • element: adjustment style on filter component (vertical)
  • element: adjustment style on filter component (horizontal)
  • element: adjustment style on search result widget
  • element: adjustment style on collection tab
  • element: adjustment style on pages tab
  • element: adjustment style on blogs & article

v1.0.15 (2023-10-30)

Bug Fixes

  • core: fix filter slider not reset when clear all filter

v1.0.14 (2023-10-28)

Bug Fixes

  • core: fix bug when clear all, radio button not reset
  • core: fix broken price, add validation to .replaceAll func

v1.0.13 (2023-10-28)

Features

  • customizer: add select option component for display filter type select
  • customizer: handle to force value facet when using select / radio display type

v1.0.12 (2023-10-25)

Features

  • customizer: add color swatch
  • customizer: add suggestion when no result ( keyword suggestion, product suggestion )
  • customizer: add suggestion when zero character ( keyword suggestion, product suggestion )

v1.0.11 (2023-10-25)

Features

  • customizer: update sync customizer (filter title/option/button)

v1.0.10 (2023-10-16)

Features

  • customizer: add radio button component
  • customizer: Filter Settings
  • customizer: Enable Filter on Search page
  • customizer: Show the number of total products
  • customizer: Hide filter options when only one value
  • customizer: Show refine by block
  • customizer: Search Settings
  • customizer: Search result ( show price )
  • customizer: Limit
  • customizer: Allowed limit
  • customizer: Show vendor
  • customizer: Show sku

v1.0.9 (2023-10-16)

Bug Fixes

  • update filter by collection on product filter

v1.0.8 (2023-10-16)

Bug Fixes

  • fix bug filter error when additional filter is added

v1.0.7 (2023-10-16)

Bug Fixes

  • handle multisearch only for init state
    • total data per index
    • default facet

v1.0.6 (2023-10-13)

Features

  • element: add slider component
  • core: handle state filter price range min - max value

v1.0.5 (2023-10-13)

Features

  • core: add handle reset filter
  • core: add handle trigger filtering data when checked / unchecked
  • core: load more function

v1.0.4 (2023-10-11)

Bug Fixes

  • core: add handle state filter with facets
  • core: add handle total per tab index
  • core: add handle search result per tab index

v1.0.3 (2023-10-11)

Features

  • core: add new component search widget

v1.0.2 (2023-10-10)

Features

  • core: add new component search result
  • update some component to which can be used on global
  • update handle state components (search widget, search result, PLP widget)
  • add tab index component
  • add result component based on tab index

v1.0.1 (2023-10-10)

Features

  • core: add new component PLP widget

v1.0.0 (2023-10-10)

Features

  • Stable release