{"action":"created","comment":{"url":"https://api.github.com/repos/devontem/tracker-web/pulls/comments/94264063","pull_request_review_id":14795332,"id":94264063,"diff_hunk":"@@ -0,0 +1,55 @@\n+import React, { PropTypes } from \"react\";\n+\n+class Graph extends React.Component {\n+  constructor(props) {\n+    super(props);\n+\n+    this.formatValue = this.formatValue.bind(this);\n+    this.color = this.color.bind(this);\n+  }\n+\n+  formatValue(value, total, radius) {\n+    const cir = (Math.PI * 2) * radius;\n+    const param = ((value / total) * cir);\n+\n+    return `${param}, ${cir}`;\n+  }\n+\n+  color(key) {\n+    const obj = { Todo: \"#f1c40f\", \"In Progress\": \"#e67e22\", Complete: \"#e74c3c\" };\n+    return obj[key];","path":"src/Graph.js","position":20,"original_position":20,"commit_id":"6d5a74dd58ca9659310e48b0c1962b0151eedf32","original_commit_id":"6d5a74dd58ca9659310e48b0c1962b0151eedf32","user":{"login":"dhoward","id":268974,"avatar_url":"https://avatars.githubusercontent.com/u/268974?v=3","gravatar_id":"","url":"https://api.github.com/users/dhoward","html_url":"https://github.com/dhoward","followers_url":"https://api.github.com/users/dhoward/followers","following_url":"https://api.github.com/users/dhoward/following{/other_user}","gists_url":"https://api.github.com/users/dhoward/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoward/subscriptions","organizations_url":"https://api.github.com/users/dhoward/orgs","repos_url":"https://api.github.com/users/dhoward/repos","events_url":"https://api.github.com/users/dhoward/events{/privacy}","received_events_url":"https://api.github.com/users/dhoward/received_events","type":"User","site_admin":false},"body":"Can you think of another way to do this that doesn't need to create a new object each time?","created_at":"2016-12-30T23:21:45Z","updated_at":"2016-12-30T23:51:25Z","html_url":"https://github.com/devontem/tracker-web/pull/1#discussion_r94264063","pull_request_url":"https://api.github.com/repos/devontem/tracker-web/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/comments/94264063"},"html":{"href":"https://github.com/devontem/tracker-web/pull/1#discussion_r94264063"},"pull_request":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/devontem/tracker-web/pulls/1","id":99189782,"html_url":"https://github.com/devontem/tracker-web/pull/1","diff_url":"https://github.com/devontem/tracker-web/pull/1.diff","patch_url":"https://github.com/devontem/tracker-web/pull/1.patch","issue_url":"https://api.github.com/repos/devontem/tracker-web/issues/1","number":1,"state":"open","locked":false,"title":"Feature/complete task","user":{"login":"devontem","id":3604690,"avatar_url":"https://avatars.githubusercontent.com/u/3604690?v=3","gravatar_id":"","url":"https://api.github.com/users/devontem","html_url":"https://github.com/devontem","followers_url":"https://api.github.com/users/devontem/followers","following_url":"https://api.github.com/users/devontem/following{/other_user}","gists_url":"https://api.github.com/users/devontem/gists{/gist_id}","starred_url":"https://api.github.com/users/devontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devontem/subscriptions","organizations_url":"https://api.github.com/users/devontem/orgs","repos_url":"https://api.github.com/users/devontem/repos","events_url":"https://api.github.com/users/devontem/events{/privacy}","received_events_url":"https://api.github.com/users/devontem/received_events","type":"User","site_admin":false},"body":"@versus-systems\r\n\r\nChanges:\r\n- Refactored Task and TaskList outside of Project component\r\n- Added Graph component\r\n- Added a description field\r\n- Made design changes\r\n- Altered tests for Project component, created tests for Graph component\r\n\r\nTo Do: \r\n- Add proptypes to all components, \r\n- More thorough tests for components\r\n- Further code refactor according to eslint best practices","created_at":"2016-12-23T00:23:36Z","updated_at":"2016-12-30T23:51:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b3ee23531d249c927b8271570625f110d5f4d27","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/devontem/tracker-web/pulls/1/commits","review_comments_url":"https://api.github.com/repos/devontem/tracker-web/pulls/1/comments","review_comment_url":"https://api.github.com/repos/devontem/tracker-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devontem/tracker-web/issues/1/comments","statuses_url":"https://api.github.com/repos/devontem/tracker-web/statuses/6d5a74dd58ca9659310e48b0c1962b0151eedf32","head":{"label":"devontem:feature/complete-task","ref":"feature/complete-task","sha":"6d5a74dd58ca9659310e48b0c1962b0151eedf32","user":{"login":"devontem","id":3604690,"avatar_url":"https://avatars.githubusercontent.com/u/3604690?v=3","gravatar_id":"","url":"https://api.github.com/users/devontem","html_url":"https://github.com/devontem","followers_url":"https://api.github.com/users/devontem/followers","following_url":"https://api.github.com/users/devontem/following{/other_user}","gists_url":"https://api.github.com/users/devontem/gists{/gist_id}","starred_url":"https://api.github.com/users/devontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devontem/subscriptions","organizations_url":"https://api.github.com/users/devontem/orgs","repos_url":"https://api.github.com/users/devontem/repos","events_url":"https://api.github.com/users/devontem/events{/privacy}","received_events_url":"https://api.github.com/users/devontem/received_events","type":"User","site_admin":false},"repo":{"id":77057623,"name":"tracker-web","full_name":"devontem/tracker-web","owner":{"login":"devontem","id":3604690,"avatar_url":"https://avatars.githubusercontent.com/u/3604690?v=3","gravatar_id":"","url":"https://api.github.com/users/devontem","html_url":"https://github.com/devontem","followers_url":"https://api.github.com/users/devontem/followers","following_url":"https://api.github.com/users/devontem/following{/other_user}","gists_url":"https://api.github.com/users/devontem/gists{/gist_id}","starred_url":"https://api.github.com/users/devontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devontem/subscriptions","organizations_url":"https://api.github.com/users/devontem/orgs","repos_url":"https://api.github.com/users/devontem/repos","events_url":"https://api.github.com/users/devontem/events{/privacy}","received_events_url":"https://api.github.com/users/devontem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devontem/tracker-web","description":"A React-based web application for interview candidates","fork":true,"url":"https://api.github.com/repos/devontem/tracker-web","forks_url":"https://api.github.com/repos/devontem/tracker-web/forks","keys_url":"https://api.github.com/repos/devontem/tracker-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devontem/tracker-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devontem/tracker-web/teams","hooks_url":"https://api.github.com/repos/devontem/tracker-web/hooks","issue_events_url":"https://api.github.com/repos/devontem/tracker-web/issues/events{/number}","events_url":"https://api.github.com/repos/devontem/tracker-web/events","assignees_url":"https://api.github.com/repos/devontem/tracker-web/assignees{/user}","branches_url":"https://api.github.com/repos/devontem/tracker-web/branches{/branch}","tags_url":"https://api.github.com/repos/devontem/tracker-web/tags","blobs_url":"https://api.github.com/repos/devontem/tracker-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devontem/tracker-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devontem/tracker-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/devontem/tracker-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devontem/tracker-web/statuses/{sha}","languages_url":"https://api.github.com/repos/devontem/tracker-web/languages","stargazers_url":"https://api.github.com/repos/devontem/tracker-web/stargazers","contributors_url":"https://api.github.com/repos/devontem/tracker-web/contributors","subscribers_url":"https://api.github.com/repos/devontem/tracker-web/subscribers","subscription_url":"https://api.github.com/repos/devontem/tracker-web/subscription","commits_url":"https://api.github.com/repos/devontem/tracker-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/devontem/tracker-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/devontem/tracker-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/devontem/tracker-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/devontem/tracker-web/contents/{+path}","compare_url":"https://api.github.com/repos/devontem/tracker-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devontem/tracker-web/merges","archive_url":"https://api.github.com/repos/devontem/tracker-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devontem/tracker-web/downloads","issues_url":"https://api.github.com/repos/devontem/tracker-web/issues{/number}","pulls_url":"https://api.github.com/repos/devontem/tracker-web/pulls{/number}","milestones_url":"https://api.github.com/repos/devontem/tracker-web/milestones{/number}","notifications_url":"https://api.github.com/repos/devontem/tracker-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devontem/tracker-web/labels{/name}","releases_url":"https://api.github.com/repos/devontem/tracker-web/releases{/id}","deployments_url":"https://api.github.com/repos/devontem/tracker-web/deployments","created_at":"2016-12-21T14:17:13Z","updated_at":"2016-12-21T14:17:15Z","pushed_at":"2016-12-23T00:23:37Z","git_url":"git://github.com/devontem/tracker-web.git","ssh_url":"git@github.com:devontem/tracker-web.git","clone_url":"https://github.com/devontem/tracker-web.git","svn_url":"https://github.com/devontem/tracker-web","homepage":null,"size":533,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"devontem:development","ref":"development","sha":"73f25379d7e18b4fd4717af06201ad0a059c128a","user":{"login":"devontem","id":3604690,"avatar_url":"https://avatars.githubusercontent.com/u/3604690?v=3","gravatar_id":"","url":"https://api.github.com/users/devontem","html_url":"https://github.com/devontem","followers_url":"https://api.github.com/users/devontem/followers","following_url":"https://api.github.com/users/devontem/following{/other_user}","gists_url":"https://api.github.com/users/devontem/gists{/gist_id}","starred_url":"https://api.github.com/users/devontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devontem/subscriptions","organizations_url":"https://api.github.com/users/devontem/orgs","repos_url":"https://api.github.com/users/devontem/repos","events_url":"https://api.github.com/users/devontem/events{/privacy}","received_events_url":"https://api.github.com/users/devontem/received_events","type":"User","site_admin":false},"repo":{"id":77057623,"name":"tracker-web","full_name":"devontem/tracker-web","owner":{"login":"devontem","id":3604690,"avatar_url":"https://avatars.githubusercontent.com/u/3604690?v=3","gravatar_id":"","url":"https://api.github.com/users/devontem","html_url":"https://github.com/devontem","followers_url":"https://api.github.com/users/devontem/followers","following_url":"https://api.github.com/users/devontem/following{/other_user}","gists_url":"https://api.github.com/users/devontem/gists{/gist_id}","starred_url":"https://api.github.com/users/devontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devontem/subscriptions","organizations_url":"https://api.github.com/users/devontem/orgs","repos_url":"https://api.github.com/users/devontem/repos","events_url":"https://api.github.com/users/devontem/events{/privacy}","received_events_url":"https://api.github.com/users/devontem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devontem/tracker-web","description":"A React-based web application for interview candidates","fork":true,"url":"https://api.github.com/repos/devontem/tracker-web","forks_url":"https://api.github.com/repos/devontem/tracker-web/forks","keys_url":"https://api.github.com/repos/devontem/tracker-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devontem/tracker-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devontem/tracker-web/teams","hooks_url":"https://api.github.com/repos/devontem/tracker-web/hooks","issue_events_url":"https://api.github.com/repos/devontem/tracker-web/issues/events{/number}","events_url":"https://api.github.com/repos/devontem/tracker-web/events","assignees_url":"https://api.github.com/repos/devontem/tracker-web/assignees{/user}","branches_url":"https://api.github.com/repos/devontem/tracker-web/branches{/branch}","tags_url":"https://api.github.com/repos/devontem/tracker-web/tags","blobs_url":"https://api.github.com/repos/devontem/tracker-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devontem/tracker-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devontem/tracker-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/devontem/tracker-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devontem/tracker-web/statuses/{sha}","languages_url":"https://api.github.com/repos/devontem/tracker-web/languages","stargazers_url":"https://api.github.com/repos/devontem/tracker-web/stargazers","contributors_url":"https://api.github.com/repos/devontem/tracker-web/contributors","subscribers_url":"https://api.github.com/repos/devontem/tracker-web/subscribers","subscription_url":"https://api.github.com/repos/devontem/tracker-web/subscription","commits_url":"https://api.github.com/repos/devontem/tracker-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/devontem/tracker-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/devontem/tracker-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/devontem/tracker-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/devontem/tracker-web/contents/{+path}","compare_url":"https://api.github.com/repos/devontem/tracker-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devontem/tracker-web/merges","archive_url":"https://api.github.com/repos/devontem/tracker-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devontem/tracker-web/downloads","issues_url":"https://api.github.com/repos/devontem/tracker-web/issues{/number}","pulls_url":"https://api.github.com/repos/devontem/tracker-web/pulls{/number}","milestones_url":"https://api.github.com/repos/devontem/tracker-web/milestones{/number}","notifications_url":"https://api.github.com/repos/devontem/tracker-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devontem/tracker-web/labels{/name}","releases_url":"https://api.github.com/repos/devontem/tracker-web/releases{/id}","deployments_url":"https://api.github.com/repos/devontem/tracker-web/deployments","created_at":"2016-12-21T14:17:13Z","updated_at":"2016-12-21T14:17:15Z","pushed_at":"2016-12-23T00:23:37Z","git_url":"git://github.com/devontem/tracker-web.git","ssh_url":"git@github.com:devontem/tracker-web.git","clone_url":"https://github.com/devontem/tracker-web.git","svn_url":"https://github.com/devontem/tracker-web","homepage":null,"size":533,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/1"},"html":{"href":"https://github.com/devontem/tracker-web/pull/1"},"issue":{"href":"https://api.github.com/repos/devontem/tracker-web/issues/1"},"comments":{"href":"https://api.github.com/repos/devontem/tracker-web/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devontem/tracker-web/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/devontem/tracker-web/statuses/6d5a74dd58ca9659310e48b0c1962b0151eedf32"}}}}
{"actor":{"display_login":"dhoward"}}