Skip to content

feat: create review list - #2724

Merged
artursantiago merged 29 commits into
feat/reviews-and-ratingsfrom
feat/review-list
Mar 28, 2025
Merged

artursantiago merged 29 commits into
feat/reviews-and-ratingsfrom
feat/review-list

Conversation

@artursantiago

@artursantiago artursantiago commented Mar 17, 2025 •

Copy link
Copy Markdown
Contributor

⚠️ THIS PR DEPENDS ON: ⚠️

What's the purpose of this pull request?

This PR adds the ReviewList with its listing functionality, loading state, filters, and sorting.

How it works?

  • By default, the list will display 6 reviews. If more reviews are available, a "Load More" button will appear. Clicking it will load 6 additional reviews at a time.
  • If there are no reviews for the product, a message will be displayed along with a button to open the ReviewModal.
  • If a filter is applied but no reviews match the selected criteria, a different message will appear with a button to reset the filters.

How to test it?

  • Test scenarios where reviews exist and where they do not.
  • Test cases with more than 6 reviews and fewer than 6 reviews.
  • Apply filters that result in no matching reviews.
  • Verify that sorting works correctly.

Starters Deploy Preview

Preview

References

JIRA SFS-2072
Figma
FEATURE BRANCH

image
image
image
image

@artursantiago artursantiago changed the title Feat/review list feat: create review list Mar 17, 2025
@codesandbox-ci

codesandbox-ci Bot commented Mar 17, 2025 •

Copy link
Copy Markdown

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
artursantiago marked this pull request as ready for review March 19, 2025 12:24
@artursantiago
artursantiago requested a review from a team as a code owner March 19, 2025 12:24
@artursantiago
artursantiago requested review from hellofanny and renatomaurovtex and removed request for a team March 19, 2025 12:24
@hellofanny

Copy link
Copy Markdown
Contributor

@artursantiago we need to rebase this branch 🙈 A lot of changes outdated. Can you help me updating it again? Thanks!

@hellofanny

Copy link
Copy Markdown
Contributor

I think it's probably missing some top/bottom margin on mobile. It looks squeezed. WDYT?

image

@hellofanny hellofanny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! 🚀

6 reviews & Load More working as expected ✅
image

Filter & Empty List ✅
image
image

No reviews on mobile ✅
image

@lucasfp13 lucasfp13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left some suggestions 💬

@artursantiago
artursantiago merged commit 31313fd into feat/reviews-and-ratings Mar 28, 2025
@artursantiago
artursantiago deleted the feat/review-list branch March 28, 2025 13:08
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