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

feat: add rating field #2636

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

feat: add rating field #2636

wants to merge 6 commits into from

Conversation

artursantiago
Copy link
Collaborator

@artursantiago artursantiago commented Jan 28, 2025

⚠️ THIS PR DEPENDS ON PR#2635 ⚠️

What's the purpose of this pull request?

This pull request adds the RatingField component, which will initially be used in the modal for adding reviews to a product.

How it works?

This PR creates a new molecule component called RatingField. In addition to the "input" fields for the actionable rating, it can also receive an id, label, and error via props to be displayed in the form. The component uses the Rating component with the actionable view, passing the onChange handler to it.

How to test it?

Starters Deploy Preview

Preview

References

JIRA TASK: SFS-2078
JIRA TASK: SFS-2077

Figma

image

image

@artursantiago artursantiago added enhancement New feature or request depends on Depends on another PR - Please mention the PR labels Jan 28, 2025
Copy link

codesandbox-ci bot commented Jan 28, 2025

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.

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview Jan 28, 2025 0:47am

@artursantiago artursantiago self-assigned this Jan 28, 2025
@artursantiago artursantiago marked this pull request as ready for review January 30, 2025 17:43
@artursantiago artursantiago requested a review from a team as a code owner January 30, 2025 17:43
@artursantiago artursantiago requested review from renatamottam and renatomaurovtex and removed request for a team January 30, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on Depends on another PR - Please mention the PR enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants