-
Rob Wu authored
- Fill stars based on whether the rating is within the 0.5 range of a 0.5-multiple, rather than checking whether the rating is at least as large as the 0.5-multiple. This follows the boundaries at: https://github.com/mozilla/addons-frontend/blob/bb9277eeffa1aca38b49c8ed2f4dfa5823def394/src/ui/components/Rating/index.js#L139-L140 - Use a review star rating instead of re-using the bookmark star. This is not necessarily to be more consistent with AMO's stars, but to prevent the stars from becoming non-stars if we ever change the bookmark icon. The SVG icon is based on the path at: https://github.com/mozilla/addons-frontend/blob/bb9277eeffa1aca38b49c8ed2f4dfa5823def394/src/ui/components/IconStar/index.js#L19 - Turn it into a custom element to make re-use easier. Differential Revision: https://phabricator.services.mozilla.com/D29480 --HG-- extra : moz-landing-system : lando
483804f9