{"action":"created","comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/37364025","id":37364025,"diff_hunk":"@@ -146,11 +146,24 @@ var StarView = BaseView.extend({\n     template: require(\"./hbtemplates/star.handlebars\"),\r\n \r\n     events: {\r\n-        \"click .star-rating-option\": \"rate_value_callback\"\r\n+        \"click .star-rating-option\": \"rate_value_callback\",\r\n+        \"click .star-rating-option >\": \"rate_value_callback\",\r\n+        \"mouseenter .star-rating-option >\": \"mouse_enter_callback\",\r\n+        \"mouseenter .star-rating-option\": \"mouse_enter_callback\",\r\n+        \"mouseleave .star-rating-option\": \"mouse_leave_callback\"\r\n+    },\r\n+\r\n+    label_values: {\r\n+        1: \"Very Low\",\r\n+        2: \"Low\",\r\n+        3: \"Normal\",\r\n+        4: \"High\",\r\n+        5: \"Very High\"\r","path":"kalite/distributed/static/js/distributed/rating/views.js","position":44,"original_position":44,"commit_id":"ca7cc49f9f64de4cf60427df2563bc46d2e96da4","original_commit_id":"ca7cc49f9f64de4cf60427df2563bc46d2e96da4","user":{"login":"jamalex","id":618416,"avatar_url":"https://avatars.githubusercontent.com/u/618416?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalex","html_url":"https://github.com/jamalex","followers_url":"https://api.github.com/users/jamalex/followers","following_url":"https://api.github.com/users/jamalex/following{/other_user}","gists_url":"https://api.github.com/users/jamalex/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalex/subscriptions","organizations_url":"https://api.github.com/users/jamalex/orgs","repos_url":"https://api.github.com/users/jamalex/repos","events_url":"https://api.github.com/users/jamalex/events{/privacy}","received_events_url":"https://api.github.com/users/jamalex/received_events","type":"User","site_admin":false},"body":"@mcgallaspy did you see the comments on models.py in the previous, merged\nPR?\nOn Aug 18, 2015 3:55 PM, \"Michael Gallaspy\" <notifications@github.com>\nwrote:\n\n> In kalite/distributed/static/js/distributed/rating/views.js\n> <https://github.com/learningequality/ka-lite/pull/4248#discussion_r37363735>\n> :\n>\n> > @@ -146,11 +146,24 @@ var StarView = BaseView.extend({\n> >      template: require(\"./hbtemplates/star.handlebars\"),\n> >\n> >      events: {\n> > -        \"click .star-rating-option\": \"rate_value_callback\"\n> > +        \"click .star-rating-option\": \"rate_value_callback\",\n> > +        \"click .star-rating-option >\": \"rate_value_callback\",\n> > +        \"mouseenter .star-rating-option >\": \"mouse_enter_callback\",\n> > +        \"mouseenter .star-rating-option\": \"mouse_enter_callback\",\n> > +        \"mouseleave .star-rating-option\": \"mouse_leave_callback\"\n> > +    },\n> > +\n> > +    label_values: {\n> > +        1: \"Very Low\",\n> > +        2: \"Low\",\n> > +        3: \"Normal\",\n> > +        4: \"High\",\n> > +        5: \"Very High\"\n>\n> Star rating labels are set here. This could easily be configurable on a\n> per-view basis.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/learningequality/ka-lite/pull/4248/files#r37363735>.\n>\n","created_at":"2015-08-18T22:59:21Z","updated_at":"2015-08-18T22:59:21Z","html_url":"https://github.com/learningequality/ka-lite/pull/4248#discussion_r37364025","pull_request_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248","_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/37364025"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/4248#discussion_r37364025"},"pull_request":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248"}}},"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248","id":42643782,"html_url":"https://github.com/learningequality/ka-lite/pull/4248","diff_url":"https://github.com/learningequality/ka-lite/pull/4248.diff","patch_url":"https://github.com/learningequality/ka-lite/pull/4248.patch","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4248","number":4248,"state":"open","locked":false,"title":"0.15 - beautify content rating","user":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"body":"A WIP, but opened so that it can be continually reviewed. Screenshots incoming.","created_at":"2015-08-17T22:52:56Z","updated_at":"2015-08-18T22:59:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b04f0c581742b1c6f23b245d1ae9055fb6b99e83","assignee":null,"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/48","html_url":"https://github.com/learningequality/ka-lite/milestones/0.15.0","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/48/labels","id":1028214,"number":48,"title":"0.15.0","description":"","creator":{"login":"aronasorman","id":191955,"avatar_url":"https://avatars.githubusercontent.com/u/191955?v=3","gravatar_id":"","url":"https://api.github.com/users/aronasorman","html_url":"https://github.com/aronasorman","followers_url":"https://api.github.com/users/aronasorman/followers","following_url":"https://api.github.com/users/aronasorman/following{/other_user}","gists_url":"https://api.github.com/users/aronasorman/gists{/gist_id}","starred_url":"https://api.github.com/users/aronasorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronasorman/subscriptions","organizations_url":"https://api.github.com/users/aronasorman/orgs","repos_url":"https://api.github.com/users/aronasorman/repos","events_url":"https://api.github.com/users/aronasorman/events{/privacy}","received_events_url":"https://api.github.com/users/aronasorman/received_events","type":"User","site_admin":false},"open_issues":154,"closed_issues":36,"state":"open","created_at":"2015-03-18T22:06:13Z","updated_at":"2015-08-18T22:36:17Z","due_on":"2015-09-30T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248/commits","review_comments_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248/comments","review_comment_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4248/comments","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/ca7cc49f9f64de4cf60427df2563bc46d2e96da4","head":{"label":"MCGallaspy:beautify-content-rating","ref":"beautify-content-rating","sha":"ca7cc49f9f64de4cf60427df2563bc46d2e96da4","user":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"repo":{"id":25265236,"name":"ka-lite","full_name":"MCGallaspy/ka-lite","owner":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MCGallaspy/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":true,"url":"https://api.github.com/repos/MCGallaspy/ka-lite","forks_url":"https://api.github.com/repos/MCGallaspy/ka-lite/forks","keys_url":"https://api.github.com/repos/MCGallaspy/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MCGallaspy/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MCGallaspy/ka-lite/teams","hooks_url":"https://api.github.com/repos/MCGallaspy/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/MCGallaspy/ka-lite/events","assignees_url":"https://api.github.com/repos/MCGallaspy/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/MCGallaspy/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/MCGallaspy/ka-lite/tags","blobs_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MCGallaspy/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/MCGallaspy/ka-lite/languages","stargazers_url":"https://api.github.com/repos/MCGallaspy/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/MCGallaspy/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/MCGallaspy/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/MCGallaspy/ka-lite/subscription","commits_url":"https://api.github.com/repos/MCGallaspy/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/MCGallaspy/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/MCGallaspy/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/MCGallaspy/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MCGallaspy/ka-lite/merges","archive_url":"https://api.github.com/repos/MCGallaspy/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MCGallaspy/ka-lite/downloads","issues_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/MCGallaspy/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/MCGallaspy/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/MCGallaspy/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MCGallaspy/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/MCGallaspy/ka-lite/releases{/id}","created_at":"2014-10-15T17:21:39Z","updated_at":"2015-04-06T20:44:34Z","pushed_at":"2015-08-18T22:52:51Z","git_url":"git://github.com/MCGallaspy/ka-lite.git","ssh_url":"git@github.com:MCGallaspy/ka-lite.git","clone_url":"https://github.com/MCGallaspy/ka-lite.git","svn_url":"https://github.com/MCGallaspy/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":161831,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learningequality:develop","ref":"develop","sha":"8afc499d094bebe0915e88c78d448077fe2198dd","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":5741125,"name":"ka-lite","full_name":"learningequality/ka-lite","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":false,"url":"https://api.github.com/repos/learningequality/ka-lite","forks_url":"https://api.github.com/repos/learningequality/ka-lite/forks","keys_url":"https://api.github.com/repos/learningequality/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/ka-lite/teams","hooks_url":"https://api.github.com/repos/learningequality/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/ka-lite/events","assignees_url":"https://api.github.com/repos/learningequality/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/ka-lite/tags","blobs_url":"https://api.github.com/repos/learningequality/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/ka-lite/languages","stargazers_url":"https://api.github.com/repos/learningequality/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/learningequality/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/learningequality/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/learningequality/ka-lite/subscription","commits_url":"https://api.github.com/repos/learningequality/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/learningequality/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/ka-lite/merges","archive_url":"https://api.github.com/repos/learningequality/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/ka-lite/downloads","issues_url":"https://api.github.com/repos/learningequality/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/ka-lite/releases{/id}","created_at":"2012-09-09T20:01:40Z","updated_at":"2015-08-03T13:12:16Z","pushed_at":"2015-08-18T22:52:52Z","git_url":"git://github.com/learningequality/ka-lite.git","ssh_url":"git@github.com:learningequality/ka-lite.git","clone_url":"https://github.com/learningequality/ka-lite.git","svn_url":"https://github.com/learningequality/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":237309,"stargazers_count":228,"watchers_count":228,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":253,"mirror_url":null,"open_issues_count":290,"forks":253,"open_issues":290,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/4248"},"issue":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/4248"},"comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/4248/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4248/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/ka-lite/statuses/ca7cc49f9f64de4cf60427df2563bc46d2e96da4"}}}}