{"action":"created","comment":{"url":"https://api.github.com/repos/je-lopez/Trossello/pulls/comments/121175139","pull_request_review_id":43208674,"id":121175139,"diff_hunk":"@@ -45,6 +50,21 @@ export default class CardModal extends Component {\n     this.setState({showingLabelMenu: false})\n   }\n \n+  onCreateComment(comment) {\n+    $.ajax({\n+      method: 'post',\n+      url: `/api/comments/card/${this.props.card.id}/board/${this.props.board.id}`,\n+      contentType: 'application/json; charset=utf-8',\n+      dataType: 'json',\n+      data: JSON.stringify({comment: comment})\n+    }).then(() => {\n+      boardStore.reload()\n+    }).catch(error => {\n+      this.setState({error: 'Failed to create comment. Please try again or contact Jerad Grippe for help.'})","path":"browser/components/BoardShowPage/Card/CardModal.js","position":45,"original_position":45,"commit_id":"39dccc28dcf32c8163e606b468b109a7880d0810","original_commit_id":"39dccc28dcf32c8163e606b468b109a7880d0810","user":{"login":"deadlyicon","id":8385,"avatar_url":"https://avatars3.githubusercontent.com/u/8385?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlyicon","html_url":"https://github.com/deadlyicon","followers_url":"https://api.github.com/users/deadlyicon/followers","following_url":"https://api.github.com/users/deadlyicon/following{/other_user}","gists_url":"https://api.github.com/users/deadlyicon/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlyicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlyicon/subscriptions","organizations_url":"https://api.github.com/users/deadlyicon/orgs","repos_url":"https://api.github.com/users/deadlyicon/repos","events_url":"https://api.github.com/users/deadlyicon/events{/privacy}","received_events_url":"https://api.github.com/users/deadlyicon/received_events","type":"User","site_admin":false},"body":"![](https://media.giphy.com/media/3oEduUJgrJnTH093yw/giphy.gif)","created_at":"2017-06-09T17:01:18Z","updated_at":"2017-06-09T17:06:03Z","html_url":"https://github.com/je-lopez/Trossello/pull/2#discussion_r121175139","pull_request_url":"https://api.github.com/repos/je-lopez/Trossello/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/comments/121175139"},"html":{"href":"https://github.com/je-lopez/Trossello/pull/2#discussion_r121175139"},"pull_request":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/je-lopez/Trossello/pulls/2","id":124726364,"html_url":"https://github.com/je-lopez/Trossello/pull/2","diff_url":"https://github.com/je-lopez/Trossello/pull/2.diff","patch_url":"https://github.com/je-lopez/Trossello/pull/2.patch","issue_url":"https://api.github.com/repos/je-lopez/Trossello/issues/2","number":2,"state":"open","locked":false,"title":"Activity and comments","user":{"login":"je-lopez","id":6321547,"avatar_url":"https://avatars1.githubusercontent.com/u/6321547?v=3","gravatar_id":"","url":"https://api.github.com/users/je-lopez","html_url":"https://github.com/je-lopez","followers_url":"https://api.github.com/users/je-lopez/followers","following_url":"https://api.github.com/users/je-lopez/following{/other_user}","gists_url":"https://api.github.com/users/je-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/je-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-lopez/subscriptions","organizations_url":"https://api.github.com/users/je-lopez/orgs","repos_url":"https://api.github.com/users/je-lopez/repos","events_url":"https://api.github.com/users/je-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/je-lopez/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-08T19:28:59Z","updated_at":"2017-06-09T17:06:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/je-lopez/Trossello/pulls/2/commits","review_comments_url":"https://api.github.com/repos/je-lopez/Trossello/pulls/2/comments","review_comment_url":"https://api.github.com/repos/je-lopez/Trossello/pulls/comments{/number}","comments_url":"https://api.github.com/repos/je-lopez/Trossello/issues/2/comments","statuses_url":"https://api.github.com/repos/je-lopez/Trossello/statuses/39dccc28dcf32c8163e606b468b109a7880d0810","head":{"label":"je-lopez:activity-and-comments","ref":"activity-and-comments","sha":"39dccc28dcf32c8163e606b468b109a7880d0810","user":{"login":"je-lopez","id":6321547,"avatar_url":"https://avatars1.githubusercontent.com/u/6321547?v=3","gravatar_id":"","url":"https://api.github.com/users/je-lopez","html_url":"https://github.com/je-lopez","followers_url":"https://api.github.com/users/je-lopez/followers","following_url":"https://api.github.com/users/je-lopez/following{/other_user}","gists_url":"https://api.github.com/users/je-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/je-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-lopez/subscriptions","organizations_url":"https://api.github.com/users/je-lopez/orgs","repos_url":"https://api.github.com/users/je-lopez/repos","events_url":"https://api.github.com/users/je-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/je-lopez/received_events","type":"User","site_admin":false},"repo":{"id":93435369,"name":"Trossello","full_name":"je-lopez/Trossello","owner":{"login":"je-lopez","id":6321547,"avatar_url":"https://avatars1.githubusercontent.com/u/6321547?v=3","gravatar_id":"","url":"https://api.github.com/users/je-lopez","html_url":"https://github.com/je-lopez","followers_url":"https://api.github.com/users/je-lopez/followers","following_url":"https://api.github.com/users/je-lopez/following{/other_user}","gists_url":"https://api.github.com/users/je-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/je-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-lopez/subscriptions","organizations_url":"https://api.github.com/users/je-lopez/orgs","repos_url":"https://api.github.com/users/je-lopez/repos","events_url":"https://api.github.com/users/je-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/je-lopez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/je-lopez/Trossello","description":"Open Source Trello Clone","fork":true,"url":"https://api.github.com/repos/je-lopez/Trossello","forks_url":"https://api.github.com/repos/je-lopez/Trossello/forks","keys_url":"https://api.github.com/repos/je-lopez/Trossello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/je-lopez/Trossello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/je-lopez/Trossello/teams","hooks_url":"https://api.github.com/repos/je-lopez/Trossello/hooks","issue_events_url":"https://api.github.com/repos/je-lopez/Trossello/issues/events{/number}","events_url":"https://api.github.com/repos/je-lopez/Trossello/events","assignees_url":"https://api.github.com/repos/je-lopez/Trossello/assignees{/user}","branches_url":"https://api.github.com/repos/je-lopez/Trossello/branches{/branch}","tags_url":"https://api.github.com/repos/je-lopez/Trossello/tags","blobs_url":"https://api.github.com/repos/je-lopez/Trossello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/je-lopez/Trossello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/je-lopez/Trossello/git/refs{/sha}","trees_url":"https://api.github.com/repos/je-lopez/Trossello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/je-lopez/Trossello/statuses/{sha}","languages_url":"https://api.github.com/repos/je-lopez/Trossello/languages","stargazers_url":"https://api.github.com/repos/je-lopez/Trossello/stargazers","contributors_url":"https://api.github.com/repos/je-lopez/Trossello/contributors","subscribers_url":"https://api.github.com/repos/je-lopez/Trossello/subscribers","subscription_url":"https://api.github.com/repos/je-lopez/Trossello/subscription","commits_url":"https://api.github.com/repos/je-lopez/Trossello/commits{/sha}","git_commits_url":"https://api.github.com/repos/je-lopez/Trossello/git/commits{/sha}","comments_url":"https://api.github.com/repos/je-lopez/Trossello/comments{/number}","issue_comment_url":"https://api.github.com/repos/je-lopez/Trossello/issues/comments{/number}","contents_url":"https://api.github.com/repos/je-lopez/Trossello/contents/{+path}","compare_url":"https://api.github.com/repos/je-lopez/Trossello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/je-lopez/Trossello/merges","archive_url":"https://api.github.com/repos/je-lopez/Trossello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/je-lopez/Trossello/downloads","issues_url":"https://api.github.com/repos/je-lopez/Trossello/issues{/number}","pulls_url":"https://api.github.com/repos/je-lopez/Trossello/pulls{/number}","milestones_url":"https://api.github.com/repos/je-lopez/Trossello/milestones{/number}","notifications_url":"https://api.github.com/repos/je-lopez/Trossello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/je-lopez/Trossello/labels{/name}","releases_url":"https://api.github.com/repos/je-lopez/Trossello/releases{/id}","deployments_url":"https://api.github.com/repos/je-lopez/Trossello/deployments","created_at":"2017-06-05T18:39:57Z","updated_at":"2017-06-08T04:23:50Z","pushed_at":"2017-06-08T23:49:35Z","git_url":"git://github.com/je-lopez/Trossello.git","ssh_url":"git@github.com:je-lopez/Trossello.git","clone_url":"https://github.com/je-lopez/Trossello.git","svn_url":"https://github.com/je-lopez/Trossello","homepage":null,"size":3459,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"je-lopez:master","ref":"master","sha":"55301b0218af35527c6f4a15e78f93fcc9e0cdd7","user":{"login":"je-lopez","id":6321547,"avatar_url":"https://avatars1.githubusercontent.com/u/6321547?v=3","gravatar_id":"","url":"https://api.github.com/users/je-lopez","html_url":"https://github.com/je-lopez","followers_url":"https://api.github.com/users/je-lopez/followers","following_url":"https://api.github.com/users/je-lopez/following{/other_user}","gists_url":"https://api.github.com/users/je-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/je-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-lopez/subscriptions","organizations_url":"https://api.github.com/users/je-lopez/orgs","repos_url":"https://api.github.com/users/je-lopez/repos","events_url":"https://api.github.com/users/je-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/je-lopez/received_events","type":"User","site_admin":false},"repo":{"id":93435369,"name":"Trossello","full_name":"je-lopez/Trossello","owner":{"login":"je-lopez","id":6321547,"avatar_url":"https://avatars1.githubusercontent.com/u/6321547?v=3","gravatar_id":"","url":"https://api.github.com/users/je-lopez","html_url":"https://github.com/je-lopez","followers_url":"https://api.github.com/users/je-lopez/followers","following_url":"https://api.github.com/users/je-lopez/following{/other_user}","gists_url":"https://api.github.com/users/je-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/je-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-lopez/subscriptions","organizations_url":"https://api.github.com/users/je-lopez/orgs","repos_url":"https://api.github.com/users/je-lopez/repos","events_url":"https://api.github.com/users/je-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/je-lopez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/je-lopez/Trossello","description":"Open Source Trello Clone","fork":true,"url":"https://api.github.com/repos/je-lopez/Trossello","forks_url":"https://api.github.com/repos/je-lopez/Trossello/forks","keys_url":"https://api.github.com/repos/je-lopez/Trossello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/je-lopez/Trossello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/je-lopez/Trossello/teams","hooks_url":"https://api.github.com/repos/je-lopez/Trossello/hooks","issue_events_url":"https://api.github.com/repos/je-lopez/Trossello/issues/events{/number}","events_url":"https://api.github.com/repos/je-lopez/Trossello/events","assignees_url":"https://api.github.com/repos/je-lopez/Trossello/assignees{/user}","branches_url":"https://api.github.com/repos/je-lopez/Trossello/branches{/branch}","tags_url":"https://api.github.com/repos/je-lopez/Trossello/tags","blobs_url":"https://api.github.com/repos/je-lopez/Trossello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/je-lopez/Trossello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/je-lopez/Trossello/git/refs{/sha}","trees_url":"https://api.github.com/repos/je-lopez/Trossello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/je-lopez/Trossello/statuses/{sha}","languages_url":"https://api.github.com/repos/je-lopez/Trossello/languages","stargazers_url":"https://api.github.com/repos/je-lopez/Trossello/stargazers","contributors_url":"https://api.github.com/repos/je-lopez/Trossello/contributors","subscribers_url":"https://api.github.com/repos/je-lopez/Trossello/subscribers","subscription_url":"https://api.github.com/repos/je-lopez/Trossello/subscription","commits_url":"https://api.github.com/repos/je-lopez/Trossello/commits{/sha}","git_commits_url":"https://api.github.com/repos/je-lopez/Trossello/git/commits{/sha}","comments_url":"https://api.github.com/repos/je-lopez/Trossello/comments{/number}","issue_comment_url":"https://api.github.com/repos/je-lopez/Trossello/issues/comments{/number}","contents_url":"https://api.github.com/repos/je-lopez/Trossello/contents/{+path}","compare_url":"https://api.github.com/repos/je-lopez/Trossello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/je-lopez/Trossello/merges","archive_url":"https://api.github.com/repos/je-lopez/Trossello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/je-lopez/Trossello/downloads","issues_url":"https://api.github.com/repos/je-lopez/Trossello/issues{/number}","pulls_url":"https://api.github.com/repos/je-lopez/Trossello/pulls{/number}","milestones_url":"https://api.github.com/repos/je-lopez/Trossello/milestones{/number}","notifications_url":"https://api.github.com/repos/je-lopez/Trossello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/je-lopez/Trossello/labels{/name}","releases_url":"https://api.github.com/repos/je-lopez/Trossello/releases{/id}","deployments_url":"https://api.github.com/repos/je-lopez/Trossello/deployments","created_at":"2017-06-05T18:39:57Z","updated_at":"2017-06-08T04:23:50Z","pushed_at":"2017-06-08T23:49:35Z","git_url":"git://github.com/je-lopez/Trossello.git","ssh_url":"git@github.com:je-lopez/Trossello.git","clone_url":"https://github.com/je-lopez/Trossello.git","svn_url":"https://github.com/je-lopez/Trossello","homepage":null,"size":3459,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/2"},"html":{"href":"https://github.com/je-lopez/Trossello/pull/2"},"issue":{"href":"https://api.github.com/repos/je-lopez/Trossello/issues/2"},"comments":{"href":"https://api.github.com/repos/je-lopez/Trossello/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/je-lopez/Trossello/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/je-lopez/Trossello/statuses/39dccc28dcf32c8163e606b468b109a7880d0810"}}}}
{"actor":{"display_login":"deadlyicon"}}