{"action":"created","issue":{"url":"https://api.github.com/repos/ludumdare/ludumdare/issues/711","repository_url":"https://api.github.com/repos/ludumdare/ludumdare","labels_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/711/comments","events_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/711/events","html_url":"https://github.com/ludumdare/ludumdare/issues/711","id":223384776,"number":711,"title":"Comments: Make love button work","user":{"login":"povrazor","id":1570313,"avatar_url":"https://avatars1.githubusercontent.com/u/1570313?v=3","gravatar_id":"","url":"https://api.github.com/users/povrazor","html_url":"https://github.com/povrazor","followers_url":"https://api.github.com/users/povrazor/followers","following_url":"https://api.github.com/users/povrazor/following{/other_user}","gists_url":"https://api.github.com/users/povrazor/gists{/gist_id}","starred_url":"https://api.github.com/users/povrazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/povrazor/subscriptions","organizations_url":"https://api.github.com/users/povrazor/orgs","repos_url":"https://api.github.com/users/povrazor/repos","events_url":"https://api.github.com/users/povrazor/events{/privacy}","received_events_url":"https://api.github.com/users/povrazor/received_events","type":"User","site_admin":false},"labels":[{"id":427177838,"url":"https://api.github.com/repos/ludumdare/ludumdare/labels/core","name":"core","color":"ca34cb","default":false},{"id":156939411,"url":"https://api.github.com/repos/ludumdare/ludumdare/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-21T13:32:33Z","updated_at":"2017-05-09T05:28:14Z","closed_at":"2017-05-09T05:28:14Z","body":"The backend work for comment love should be fine, but the frontend (i.e. the buttons) need to be hooked up still.\r\n\r\nYou can take a look at how post love works. It should be a footer button that's part of `src/com/content/common/`. Same general idea, but the class is `$NoteLove` instead of `$NodeLove`.\r\n\r\nThe two systems (Note vs Node) should work the same, but you pass in the node as well as the note (this is to be used later by caching).\r\n\r\nFor best user experience, when a user visits a page with comments, `content-comments` should attempt to fetch the current user's love of comments in the current post, and update them to be the red :heart:. That should be `$NoteLove.getmy()`. This should only be done if `user` has an `id>0`, thus if a user refreshes the page when not logged in, we forget if they've loved or not."},"comment":{"url":"https://api.github.com/repos/ludumdare/ludumdare/issues/comments/300064996","html_url":"https://github.com/ludumdare/ludumdare/issues/711#issuecomment-300064996","issue_url":"https://api.github.com/repos/ludumdare/ludumdare/issues/711","id":300064996,"user":{"login":"povrazor","id":1570313,"avatar_url":"https://avatars1.githubusercontent.com/u/1570313?v=3","gravatar_id":"","url":"https://api.github.com/users/povrazor","html_url":"https://github.com/povrazor","followers_url":"https://api.github.com/users/povrazor/followers","following_url":"https://api.github.com/users/povrazor/following{/other_user}","gists_url":"https://api.github.com/users/povrazor/gists{/gist_id}","starred_url":"https://api.github.com/users/povrazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/povrazor/subscriptions","organizations_url":"https://api.github.com/users/povrazor/orgs","repos_url":"https://api.github.com/users/povrazor/repos","events_url":"https://api.github.com/users/povrazor/events{/privacy}","received_events_url":"https://api.github.com/users/povrazor/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T05:28:14Z","updated_at":"2017-05-09T05:28:14Z","body":"Actually I'm going to close this. We'll fix the bugs in a separate issue."}}
{"actor":{"display_login":"povrazor"}}