{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/comments/45801886","id":45801886,"diff_hunk":"@@ -255,7 +235,7 @@ export default class WorkflowEditor extends Component {\n     props = props || this.props;\n     this.setState({loading: true});\n     setTimeout(() => {\n-      if (props.params && props.params.workflow) {\n+      if (props.params && props.params.workflow && props.params.workflow !== 'New Workflow') {","path":"apps/workflow_editor/views/WorkflowEditor.js","position":49,"original_position":49,"commit_id":"5fb5eaa7cfc0a2771b8a83c4b46be90e52b20ae3","original_commit_id":"5fb5eaa7cfc0a2771b8a83c4b46be90e52b20ae3","user":{"login":"rolandpoulter","id":51327,"avatar_url":"https://avatars.githubusercontent.com/u/51327?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandpoulter","html_url":"https://github.com/rolandpoulter","followers_url":"https://api.github.com/users/rolandpoulter/followers","following_url":"https://api.github.com/users/rolandpoulter/following{/other_user}","gists_url":"https://api.github.com/users/rolandpoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandpoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandpoulter/subscriptions","organizations_url":"https://api.github.com/users/rolandpoulter/orgs","repos_url":"https://api.github.com/users/rolandpoulter/repos","events_url":"https://api.github.com/users/rolandpoulter/events{/privacy}","received_events_url":"https://api.github.com/users/rolandpoulter/received_events","type":"User","site_admin":false},"body":"This change fixes the new workflow behavior.","created_at":"2015-11-24T22:07:00Z","updated_at":"2015-11-24T22:07:00Z","html_url":"https://github.com/RackHD/on-web-ui/pull/32#discussion_r45801886","pull_request_url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/comments/45801886"},"html":{"href":"https://github.com/RackHD/on-web-ui/pull/32#discussion_r45801886"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32","id":51724113,"html_url":"https://github.com/RackHD/on-web-ui/pull/32","diff_url":"https://github.com/RackHD/on-web-ui/pull/32.diff","patch_url":"https://github.com/RackHD/on-web-ui/pull/32.patch","issue_url":"https://api.github.com/repos/RackHD/on-web-ui/issues/32","number":32,"state":"open","locked":false,"title":"Fixes new workflow behavior.","user":{"login":"rolandpoulter","id":51327,"avatar_url":"https://avatars.githubusercontent.com/u/51327?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandpoulter","html_url":"https://github.com/rolandpoulter","followers_url":"https://api.github.com/users/rolandpoulter/followers","following_url":"https://api.github.com/users/rolandpoulter/following{/other_user}","gists_url":"https://api.github.com/users/rolandpoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandpoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandpoulter/subscriptions","organizations_url":"https://api.github.com/users/rolandpoulter/orgs","repos_url":"https://api.github.com/users/rolandpoulter/repos","events_url":"https://api.github.com/users/rolandpoulter/events{/privacy}","received_events_url":"https://api.github.com/users/rolandpoulter/received_events","type":"User","site_admin":false},"body":"Embedding the workflow editor inside monorail app routes caused the new workflow to never load. This fixes the logic that checks what workflow should be loaded. Also removed commented code.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/51327/11382059/7c1bde7e-92b4-11e5-933a-465a5b197bb8.png)\r\n","created_at":"2015-11-24T22:06:16Z","updated_at":"2015-11-24T22:07:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"879a8c622cf355e4fb0ae873afa9335e6fa70ecc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-web-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-web-ui/issues/32/comments","statuses_url":"https://api.github.com/repos/RackHD/on-web-ui/statuses/5fb5eaa7cfc0a2771b8a83c4b46be90e52b20ae3","head":{"label":"rolandpoulter:editor-fixes","ref":"editor-fixes","sha":"5fb5eaa7cfc0a2771b8a83c4b46be90e52b20ae3","user":{"login":"rolandpoulter","id":51327,"avatar_url":"https://avatars.githubusercontent.com/u/51327?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandpoulter","html_url":"https://github.com/rolandpoulter","followers_url":"https://api.github.com/users/rolandpoulter/followers","following_url":"https://api.github.com/users/rolandpoulter/following{/other_user}","gists_url":"https://api.github.com/users/rolandpoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandpoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandpoulter/subscriptions","organizations_url":"https://api.github.com/users/rolandpoulter/orgs","repos_url":"https://api.github.com/users/rolandpoulter/repos","events_url":"https://api.github.com/users/rolandpoulter/events{/privacy}","received_events_url":"https://api.github.com/users/rolandpoulter/received_events","type":"User","site_admin":false},"repo":{"id":45430519,"name":"on-web-ui","full_name":"rolandpoulter/on-web-ui","owner":{"login":"rolandpoulter","id":51327,"avatar_url":"https://avatars.githubusercontent.com/u/51327?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandpoulter","html_url":"https://github.com/rolandpoulter","followers_url":"https://api.github.com/users/rolandpoulter/followers","following_url":"https://api.github.com/users/rolandpoulter/following{/other_user}","gists_url":"https://api.github.com/users/rolandpoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandpoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandpoulter/subscriptions","organizations_url":"https://api.github.com/users/rolandpoulter/orgs","repos_url":"https://api.github.com/users/rolandpoulter/repos","events_url":"https://api.github.com/users/rolandpoulter/events{/privacy}","received_events_url":"https://api.github.com/users/rolandpoulter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rolandpoulter/on-web-ui","description":"","fork":true,"url":"https://api.github.com/repos/rolandpoulter/on-web-ui","forks_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/forks","keys_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/teams","hooks_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/hooks","issue_events_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/issues/events{/number}","events_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/events","assignees_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/assignees{/user}","branches_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/branches{/branch}","tags_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/tags","blobs_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/languages","stargazers_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/stargazers","contributors_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/contributors","subscribers_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/subscribers","subscription_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/subscription","commits_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/contents/{+path}","compare_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/merges","archive_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/downloads","issues_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/issues{/number}","pulls_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/labels{/name}","releases_url":"https://api.github.com/repos/rolandpoulter/on-web-ui/releases{/id}","created_at":"2015-11-03T00:13:55Z","updated_at":"2015-11-03T00:18:08Z","pushed_at":"2015-11-24T22:01:20Z","git_url":"git://github.com/rolandpoulter/on-web-ui.git","ssh_url":"git@github.com:rolandpoulter/on-web-ui.git","clone_url":"https://github.com/rolandpoulter/on-web-ui.git","svn_url":"https://github.com/rolandpoulter/on-web-ui","homepage":null,"size":1423,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RackHD:master","ref":"master","sha":"c69d14999c6c0659a927c4105bbd64e39ae4b959","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690128,"name":"on-web-ui","full_name":"RackHD/on-web-ui","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-web-ui","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-web-ui","forks_url":"https://api.github.com/repos/RackHD/on-web-ui/forks","keys_url":"https://api.github.com/repos/RackHD/on-web-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-web-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-web-ui/teams","hooks_url":"https://api.github.com/repos/RackHD/on-web-ui/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-web-ui/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-web-ui/events","assignees_url":"https://api.github.com/repos/RackHD/on-web-ui/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-web-ui/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-web-ui/tags","blobs_url":"https://api.github.com/repos/RackHD/on-web-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-web-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-web-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-web-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-web-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-web-ui/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-web-ui/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-web-ui/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-web-ui/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-web-ui/subscription","commits_url":"https://api.github.com/repos/RackHD/on-web-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-web-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-web-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-web-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-web-ui/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-web-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-web-ui/merges","archive_url":"https://api.github.com/repos/RackHD/on-web-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-web-ui/downloads","issues_url":"https://api.github.com/repos/RackHD/on-web-ui/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-web-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-web-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-web-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-web-ui/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-web-ui/releases{/id}","created_at":"2015-08-31T17:30:03Z","updated_at":"2015-11-02T22:56:22Z","pushed_at":"2015-11-24T22:06:17Z","git_url":"git://github.com/RackHD/on-web-ui.git","ssh_url":"git@github.com:RackHD/on-web-ui.git","clone_url":"https://github.com/RackHD/on-web-ui.git","svn_url":"https://github.com/RackHD/on-web-ui","homepage":null,"size":1412,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32"},"html":{"href":"https://github.com/RackHD/on-web-ui/pull/32"},"issue":{"href":"https://api.github.com/repos/RackHD/on-web-ui/issues/32"},"comments":{"href":"https://api.github.com/repos/RackHD/on-web-ui/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-web-ui/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-web-ui/statuses/5fb5eaa7cfc0a2771b8a83c4b46be90e52b20ae3"}}}}