{"action":"closed","number":2054,"pull_request":{"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054","id":54421803,"html_url":"https://github.com/zooniverse/Panoptes-Front-End/pull/2054","diff_url":"https://github.com/zooniverse/Panoptes-Front-End/pull/2054.diff","patch_url":"https://github.com/zooniverse/Panoptes-Front-End/pull/2054.patch","issue_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/2054","number":2054,"state":"closed","locked":false,"title":"Ensure workflow on mount","user":{"login":"itsravenous","id":1737376,"avatar_url":"https://avatars.githubusercontent.com/u/1737376?v=3","gravatar_id":"","url":"https://api.github.com/users/itsravenous","html_url":"https://github.com/itsravenous","followers_url":"https://api.github.com/users/itsravenous/followers","following_url":"https://api.github.com/users/itsravenous/following{/other_user}","gists_url":"https://api.github.com/users/itsravenous/gists{/gist_id}","starred_url":"https://api.github.com/users/itsravenous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsravenous/subscriptions","organizations_url":"https://api.github.com/users/itsravenous/orgs","repos_url":"https://api.github.com/users/itsravenous/repos","events_url":"https://api.github.com/users/itsravenous/events{/privacy}","received_events_url":"https://api.github.com/users/itsravenous/received_events","type":"User","site_admin":false},"body":"Fixes #2048. @vrooje @eatyourgreens this addresses the issue in a non-hacky way, and retains the same subject (and any unfinished classification) when returning to \"classify\" from any other project route (research, talk, etc).\r\n\r\nAs [mentioned](https://github.com/zooniverse/Panoptes-Front-End/issues/2048#issuecomment-166705181) the fix is pretty simple: `@state.workflow` is restored in `componentDidMount` (which is called when hopping back to the classify page). Maybe this is helpful in general too.\r\n\r\nAlso addressed is @eatyourgreens concern that the Done & Talk calls `@loadAnotherSubject` without waiting for `@saveClassification`. Would have separated these but my laptop was dying and just needed to push the changes up before it went completely (writing this on other half's Windows laptop)!","created_at":"2015-12-22T22:21:25Z","updated_at":"2015-12-23T09:56:26Z","closed_at":"2015-12-23T09:56:26Z","merged_at":"2015-12-23T09:56:26Z","merge_commit_sha":"b62fb620bee894e9aead79236c471572c7fe6480","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054/commits","review_comments_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054/comments","review_comment_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/2054/comments","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/statuses/394d79743c1bd5bb4190c005eec384246b8deea3","head":{"label":"itsravenous:preserve_workflow_in_classify_page","ref":"preserve_workflow_in_classify_page","sha":"394d79743c1bd5bb4190c005eec384246b8deea3","user":{"login":"itsravenous","id":1737376,"avatar_url":"https://avatars.githubusercontent.com/u/1737376?v=3","gravatar_id":"","url":"https://api.github.com/users/itsravenous","html_url":"https://github.com/itsravenous","followers_url":"https://api.github.com/users/itsravenous/followers","following_url":"https://api.github.com/users/itsravenous/following{/other_user}","gists_url":"https://api.github.com/users/itsravenous/gists{/gist_id}","starred_url":"https://api.github.com/users/itsravenous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsravenous/subscriptions","organizations_url":"https://api.github.com/users/itsravenous/orgs","repos_url":"https://api.github.com/users/itsravenous/repos","events_url":"https://api.github.com/users/itsravenous/events{/privacy}","received_events_url":"https://api.github.com/users/itsravenous/received_events","type":"User","site_admin":false},"repo":{"id":43692843,"name":"Panoptes-Front-End","full_name":"itsravenous/Panoptes-Front-End","owner":{"login":"itsravenous","id":1737376,"avatar_url":"https://avatars.githubusercontent.com/u/1737376?v=3","gravatar_id":"","url":"https://api.github.com/users/itsravenous","html_url":"https://github.com/itsravenous","followers_url":"https://api.github.com/users/itsravenous/followers","following_url":"https://api.github.com/users/itsravenous/following{/other_user}","gists_url":"https://api.github.com/users/itsravenous/gists{/gist_id}","starred_url":"https://api.github.com/users/itsravenous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsravenous/subscriptions","organizations_url":"https://api.github.com/users/itsravenous/orgs","repos_url":"https://api.github.com/users/itsravenous/repos","events_url":"https://api.github.com/users/itsravenous/events{/privacy}","received_events_url":"https://api.github.com/users/itsravenous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itsravenous/Panoptes-Front-End","description":"Frontend for zooniverse/Panoptes","fork":true,"url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End","forks_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/forks","keys_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/teams","hooks_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/hooks","issue_events_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/issues/events{/number}","events_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/events","assignees_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/assignees{/user}","branches_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/branches{/branch}","tags_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/tags","blobs_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/statuses/{sha}","languages_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/languages","stargazers_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/stargazers","contributors_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/contributors","subscribers_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/subscribers","subscription_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/subscription","commits_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/contents/{+path}","compare_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/merges","archive_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/downloads","issues_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/issues{/number}","pulls_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/pulls{/number}","milestones_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/milestones{/number}","notifications_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/labels{/name}","releases_url":"https://api.github.com/repos/itsravenous/Panoptes-Front-End/releases{/id}","created_at":"2015-10-05T15:21:41Z","updated_at":"2015-10-05T15:21:43Z","pushed_at":"2015-12-22T19:21:41Z","git_url":"git://github.com/itsravenous/Panoptes-Front-End.git","ssh_url":"git@github.com:itsravenous/Panoptes-Front-End.git","clone_url":"https://github.com/itsravenous/Panoptes-Front-End.git","svn_url":"https://github.com/itsravenous/Panoptes-Front-End","homepage":"","size":9953,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"zooniverse:master","ref":"master","sha":"d13ced341930538e7ccbdce2290cce6ff61b2a0c","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":19498290,"name":"Panoptes-Front-End","full_name":"zooniverse/Panoptes-Front-End","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/Panoptes-Front-End","description":"Frontend for zooniverse/Panoptes","fork":false,"url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End","forks_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/forks","keys_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/teams","hooks_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/events","assignees_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/tags","blobs_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/languages","stargazers_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/subscription","commits_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/merges","archive_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/downloads","issues_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/releases{/id}","created_at":"2014-05-06T14:53:43Z","updated_at":"2015-11-20T16:33:25Z","pushed_at":"2015-12-23T09:56:27Z","git_url":"git://github.com/zooniverse/Panoptes-Front-End.git","ssh_url":"git@github.com:zooniverse/Panoptes-Front-End.git","clone_url":"https://github.com/zooniverse/Panoptes-Front-End.git","svn_url":"https://github.com/zooniverse/Panoptes-Front-End","homepage":"","size":10335,"stargazers_count":18,"watchers_count":18,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":252,"forks":24,"open_issues":252,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054"},"html":{"href":"https://github.com/zooniverse/Panoptes-Front-End/pull/2054"},"issue":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/2054"},"comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/issues/2054/comments"},"review_comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054/comments"},"review_comment":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/pulls/2054/commits"},"statuses":{"href":"https://api.github.com/repos/zooniverse/Panoptes-Front-End/statuses/394d79743c1bd5bb4190c005eec384246b8deea3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eatyourgreens","id":59547,"avatar_url":"https://avatars.githubusercontent.com/u/59547?v=3","gravatar_id":"","url":"https://api.github.com/users/eatyourgreens","html_url":"https://github.com/eatyourgreens","followers_url":"https://api.github.com/users/eatyourgreens/followers","following_url":"https://api.github.com/users/eatyourgreens/following{/other_user}","gists_url":"https://api.github.com/users/eatyourgreens/gists{/gist_id}","starred_url":"https://api.github.com/users/eatyourgreens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatyourgreens/subscriptions","organizations_url":"https://api.github.com/users/eatyourgreens/orgs","repos_url":"https://api.github.com/users/eatyourgreens/repos","events_url":"https://api.github.com/users/eatyourgreens/events{/privacy}","received_events_url":"https://api.github.com/users/eatyourgreens/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":10,"deletions":1,"changed_files":1}}