-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/add attachments to cartitem #53
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lighthouse ReportsHere are the Lighthouse reports of this Pull Request📝 Based on commit d1da4ea
|
Preview is readyThis pull request generated a Preview👀 Preview: https://sfj-d1da4ea--gatsby.preview.vtex.app |
370e065
to
44ca175
Compare
Deployment failed with the following error:
|
Deployment failed with the following error:
|
item.price, | ||
serializeAdditionalProperty(item.itemOffered), | ||
] | ||
.filter(Boolean) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to filter
? If addicionalProperty is null, than the final key will be ...::null
which doesn't impact the final key. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only small nits, but overall, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only small nits, but overall, LGTM
1d5fd78
to
b479400
Compare
581becd
to
41eb7a6
Compare
Deployment failed with the following error:
|
What's the purpose of this pull request?
Updates the starter to take attachments into account when calculating the item ID: vtex/faststore#1304
How does it work?
The implementation uses the same logic as FastStore API's
getId
functionHow to test it?
Add items to the cart and check the browser storage (indexed db). It should work just like before, but with id separator as
::
instead of the previous:
(this change was introduced to match the logic inside FastStore API)Checklist
You may erase this after checking them all ;)
Added an entry in the
CHANGELOG.md
at the beginning of its due section. The latest version should comes first.Added the PR number with the PR link at the entry in the
CHANGELOG.md
. E.g., New items in thepull_request_template.md
(#4)PR description
Updated the Storybook - if applicable.
Added a label according to the PR goal -
Breaking change
,Enhancement
,Bug
orChore
.Added the component, hook, or pathname in-between backticks (``) - If applicable. E.g.,
ComponentName
component.Identified the function or parameter in the PR - If applicable. E.g.,
useWindowDimensions
hook.For documentation changes, ping @carolinamenezes or @Mariana-Caetano to review and update the changes.