Skip to content
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

Feature. Add to cart popup #113

Closed

Conversation

LuisMendap
Copy link

What problem is this solving?

Add a new prop called 'popup' on add to cart button that show a modal when an item is added to cart

How to test it?

Workspace

Screenshots or example usage:

site-editor

1

1-mobile

How does this PR make you feel? 🔗

@LuisMendap LuisMendap requested review from a team as code owners December 2, 2021 01:03
@vtex-io-ci-cd
Copy link

vtex-io-ci-cd bot commented Dec 2, 2021

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@LuisMendap LuisMendap requested review from icazevedo, igorbrasileiro, Gmantiqueira and ricardoaerobr and removed request for a team December 2, 2021 01:03
@vtex-io-docs-bot
Copy link

Beep boop 🤖

Thank you so much for keeping our documentation up-to-date ❤️

@LuisMendap
Copy link
Author

Issue: #116

@sheilagomes
Copy link
Contributor

Issue: #116

@LuisMendap , do you think the translations will still be necessary? Our translation workflow works on top of the English version, so when it is updated our translation management system requests the other translations automatically.

@LuisMendap
Copy link
Author

Hi @sheilagomes, sorry, i dont understand very well, you want to say that the translations for other languages are not necessary in this case? This apply for all Vtex Apps?

@sheilagomes
Copy link
Contributor

sheilagomes commented Feb 4, 2022

Hi @sheilagomes, sorry, i dont understand very well, you want to say that the translations for other languages are not necessary in this case? This apply for all Vtex Apps?

As far as I know, the VTEX structure demands you have at least the files for the three basic languages, English, Spanish and Portuguese, but you don't need to translate them. You can create only the messages in English and the Portuguese and Spanish files can have their values empty or simply be duplicated from English. But in this case, you have to let us know (mark Localization as reviewer if Github doesn't do it automatically) so we can guarantee the translation of the other languages will be taken care of as soon as possible. This will ensure the translations will be correct and fit the purposes intended for the app.

@LuisMendap LuisMendap force-pushed the feature/addToCartPopup branch from 6800844 to b75bb7c Compare February 4, 2022 15:14
@LuisMendap LuisMendap force-pushed the feature/addToCartPopup branch from b75bb7c to 5d3de43 Compare February 4, 2022 15:15
@LuisMendap
Copy link
Author

Thanks @sheilagomes I have already updated a new commit with all changes in translations files for revision. I kept the translations in English, Portuguese, and Spanish.
The Localization has been marked as reviewer.
Regards.

Copy link
Contributor

@sheilagomes sheilagomes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The English version was reviewed, could you please change it?

messages/en.json Outdated Show resolved Hide resolved
Co-authored-by: Sheila Gomes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants