{"action":"created","comment":{"url":"https://api.github.com/repos/translate/pootle/pulls/comments/72476609","id":72476609,"diff_hunk":"@@ -0,0 +1,86 @@\n+/*\n+ * Copyright (C) Pootle contributors.\n+ *\n+ * This file is a part of the Pootle project. It is distributed under the GPL3\n+ * or later license. See the LICENSE file for a copy of the license and the\n+ * AUTHORS file for copyright and authorship information.\n+ */\n+\n+import React from 'react';\n+\n+import Avatar from 'components/Avatar';\n+\n+\n+function t(string, args) {\n+  return interpolate(gettext(string), args, true);\n+}\n+\n+\n+function getScoreText(score) {\n+  if (score > 0) {\n+    return t('+%(score)s', { score });\n+  }\n+  return score;\n+}\n+\n+\n+const TopContributors = React.createClass({\n+\n+  propTypes: {\n+    items: React.PropTypes.array.isRequired,\n+    allItemsLoaded: React.PropTypes.bool.isRequired,\n+    loadMore: React.PropTypes.func.isRequired,\n+  },\n+\n+  createRow(item, index) {\n+    const title = (`\n+      <span class=\"value untranslated\">${item.suggested}</span> suggested<br/>\n+      <span class=\"value translated\">${item.translated}</span> translated<br/>\n+      <span class=\"value fuzzy\">${item.reviewed}</span> reviewed<br/>","path":"pootle/static/js/browser/components/TopContributors.js","position":39,"original_position":39,"commit_id":"0ecc5b6e5d5749f4ebb54a6ab18fe2120a4f7362","original_commit_id":"0ecc5b6e5d5749f4ebb54a6ab18fe2120a4f7362","user":{"login":"unho","id":939880,"avatar_url":"https://avatars.githubusercontent.com/u/939880?v=3","gravatar_id":"","url":"https://api.github.com/users/unho","html_url":"https://github.com/unho","followers_url":"https://api.github.com/users/unho/followers","following_url":"https://api.github.com/users/unho/following{/other_user}","gists_url":"https://api.github.com/users/unho/gists{/gist_id}","starred_url":"https://api.github.com/users/unho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unho/subscriptions","organizations_url":"https://api.github.com/users/unho/orgs","repos_url":"https://api.github.com/users/unho/repos","events_url":"https://api.github.com/users/unho/events{/privacy}","received_events_url":"https://api.github.com/users/unho/received_events","type":"User","site_admin":false},"body":"reviewed is not the same as fuzzy.","created_at":"2016-07-27T16:46:57Z","updated_at":"2016-07-27T16:46:57Z","html_url":"https://github.com/translate/pootle/pull/4868#discussion_r72476609","pull_request_url":"https://api.github.com/repos/translate/pootle/pulls/4868","_links":{"self":{"href":"https://api.github.com/repos/translate/pootle/pulls/comments/72476609"},"html":{"href":"https://github.com/translate/pootle/pull/4868#discussion_r72476609"},"pull_request":{"href":"https://api.github.com/repos/translate/pootle/pulls/4868"}}},"pull_request":{"url":"https://api.github.com/repos/translate/pootle/pulls/4868","id":76127745,"html_url":"https://github.com/translate/pootle/pull/4868","diff_url":"https://github.com/translate/pootle/pull/4868.diff","patch_url":"https://github.com/translate/pootle/pull/4868.patch","issue_url":"https://api.github.com/repos/translate/pootle/issues/4868","number":4868,"state":"open","locked":false,"title":"Show all top contributors list","user":{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false},"body":"- [x] get top contributors via xhr\r\n- [x] render top contributors via react component always\r\n- [x] load next 10 top contributors with \"More\" button\r\n\r\nRefs #4699 ","created_at":"2016-07-04T08:22:50Z","updated_at":"2016-07-27T16:46:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad18be07e77684191c26e44e76f3f4274d02dd7e","assignee":{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false},"assignees":[{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/translate/pootle/milestones/25","html_url":"https://github.com/translate/pootle/milestones/2.8.0","labels_url":"https://api.github.com/repos/translate/pootle/milestones/25/labels","id":1436949,"number":25,"title":"2.8.0","description":"","creator":{"login":"phlax","id":454682,"avatar_url":"https://avatars.githubusercontent.com/u/454682?v=3","gravatar_id":"","url":"https://api.github.com/users/phlax","html_url":"https://github.com/phlax","followers_url":"https://api.github.com/users/phlax/followers","following_url":"https://api.github.com/users/phlax/following{/other_user}","gists_url":"https://api.github.com/users/phlax/gists{/gist_id}","starred_url":"https://api.github.com/users/phlax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phlax/subscriptions","organizations_url":"https://api.github.com/users/phlax/orgs","repos_url":"https://api.github.com/users/phlax/repos","events_url":"https://api.github.com/users/phlax/events{/privacy}","received_events_url":"https://api.github.com/users/phlax/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":116,"state":"open","created_at":"2015-12-01T09:07:40Z","updated_at":"2016-07-27T13:01:14Z","due_on":"2016-03-17T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/translate/pootle/pulls/4868/commits","review_comments_url":"https://api.github.com/repos/translate/pootle/pulls/4868/comments","review_comment_url":"https://api.github.com/repos/translate/pootle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/translate/pootle/issues/4868/comments","statuses_url":"https://api.github.com/repos/translate/pootle/statuses/0ecc5b6e5d5749f4ebb54a6ab18fe2120a4f7362","head":{"label":"ta2-1:issue/4699","ref":"issue/4699","sha":"0ecc5b6e5d5749f4ebb54a6ab18fe2120a4f7362","user":{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false},"repo":{"id":8358664,"name":"pootle","full_name":"ta2-1/pootle","owner":{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ta2-1/pootle","description":"Online translation tool","fork":true,"url":"https://api.github.com/repos/ta2-1/pootle","forks_url":"https://api.github.com/repos/ta2-1/pootle/forks","keys_url":"https://api.github.com/repos/ta2-1/pootle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ta2-1/pootle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ta2-1/pootle/teams","hooks_url":"https://api.github.com/repos/ta2-1/pootle/hooks","issue_events_url":"https://api.github.com/repos/ta2-1/pootle/issues/events{/number}","events_url":"https://api.github.com/repos/ta2-1/pootle/events","assignees_url":"https://api.github.com/repos/ta2-1/pootle/assignees{/user}","branches_url":"https://api.github.com/repos/ta2-1/pootle/branches{/branch}","tags_url":"https://api.github.com/repos/ta2-1/pootle/tags","blobs_url":"https://api.github.com/repos/ta2-1/pootle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ta2-1/pootle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ta2-1/pootle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ta2-1/pootle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ta2-1/pootle/statuses/{sha}","languages_url":"https://api.github.com/repos/ta2-1/pootle/languages","stargazers_url":"https://api.github.com/repos/ta2-1/pootle/stargazers","contributors_url":"https://api.github.com/repos/ta2-1/pootle/contributors","subscribers_url":"https://api.github.com/repos/ta2-1/pootle/subscribers","subscription_url":"https://api.github.com/repos/ta2-1/pootle/subscription","commits_url":"https://api.github.com/repos/ta2-1/pootle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ta2-1/pootle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ta2-1/pootle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ta2-1/pootle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ta2-1/pootle/contents/{+path}","compare_url":"https://api.github.com/repos/ta2-1/pootle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ta2-1/pootle/merges","archive_url":"https://api.github.com/repos/ta2-1/pootle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ta2-1/pootle/downloads","issues_url":"https://api.github.com/repos/ta2-1/pootle/issues{/number}","pulls_url":"https://api.github.com/repos/ta2-1/pootle/pulls{/number}","milestones_url":"https://api.github.com/repos/ta2-1/pootle/milestones{/number}","notifications_url":"https://api.github.com/repos/ta2-1/pootle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ta2-1/pootle/labels{/name}","releases_url":"https://api.github.com/repos/ta2-1/pootle/releases{/id}","deployments_url":"https://api.github.com/repos/ta2-1/pootle/deployments","created_at":"2013-02-22T14:19:00Z","updated_at":"2015-02-04T13:34:18Z","pushed_at":"2016-07-27T16:04:10Z","git_url":"git://github.com/ta2-1/pootle.git","ssh_url":"git@github.com:ta2-1/pootle.git","clone_url":"https://github.com/ta2-1/pootle.git","svn_url":"https://github.com/ta2-1/pootle","homepage":"http://pootle.translatehouse.org","size":85825,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"translate:master","ref":"master","sha":"20b8e8b09f7102d81699849e73346cc701af305f","user":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"repo":{"id":3769702,"name":"pootle","full_name":"translate/pootle","owner":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/translate/pootle","description":"Online translation tool","fork":false,"url":"https://api.github.com/repos/translate/pootle","forks_url":"https://api.github.com/repos/translate/pootle/forks","keys_url":"https://api.github.com/repos/translate/pootle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/translate/pootle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/translate/pootle/teams","hooks_url":"https://api.github.com/repos/translate/pootle/hooks","issue_events_url":"https://api.github.com/repos/translate/pootle/issues/events{/number}","events_url":"https://api.github.com/repos/translate/pootle/events","assignees_url":"https://api.github.com/repos/translate/pootle/assignees{/user}","branches_url":"https://api.github.com/repos/translate/pootle/branches{/branch}","tags_url":"https://api.github.com/repos/translate/pootle/tags","blobs_url":"https://api.github.com/repos/translate/pootle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/translate/pootle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/translate/pootle/git/refs{/sha}","trees_url":"https://api.github.com/repos/translate/pootle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/translate/pootle/statuses/{sha}","languages_url":"https://api.github.com/repos/translate/pootle/languages","stargazers_url":"https://api.github.com/repos/translate/pootle/stargazers","contributors_url":"https://api.github.com/repos/translate/pootle/contributors","subscribers_url":"https://api.github.com/repos/translate/pootle/subscribers","subscription_url":"https://api.github.com/repos/translate/pootle/subscription","commits_url":"https://api.github.com/repos/translate/pootle/commits{/sha}","git_commits_url":"https://api.github.com/repos/translate/pootle/git/commits{/sha}","comments_url":"https://api.github.com/repos/translate/pootle/comments{/number}","issue_comment_url":"https://api.github.com/repos/translate/pootle/issues/comments{/number}","contents_url":"https://api.github.com/repos/translate/pootle/contents/{+path}","compare_url":"https://api.github.com/repos/translate/pootle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/translate/pootle/merges","archive_url":"https://api.github.com/repos/translate/pootle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/translate/pootle/downloads","issues_url":"https://api.github.com/repos/translate/pootle/issues{/number}","pulls_url":"https://api.github.com/repos/translate/pootle/pulls{/number}","milestones_url":"https://api.github.com/repos/translate/pootle/milestones{/number}","notifications_url":"https://api.github.com/repos/translate/pootle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/translate/pootle/labels{/name}","releases_url":"https://api.github.com/repos/translate/pootle/releases{/id}","deployments_url":"https://api.github.com/repos/translate/pootle/deployments","created_at":"2012-03-19T23:06:03Z","updated_at":"2016-07-24T12:36:11Z","pushed_at":"2016-07-27T16:34:30Z","git_url":"git://github.com/translate/pootle.git","ssh_url":"git@github.com:translate/pootle.git","clone_url":"https://github.com/translate/pootle.git","svn_url":"https://github.com/translate/pootle","homepage":"http://pootle.translatehouse.org","size":98571,"stargazers_count":671,"watchers_count":671,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":192,"mirror_url":null,"open_issues_count":404,"forks":192,"open_issues":404,"watchers":671,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/translate/pootle/pulls/4868"},"html":{"href":"https://github.com/translate/pootle/pull/4868"},"issue":{"href":"https://api.github.com/repos/translate/pootle/issues/4868"},"comments":{"href":"https://api.github.com/repos/translate/pootle/issues/4868/comments"},"review_comments":{"href":"https://api.github.com/repos/translate/pootle/pulls/4868/comments"},"review_comment":{"href":"https://api.github.com/repos/translate/pootle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/translate/pootle/pulls/4868/commits"},"statuses":{"href":"https://api.github.com/repos/translate/pootle/statuses/0ecc5b6e5d5749f4ebb54a6ab18fe2120a4f7362"}}}}
{"actor":{"display_login":"unho"}}