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
imgandlinktags (Gatsby #60 | Next.js #60) Custom attributes are now only passed toimgandlinkHTML 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
OutOfStockcomponent (Gatsby #70 | Next.js #72) Base Store now uses theOutofStockcomponent from the FastStore UI library. -
Improved page LCP (Gatsby #51 | Next.js #49) Improved Largest Contentful Paint (LCP) score after implementing the
fetchpriorityattribute. -
Added analytics events to
CartItem(Gatsby #43 | Next.js #35) TheCartItemcomponent now tracks user actions via theadd_to_cartandremove_from_cartGoogle Analytics events. -
Updated
Selecttheming (Gatsby #17 | Next.js #16) TheSelectcomponent now has new tokens based on the Base Store Theming Structure. -
Updated
Incentivestheming (Gatsby #49 | Next.js #56) TheIncentivescomponent 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โ
-
CartItemtests for analytics events (Gatsby #66 | Next.js #66) TheCartItemcomponent now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart. -
Updated
QuantitySelectorstyling (Gatsby #75 | Next.js #76) TheQuantitySelectorcomponent now uses CSS modules.
Framework-specific updatesโ
Gatsbyโ
๐ New featureโ
-
New local tokens added to
Checkbox#61 TheCheckboxcomponent 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โ
ArrowsClockwiseicon closing tag #57 The closing tag of theArrowsClockwiseicon was fixed and no longer breaks icons on Firefox.
๐งน Choreโ
-
Updated product components styling #54 The
ProductCard,ProductGrid, andProductGallerycomponents 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
ImageGallerycomponent now uses CSS modules.
Next.jsโ
๐ New featureโ
-
New
Togglecomponent #15 TheTogglecomponent works as a checkbox, but in the form of a switch control. -
Updated
Linktheming #17 TheLinkcomponent now has new tokens based on the Base Store Theming Structure.
๐ Bug fixโ
-
Fixed the
fetchPriorityprop warning #54 Fixed warning related to thefetchPrioritybeing written in camel case. -
Fixed Storybook error while importing CSS styles #53
-
Fixed
EmptyStatevisual bug #11 The vertical gap for the empty cart state is now fixed.
| Before | After |
|---|---|
![]() | ![]() |

