Skip to content

Release Notes - June 2022

Latest
Compare
Choose a tag to compare
@carolinamenezes carolinamenezes released this 01 Jul 18:19
· 202 commits to main since this release
17ed8e9

PLPs now support price range filtering, and nonexistent PDPs can now handle 404 errors. Also, more components have been updated to conform to the new Base Store Theming architecture.

๐ŸŽ‰ New

  • New Dropdown component (#118)

    The Dropdown component has been extracted from Breadcrumb and received new local tokens as part of adhering to the new Base Store Theming architecture.

    Dropdown component

  • Price range filtering now available for PLPs (#121)

    Thanks to the new PriceRange component, Product Listing Pages (PLPs) can now support price range filtering.

  • 301 redirects added to PDPs (#93)

    So that VTEX stores migrating to FastStore can work seamlessly, a 301 redirect between vtexSlug and fastStoreSlug was created, where:

    • vtexSlug: /{slug}/p
    • fastStoreSlug: /{slug}-{skuId}/p

Theming

As part of adhering to the new Base Store Theming architecture, the following components now have new local tokens related to global ones:

  • New local tokens to Tiles (#134)
  • New local tokens to ProductGrid (#144)
  • New local tokens to Accordion (#130)
  • New local tokens to ImageGallery (#143)
  • New local tokens to RegionalizationBar (#104)
  • New local tokens to Modal and RegionalizationModal (#128)
  • New local tokens to Dropdown (#118)
  • New local tokens to EmptyState (#122)
  • New local tokens to Filter (#139)

๐Ÿ› Bug fix

  • ImageGallerySelector scroll fixed (##132)

    Undesired behaviors of the ImageGallerySelector scroll on Safari were fixed.

    Before Now
    Scroll with error Fixed scroll

โœจ Enhancement

  • Page code error handling enhanced (#116)

    Instead of always responding with a 500 status code, nonexistent Product Details Pages (PDPs) can now handle 404 errors.

  • External and client-side navigation now supported by the Link component (#117)

    The Link component now handles both external and client-side navigation. This change intends to unify the Link component usage.

  • SVG logo replaced by a static asset (#135)

    The SVG logo was removed from the JavaScript code and imported as a static asset. This change aims to reduce the amount of JavaScript downloaded on the client-side since directly declaring SVGs in JS code can harm the Total Blocking Time (TBT) and final bundle sizes.

  • Search history and top searches on search input (#112).

    The last four previously searched terms (SearchHistory) and the top five searches (SuggestionsTopSearch) are now presented on search input.

    Search input

  • CSS selector for DropdownButton updated (#123)

    To select the DropdownButton component, the [data-fs-dropdown-button] CSS handle is being used instead of [data-store-dropdown-button].

  • EmptyState styles updated (#125)

    The --fs-text-size-3 token was replaced by --fs-text-size-lead on the EmptyCart component.

  • Facets styles updated (#150)

    The tokens related to the Facets components were renamed and updated accordingly.

๐Ÿ“„ Documentation

  • New Regionalization section on the Storybook (#110)

    The Base Store Storybook now has the Regionalization section that lists all regionalization-related components and how to use them.

  • General improvements on Storybook implemented (#129)

    The Sandbox tab is now available for all component pages, allowing to test the component in different viewports and use other add-ons. Also, some console errors on the Storybook were fixed.

  • ๐Ÿ“„ EmptyState Storybook enhanced with use cases (#126)

๐Ÿงน Chore

  • Upgraded dependencies (#131)
  • Storybook's version bump from 6.4.20 to 6.5.9 (#120)
  • Support for new type definitions from React 18 (#113)