Repository navigation
feat: rating summary - #2682
Merged
Merged
feat: rating summary#2682
Conversation
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 13, 2025 18:38
c94885e to
5507fd7
Compare
|
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. |
Guilera
requested review from
eduardoformiga,
lariciamota,
lucasfp13 and
pedromtec
February 13, 2025 18:43
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 13, 2025 20:06
5507fd7 to
8b569e0
Compare
Guilera
force-pushed
the
feat/reviews-and-ratings
branch
from
February 14, 2025 13:55
d57303d to
2203c7f
Compare
renatamottam
left a comment
Contributor
There was a problem hiding this comment.
Hey, Gutche! Left a few comments below :)
Guilera
force-pushed
the
feat/reviews-and-ratings
branch
2 times, most recently
from
February 19, 2025 17:34
cc15cdd to
33db057
Compare
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 20, 2025 16:42
8b569e0 to
a846caf
Compare
Guilera
marked this pull request as ready for review
February 20, 2025 16:45
pedromtec
reviewed
Feb 20, 2025
pedromtec
reviewed
Feb 20, 2025
lariciamota
reviewed
Feb 24, 2025
pedromtec
reviewed
Feb 24, 2025
pedromtec
reviewed
Feb 24, 2025
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 24, 2025 15:03
a846caf to
86554f9
Compare
pedromtec
approved these changes
Feb 25, 2025
lariciamota
reviewed
Feb 26, 2025
lariciamota
reviewed
Feb 26, 2025
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 26, 2025 18:07
86554f9 to
7af8660
Compare
hellofanny
reviewed
Feb 26, 2025
hellofanny
reviewed
Feb 26, 2025
hellofanny
reviewed
Feb 26, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
hellofanny
reviewed
Feb 27, 2025
Guilera
force-pushed
the
feat/rating-summary
branch
from
February 27, 2025 14:57
7af8660 to
2d86e6e
Compare
lariciamota
approved these changes
Feb 27, 2025
artursantiago
pushed a commit
that referenced
this pull request
Mar 11, 2025
## What's the purpose of this pull request? To add the Rating Summary component ## How it works? The component is responsible for: - display the current average rating of the product - display the number of reviews of the product - display the rating distribution of the product - to have a button to open the modal to write a review (current not integrated, it's just emit an alert. It's depends on another task) >[!IMPORTANT] > If the product has no reviews, the component should display a message saying that there are no reviews yet. Both the text from the button and the text from number of reviews changes when there isn't any review yet. >[!IMPORTANT] > Plural and singular cases for the text label of the rating counter must be handled > [!IMPORTANT] > The component shouldn't be displayed if the product has no reviews and the user is not on desktop ### Starters Deploy Preview [PREVIEW](https://starter-git-feat-rating-summary-vtex.vercel.app/) ## References [FEATURE BRANCH](#2676) [JIRA SFS-2166](https://vtex-dev.atlassian.net/browse/SFS-2166) [JIRA SFS-2167](https://vtex-dev.atlassian.net/browse/SFS-2167) [JIRA SFS-2069](https://vtex-dev.atlassian.net/browse/SFS-2069)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's the purpose of this pull request?
To add the Rating Summary component
How it works?
The component is responsible for:
Important
If the product has no reviews, the component should display a message saying that there are no reviews yet.
Both the text from the button and the text from number of reviews changes when there isn't any review yet.
Important
Plural and singular cases for the text label of the rating counter must be handled
Important
The component shouldn't be displayed if the product has no reviews and the user is not on desktop
Starters Deploy Preview
PREVIEW
References
FEATURE BRANCH
JIRA SFS-2166
JIRA SFS-2167
JIRA SFS-2069