ERNICommunity / erni-eats-fe

MIT License
0 stars 0 forks source link

Toma #5

Closed toma-s closed 3 years ago

toma-s commented 3 years ago

What was done:

⚠ I focus on functionality for now, layout design is implemented just roughly

Demo: 2021-07-07 22_09_19-

srnec commented 3 years ago

The number of "active" (more highlighted) stars based on the rating is still not visible but number of votes (reviews) is displayed already though. Or all of them have rating higher than 4 so it will render 5 "highlighted" stars?

toma-s commented 3 years ago

@srnec

The number of "active" (more highlighted) stars based on the rating is still not visible but number of votes (reviews) is displayed already though. Or all of them have rating higher than 4 so it will render 5 "highlighted" stars?

they all show "5" score it's because all the ratings have 4 point something so it displays 4 stars plus one more so I'll display it rounded, like "4" or even "4.5" maybe

toma-s commented 3 years ago

@srnec fixed 😁 4.2 -> 4 4.5 -> 4.5 4.9 -> 5 2021-07-09 18_30_09-erni_eats_fe – body dart  erni_eats_fe