{"action":"created","comment":{"url":"https://api.github.com/repos/coralproject/talk/pulls/comments/135826157","pull_request_review_id":59282704,"id":135826157,"diff_hunk":"@@ -184,3 +184,11 @@ export function getShallowChanges(a, b) {\n   return union(Object.keys(a), Object.keys(b))\n     .filter((key) => a[key] !== b[key]);\n }\n+\n+export function getTotalReactionsCount(actionSummaries) {\n+  return actionSummaries\n+    .filter((s) => s.__typename !== 'FlagActionSummary')","path":"client/coral-framework/utils/index.js","position":7,"original_position":7,"commit_id":"952b253969745d31c3a6d49dda83f94360a44d82","original_commit_id":"a76464ea16c7c944d2ec979db967050abf1e5e98","user":{"login":"wyattjoh","id":633002,"avatar_url":"https://avatars2.githubusercontent.com/u/633002?v=4","gravatar_id":"","url":"https://api.github.com/users/wyattjoh","html_url":"https://github.com/wyattjoh","followers_url":"https://api.github.com/users/wyattjoh/followers","following_url":"https://api.github.com/users/wyattjoh/following{/other_user}","gists_url":"https://api.github.com/users/wyattjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/wyattjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyattjoh/subscriptions","organizations_url":"https://api.github.com/users/wyattjoh/orgs","repos_url":"https://api.github.com/users/wyattjoh/repos","events_url":"https://api.github.com/users/wyattjoh/events{/privacy}","received_events_url":"https://api.github.com/users/wyattjoh/received_events","type":"User","site_admin":false},"body":"For now we can leave this as is. This might be a bigger task to classify all reaction types properly.","created_at":"2017-08-29T15:29:11Z","updated_at":"2017-08-29T15:29:14Z","html_url":"https://github.com/coralproject/talk/pull/889#discussion_r135826157","pull_request_url":"https://api.github.com/repos/coralproject/talk/pulls/889","_links":{"self":{"href":"https://api.github.com/repos/coralproject/talk/pulls/comments/135826157"},"html":{"href":"https://github.com/coralproject/talk/pull/889#discussion_r135826157"},"pull_request":{"href":"https://api.github.com/repos/coralproject/talk/pulls/889"}},"in_reply_to_id":135756613},"pull_request":{"url":"https://api.github.com/repos/coralproject/talk/pulls/889","id":138019926,"html_url":"https://github.com/coralproject/talk/pull/889","diff_url":"https://github.com/coralproject/talk/pull/889.diff","patch_url":"https://github.com/coralproject/talk/pull/889.patch","issue_url":"https://api.github.com/repos/coralproject/talk/issues/889","number":889,"state":"open","locked":false,"title":"My Comment Reactions","user":{"login":"okbel","id":1401559,"avatar_url":"https://avatars2.githubusercontent.com/u/1401559?v=4","gravatar_id":"","url":"https://api.github.com/users/okbel","html_url":"https://github.com/okbel","followers_url":"https://api.github.com/users/okbel/followers","following_url":"https://api.github.com/users/okbel/following{/other_user}","gists_url":"https://api.github.com/users/okbel/gists{/gist_id}","starred_url":"https://api.github.com/users/okbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okbel/subscriptions","organizations_url":"https://api.github.com/users/okbel/orgs","repos_url":"https://api.github.com/users/okbel/repos","events_url":"https://api.github.com/users/okbel/events{/privacy}","received_events_url":"https://api.github.com/users/okbel/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\nMY COMMENT REACTIONS/REPLIES | As a commenter, I want to see in My Profile how many likes/reactions and replies my comments have received so that I can know if I want to revisit the comment section\r\n\r\nhttps://www.pivotaltracker.com/story/show/150595787\r\n\r\n","created_at":"2017-08-28T19:33:52Z","updated_at":"2017-08-29T15:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d6ae84ac5c29b7c27e2bf26c40e41f6e0240b01","assignee":null,"assignees":[],"requested_reviewers":[{"login":"IAmSamHankins","id":12632662,"avatar_url":"https://avatars2.githubusercontent.com/u/12632662?v=4","gravatar_id":"","url":"https://api.github.com/users/IAmSamHankins","html_url":"https://github.com/IAmSamHankins","followers_url":"https://api.github.com/users/IAmSamHankins/followers","following_url":"https://api.github.com/users/IAmSamHankins/following{/other_user}","gists_url":"https://api.github.com/users/IAmSamHankins/gists{/gist_id}","starred_url":"https://api.github.com/users/IAmSamHankins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAmSamHankins/subscriptions","organizations_url":"https://api.github.com/users/IAmSamHankins/orgs","repos_url":"https://api.github.com/users/IAmSamHankins/repos","events_url":"https://api.github.com/users/IAmSamHankins/events{/privacy}","received_events_url":"https://api.github.com/users/IAmSamHankins/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coralproject/talk/pulls/889/commits","review_comments_url":"https://api.github.com/repos/coralproject/talk/pulls/889/comments","review_comment_url":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/talk/issues/889/comments","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/952b253969745d31c3a6d49dda83f94360a44d82","head":{"label":"coralproject:my-comment-reactions","ref":"my-comment-reactions","sha":"952b253969745d31c3a6d49dda83f94360a44d82","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"name":"talk","full_name":"coralproject/talk","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Mozilla, The New York Times, and The Washington Post.","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2017-08-21T18:54:54Z","pushed_at":"2017-08-29T15:24:51Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":9097,"stargazers_count":110,"watchers_count":110,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":33,"mirror_url":null,"open_issues_count":6,"forks":33,"open_issues":6,"watchers":110,"default_branch":"master"}},"base":{"label":"coralproject:master","ref":"master","sha":"ad06d5136bf4e9a9f65b003fa6ba7ce1d9fb47db","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"name":"talk","full_name":"coralproject/talk","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Mozilla, The New York Times, and The Washington Post.","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2017-08-21T18:54:54Z","pushed_at":"2017-08-29T15:24:51Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":9097,"stargazers_count":110,"watchers_count":110,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":33,"mirror_url":null,"open_issues_count":6,"forks":33,"open_issues":6,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/talk/pulls/889"},"html":{"href":"https://github.com/coralproject/talk/pull/889"},"issue":{"href":"https://api.github.com/repos/coralproject/talk/issues/889"},"comments":{"href":"https://api.github.com/repos/coralproject/talk/issues/889/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/talk/pulls/889/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/talk/pulls/889/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/talk/statuses/952b253969745d31c3a6d49dda83f94360a44d82"}}}}
{"actor":{"display_login":"wyattjoh"}}