Repository navigation
feat: add review card - #2645
Merged
Merged
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. |
artursantiago
force-pushed
the
feat/add-review-card
branch
from
January 29, 2025 19:59
e24e403 to
951ff45
Compare
artursantiago
marked this pull request as ready for review
January 30, 2025 17:42
artursantiago
requested review from
emersonlaurentino and
lariciamota
and removed request for
a team
January 30, 2025 17:42
Guilera
force-pushed
the
feat/add-review-card
branch
from
February 14, 2025 14:22
dd30d02 to
0c98a82
Compare
artursantiago
force-pushed
the
feat/add-review-card
branch
5 times, most recently
from
February 14, 2025 17:28
f465188 to
ae89b57
Compare
Guilera
force-pushed
the
feat/reviews-and-ratings
branch
from
February 18, 2025 19:49
9c2cebb to
736e0f8
Compare
artursantiago
force-pushed
the
feat/add-review-card
branch
2 times, most recently
from
February 18, 2025 19:55
c6e17e0 to
5fc7054
Compare
hellofanny
reviewed
Feb 18, 2025
hellofanny
reviewed
Feb 18, 2025
hellofanny
reviewed
Feb 19, 2025
hellofanny
reviewed
Feb 19, 2025
hellofanny
reviewed
Feb 19, 2025
hellofanny
reviewed
Feb 19, 2025
hellofanny
reviewed
Feb 19, 2025
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Pedro Soares <[email protected]>
artursantiago
force-pushed
the
feat/add-review-card
branch
from
February 19, 2025 18:51
ffc549d to
033c870
Compare
pedromtec
reviewed
Feb 19, 2025
pedromtec
approved these changes
Feb 19, 2025
hellofanny
reviewed
Feb 20, 2025
hellofanny
reviewed
Feb 20, 2025
hellofanny
reviewed
Feb 20, 2025
hellofanny
approved these changes
Feb 20, 2025
hellofanny
left a comment
Contributor
There was a problem hiding this comment.
Well done! 🚀
Since I was testing this new component also using the sb, I opened a PR so we can add it here. 😉
## What's the purpose of this pull request? - Adds `ReviewCard` component stories - Adds icons file to storybook ## How it works? Run storybook, you will be able to see `ReviewCard` stories listed. <img width="500" alt="image" src="https://github.com/user-attachments/assets/eb83b0d3-3503-4456-9bcc-74dcb7c69ad5" /> [Preview Link](https://679bba553a027698f520f552-upyplcocyt.chromatic.com/?path=/story/review-card--default)
pedromtec
added a commit
that referenced
this pull request
Mar 11, 2025
## What's the purpose of this pull request? - This pull request adds the new molecule ReviewCard component. ## How does it work? - The ReviewCard will display the following information: - User's name - Verified user (boolean) - Review date - Review title and text - "Read more" and "Read less" options - Tooltip (displayed only for verified users when hovering over the verified icon next to the name) - The card must be **responsive** and rearrange itself for both desktop and mobile/tablet views. - Compose components were utilized to create the **ReviewAuthor** and **ReviewDate** components. - This component will be used in the listing of reviews for a product in the new **Reviews and Ratings** section. ## How to test it? <!--- Describe the steps with bullet points. Is there any external link that can be used to better test it or an example? ---> ### Starters Deploy Preview [Preview](https://starter-git-feat-add-review-card-custom-section-vtex.vercel.app/review-and-ratings-playground) <!--- Add a link to a deploy preview from `starter.store` with this branch being used. ---> <!--- Tip: You can get an installable version of this branch from the CodeSandbox generated when this PR is created. ---> ## References [JIRA TASK: SFS-2071](https://vtex-dev.atlassian.net/browse/SFS-2071) [Figma](https://www.figma.com/design/YXU6IX2htN2yg7udpCumZv/Reviews-%26-Ratings?node-id=131-64429&t=0rv1XYm6XsgBeDwA-4)   --------- Co-authored-by: Fanny Chien <[email protected]> Co-authored-by: Pedro Soares <[email protected]>
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?
How does it work?
The ReviewCard will display the following information:
The card must be responsive and rearrange itself for both desktop and mobile/tablet views.
Compose components were utilized to create the ReviewAuthor and ReviewDate components.
This component will be used in the listing of reviews for a product in the new Reviews and Ratings section.
How to test it?
Starters Deploy Preview
Preview
References
JIRA TASK: SFS-2071
Figma