All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
trackingId
to the Shelf.
- Issue where there would be an infinite
setState
loop if there were multiple items per page and autoplay enabled.
useInView
onShelfItem
since this logic was moved to theproduct-summary
now.
- Impression events on
RelatedProducts
.
PriceWithoutDiscount
in products query.
RelatedProducts.getSchema
by replacing call toProductList.getSchema
to reading fromProductList.schema
.
arrows
,autoplay
,nativationStep
,titleText
,showTitle
,itemsPerPage
,minItemsPerPage
andgap
props to the schema of the Shelf.
- Shelf performance when clicking on the arrows.
- Problem that caused the product impression event to be sent for every item on the shelf, including the ones that were't seen yet.
- The
ProductImpression
is now handled by theproduct-context-list
app.
- Forces hideUnavailableItems to be a boolean value
- Stringify collection and category args passed to graphql query.
brandId
on theproductRecommendations
query.
- Make use of
priceRange
resolver.
- Remove
store-graphql
from dependencies.
- Make
ALL_AVAILABLE
be the default skusFilter value.
skusFilter
variable to products query.
- Add
categories
field in products and recommendations query.
- Render on server-side.
- A few new css class handles and changed them to use the
cssHandles
app
- Get
specificationGroups
resolver in productRecommendations query to be able to show badges.
- Add missing field
products.items.variations
toproductsQuery.gql
.
- Remove propType error on shelfItemPropType.categories.
- Inconsistent hook call on RelatedProducts shelf.
- specificationGroup resolvers to products query.
- Fixes bug where
shelf.relatedProducts
would not work inside a layout block.
- Make shelf render strategy
client
, i.e. component assets are fetched client-side with same priority as server-side blocks.
- Add
Discounts
AndTeasers
Fields in Products And Recommendations Query
- Start using
search-graphql
for product queries.
- Related Products shelf would not display correctly on mobile.
- Protect against empty images array in product impression parsing.
itemPerPage
would not be taken into consideration if its value was greater than 5, as this limit was set in theShelfContent
component.
- Add
measurementUnit
,unitMultiplier
andproperties
to Product and ProductRecommendationQuery.
- Support for partially showing the next item in the Shelf on mobile.
- Make shelf render strategy
lazy
, i.e. component is only fetched client-side.
- Use product parsing logic from product-summary.
- New
paginationDotsVisibility
prop to control whether the pagination dots indication is displayed or not.
- Add imageLabel to productsQuery and pass it to product-summary.
- Limit installments query, using MAX criteria.
- New
minItemsPerPage
prop to control the minimum number of items displayed in the Shelf.
- Issue with IntersectionObserver on Safari 12.0, making the whole page crash. A polyfill has been added for the time being, while the fix for the issue is not published on polyfill.io.
- cateogryTree resolver from product queries to improve performance, data was unnecessary at that moment.
- Added
properties
field inProducts
query.
hideUnavailableItems
prop, along with accompanying option on the Shelf schema.
- Removed the "(Default)" from the default ordering options
- Shelf sorting through the store-front now supports every type of sort available from the API
- The default
orderBy
is now by relevance
- Send impressions as list and only send them when Shelf is viewed by user.
- Make ProductList component importable in other apps
- Re-enables SSR, which was disabled temporarily on 1.13.1.
- Revert title text schema hotfix made on 1.20.3.
- Prevents the size from shifting when the transition between SSR to CSR happens.
- Hotfix for issue with title schema, which was saving the ID instead of the value. Should be undone once the root issue is fixed.
- Issue which would break the query if collections was null.
- Build assets with new builder hub.
brandId
onproductsQuery
.
- Shelf can now query for specificationFilters in its query.
- Change type of category prop on schema to "String", to allow the query and display of subcategories.
- Add
productReference
field to query.
- Use [email protected].
- Correctly parse old recommendation prop on RelatedProduct shelf.
- Prevent RelatedProducts from crashing if there's no data
- Improve performance by removing dependencies and using function components.
- productImpression event being called more than once for each product.
- Add
contentSchemas.json
for definition of content properties - i18n content edition support through CMS
- Make Related products shelf fetch its items.
- Fixed blinking/infinite loop when height was resized, due to images not loading and whatnot.
- Send productImpression events to Pixel Manager.
- Export
getSchema
onShelf
.
- Send productClick events to Pixel Manager.
- Adds loading preview to the shelf interfaces.
- Disabled SSR on graphql query. Intended to be a temporary change.
- Scope messages by domain
- Show item even when is unavailable.
- Fix sliderWidth when there was less items than the number of itens to show per slide.
- Add slide per page option on slider.
- Add gap types names in
en.json
.
- Remove Product Summary schema.
- Storefront label names when option is only for web devices.
- Replace
slick-slider
tovtex-slider
.
- Fix proptypes warnings.
- Track click events
- Search for first available item on sku list.
- Use most generic language files.
- Added image resize for 500px.
- Snapshot tests.
- Create
TabbedShelf
component, add to interfaces
- Add configuration to show the shelf title.
- Add
product-summary
as a block ininterfaces.json
.
- Support to CSS Modules.
Shelf
use full width whenitemsPerPage
are five or more and padding between items is set using tachyons.
- Fix summary.name prop undefined when setting name tag.
- Set
ProductName
tag as H2 element.
- Align
ShelfItems
height.
- Change Responsiveness implementation and add fixed gap between item.
- Bumping version to use new messages 1.x builder
- Remove
inheritComponent
from blocks.
- Update React builder to 3.x.
- Change Slider CSS tokens.
- Related products alignment.
- Add max-width on shelf Container.
- Add padding on shelf through
Container
component. - Bye
pages.json
! Welcomestore-builder
.
- Support to messages builder.
- Update
README.md
.
- Shelf keep loading when a query error happened.
- Improve font weights and paddings
- Update major version of
storecomponents
andproduct-summary
- CSS refactoring.
- Right arrow placement.
- Now, shelf title has intl.
- Fix slider dots to same size on different components.
- Refact to use design tokens.
- Limits quantity of items in mobile devices while onSSR.
- Fix product spacing in smaller screens.
- Show unavailable products on shelf.
- Fix product spacing
- Page padding to match footer and other page components.
- Update the
vtex.product-summary
version.
- Update the
vtex.store-components
version.
- Inifinite content loader when products array is loaded but empty.
- Show only buyable products.
- Different types of recommendation in
RelatedProducts
schema.
- Removed
relatedProductQuery
to use the context.
Shelf
content loader.
- destructuring of undefined in
ShelfItem
.
- Refactor ShelfItem.
- Pass ssrFallback to
Slider
component.
- title of Related Products List when there's no products.
- Stale cache for product preview
- Prevent rerender on first edit because of lacking default prop.
ShelfContent
ref warning.
isLayout
to schema properties.
- Product query to include the
productClusters
.
- Add the RelatedProducts Component and a ProductList to divide the responsibilities.
- Add internationalization into shelf schema
- Fix products query to get the SKU Installments.
- Fix arrow right position
- Update
vtex.storecomponents
version to 1.x
- className Fix slider classNames
- Fix Product Summary width on mobile mode
- shelfitem Add propType itemId
- Fix bug of slidesToScroll not assigned in the default settings
- slick slider Integrate with vtex.storecomponents/Slider
- ssr Implement SSR
- css Fix z-index of left arrow
- Queries Update product query to get skuId.
- bug Fix bug of reference id
- defaultProps Add default value to prop
title
in the Shelf - file Change filename
theme.css
toglobal.css
- shelf Adjust the
maximum number
of items inside the Shelf based on the screen resolution - extension Change schema of
product
passed to the ExtensionPoint
- pages Remove
css
reference - placeholder product Now the
responsible
to set the default item value is the Extension
- shelf Add
itemsPerPage
to the properties of schema - shelf Add integration with
@vtex/slick-components
- doc Create CHANGELOG.md
- shelf Refactor Shelf structure
- shelf Remove components
Arrow
andDots
- react Create
react
folder. - pages Create
pages
folder. - graphql Create
productsQuery
to fetch products fromstore-graphql
. - extension Add feature of use external
Extension Points
. - continuous integration Add integration with
Travis CI
.
- manifest Add dependency to
vtex.store-graphql
. - manifest Add
policies
andregistries
. - manifest Remove unused dependencies.
- render Remove
/render
folder.