{"action":"created","comment":{"url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/comments/200475916","pull_request_review_id":134776212,"id":200475916,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDQ3NTkxNg==","diff_hunk":"@@ -60,10 +62,12 @@ export class WorkflowFileEditorComponent extends FileEditing {\n \n     this.hostedService.editHostedWorkflow(\n         this.id,\n-        newSourceFiles).subscribe(result => {\n+        newSourceFiles).subscribe(workflow => {\n           this.toggleEdit();\n-          this.workflowService.setWorkflow(result);\n           this.refreshService.handleSuccess(message);\n+          this.workflowsService.getWorkflow(workflow.id).subscribe((workflow2) => {","path":"src/app/workflow/workflow-file-editor/workflow-file-editor.component.ts","position":27,"original_position":27,"commit_id":"2f8e30286dd5c433f66e2d4f7149c97a0fbb2af2","original_commit_id":"0e82af51dff7d6ddf803d271c0232c02572c4d80","user":{"login":"garyluu","id":24548904,"node_id":"MDQ6VXNlcjI0NTQ4OTA0","avatar_url":"https://avatars3.githubusercontent.com/u/24548904?v=4","gravatar_id":"","url":"https://api.github.com/users/garyluu","html_url":"https://github.com/garyluu","followers_url":"https://api.github.com/users/garyluu/followers","following_url":"https://api.github.com/users/garyluu/following{/other_user}","gists_url":"https://api.github.com/users/garyluu/gists{/gist_id}","starred_url":"https://api.github.com/users/garyluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyluu/subscriptions","organizations_url":"https://api.github.com/users/garyluu/orgs","repos_url":"https://api.github.com/users/garyluu/repos","events_url":"https://api.github.com/users/garyluu/events{/privacy}","received_events_url":"https://api.github.com/users/garyluu/received_events","type":"User","site_admin":false},"body":"type, what does the workflow of this endpoint return that the editHostedWorkflow endpoint doesn't return?","created_at":"2018-07-05T20:11:31Z","updated_at":"2018-07-05T20:17:34Z","html_url":"https://github.com/dockstore/dockstore-ui2/pull/331#discussion_r200475916","pull_request_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/comments/200475916"},"html":{"href":"https://github.com/dockstore/dockstore-ui2/pull/331#discussion_r200475916"},"pull_request":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331"}}},"pull_request":{"url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331","id":199479997,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NDc5OTk3","html_url":"https://github.com/dockstore/dockstore-ui2/pull/331","diff_url":"https://github.com/dockstore/dockstore-ui2/pull/331.diff","patch_url":"https://github.com/dockstore/dockstore-ui2/pull/331.patch","issue_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/331","number":331,"state":"open","locked":false,"title":"Feature/1413/permissionsui","user":{"login":"agduncan94","id":6331159,"node_id":"MDQ6VXNlcjYzMzExNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6331159?v=4","gravatar_id":"","url":"https://api.github.com/users/agduncan94","html_url":"https://github.com/agduncan94","followers_url":"https://api.github.com/users/agduncan94/followers","following_url":"https://api.github.com/users/agduncan94/following{/other_user}","gists_url":"https://api.github.com/users/agduncan94/gists{/gist_id}","starred_url":"https://api.github.com/users/agduncan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agduncan94/subscriptions","organizations_url":"https://api.github.com/users/agduncan94/orgs","repos_url":"https://api.github.com/users/agduncan94/repos","events_url":"https://api.github.com/users/agduncan94/events{/privacy}","received_events_url":"https://api.github.com/users/agduncan94/received_events","type":"User","site_admin":false},"body":"* Google users can share workflows from the permissions tab\r\n* Slight redesign of the my workflows page to better use the screen\r\n* Users can view and perform operations on shared workflows based on their permissions\r\n\r\nSince this is a bit of a larger change, I recommend trying it out locally to look for any bugs.\r\n\r\nTODO:\r\nCharles changed the way shared workflows are returned to be a map with role to workflows where user has the given role. I did not take advantage of this due to wanting to get this merged, but it will add some cleanup in the future.\r\n\r\nMore in depth tests, currently we just check that buttons are visible/disabled or not.","created_at":"2018-07-05T13:59:51Z","updated_at":"2018-07-05T20:17:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0f42ae23f66babb60d9c92b3e311142bef7f184","assignee":{"login":"agduncan94","id":6331159,"node_id":"MDQ6VXNlcjYzMzExNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6331159?v=4","gravatar_id":"","url":"https://api.github.com/users/agduncan94","html_url":"https://github.com/agduncan94","followers_url":"https://api.github.com/users/agduncan94/followers","following_url":"https://api.github.com/users/agduncan94/following{/other_user}","gists_url":"https://api.github.com/users/agduncan94/gists{/gist_id}","starred_url":"https://api.github.com/users/agduncan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agduncan94/subscriptions","organizations_url":"https://api.github.com/users/agduncan94/orgs","repos_url":"https://api.github.com/users/agduncan94/repos","events_url":"https://api.github.com/users/agduncan94/events{/privacy}","received_events_url":"https://api.github.com/users/agduncan94/received_events","type":"User","site_admin":false},"assignees":[{"login":"agduncan94","id":6331159,"node_id":"MDQ6VXNlcjYzMzExNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6331159?v=4","gravatar_id":"","url":"https://api.github.com/users/agduncan94","html_url":"https://github.com/agduncan94","followers_url":"https://api.github.com/users/agduncan94/followers","following_url":"https://api.github.com/users/agduncan94/following{/other_user}","gists_url":"https://api.github.com/users/agduncan94/gists{/gist_id}","starred_url":"https://api.github.com/users/agduncan94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agduncan94/subscriptions","organizations_url":"https://api.github.com/users/agduncan94/orgs","repos_url":"https://api.github.com/users/agduncan94/repos","events_url":"https://api.github.com/users/agduncan94/events{/privacy}","received_events_url":"https://api.github.com/users/agduncan94/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"coverbeck","id":1049340,"node_id":"MDQ6VXNlcjEwNDkzNDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1049340?v=4","gravatar_id":"","url":"https://api.github.com/users/coverbeck","html_url":"https://github.com/coverbeck","followers_url":"https://api.github.com/users/coverbeck/followers","following_url":"https://api.github.com/users/coverbeck/following{/other_user}","gists_url":"https://api.github.com/users/coverbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/coverbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coverbeck/subscriptions","organizations_url":"https://api.github.com/users/coverbeck/orgs","repos_url":"https://api.github.com/users/coverbeck/repos","events_url":"https://api.github.com/users/coverbeck/events{/privacy}","received_events_url":"https://api.github.com/users/coverbeck/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331/commits","review_comments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331/comments","review_comment_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/331/comments","statuses_url":"https://api.github.com/repos/dockstore/dockstore-ui2/statuses/2f8e30286dd5c433f66e2d4f7149c97a0fbb2af2","head":{"label":"dockstore:feature/1413/permissionsui","ref":"feature/1413/permissionsui","sha":"2f8e30286dd5c433f66e2d4f7149c97a0fbb2af2","user":{"login":"dockstore","id":25392449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzkyNDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/25392449?v=4","gravatar_id":"","url":"https://api.github.com/users/dockstore","html_url":"https://github.com/dockstore","followers_url":"https://api.github.com/users/dockstore/followers","following_url":"https://api.github.com/users/dockstore/following{/other_user}","gists_url":"https://api.github.com/users/dockstore/gists{/gist_id}","starred_url":"https://api.github.com/users/dockstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockstore/subscriptions","organizations_url":"https://api.github.com/users/dockstore/orgs","repos_url":"https://api.github.com/users/dockstore/repos","events_url":"https://api.github.com/users/dockstore/events{/privacy}","received_events_url":"https://api.github.com/users/dockstore/received_events","type":"Organization","site_admin":false},"repo":{"id":85749030,"node_id":"MDEwOlJlcG9zaXRvcnk4NTc0OTAzMA==","name":"dockstore-ui2","full_name":"dockstore/dockstore-ui2","owner":{"login":"dockstore","id":25392449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzkyNDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/25392449?v=4","gravatar_id":"","url":"https://api.github.com/users/dockstore","html_url":"https://github.com/dockstore","followers_url":"https://api.github.com/users/dockstore/followers","following_url":"https://api.github.com/users/dockstore/following{/other_user}","gists_url":"https://api.github.com/users/dockstore/gists{/gist_id}","starred_url":"https://api.github.com/users/dockstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockstore/subscriptions","organizations_url":"https://api.github.com/users/dockstore/orgs","repos_url":"https://api.github.com/users/dockstore/repos","events_url":"https://api.github.com/users/dockstore/events{/privacy}","received_events_url":"https://api.github.com/users/dockstore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dockstore/dockstore-ui2","description":"A repo for migrating dockstore-ui from AngularJS to Angular2 and implementing search","fork":false,"url":"https://api.github.com/repos/dockstore/dockstore-ui2","forks_url":"https://api.github.com/repos/dockstore/dockstore-ui2/forks","keys_url":"https://api.github.com/repos/dockstore/dockstore-ui2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dockstore/dockstore-ui2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dockstore/dockstore-ui2/teams","hooks_url":"https://api.github.com/repos/dockstore/dockstore-ui2/hooks","issue_events_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/events{/number}","events_url":"https://api.github.com/repos/dockstore/dockstore-ui2/events","assignees_url":"https://api.github.com/repos/dockstore/dockstore-ui2/assignees{/user}","branches_url":"https://api.github.com/repos/dockstore/dockstore-ui2/branches{/branch}","tags_url":"https://api.github.com/repos/dockstore/dockstore-ui2/tags","blobs_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dockstore/dockstore-ui2/statuses/{sha}","languages_url":"https://api.github.com/repos/dockstore/dockstore-ui2/languages","stargazers_url":"https://api.github.com/repos/dockstore/dockstore-ui2/stargazers","contributors_url":"https://api.github.com/repos/dockstore/dockstore-ui2/contributors","subscribers_url":"https://api.github.com/repos/dockstore/dockstore-ui2/subscribers","subscription_url":"https://api.github.com/repos/dockstore/dockstore-ui2/subscription","commits_url":"https://api.github.com/repos/dockstore/dockstore-ui2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dockstore/dockstore-ui2/contents/{+path}","compare_url":"https://api.github.com/repos/dockstore/dockstore-ui2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dockstore/dockstore-ui2/merges","archive_url":"https://api.github.com/repos/dockstore/dockstore-ui2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dockstore/dockstore-ui2/downloads","issues_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues{/number}","pulls_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls{/number}","milestones_url":"https://api.github.com/repos/dockstore/dockstore-ui2/milestones{/number}","notifications_url":"https://api.github.com/repos/dockstore/dockstore-ui2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dockstore/dockstore-ui2/labels{/name}","releases_url":"https://api.github.com/repos/dockstore/dockstore-ui2/releases{/id}","deployments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/deployments","created_at":"2017-03-21T20:17:13Z","updated_at":"2018-07-03T21:23:50Z","pushed_at":"2018-07-05T20:08:56Z","git_url":"git://github.com/dockstore/dockstore-ui2.git","ssh_url":"git@github.com:dockstore/dockstore-ui2.git","clone_url":"https://github.com/dockstore/dockstore-ui2.git","svn_url":"https://github.com/dockstore/dockstore-ui2","homepage":"","size":23267,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":4,"default_branch":"develop"}},"base":{"label":"dockstore:develop","ref":"develop","sha":"01eee2b3a529d5481886249415f1de7e40c61573","user":{"login":"dockstore","id":25392449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzkyNDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/25392449?v=4","gravatar_id":"","url":"https://api.github.com/users/dockstore","html_url":"https://github.com/dockstore","followers_url":"https://api.github.com/users/dockstore/followers","following_url":"https://api.github.com/users/dockstore/following{/other_user}","gists_url":"https://api.github.com/users/dockstore/gists{/gist_id}","starred_url":"https://api.github.com/users/dockstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockstore/subscriptions","organizations_url":"https://api.github.com/users/dockstore/orgs","repos_url":"https://api.github.com/users/dockstore/repos","events_url":"https://api.github.com/users/dockstore/events{/privacy}","received_events_url":"https://api.github.com/users/dockstore/received_events","type":"Organization","site_admin":false},"repo":{"id":85749030,"node_id":"MDEwOlJlcG9zaXRvcnk4NTc0OTAzMA==","name":"dockstore-ui2","full_name":"dockstore/dockstore-ui2","owner":{"login":"dockstore","id":25392449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzkyNDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/25392449?v=4","gravatar_id":"","url":"https://api.github.com/users/dockstore","html_url":"https://github.com/dockstore","followers_url":"https://api.github.com/users/dockstore/followers","following_url":"https://api.github.com/users/dockstore/following{/other_user}","gists_url":"https://api.github.com/users/dockstore/gists{/gist_id}","starred_url":"https://api.github.com/users/dockstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockstore/subscriptions","organizations_url":"https://api.github.com/users/dockstore/orgs","repos_url":"https://api.github.com/users/dockstore/repos","events_url":"https://api.github.com/users/dockstore/events{/privacy}","received_events_url":"https://api.github.com/users/dockstore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dockstore/dockstore-ui2","description":"A repo for migrating dockstore-ui from AngularJS to Angular2 and implementing search","fork":false,"url":"https://api.github.com/repos/dockstore/dockstore-ui2","forks_url":"https://api.github.com/repos/dockstore/dockstore-ui2/forks","keys_url":"https://api.github.com/repos/dockstore/dockstore-ui2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dockstore/dockstore-ui2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dockstore/dockstore-ui2/teams","hooks_url":"https://api.github.com/repos/dockstore/dockstore-ui2/hooks","issue_events_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/events{/number}","events_url":"https://api.github.com/repos/dockstore/dockstore-ui2/events","assignees_url":"https://api.github.com/repos/dockstore/dockstore-ui2/assignees{/user}","branches_url":"https://api.github.com/repos/dockstore/dockstore-ui2/branches{/branch}","tags_url":"https://api.github.com/repos/dockstore/dockstore-ui2/tags","blobs_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dockstore/dockstore-ui2/statuses/{sha}","languages_url":"https://api.github.com/repos/dockstore/dockstore-ui2/languages","stargazers_url":"https://api.github.com/repos/dockstore/dockstore-ui2/stargazers","contributors_url":"https://api.github.com/repos/dockstore/dockstore-ui2/contributors","subscribers_url":"https://api.github.com/repos/dockstore/dockstore-ui2/subscribers","subscription_url":"https://api.github.com/repos/dockstore/dockstore-ui2/subscription","commits_url":"https://api.github.com/repos/dockstore/dockstore-ui2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dockstore/dockstore-ui2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dockstore/dockstore-ui2/contents/{+path}","compare_url":"https://api.github.com/repos/dockstore/dockstore-ui2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dockstore/dockstore-ui2/merges","archive_url":"https://api.github.com/repos/dockstore/dockstore-ui2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dockstore/dockstore-ui2/downloads","issues_url":"https://api.github.com/repos/dockstore/dockstore-ui2/issues{/number}","pulls_url":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls{/number}","milestones_url":"https://api.github.com/repos/dockstore/dockstore-ui2/milestones{/number}","notifications_url":"https://api.github.com/repos/dockstore/dockstore-ui2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dockstore/dockstore-ui2/labels{/name}","releases_url":"https://api.github.com/repos/dockstore/dockstore-ui2/releases{/id}","deployments_url":"https://api.github.com/repos/dockstore/dockstore-ui2/deployments","created_at":"2017-03-21T20:17:13Z","updated_at":"2018-07-03T21:23:50Z","pushed_at":"2018-07-05T20:08:56Z","git_url":"git://github.com/dockstore/dockstore-ui2.git","ssh_url":"git@github.com:dockstore/dockstore-ui2.git","clone_url":"https://github.com/dockstore/dockstore-ui2.git","svn_url":"https://github.com/dockstore/dockstore-ui2","homepage":"","size":23267,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331"},"html":{"href":"https://github.com/dockstore/dockstore-ui2/pull/331"},"issue":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/331"},"comments":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/issues/331/comments"},"review_comments":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331/comments"},"review_comment":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/pulls/331/commits"},"statuses":{"href":"https://api.github.com/repos/dockstore/dockstore-ui2/statuses/2f8e30286dd5c433f66e2d4f7149c97a0fbb2af2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"garyluu"}}