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.
- Fixes
Cannot read property 'replace' of null
bug ontoHttps
.
- Implement multiple status to simulate request queue and be able to continuously sync local state and server.
- Stringify and parse local state order form to prevent bugs in apollo link state.
- Make items mutations be based on index and nothing related to sku id.
- Remove unused
itemMetadata
fields from orderForm and minicart queries.
- Correctly get orderForm from server mutation on replay mutation method.
- Add toast when request to checkout fails.
- Add default fields to all items to prevent bugs when adding item to cart with missing field.
- Use the new Apollo Local State API to manage the orderForm and the minicart items to a faster UX.
- Use most generic languages files.
- Use
inlinePrice
product summary type.
- Using
store-icons
instead ofdreamstore-icons
- Fix Tests.
- Use assembly resolvers of
store-graphql
- Fix
package.json
dependencies.
- Setup tests and snapshot test.
classNames
not found.
showRemoveButton
,showSku
,enableQuantitySelector
andmaxQuantity
props that were not used.Image
component that was not used.
- Total discount was not showing, even when enabled.
- Fix warnings.
- Minicart flick when scroll is being displayed.
- Revert the
link-state
configuration.
- Remove block elements inside inline elements.
- Using html5 tags to a more semantic structure.
- Styles section on docs.
- Improve tokens description on docs.
- Implement an optimistic strategy using apollo-link-state so the minicart operations feel faster.
- Create a API docs
- Minor refact on blocks language.
- Pass composition item to product summary
- Small margin adjustments for shipping cost view
- Add shipping fee string id to context.json
- Protect against
itemMetadata
null
- Add icons from
vtex.dreamstore-icons
.
- Remove inherit component from
blocks.json
- Send to product-summary the "choice type" of each assembly option (SINGLE, TOGGLE or MULTIPLE)
Add possibility of showing shipping cost above footer
Rename large
prop to isSizeLarge
for better description
- Adjust the way to import render-runtime components
- Bump vtex.styleguide to 9.x.
- Update React builder to 3.x
- Create isSingleChoiceOption function and calculate parent item price correctly.
- Fixed price overlapping in the mobile view.
- Fix icon vertical aligment in the header in mobile view.
- Remove
undefined
css classes. - Change
store/product
tostore.product
on Link.
- Bye
pages.json
! Welcomestore-builder
.
- Replace URL just for legacy file manager url format.
- Icon aligment.
- Create
groupItemsWithParents
function, add tests. Group parent items with its attachments.
- Support to messages builder.
- Remove unnecessary declarations on
manifes.json
.
- Bump major version of
vtex.styleguide
andvtex.store-components
. - Add design tokens on selling price label.
- Fix minimum items length to scrolling in minicart.
- CSS module classes' name to be in CamelCase.
- Don't render the discount label when there is no discount.
- Items sort by insertion order.
- Support to CSS Modules
- Mixed Content error, insecure http image
- Poor image quality
- Set cart badge color to bg-emphasis
- Vertically center number on mini cart badge
- Replace delete button after click with spinner, Fix price loading and add error when something goes wrong when removing from cart.
- Use of
vtex.use-svg
lib to display icons.
- Fix scrim not covering entire screen.
- Update the
MiniCartContent
component to use theProductSummary
from thevtex.product-summary
insteadMiniCartItem
. - Update the size of
Sidebar
to 80% of original value. - Add shadow scrim.
- Replace typography and color classes with design tokens.
- Use icons from the dreamstore icon pack.
- Close the
SideBar
after clicking some product's link.
- Update the
SideBar
component to use theAnimation
from thestore-components
.
Sidebar
header to use border instead of shadow, according to the design.
- Redesign of the
MiniCartContent
footer layout, now there are three rows aligned on the right side of the footer.
- Empty message position of the
MiniCartContent
to be vertically centered in the pop-up mode.
- Hide label in screens thinner than the laptop resolution.
- Fixes being able to scroll the body on mobile with the
Sidebar
open.
- Refactor the
global.css
.
MiniCart
to receive the icon's classnames.CartIcon
to fill the parents color.
Sidebar
header design colors.
MiniCart
bagde position.
- Update the
Styleguide
version. - Update the
store-components
version.
NumericStepper
from styleguide into theMiniCartItem
.
- Change
MiniCartItem
quantity.
- Add CSS class to
MiniCart
label.
- Fix box position to be compatible with the new header design
- Discount label text.
- props
iconLabel
,iconSize
,iconColor
toMinicart
component
MiniCart
overflow hidden property which was affecting all the screens with at most 400px of width.
- Content Loader while the
MiniCartItem
's image isn't loaded.
MiniCartItem
's name width.
MiniCartContent
prop-types.- Remove item.
- Animation into the
SideBar
.
- OrderFormContext component
- Removed Graphql queries and mutation
- Open sidebar independent of configuration if on mobile.
Popup
to appear when theMiniCart
button is clicked instead of on hover.
maxQuantity
undefined warning.- Loading mixed (insecure) display content warning.
- Minicart SideBar type.
- Fix duplicate items showing when changing the quantity.
- Quantity Selector into the
MiniCartItem
- Hide the quantity badge when the quantity is less then 0
- Add internationalization into minicart schema
- The mini cart components to use the store components.
- PropTypes to reuse the mini cart's one.
- Update folder structure
- Fix minicart render error when cannot fetch the orderForm from graphql.
- Fix minicart locales
- Add badge to show the quantity of items in the mini cart.
- Add arrow indicator to mini cart content.
- Add event listener on minicart that will be used to update minicart badge.
- Refetch order form data when a new product is added to the mini cart.
- Add a spinner when remove button is pressed.
- Add feature that allows to remove a minicart item.
- Publish first version of the app.