{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/47161273","id":47161273,"diff_hunk":"@@ -294,6 +294,13 @@\n                 scope.cacheNextItems = [];\n                 scope.cachePreviousItems = [];\n                 scope.limited = (monitoring.singleGroup || scope.group.type === 'highlights') ? false : true;\n+                scope.stageLookup = {};\n+\n+                if (scope.group.type === 'stage') {","path":"client/app/scripts/superdesk-monitoring/monitoring.js","position":6,"original_position":6,"commit_id":"a81949ce1967e11508a515fd161a699548bcae46","original_commit_id":"a81949ce1967e11508a515fd161a699548bcae46","user":{"login":"akintolga","id":8636746,"avatar_url":"https://avatars.githubusercontent.com/u/8636746?v=3","gravatar_id":"","url":"https://api.github.com/users/akintolga","html_url":"https://github.com/akintolga","followers_url":"https://api.github.com/users/akintolga/followers","following_url":"https://api.github.com/users/akintolga/following{/other_user}","gists_url":"https://api.github.com/users/akintolga/gists{/gist_id}","starred_url":"https://api.github.com/users/akintolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akintolga/subscriptions","organizations_url":"https://api.github.com/users/akintolga/orgs","repos_url":"https://api.github.com/users/akintolga/repos","events_url":"https://api.github.com/users/akintolga/events{/privacy}","received_events_url":"https://api.github.com/users/akintolga/received_events","type":"User","site_admin":false},"body":"Thanks for pointing out, it is supposed to be the incoming stage. I have double checked with PO's and they're happy that it will appear only on incoming and if that stage is not there in the desk monitoring view then they won't see the notifications.","created_at":"2015-12-09T22:19:38Z","updated_at":"2015-12-09T22:19:38Z","html_url":"https://github.com/superdesk/superdesk/pull/1516#discussion_r47161273","pull_request_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1516","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/47161273"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1516#discussion_r47161273"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1516"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/1516","id":53080048,"html_url":"https://github.com/superdesk/superdesk/pull/1516","diff_url":"https://github.com/superdesk/superdesk/pull/1516.diff","patch_url":"https://github.com/superdesk/superdesk/pull/1516.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk/issues/1516","number":1516,"state":"open","locked":false,"title":"[SD-3787] - Desk mention improvements","user":{"login":"akintolga","id":8636746,"avatar_url":"https://avatars.githubusercontent.com/u/8636746?v=3","gravatar_id":"","url":"https://api.github.com/users/akintolga","html_url":"https://github.com/akintolga","followers_url":"https://api.github.com/users/akintolga/followers","following_url":"https://api.github.com/users/akintolga/following{/other_user}","gists_url":"https://api.github.com/users/akintolga/gists{/gist_id}","starred_url":"https://api.github.com/users/akintolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akintolga/subscriptions","organizations_url":"https://api.github.com/users/akintolga/orgs","repos_url":"https://api.github.com/users/akintolga/repos","events_url":"https://api.github.com/users/akintolga/events{/privacy}","received_events_url":"https://api.github.com/users/akintolga/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-09T06:01:13Z","updated_at":"2015-12-09T22:19:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31b936fa48e4d84d7f176a4655029966f4044c7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1516/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1516/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk/issues/1516/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/a81949ce1967e11508a515fd161a699548bcae46","head":{"label":"akintolga:desk-mentions","ref":"desk-mentions","sha":"a81949ce1967e11508a515fd161a699548bcae46","user":{"login":"akintolga","id":8636746,"avatar_url":"https://avatars.githubusercontent.com/u/8636746?v=3","gravatar_id":"","url":"https://api.github.com/users/akintolga","html_url":"https://github.com/akintolga","followers_url":"https://api.github.com/users/akintolga/followers","following_url":"https://api.github.com/users/akintolga/following{/other_user}","gists_url":"https://api.github.com/users/akintolga/gists{/gist_id}","starred_url":"https://api.github.com/users/akintolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akintolga/subscriptions","organizations_url":"https://api.github.com/users/akintolga/orgs","repos_url":"https://api.github.com/users/akintolga/repos","events_url":"https://api.github.com/users/akintolga/events{/privacy}","received_events_url":"https://api.github.com/users/akintolga/received_events","type":"User","site_admin":false},"repo":{"id":30847038,"name":"superdesk","full_name":"akintolga/superdesk","owner":{"login":"akintolga","id":8636746,"avatar_url":"https://avatars.githubusercontent.com/u/8636746?v=3","gravatar_id":"","url":"https://api.github.com/users/akintolga","html_url":"https://github.com/akintolga","followers_url":"https://api.github.com/users/akintolga/followers","following_url":"https://api.github.com/users/akintolga/following{/other_user}","gists_url":"https://api.github.com/users/akintolga/gists{/gist_id}","starred_url":"https://api.github.com/users/akintolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akintolga/subscriptions","organizations_url":"https://api.github.com/users/akintolga/orgs","repos_url":"https://api.github.com/users/akintolga/repos","events_url":"https://api.github.com/users/akintolga/events{/privacy}","received_events_url":"https://api.github.com/users/akintolga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akintolga/superdesk","description":"","fork":true,"url":"https://api.github.com/repos/akintolga/superdesk","forks_url":"https://api.github.com/repos/akintolga/superdesk/forks","keys_url":"https://api.github.com/repos/akintolga/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akintolga/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akintolga/superdesk/teams","hooks_url":"https://api.github.com/repos/akintolga/superdesk/hooks","issue_events_url":"https://api.github.com/repos/akintolga/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/akintolga/superdesk/events","assignees_url":"https://api.github.com/repos/akintolga/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/akintolga/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/akintolga/superdesk/tags","blobs_url":"https://api.github.com/repos/akintolga/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akintolga/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akintolga/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/akintolga/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akintolga/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/akintolga/superdesk/languages","stargazers_url":"https://api.github.com/repos/akintolga/superdesk/stargazers","contributors_url":"https://api.github.com/repos/akintolga/superdesk/contributors","subscribers_url":"https://api.github.com/repos/akintolga/superdesk/subscribers","subscription_url":"https://api.github.com/repos/akintolga/superdesk/subscription","commits_url":"https://api.github.com/repos/akintolga/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/akintolga/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/akintolga/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/akintolga/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/akintolga/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/akintolga/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akintolga/superdesk/merges","archive_url":"https://api.github.com/repos/akintolga/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akintolga/superdesk/downloads","issues_url":"https://api.github.com/repos/akintolga/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/akintolga/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/akintolga/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/akintolga/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akintolga/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/akintolga/superdesk/releases{/id}","created_at":"2015-02-15T23:57:11Z","updated_at":"2015-09-01T02:50:42Z","pushed_at":"2015-12-09T06:00:39Z","git_url":"git://github.com/akintolga/superdesk.git","ssh_url":"git@github.com:akintolga/superdesk.git","clone_url":"https://github.com/akintolga/superdesk.git","svn_url":"https://github.com/akintolga/superdesk","homepage":null,"size":64426,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"cc51ea0522b03c3fd4ee02efadab36ef8923164d","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":23570030,"name":"superdesk","full_name":"superdesk/superdesk","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk","description":"Superdesk is an end-to-end news creation, production, curation, distribution, and publishing platform.","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk","forks_url":"https://api.github.com/repos/superdesk/superdesk/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk/releases{/id}","created_at":"2014-09-02T07:56:17Z","updated_at":"2015-12-08T05:33:33Z","pushed_at":"2015-12-09T20:48:57Z","git_url":"git://github.com/superdesk/superdesk.git","ssh_url":"git@github.com:superdesk/superdesk.git","clone_url":"https://github.com/superdesk/superdesk.git","svn_url":"https://github.com/superdesk/superdesk","homepage":"http://www.superdesk.org/","size":70165,"stargazers_count":47,"watchers_count":47,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":9,"forks":38,"open_issues":9,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1516"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1516"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1516"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1516/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1516/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1516/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk/statuses/a81949ce1967e11508a515fd161a699548bcae46"}}}}