-
Notifications
You must be signed in to change notification settings - Fork 64
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: basic rating display #2653
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
f86198c
to
1d12420
Compare
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.
LGTM!
packages/components/src/molecules/ProductCard/ProductCardContent.tsx
Outdated
Show resolved
Hide resolved
160d8be
to
e59b001
Compare
e59b001
to
6cc5ce0
Compare
d57303d
to
2203c7f
Compare
9c2cebb
to
736e0f8
Compare
6cc5ce0
to
657ed77
Compare
657ed77
to
e30894a
Compare
packages/components/src/molecules/ProductCard/ProductCardContent.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/molecules/ProductTitle/ProductTitle.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/molecules/ProductTitle/ProductTitle.tsx
Outdated
Show resolved
Hide resolved
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.
I added some comments but it's not blocking. Could u check ?
e30894a
to
bfffb66
Compare
## What's the purpose of this pull request? To add rating stars to existing components: - `<ProductCardContent/>` - `<ProductTitle/>` ## How it works? If the feature flag for reviews and ratings, defined at `discovery.config`, it's turned on, then everywhere a `<ProductCard/>` is used then it will display the product star rating ## How to test it? [preview](https://starter-git-feat-basic-rating-display-vtex.vercel.app/) ## References [JIRA TASK: SFS-2063](https://vtex-dev.atlassian.net/browse/SFS-2063) [JIRA TASK: SFS-2065](https://vtex-dev.atlassian.net/browse/SFS-2065)     ## Checklist <em>You may erase this after checking them all 😉</em> **PR Description** - [ ] Displays rating at `Just Arrived` - [ ] Displays rating at `Most Wanted` - [ ] Displays rating at `Deals & Promotions` - [ ] Displays rating at `Product Details` - [ ] Displays rating at `Product Gallery`
What's the purpose of this pull request?
To add rating stars to existing components:
<ProductCardContent/>
<ProductTitle/>
How it works?
If the feature flag for reviews and ratings, defined at
discovery.config
, it's turned on, then everywhere a<ProductCard/>
is used then it will display the product star ratingHow to test it?
preview
References
JIRA TASK: SFS-2063
JIRA TASK: SFS-2065
Checklist
You may erase this after checking them all 😉
PR Description
Just Arrived
Most Wanted
Deals & Promotions
Product Details
Product Gallery