{"action":"created","comment":{"url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/comments/177610344","pull_request_review_id":107512008,"id":177610344,"diff_hunk":"@@ -459,6 +473,18 @@ class PipelineSampleReport extends React.Component {\n     return displayed_categories;\n   }\n \n+  displayedSubcats(excludeSubcats) {\n+    let displayed_subcats = [];\n+    let all_subcats = Object.keys(this.category_child_parent);\n+    for (let i = 0; i < all_subcats.length; i++) {","path":"app/assets/src/components/PipelineSampleReport.jsx","position":87,"original_position":87,"commit_id":"051fafd6a62894ba93dc7f66044b7645a52ca3d9","original_commit_id":"051fafd6a62894ba93dc7f66044b7645a52ca3d9","user":{"login":"yunfangjuan","id":1704002,"avatar_url":"https://avatars0.githubusercontent.com/u/1704002?v=4","gravatar_id":"","url":"https://api.github.com/users/yunfangjuan","html_url":"https://github.com/yunfangjuan","followers_url":"https://api.github.com/users/yunfangjuan/followers","following_url":"https://api.github.com/users/yunfangjuan/following{/other_user}","gists_url":"https://api.github.com/users/yunfangjuan/gists{/gist_id}","starred_url":"https://api.github.com/users/yunfangjuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunfangjuan/subscriptions","organizations_url":"https://api.github.com/users/yunfangjuan/orgs","repos_url":"https://api.github.com/users/yunfangjuan/repos","events_url":"https://api.github.com/users/yunfangjuan/events{/privacy}","received_events_url":"https://api.github.com/users/yunfangjuan/received_events","type":"User","site_admin":false},"body":"i think you can do for(let subcat of all_subcats) ","created_at":"2018-03-28T00:26:10Z","updated_at":"2018-03-28T00:58:20Z","html_url":"https://github.com/chanzuckerberg/idseq-web/pull/1017#discussion_r177610344","pull_request_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/comments/177610344"},"html":{"href":"https://github.com/chanzuckerberg/idseq-web/pull/1017#discussion_r177610344"},"pull_request":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017"}}},"pull_request":{"url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017","id":176350530,"html_url":"https://github.com/chanzuckerberg/idseq-web/pull/1017","diff_url":"https://github.com/chanzuckerberg/idseq-web/pull/1017.diff","patch_url":"https://github.com/chanzuckerberg/idseq-web/pull/1017.patch","issue_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/1017","number":1017,"state":"open","locked":false,"title":"Charles/phage filter","user":{"login":"cdebourcy","id":16944816,"avatar_url":"https://avatars2.githubusercontent.com/u/16944816?v=4","gravatar_id":"","url":"https://api.github.com/users/cdebourcy","html_url":"https://github.com/cdebourcy","followers_url":"https://api.github.com/users/cdebourcy/followers","following_url":"https://api.github.com/users/cdebourcy/following{/other_user}","gists_url":"https://api.github.com/users/cdebourcy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdebourcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdebourcy/subscriptions","organizations_url":"https://api.github.com/users/cdebourcy/orgs","repos_url":"https://api.github.com/users/cdebourcy/repos","events_url":"https://api.github.com/users/cdebourcy/events{/privacy}","received_events_url":"https://api.github.com/users/cdebourcy/received_events","type":"User","site_admin":false},"body":"Adds an ad-hoc checkbox for phage to category filter.\r\nAlso changes the styles of the tags to match those on the sample page.\r\n\r\nFirst, you need to run\r\n```\r\nPipelineRun.all.map(&:update_genera)\r\nPipelineRun.all.map(&:update_is_phage)\r\n```\r\nUntil you do that, everything is classified as \"not a phage\" by default.","created_at":"2018-03-20T23:31:57Z","updated_at":"2018-03-28T00:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"940e5a40a5447dd8ae165d4c8be002534117cff0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":802223640,"url":"https://api.github.com/repos/chanzuckerberg/idseq-web/labels/Needs%20Review","name":"Needs Review","color":"8c5dbf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017/commits","review_comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017/comments","review_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/1017/comments","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/statuses/051fafd6a62894ba93dc7f66044b7645a52ca3d9","head":{"label":"chanzuckerberg:charles/phage-filter","ref":"charles/phage-filter","sha":"051fafd6a62894ba93dc7f66044b7645a52ca3d9","user":{"login":"chanzuckerberg","id":19917299,"avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":99148438,"name":"idseq-web","full_name":"chanzuckerberg/idseq-web","owner":{"login":"chanzuckerberg","id":19917299,"avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chanzuckerberg/idseq-web","description":null,"fork":false,"url":"https://api.github.com/repos/chanzuckerberg/idseq-web","forks_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/deployments","created_at":"2017-08-02T18:24:03Z","updated_at":"2018-03-27T18:31:08Z","pushed_at":"2018-03-28T00:46:09Z","git_url":"git://github.com/chanzuckerberg/idseq-web.git","ssh_url":"git@github.com:chanzuckerberg/idseq-web.git","clone_url":"https://github.com/chanzuckerberg/idseq-web.git","svn_url":"https://github.com/chanzuckerberg/idseq-web","homepage":"https://idseq.net/","size":45636,"stargazers_count":6,"watchers_count":6,"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":124,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":124,"watchers":6,"default_branch":"master"}},"base":{"label":"chanzuckerberg:master","ref":"master","sha":"9e0f498cd2e5adcd7bc7ac2b259bb1c4d3e3501e","user":{"login":"chanzuckerberg","id":19917299,"avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":99148438,"name":"idseq-web","full_name":"chanzuckerberg/idseq-web","owner":{"login":"chanzuckerberg","id":19917299,"avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chanzuckerberg/idseq-web","description":null,"fork":false,"url":"https://api.github.com/repos/chanzuckerberg/idseq-web","forks_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/idseq-web/deployments","created_at":"2017-08-02T18:24:03Z","updated_at":"2018-03-27T18:31:08Z","pushed_at":"2018-03-28T00:46:09Z","git_url":"git://github.com/chanzuckerberg/idseq-web.git","ssh_url":"git@github.com:chanzuckerberg/idseq-web.git","clone_url":"https://github.com/chanzuckerberg/idseq-web.git","svn_url":"https://github.com/chanzuckerberg/idseq-web","homepage":"https://idseq.net/","size":45636,"stargazers_count":6,"watchers_count":6,"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":124,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":124,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017"},"html":{"href":"https://github.com/chanzuckerberg/idseq-web/pull/1017"},"issue":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/1017"},"comments":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/issues/1017/comments"},"review_comments":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017/comments"},"review_comment":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/pulls/1017/commits"},"statuses":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-web/statuses/051fafd6a62894ba93dc7f66044b7645a52ca3d9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yunfangjuan"}}