coryhouse / coryhouse/react-restaurant-scriptpro

Build FoodRatings display component on detail page

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
enhancement phase-7-ratings
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Goal
On the food detail page, render a `FoodRatings` component showing the average stars, a star row visualization, and the list of comments.

## Acceptance criteria
- [ ] Average displayed (e.g., "4.3 / 5 (12 reviews)")
- [ ] Star row visually represents the average
- [ ] Comment list shows each rating's stars + comment
- [ ] Empty state when there are no ratings yet

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the food detail page entry point and inspect how food data and ratings are currently loaded, along with any existing UI components for stars or comments. Implement the FoodRatings component so the average, star visualization, comment list, and empty state satisfy every acceptance criterion, then verify the detail page in each state.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.