Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stars for reviews in email fronts #15787

Merged
merged 2 commits into from
Feb 8, 2017
Merged

Conversation

joelochlann
Copy link
Member

Cards which have a star rating associated with them will display the stars as they do on web fronts.

picture 401
picture 402
picture 403

@joelochlann joelochlann requested review from SiAdcock and removed request for davidfurey February 8, 2017 15:06
@PRBuilds
Copy link

PRBuilds commented Feb 8, 2017

PR build results:

screenshots
mobile.pngwide.pngtablet.pngdesktop.png

exceptions (3)
thrown-exceptions.js

webpagetest results
performanceComparisonSummary.txt

-automated message

@card.starRating.map { numberOfStars =>
<div class="review-stars">
@for(i <- 0 to 4) {
@defining(if(i < numberOfStars) "positive" else "negative") { positiveOrNegative =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the use of positive or negative to signify whether the star is yellow or grey... maybe filled / full vs hollow / empty?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@SiAdcock SiAdcock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely 👍

@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @joelochlann 15 minutes and 48 seconds ago) Please check your changes!

@gu-stav gu-stav deleted the stars-for-reviews-in-email branch June 28, 2017 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants