it-at-m / muc-patternlab-vue

Vue-Components based on patternlab.muenchen.space
https://it-at-m.github.io/muc-patternlab-vue/
MIT License
7 stars 0 forks source link

muc-comment: Improve rating-Docs #73

Open FabianWilms opened 5 months ago

FabianWilms commented 5 months ago

Regarding https://it-at-m.github.io/muc-patternlab-vue/?path=/docs/muccomment--docs

We should extend the documentation of rating a bit further by providing infos on when a star is considered "half" full.

langehm commented 5 months ago

Yep - that's true. For that, I had a look at a small webshop starting with the letter A and copied their behaviour.

.8 - .2 (e.g. 2.8 or 3.2 -> ⭐⭐⭐) will result in full stars .3 - .7 (e.g. 2.3 or 2.7 -> ⭐⭐🌗 (half star)) contains a half star