-
Notifications
You must be signed in to change notification settings - Fork 35
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
Feature/641 api feedback voting. Closes #641 #703
Conversation
Closes #641 |
'sumOfVotes': function () { | ||
//Adds all vote integers together, returns sum of all votes as Integer | ||
var feedbacks = FeedbackVotes.find({feedbackId: this._id}).fetch(); | ||
var votes = _(feedbacks).map(function(feedback){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add line comment here. E.g.:
// Create list of all feedback vote values
Overall, great work @jykae! Mainly, this is lacking line comments. There are also a few significant pieces to the feature, that are now better outlined in the definition of done. |
Also, change the mouse cursor to a pointer when mouseover the up/downvote arrows. |
…o feature/641-api-feedback-voting
Basic functionality of feedback voting.