Base Store - May 2022
New cart-related events are now being tracked, and enhancements in the LCP score have been implemented. Also, more components have been updated to use the Base Store theming structure.
๐ Bug fixโ
-
Fixed search suggestions locale issue (Gatsby #69 | Next.js #71) All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.
-
Fixed custom attributes for
img
andlink
tags (Gatsby #60 | Next.js #60) Custom attributes are now only passed toimg
andlink
HTML tags to avoid inconsistencies in other components.
โจ Enhancementโ
-
Improved page loading time with Incremental Static Build (Gatsby #47 | Next.js #39) Base Store now uses the new Incremental Static Build (ISB) WebOps solution.
-
Replaced
OutOfStock
component (Gatsby #70 | Next.js #72) Base Store now uses theOutofStock
component from the FastStore UI library. -
Improved page LCP (Gatsby #51 | Next.js #49) Improved Largest Contentful Paint (LCP) score after implementing the
fetchpriority
attribute. -
Added analytics events to
CartItem
(Gatsby #43 | Next.js #35) TheCartItem
component now tracks user actions via theadd_to_cart
andremove_from_cart
Google Analytics events. -
Updated
Select
theming (Gatsby #17 | Next.js #16) TheSelect
component now has new tokens based on the Base Store Theming Structure. -
Updated
Incentives
theming (Gatsby #49 | Next.js #56) TheIncentives
component now has new tokens based on the Base Store Theming Structure. -
Improved Theming documentation on Storybook (Gatsby #26 | Next.js #67) New docs published on the Base Store Storybook. Also, a new documentation format based on MDX was implemented.
๐งน Choreโ
-
CartItem
tests for analytics events (Gatsby #66 | Next.js #66) TheCartItem
component now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart. -
Updated
QuantitySelector
styling (Gatsby #75 | Next.js #76) TheQuantitySelector
component now uses CSS modules.
Framework-specific updatesโ
Gatsbyโ
๐ New featureโ
-
New local tokens added to
Checkbox
#61 TheCheckbox
component now has new tokens based on the Base Store Theming Structure. -
Support for product attachments available #53 The Base Store now supports product attachments.
๐ Bug fixโ
ArrowsClockwise
icon closing tag #57 The closing tag of theArrowsClockwise
icon was fixed and no longer breaks icons on Firefox.
๐งน Choreโ
-
Updated product components styling #54 The
ProductCard
,ProductGrid
, andProductGallery
components now use CSS modules. -
Upgraded Gatsby and other dependencies #59 After Gatsby's improvements in Image and Font Loading Times announcement, Gatsby and other dependencies have been upgraded.
-
Updated ImageGallery styling #41 The
ImageGallery
component now uses CSS modules.
Next.jsโ
๐ New featureโ
-
New
Toggle
component #15 TheToggle
component works as a checkbox, but in the form of a switch control. -
Updated
Link
theming #17 TheLink
component now has new tokens based on the Base Store Theming Structure.
๐ Bug fixโ
-
Fixed the
fetchPriority
prop warning #54 Fixed warning related to thefetchPriority
being written in camel case. -
Fixed Storybook error while importing CSS styles #53
-
Fixed
EmptyState
visual bug #11 The vertical gap for the empty cart state is now fixed.
Before | After |
---|---|
![]() | ![]() |