{"action":"created","comment":{"url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/comments/156413486","pull_request_review_id":82886087,"id":156413486,"diff_hunk":"@@ -1,3 +1,15 @@\n function scroll_bottom () {\n-  $('#messages').scrollTop($('#messages')[0].scrollHeight)\n+    $('#messages').scrollTop($('#messages')[0].scrollHeight)\n+}\n+\n+function open_modal(data) {\n+  $(\"p#user-name\").text(data.user);","path":"app/assets/javascripts/helper.js","position":7,"original_position":7,"commit_id":"03570ecc26463bedfcb3151151447d2607990387","original_commit_id":"03570ecc26463bedfcb3151151447d2607990387","user":{"login":"vitogit","id":5280619,"avatar_url":"https://avatars2.githubusercontent.com/u/5280619?v=4","gravatar_id":"","url":"https://api.github.com/users/vitogit","html_url":"https://github.com/vitogit","followers_url":"https://api.github.com/users/vitogit/followers","following_url":"https://api.github.com/users/vitogit/following{/other_user}","gists_url":"https://api.github.com/users/vitogit/gists{/gist_id}","starred_url":"https://api.github.com/users/vitogit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitogit/subscriptions","organizations_url":"https://api.github.com/users/vitogit/orgs","repos_url":"https://api.github.com/users/vitogit/repos","events_url":"https://api.github.com/users/vitogit/events{/privacy}","received_events_url":"https://api.github.com/users/vitogit/received_events","type":"User","site_admin":false},"body":"you don´t need the p, just the id #user-name should be enough","created_at":"2017-12-12T16:09:39Z","updated_at":"2017-12-12T16:09:39Z","html_url":"https://github.com/BelenRemedi/targetMVD/pull/14#discussion_r156413486","pull_request_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/comments/156413486"},"html":{"href":"https://github.com/BelenRemedi/targetMVD/pull/14#discussion_r156413486"},"pull_request":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14","id":157066463,"html_url":"https://github.com/BelenRemedi/targetMVD/pull/14","diff_url":"https://github.com/BelenRemedi/targetMVD/pull/14.diff","patch_url":"https://github.com/BelenRemedi/targetMVD/pull/14.patch","issue_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/14","number":14,"state":"open","locked":false,"title":"Add compatible target notification","user":{"login":"BelenRemedi","id":32131285,"avatar_url":"https://avatars0.githubusercontent.com/u/32131285?v=4","gravatar_id":"","url":"https://api.github.com/users/BelenRemedi","html_url":"https://github.com/BelenRemedi","followers_url":"https://api.github.com/users/BelenRemedi/followers","following_url":"https://api.github.com/users/BelenRemedi/following{/other_user}","gists_url":"https://api.github.com/users/BelenRemedi/gists{/gist_id}","starred_url":"https://api.github.com/users/BelenRemedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BelenRemedi/subscriptions","organizations_url":"https://api.github.com/users/BelenRemedi/orgs","repos_url":"https://api.github.com/users/BelenRemedi/repos","events_url":"https://api.github.com/users/BelenRemedi/events{/privacy}","received_events_url":"https://api.github.com/users/BelenRemedi/received_events","type":"User","site_admin":false},"body":"# Card:\r\nAs a user i should receive notifications when a compatible target has been created.\r\nAs a user i should be able to see the unread conversations count.\r\n\r\n# Description:\r\nNotification added when user created target match other user targets. \r\nUnread chat messages notifications added. ","created_at":"2017-12-07T18:18:11Z","updated_at":"2017-12-12T16:09:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a309edf770a60a0dd4506e676c4d438e4fb0c02","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14/commits","review_comments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14/comments","review_comment_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/14/comments","statuses_url":"https://api.github.com/repos/BelenRemedi/targetMVD/statuses/03570ecc26463bedfcb3151151447d2607990387","head":{"label":"BelenRemedi:notifications","ref":"notifications","sha":"03570ecc26463bedfcb3151151447d2607990387","user":{"login":"BelenRemedi","id":32131285,"avatar_url":"https://avatars0.githubusercontent.com/u/32131285?v=4","gravatar_id":"","url":"https://api.github.com/users/BelenRemedi","html_url":"https://github.com/BelenRemedi","followers_url":"https://api.github.com/users/BelenRemedi/followers","following_url":"https://api.github.com/users/BelenRemedi/following{/other_user}","gists_url":"https://api.github.com/users/BelenRemedi/gists{/gist_id}","starred_url":"https://api.github.com/users/BelenRemedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BelenRemedi/subscriptions","organizations_url":"https://api.github.com/users/BelenRemedi/orgs","repos_url":"https://api.github.com/users/BelenRemedi/repos","events_url":"https://api.github.com/users/BelenRemedi/events{/privacy}","received_events_url":"https://api.github.com/users/BelenRemedi/received_events","type":"User","site_admin":false},"repo":{"id":105289906,"name":"targetMVD","full_name":"BelenRemedi/targetMVD","owner":{"login":"BelenRemedi","id":32131285,"avatar_url":"https://avatars0.githubusercontent.com/u/32131285?v=4","gravatar_id":"","url":"https://api.github.com/users/BelenRemedi","html_url":"https://github.com/BelenRemedi","followers_url":"https://api.github.com/users/BelenRemedi/followers","following_url":"https://api.github.com/users/BelenRemedi/following{/other_user}","gists_url":"https://api.github.com/users/BelenRemedi/gists{/gist_id}","starred_url":"https://api.github.com/users/BelenRemedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BelenRemedi/subscriptions","organizations_url":"https://api.github.com/users/BelenRemedi/orgs","repos_url":"https://api.github.com/users/BelenRemedi/repos","events_url":"https://api.github.com/users/BelenRemedi/events{/privacy}","received_events_url":"https://api.github.com/users/BelenRemedi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BelenRemedi/targetMVD","description":null,"fork":false,"url":"https://api.github.com/repos/BelenRemedi/targetMVD","forks_url":"https://api.github.com/repos/BelenRemedi/targetMVD/forks","keys_url":"https://api.github.com/repos/BelenRemedi/targetMVD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BelenRemedi/targetMVD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BelenRemedi/targetMVD/teams","hooks_url":"https://api.github.com/repos/BelenRemedi/targetMVD/hooks","issue_events_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/events{/number}","events_url":"https://api.github.com/repos/BelenRemedi/targetMVD/events","assignees_url":"https://api.github.com/repos/BelenRemedi/targetMVD/assignees{/user}","branches_url":"https://api.github.com/repos/BelenRemedi/targetMVD/branches{/branch}","tags_url":"https://api.github.com/repos/BelenRemedi/targetMVD/tags","blobs_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/refs{/sha}","trees_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BelenRemedi/targetMVD/statuses/{sha}","languages_url":"https://api.github.com/repos/BelenRemedi/targetMVD/languages","stargazers_url":"https://api.github.com/repos/BelenRemedi/targetMVD/stargazers","contributors_url":"https://api.github.com/repos/BelenRemedi/targetMVD/contributors","subscribers_url":"https://api.github.com/repos/BelenRemedi/targetMVD/subscribers","subscription_url":"https://api.github.com/repos/BelenRemedi/targetMVD/subscription","commits_url":"https://api.github.com/repos/BelenRemedi/targetMVD/commits{/sha}","git_commits_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/commits{/sha}","comments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/comments{/number}","issue_comment_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/comments{/number}","contents_url":"https://api.github.com/repos/BelenRemedi/targetMVD/contents/{+path}","compare_url":"https://api.github.com/repos/BelenRemedi/targetMVD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BelenRemedi/targetMVD/merges","archive_url":"https://api.github.com/repos/BelenRemedi/targetMVD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BelenRemedi/targetMVD/downloads","issues_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues{/number}","pulls_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls{/number}","milestones_url":"https://api.github.com/repos/BelenRemedi/targetMVD/milestones{/number}","notifications_url":"https://api.github.com/repos/BelenRemedi/targetMVD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BelenRemedi/targetMVD/labels{/name}","releases_url":"https://api.github.com/repos/BelenRemedi/targetMVD/releases{/id}","deployments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/deployments","created_at":"2017-09-29T15:45:25Z","updated_at":"2017-11-03T16:15:25Z","pushed_at":"2017-12-12T15:47:52Z","git_url":"git://github.com/BelenRemedi/targetMVD.git","ssh_url":"git@github.com:BelenRemedi/targetMVD.git","clone_url":"https://github.com/BelenRemedi/targetMVD.git","svn_url":"https://github.com/BelenRemedi/targetMVD","homepage":null,"size":244,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"BelenRemedi:master","ref":"master","sha":"8c047dadbb17e935d6a48801b27e56ad1ec1c27a","user":{"login":"BelenRemedi","id":32131285,"avatar_url":"https://avatars0.githubusercontent.com/u/32131285?v=4","gravatar_id":"","url":"https://api.github.com/users/BelenRemedi","html_url":"https://github.com/BelenRemedi","followers_url":"https://api.github.com/users/BelenRemedi/followers","following_url":"https://api.github.com/users/BelenRemedi/following{/other_user}","gists_url":"https://api.github.com/users/BelenRemedi/gists{/gist_id}","starred_url":"https://api.github.com/users/BelenRemedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BelenRemedi/subscriptions","organizations_url":"https://api.github.com/users/BelenRemedi/orgs","repos_url":"https://api.github.com/users/BelenRemedi/repos","events_url":"https://api.github.com/users/BelenRemedi/events{/privacy}","received_events_url":"https://api.github.com/users/BelenRemedi/received_events","type":"User","site_admin":false},"repo":{"id":105289906,"name":"targetMVD","full_name":"BelenRemedi/targetMVD","owner":{"login":"BelenRemedi","id":32131285,"avatar_url":"https://avatars0.githubusercontent.com/u/32131285?v=4","gravatar_id":"","url":"https://api.github.com/users/BelenRemedi","html_url":"https://github.com/BelenRemedi","followers_url":"https://api.github.com/users/BelenRemedi/followers","following_url":"https://api.github.com/users/BelenRemedi/following{/other_user}","gists_url":"https://api.github.com/users/BelenRemedi/gists{/gist_id}","starred_url":"https://api.github.com/users/BelenRemedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BelenRemedi/subscriptions","organizations_url":"https://api.github.com/users/BelenRemedi/orgs","repos_url":"https://api.github.com/users/BelenRemedi/repos","events_url":"https://api.github.com/users/BelenRemedi/events{/privacy}","received_events_url":"https://api.github.com/users/BelenRemedi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BelenRemedi/targetMVD","description":null,"fork":false,"url":"https://api.github.com/repos/BelenRemedi/targetMVD","forks_url":"https://api.github.com/repos/BelenRemedi/targetMVD/forks","keys_url":"https://api.github.com/repos/BelenRemedi/targetMVD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BelenRemedi/targetMVD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BelenRemedi/targetMVD/teams","hooks_url":"https://api.github.com/repos/BelenRemedi/targetMVD/hooks","issue_events_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/events{/number}","events_url":"https://api.github.com/repos/BelenRemedi/targetMVD/events","assignees_url":"https://api.github.com/repos/BelenRemedi/targetMVD/assignees{/user}","branches_url":"https://api.github.com/repos/BelenRemedi/targetMVD/branches{/branch}","tags_url":"https://api.github.com/repos/BelenRemedi/targetMVD/tags","blobs_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/refs{/sha}","trees_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BelenRemedi/targetMVD/statuses/{sha}","languages_url":"https://api.github.com/repos/BelenRemedi/targetMVD/languages","stargazers_url":"https://api.github.com/repos/BelenRemedi/targetMVD/stargazers","contributors_url":"https://api.github.com/repos/BelenRemedi/targetMVD/contributors","subscribers_url":"https://api.github.com/repos/BelenRemedi/targetMVD/subscribers","subscription_url":"https://api.github.com/repos/BelenRemedi/targetMVD/subscription","commits_url":"https://api.github.com/repos/BelenRemedi/targetMVD/commits{/sha}","git_commits_url":"https://api.github.com/repos/BelenRemedi/targetMVD/git/commits{/sha}","comments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/comments{/number}","issue_comment_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/comments{/number}","contents_url":"https://api.github.com/repos/BelenRemedi/targetMVD/contents/{+path}","compare_url":"https://api.github.com/repos/BelenRemedi/targetMVD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BelenRemedi/targetMVD/merges","archive_url":"https://api.github.com/repos/BelenRemedi/targetMVD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BelenRemedi/targetMVD/downloads","issues_url":"https://api.github.com/repos/BelenRemedi/targetMVD/issues{/number}","pulls_url":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls{/number}","milestones_url":"https://api.github.com/repos/BelenRemedi/targetMVD/milestones{/number}","notifications_url":"https://api.github.com/repos/BelenRemedi/targetMVD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BelenRemedi/targetMVD/labels{/name}","releases_url":"https://api.github.com/repos/BelenRemedi/targetMVD/releases{/id}","deployments_url":"https://api.github.com/repos/BelenRemedi/targetMVD/deployments","created_at":"2017-09-29T15:45:25Z","updated_at":"2017-11-03T16:15:25Z","pushed_at":"2017-12-12T15:47:52Z","git_url":"git://github.com/BelenRemedi/targetMVD.git","ssh_url":"git@github.com:BelenRemedi/targetMVD.git","clone_url":"https://github.com/BelenRemedi/targetMVD.git","svn_url":"https://github.com/BelenRemedi/targetMVD","homepage":null,"size":244,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14"},"html":{"href":"https://github.com/BelenRemedi/targetMVD/pull/14"},"issue":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/14"},"comments":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/BelenRemedi/targetMVD/statuses/03570ecc26463bedfcb3151151447d2607990387"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vitogit"}}