Closed raoulwegat closed 7 years ago
We decided in the past it wasn't necessary as any "intermediate" measure could be done with overlaying a full star to an empty star (and that would also allow intermediate grading, like one-fourth and so on).
Is there any reason why we can't do it with overlay as before?
NP. Do you have a link to a gridicon in Calypso that's being used in this way? I'll update the README.md using it as an intermediate example so no one else goes down the rabbit hole I did :-)
Btw, with the above I didn't mean to just say "no": if there's a good reason we didn't evaluate for having it, we can review the decision — it's good to ask and review! :)
I'm sure we discussed it, But... I can't find where... I thought Plugins was already using it but it's using Noticons (whaaa?!? whyyyy)...
FWIW I also prefer the css approach to this as it allows greater accuracy and fewer icons :)
We do something similar in WooCommerce for reviews (although that uses an icon font).
Nice! Whatever way we go with, can we also display it in the dev docs so its obvious we have it?
BTW, this reminds me of the half star bug in etsy story: https://storify.com/ELLIOTTCABLE/four-and-a-horse-stars
I'm also in favor of using CSS to create intermediate icons, so I'll close this PR and get to work on:
Thanks for your input everyone. 😄
You're great! Thank you!
https://wpcalypso.wordpress.com/devdocs/design/rating uses noticons for three icons – a filled star, a half star, and an outline star. Gridicons already has a filled star and outline star, but does not have a half-star. To replace the rating component noticons with gridicons, we need a half star.
Calypso rating component: https://github.com/Automattic/wp-calypso/tree/a70587157b33783ba4d5e0e4a1e136680d459d51/client/components/rating
hackday