{"action":"closed","number":6521,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521","id":76181812,"html_url":"https://github.com/Automattic/wp-calypso/pull/6521","diff_url":"https://github.com/Automattic/wp-calypso/pull/6521.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/6521.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6521","number":6521,"state":"closed","locked":false,"title":"Jetpack connect: refresh plans page when plans list is fetched","user":{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false},"body":"We currently have a bug in the jetpack connect premium & pro pages that cause a blank screen when the user finish authorizing their site if the plans info is not already stored locally.\r\n\r\nThis PR makes the page to be refreshed once the info is fetched, so we don't get stuck in that blank page.\r\n\r\nHow to test\r\n==========\r\n1. You need a jetpack site running latest's Jetpack master\r\n2. In a incognito window, go to calypso.localhost:3000/jetpack/connect/pro (you will need to be logged into your WordPress.com account, because if you are not, you will be redirected to .com once you log and the flow will be broken)\r\n3. enter your jetpack site url and wait until it's connected\r\n4. You should end in the checkout page, with a professional plan waiting to be paid for\r\n\r\nping @oskosk \n\nTest live: https://calypso.live/?branch=fix/jpc_plans","created_at":"2016-07-04T15:55:54Z","updated_at":"2016-07-05T07:45:11Z","closed_at":"2016-07-05T07:45:11Z","merged_at":"2016-07-05T07:45:11Z","merge_commit_sha":"1565251b7d954033116b1f756585643ab7d3ec75","assignee":{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/94","html_url":"https://github.com/Automattic/wp-calypso/milestones/Jetpack%20NUX%20m1","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/94/labels","id":1799332,"number":94,"title":"Jetpack NUX m1","description":"Iterating on Jetpack Connect and Premium Plugins Autoconfig, improvements to flows, testing alternatives","creator":{"login":"rickybanister","id":437258,"avatar_url":"https://avatars.githubusercontent.com/u/437258?v=3","gravatar_id":"","url":"https://api.github.com/users/rickybanister","html_url":"https://github.com/rickybanister","followers_url":"https://api.github.com/users/rickybanister/followers","following_url":"https://api.github.com/users/rickybanister/following{/other_user}","gists_url":"https://api.github.com/users/rickybanister/gists{/gist_id}","starred_url":"https://api.github.com/users/rickybanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickybanister/subscriptions","organizations_url":"https://api.github.com/users/rickybanister/orgs","repos_url":"https://api.github.com/users/rickybanister/repos","events_url":"https://api.github.com/users/rickybanister/events{/privacy}","received_events_url":"https://api.github.com/users/rickybanister/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":18,"state":"open","created_at":"2016-05-31T17:44:42Z","updated_at":"2016-07-05T07:45:11Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/6521/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/6e697fd7d54e0993e21823ba25d91b1ff40044cb","head":{"label":"Automattic:fix/jpc_plans","ref":"fix/jpc_plans","sha":"6e697fd7d54e0993e21823ba25d91b1ff40044cb","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-07-05T03:31:55Z","pushed_at":"2016-07-05T07:45:11Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":80647,"stargazers_count":7543,"watchers_count":7543,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":937,"mirror_url":null,"open_issues_count":1332,"forks":937,"open_issues":1332,"watchers":7543,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"658b173d48454d942421a70012bb4ea9da5bd931","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-07-05T03:31:55Z","pushed_at":"2016-07-05T07:45:11Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":80647,"stargazers_count":7543,"watchers_count":7543,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":937,"mirror_url":null,"open_issues_count":1332,"forks":937,"open_issues":1332,"watchers":7543,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/6521"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/6521"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/6521/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/6521/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/6e697fd7d54e0993e21823ba25d91b1ff40044cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"johnHackworth","id":1554855,"avatar_url":"https://avatars.githubusercontent.com/u/1554855?v=3","gravatar_id":"","url":"https://api.github.com/users/johnHackworth","html_url":"https://github.com/johnHackworth","followers_url":"https://api.github.com/users/johnHackworth/followers","following_url":"https://api.github.com/users/johnHackworth/following{/other_user}","gists_url":"https://api.github.com/users/johnHackworth/gists{/gist_id}","starred_url":"https://api.github.com/users/johnHackworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnHackworth/subscriptions","organizations_url":"https://api.github.com/users/johnHackworth/orgs","repos_url":"https://api.github.com/users/johnHackworth/repos","events_url":"https://api.github.com/users/johnHackworth/events{/privacy}","received_events_url":"https://api.github.com/users/johnHackworth/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":31,"deletions":14,"changed_files":4}}
{"actor":{"display_login":"johnHackworth"}}