{"action":"created","comment":{"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments/168231078","pull_request_review_id":96563893,"id":168231078,"diff_hunk":"@@ -535,6 +597,9 @@ let UserStore = Reflux.createStore({\n       let eventLogs = res.body\n       this.update({ eventLogs }, () => {\n         this.searchLogs('')\n+        if (eventLogs.length) {","path":"app/src/scripts/admin/admin.store.js","position":89,"original_position":89,"commit_id":"af56969e9a421f7037cdd08fa18fdf8183ff679a","original_commit_id":"af56969e9a421f7037cdd08fa18fdf8183ff679a","user":{"login":"nellh","id":11369795,"avatar_url":"https://avatars3.githubusercontent.com/u/11369795?v=4","gravatar_id":"","url":"https://api.github.com/users/nellh","html_url":"https://github.com/nellh","followers_url":"https://api.github.com/users/nellh/followers","following_url":"https://api.github.com/users/nellh/following{/other_user}","gists_url":"https://api.github.com/users/nellh/gists{/gist_id}","starred_url":"https://api.github.com/users/nellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nellh/subscriptions","organizations_url":"https://api.github.com/users/nellh/orgs","repos_url":"https://api.github.com/users/nellh/repos","events_url":"https://api.github.com/users/nellh/events{/privacy}","received_events_url":"https://api.github.com/users/nellh/received_events","type":"User","site_admin":false},"body":"A guard like this can just be part of the filterLogs function, it looks like you duplicate it in different areas.","created_at":"2018-02-14T16:29:01Z","updated_at":"2018-02-14T16:48:06Z","html_url":"https://github.com/OpenNeuroOrg/openneuro/pull/382#discussion_r168231078","pull_request_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments/168231078"},"html":{"href":"https://github.com/OpenNeuroOrg/openneuro/pull/382#discussion_r168231078"},"pull_request":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382"}}},"pull_request":{"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382","id":166415134,"html_url":"https://github.com/OpenNeuroOrg/openneuro/pull/382","diff_url":"https://github.com/OpenNeuroOrg/openneuro/pull/382.diff","patch_url":"https://github.com/OpenNeuroOrg/openneuro/pull/382.patch","issue_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/382","number":382,"state":"open","locked":false,"title":"New graphs","user":{"login":"Xesme","id":24839005,"avatar_url":"https://avatars3.githubusercontent.com/u/24839005?v=4","gravatar_id":"","url":"https://api.github.com/users/Xesme","html_url":"https://github.com/Xesme","followers_url":"https://api.github.com/users/Xesme/followers","following_url":"https://api.github.com/users/Xesme/following{/other_user}","gists_url":"https://api.github.com/users/Xesme/gists{/gist_id}","starred_url":"https://api.github.com/users/Xesme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xesme/subscriptions","organizations_url":"https://api.github.com/users/Xesme/orgs","repos_url":"https://api.github.com/users/Xesme/repos","events_url":"https://api.github.com/users/Xesme/events{/privacy}","received_events_url":"https://api.github.com/users/Xesme/received_events","type":"User","site_admin":false},"body":"This pull request implements the following changes on branch **master**: \r\n- [x] Adds a new tab called graphs within admin screens.\r\n- [x] Adds a pie chart featuring current rate of successful and failed jobs.\r\n- [x] Adds a scatter chart featuring the number of successful jobs for each month with filterable year. \r\n- [x] Add a bar graph featuring number of successful and failed jobs for each month by filtered year.","created_at":"2018-02-01T00:36:52Z","updated_at":"2018-02-14T16:48:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":737791271,"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/labels/review","name":"review","color":"94d854","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382/commits","review_comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382/comments","review_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/382/comments","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/af56969e9a421f7037cdd08fa18fdf8183ff679a","head":{"label":"OpenNeuroOrg:new-graphs","ref":"new-graphs","sha":"af56969e9a421f7037cdd08fa18fdf8183ff679a","user":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":100310240,"name":"openneuro","full_name":"OpenNeuroOrg/openneuro","owner":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenNeuroOrg/openneuro","description":"A free and open platform for analyzing and sharing neuroimaging data","fork":false,"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro","forks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/forks","keys_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/teams","hooks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/hooks","issue_events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/events{/number}","events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/events","assignees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/assignees{/user}","branches_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/branches{/branch}","tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/tags","blobs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/languages","stargazers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/stargazers","contributors_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contributors","subscribers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscribers","subscription_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscription","commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contents/{+path}","compare_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/merges","archive_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/downloads","issues_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues{/number}","pulls_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/labels{/name}","releases_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/releases{/id}","deployments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/deployments","created_at":"2017-08-14T21:17:17Z","updated_at":"2018-01-29T12:02:31Z","pushed_at":"2018-02-14T15:49:59Z","git_url":"git://github.com/OpenNeuroOrg/openneuro.git","ssh_url":"git@github.com:OpenNeuroOrg/openneuro.git","clone_url":"https://github.com/OpenNeuroOrg/openneuro.git","svn_url":"https://github.com/OpenNeuroOrg/openneuro","homepage":"https://openneuro.org/","size":9217,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":67,"license":null,"forks":5,"open_issues":67,"watchers":9,"default_branch":"master"}},"base":{"label":"OpenNeuroOrg:master","ref":"master","sha":"42d78a54060a80b62e1c583f0dd2b2b2e00984da","user":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":100310240,"name":"openneuro","full_name":"OpenNeuroOrg/openneuro","owner":{"login":"OpenNeuroOrg","id":30672233,"avatar_url":"https://avatars0.githubusercontent.com/u/30672233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenNeuroOrg","html_url":"https://github.com/OpenNeuroOrg","followers_url":"https://api.github.com/users/OpenNeuroOrg/followers","following_url":"https://api.github.com/users/OpenNeuroOrg/following{/other_user}","gists_url":"https://api.github.com/users/OpenNeuroOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNeuroOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNeuroOrg/subscriptions","organizations_url":"https://api.github.com/users/OpenNeuroOrg/orgs","repos_url":"https://api.github.com/users/OpenNeuroOrg/repos","events_url":"https://api.github.com/users/OpenNeuroOrg/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNeuroOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenNeuroOrg/openneuro","description":"A free and open platform for analyzing and sharing neuroimaging data","fork":false,"url":"https://api.github.com/repos/OpenNeuroOrg/openneuro","forks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/forks","keys_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/teams","hooks_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/hooks","issue_events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/events{/number}","events_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/events","assignees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/assignees{/user}","branches_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/branches{/branch}","tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/tags","blobs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/languages","stargazers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/stargazers","contributors_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contributors","subscribers_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscribers","subscription_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/subscription","commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/contents/{+path}","compare_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/merges","archive_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/downloads","issues_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues{/number}","pulls_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/labels{/name}","releases_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/releases{/id}","deployments_url":"https://api.github.com/repos/OpenNeuroOrg/openneuro/deployments","created_at":"2017-08-14T21:17:17Z","updated_at":"2018-01-29T12:02:31Z","pushed_at":"2018-02-14T15:49:59Z","git_url":"git://github.com/OpenNeuroOrg/openneuro.git","ssh_url":"git@github.com:OpenNeuroOrg/openneuro.git","clone_url":"https://github.com/OpenNeuroOrg/openneuro.git","svn_url":"https://github.com/OpenNeuroOrg/openneuro","homepage":"https://openneuro.org/","size":9217,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":67,"license":null,"forks":5,"open_issues":67,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382"},"html":{"href":"https://github.com/OpenNeuroOrg/openneuro/pull/382"},"issue":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/382"},"comments":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/issues/382/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/pulls/382/commits"},"statuses":{"href":"https://api.github.com/repos/OpenNeuroOrg/openneuro/statuses/af56969e9a421f7037cdd08fa18fdf8183ff679a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nellh"}}