GitHub PullRequestReviewCommentEvent at 2014-10-02 05:31:19
Repository: service.website
Actor: mathieumg
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/my-koop/service.website/pulls/comments/18322950","id":18322950,"diff_hunk":"@@ -0,0 +1,149 @@\n+﻿var React = require(\"react/addons\");\n+var BSCol = require(\"react-bootstrap/Col\");\n+var BSTable = require(\"react-bootstrap/Table\");\n+var BSInput = require(\"react-bootstrap/Input\");\n+var BSButton = require(\"react-bootstrap/Button\");\n+var BSPanel = require(\"react-bootstrap/Panel\");\n+var Router = require(\"react-router\");\n+\n+var RouteInfo = require(\"routeInformation\");\n+var Ajax = require(\"ajax\");\n+var _ = require(\"lodash\");\n+\n+var ItemsBelowThreshold = React.createClass({\n+\n+  mixins: [React.addons.LinkedStateMixin],\n+\n+  getInitialState: function(){\n+    return{\n+      itemList: [],\n+      headers: []\n+    }\n+  },\n+\n+  componentWillMount: function(){\n+    var self = this;\n+    Ajax.request(\n+      {endpoint: RouteInfo.itemsBelowThreshold.fullPath},\n+      function(err,res){\n+        if (err) {\n+          console.error(status, err.toString());\n+          return;\n+        }\n+\n+        if (res.body.headers &&\n+          res.body.data &&\n+          _.isArray(res.body.headers) &&\n+          _.isArray(res.body.data)\n+        ) {\n+          self.setState({\n+            itemList: res.body.data,\n+            headers: res.body.headers\n+          });\n+        }\n+      }\n+    );\n+  },\n+\n+  // Selects all checkboxes in the list\n+  selectAll: function(){\n+    var l = this.state.itemList.length;\n+    var checkBoxState = {};\n+    for(var i=0; i < l; ++i){\n+      checkBoxState[\"item\"+i] = true;\n+    }\n+    this.setState(checkBoxState);\n+  },\n+\n+  // Deselects all checkboxes in the list\n+  deSelectAll: function(){","path":"Koop/components/ItemsBelowThreshold.jsx","position":59,"original_position":59,"commit_id":"59f85c9f236664b1200620f96d9d68b221b3d75e","original_commit_id":"59f85c9f236664b1200620f96d9d68b221b3d75e","user":{"login":"mathieumg","id":1624812,"avatar_url":"https://avatars.githubusercontent.com/u/1624812?v=2","gravatar_id":"","url":"https://api.github.com/users/mathieumg","html_url":"https://github.com/mathieumg","followers_url":"https://api.github.com/users/mathieumg/followers","following_url":"https://api.github.com/users/mathieumg/following{/other_user}","gists_url":"https://api.github.com/users/mathieumg/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumg/subscriptions","organizations_url":"https://api.github.com/users/mathieumg/orgs","repos_url":"https://api.github.com/users/mathieumg/repos","events_url":"https://api.github.com/users/mathieumg/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumg/received_events","type":"User","site_admin":false},"body":"`unselectAll`","created_at":"2014-10-02T05:31:19Z","updated_at":"2014-10-02T05:31:19Z","html_url":"https://github.com/my-koop/service.website/pull/87#discussion_r18322950","pull_request_url":"https://api.github.com/repos/my-koop/service.website/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/comments/18322950"},"html":{"href":"https://github.com/my-koop/service.website/pull/87#discussion_r18322950"},"pull_request":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/my-koop/service.website/pulls/87","id":22095291,"html_url":"https://github.com/my-koop/service.website/pull/87","diff_url":"https://github.com/my-koop/service.website/pull/87.diff","patch_url":"https://github.com/my-koop/service.website/pull/87.patch","issue_url":"https://api.github.com/repos/my-koop/service.website/issues/87","number":87,"state":"open","locked":false,"title":"Mike items threshold page","user":{"login":"Cellule","id":4157103,"avatar_url":"https://avatars.githubusercontent.com/u/4157103?v=2","gravatar_id":"","url":"https://api.github.com/users/Cellule","html_url":"https://github.com/Cellule","followers_url":"https://api.github.com/users/Cellule/followers","following_url":"https://api.github.com/users/Cellule/following{/other_user}","gists_url":"https://api.github.com/users/Cellule/gists{/gist_id}","starred_url":"https://api.github.com/users/Cellule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cellule/subscriptions","organizations_url":"https://api.github.com/users/Cellule/orgs","repos_url":"https://api.github.com/users/Cellule/repos","events_url":"https://api.github.com/users/Cellule/events{/privacy}","received_events_url":"https://api.github.com/users/Cellule/received_events","type":"User","site_admin":false},"body":"\r\n![image](https://cloud.githubusercontent.com/assets/4157103/4481053/8c9dc760-499c-11e4-880e-0efe2edb4b33.png)\r\n\r\n\r\n<!---\r\n@huboard:{\"order\":26.5,\"milestone_order\":87,\"custom_state\":\"\"}\n-->\r\n","created_at":"2014-10-01T18:56:00Z","updated_at":"2014-10-02T05:31:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf1059e63a80ec3149bb68cc6ee6e895f50b4c9f","assignee":{"login":"mathieumg","id":1624812,"avatar_url":"https://avatars.githubusercontent.com/u/1624812?v=2","gravatar_id":"","url":"https://api.github.com/users/mathieumg","html_url":"https://github.com/mathieumg","followers_url":"https://api.github.com/users/mathieumg/followers","following_url":"https://api.github.com/users/mathieumg/following{/other_user}","gists_url":"https://api.github.com/users/mathieumg/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumg/subscriptions","organizations_url":"https://api.github.com/users/mathieumg/orgs","repos_url":"https://api.github.com/users/mathieumg/repos","events_url":"https://api.github.com/users/mathieumg/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/my-koop/service.website/milestones/3","labels_url":"https://api.github.com/repos/my-koop/service.website/milestones/3/labels","id":780501,"number":3,"title":"0.1","description":"Early prototype.","creator":{"login":"mathieumg","id":1624812,"avatar_url":"https://avatars.githubusercontent.com/u/1624812?v=2","gravatar_id":"","url":"https://api.github.com/users/mathieumg","html_url":"https://github.com/mathieumg","followers_url":"https://api.github.com/users/mathieumg/followers","following_url":"https://api.github.com/users/mathieumg/following{/other_user}","gists_url":"https://api.github.com/users/mathieumg/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumg/subscriptions","organizations_url":"https://api.github.com/users/mathieumg/orgs","repos_url":"https://api.github.com/users/mathieumg/repos","events_url":"https://api.github.com/users/mathieumg/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumg/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":21,"state":"open","created_at":"2014-09-06T03:10:07Z","updated_at":"2014-10-02T03:51:59Z","due_on":"2014-10-10T07:00:00Z"},"commits_url":"https://api.github.com/repos/my-koop/service.website/pulls/87/commits","review_comments_url":"https://api.github.com/repos/my-koop/service.website/pulls/87/comments","review_comment_url":"https://api.github.com/repos/my-koop/service.website/pulls/comments/{number}","comments_url":"https://api.github.com/repos/my-koop/service.website/issues/87/comments","statuses_url":"https://api.github.com/repos/my-koop/service.website/statuses/59f85c9f236664b1200620f96d9d68b221b3d75e","head":{"label":"my-koop:mike_items_threshold_page","ref":"mike_items_threshold_page","sha":"59f85c9f236664b1200620f96d9d68b221b3d75e","user":{"login":"my-koop","id":8674744,"avatar_url":"https://avatars.githubusercontent.com/u/8674744?v=2","gravatar_id":"","url":"https://api.github.com/users/my-koop","html_url":"https://github.com/my-koop","followers_url":"https://api.github.com/users/my-koop/followers","following_url":"https://api.github.com/users/my-koop/following{/other_user}","gists_url":"https://api.github.com/users/my-koop/gists{/gist_id}","starred_url":"https://api.github.com/users/my-koop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-koop/subscriptions","organizations_url":"https://api.github.com/users/my-koop/orgs","repos_url":"https://api.github.com/users/my-koop/repos","events_url":"https://api.github.com/users/my-koop/events{/privacy}","received_events_url":"https://api.github.com/users/my-koop/received_events","type":"Organization","site_admin":false},"repo":{"id":23725016,"name":"service.website","full_name":"my-koop/service.website","owner":{"login":"my-koop","id":8674744,"avatar_url":"https://avatars.githubusercontent.com/u/8674744?v=2","gravatar_id":"","url":"https://api.github.com/users/my-koop","html_url":"https://github.com/my-koop","followers_url":"https://api.github.com/users/my-koop/followers","following_url":"https://api.github.com/users/my-koop/following{/other_user}","gists_url":"https://api.github.com/users/my-koop/gists{/gist_id}","starred_url":"https://api.github.com/users/my-koop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-koop/subscriptions","organizations_url":"https://api.github.com/users/my-koop/orgs","repos_url":"https://api.github.com/users/my-koop/repos","events_url":"https://api.github.com/users/my-koop/events{/privacy}","received_events_url":"https://api.github.com/users/my-koop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/my-koop/service.website","description":"Website service","fork":false,"url":"https://api.github.com/repos/my-koop/service.website","forks_url":"https://api.github.com/repos/my-koop/service.website/forks","keys_url":"https://api.github.com/repos/my-koop/service.website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/my-koop/service.website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/my-koop/service.website/teams","hooks_url":"https://api.github.com/repos/my-koop/service.website/hooks","issue_events_url":"https://api.github.com/repos/my-koop/service.website/issues/events{/number}","events_url":"https://api.github.com/repos/my-koop/service.website/events","assignees_url":"https://api.github.com/repos/my-koop/service.website/assignees{/user}","branches_url":"https://api.github.com/repos/my-koop/service.website/branches{/branch}","tags_url":"https://api.github.com/repos/my-koop/service.website/tags","blobs_url":"https://api.github.com/repos/my-koop/service.website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/my-koop/service.website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/my-koop/service.website/git/refs{/sha}","trees_url":"https://api.github.com/repos/my-koop/service.website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/my-koop/service.website/statuses/{sha}","languages_url":"https://api.github.com/repos/my-koop/service.website/languages","stargazers_url":"https://api.github.com/repos/my-koop/service.website/stargazers","contributors_url":"https://api.github.com/repos/my-koop/service.website/contributors","subscribers_url":"https://api.github.com/repos/my-koop/service.website/subscribers","subscription_url":"https://api.github.com/repos/my-koop/service.website/subscription","commits_url":"https://api.github.com/repos/my-koop/service.website/commits{/sha}","git_commits_url":"https://api.github.com/repos/my-koop/service.website/git/commits{/sha}","comments_url":"https://api.github.com/repos/my-koop/service.website/comments{/number}","issue_comment_url":"https://api.github.com/repos/my-koop/service.website/issues/comments/{number}","contents_url":"https://api.github.com/repos/my-koop/service.website/contents/{+path}","compare_url":"https://api.github.com/repos/my-koop/service.website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/my-koop/service.website/merges","archive_url":"https://api.github.com/repos/my-koop/service.website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/my-koop/service.website/downloads","issues_url":"https://api.github.com/repos/my-koop/service.website/issues{/number}","pulls_url":"https://api.github.com/repos/my-koop/service.website/pulls{/number}","milestones_url":"https://api.github.com/repos/my-koop/service.website/milestones{/number}","notifications_url":"https://api.github.com/repos/my-koop/service.website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/my-koop/service.website/labels{/name}","releases_url":"https://api.github.com/repos/my-koop/service.website/releases{/id}","created_at":"2014-09-06T02:53:12Z","updated_at":"2014-10-01T19:08:55Z","pushed_at":"2014-10-02T04:44:35Z","git_url":"git://github.com/my-koop/service.website.git","ssh_url":"git@github.com:my-koop/service.website.git","clone_url":"https://github.com/my-koop/service.website.git","svn_url":"https://github.com/my-koop/service.website","homepage":null,"size":884,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":53,"forks":0,"open_issues":53,"watchers":5,"default_branch":"Prototype"}},"base":{"label":"my-koop:Prototype","ref":"Prototype","sha":"21ca6c128899271147b7641c0e8ace78de66779b","user":{"login":"my-koop","id":8674744,"avatar_url":"https://avatars.githubusercontent.com/u/8674744?v=2","gravatar_id":"","url":"https://api.github.com/users/my-koop","html_url":"https://github.com/my-koop","followers_url":"https://api.github.com/users/my-koop/followers","following_url":"https://api.github.com/users/my-koop/following{/other_user}","gists_url":"https://api.github.com/users/my-koop/gists{/gist_id}","starred_url":"https://api.github.com/users/my-koop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-koop/subscriptions","organizations_url":"https://api.github.com/users/my-koop/orgs","repos_url":"https://api.github.com/users/my-koop/repos","events_url":"https://api.github.com/users/my-koop/events{/privacy}","received_events_url":"https://api.github.com/users/my-koop/received_events","type":"Organization","site_admin":false},"repo":{"id":23725016,"name":"service.website","full_name":"my-koop/service.website","owner":{"login":"my-koop","id":8674744,"avatar_url":"https://avatars.githubusercontent.com/u/8674744?v=2","gravatar_id":"","url":"https://api.github.com/users/my-koop","html_url":"https://github.com/my-koop","followers_url":"https://api.github.com/users/my-koop/followers","following_url":"https://api.github.com/users/my-koop/following{/other_user}","gists_url":"https://api.github.com/users/my-koop/gists{/gist_id}","starred_url":"https://api.github.com/users/my-koop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my-koop/subscriptions","organizations_url":"https://api.github.com/users/my-koop/orgs","repos_url":"https://api.github.com/users/my-koop/repos","events_url":"https://api.github.com/users/my-koop/events{/privacy}","received_events_url":"https://api.github.com/users/my-koop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/my-koop/service.website","description":"Website service","fork":false,"url":"https://api.github.com/repos/my-koop/service.website","forks_url":"https://api.github.com/repos/my-koop/service.website/forks","keys_url":"https://api.github.com/repos/my-koop/service.website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/my-koop/service.website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/my-koop/service.website/teams","hooks_url":"https://api.github.com/repos/my-koop/service.website/hooks","issue_events_url":"https://api.github.com/repos/my-koop/service.website/issues/events{/number}","events_url":"https://api.github.com/repos/my-koop/service.website/events","assignees_url":"https://api.github.com/repos/my-koop/service.website/assignees{/user}","branches_url":"https://api.github.com/repos/my-koop/service.website/branches{/branch}","tags_url":"https://api.github.com/repos/my-koop/service.website/tags","blobs_url":"https://api.github.com/repos/my-koop/service.website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/my-koop/service.website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/my-koop/service.website/git/refs{/sha}","trees_url":"https://api.github.com/repos/my-koop/service.website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/my-koop/service.website/statuses/{sha}","languages_url":"https://api.github.com/repos/my-koop/service.website/languages","stargazers_url":"https://api.github.com/repos/my-koop/service.website/stargazers","contributors_url":"https://api.github.com/repos/my-koop/service.website/contributors","subscribers_url":"https://api.github.com/repos/my-koop/service.website/subscribers","subscription_url":"https://api.github.com/repos/my-koop/service.website/subscription","commits_url":"https://api.github.com/repos/my-koop/service.website/commits{/sha}","git_commits_url":"https://api.github.com/repos/my-koop/service.website/git/commits{/sha}","comments_url":"https://api.github.com/repos/my-koop/service.website/comments{/number}","issue_comment_url":"https://api.github.com/repos/my-koop/service.website/issues/comments/{number}","contents_url":"https://api.github.com/repos/my-koop/service.website/contents/{+path}","compare_url":"https://api.github.com/repos/my-koop/service.website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/my-koop/service.website/merges","archive_url":"https://api.github.com/repos/my-koop/service.website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/my-koop/service.website/downloads","issues_url":"https://api.github.com/repos/my-koop/service.website/issues{/number}","pulls_url":"https://api.github.com/repos/my-koop/service.website/pulls{/number}","milestones_url":"https://api.github.com/repos/my-koop/service.website/milestones{/number}","notifications_url":"https://api.github.com/repos/my-koop/service.website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/my-koop/service.website/labels{/name}","releases_url":"https://api.github.com/repos/my-koop/service.website/releases{/id}","created_at":"2014-09-06T02:53:12Z","updated_at":"2014-10-01T19:08:55Z","pushed_at":"2014-10-02T04:44:35Z","git_url":"git://github.com/my-koop/service.website.git","ssh_url":"git@github.com:my-koop/service.website.git","clone_url":"https://github.com/my-koop/service.website.git","svn_url":"https://github.com/my-koop/service.website","homepage":null,"size":884,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":53,"forks":0,"open_issues":53,"watchers":5,"default_branch":"Prototype"}},"_links":{"self":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/87"},"html":{"href":"https://github.com/my-koop/service.website/pull/87"},"issue":{"href":"https://api.github.com/repos/my-koop/service.website/issues/87"},"comments":{"href":"https://api.github.com/repos/my-koop/service.website/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/my-koop/service.website/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/my-koop/service.website/statuses/59f85c9f236664b1200620f96d9d68b221b3d75e"}}}}