{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5244","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5244/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5244/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5244/events","html_url":"https://github.com/Automattic/wp-calypso/pull/5244","id":153277447,"number":5244,"title":"Jetpack Plans: New UI & switch to redux process for the automated setup","user":{"login":"ryelle","id":541093,"avatar_url":"https://avatars.githubusercontent.com/u/541093?v=3","gravatar_id":"","url":"https://api.github.com/users/ryelle","html_url":"https://github.com/ryelle","followers_url":"https://api.github.com/users/ryelle/followers","following_url":"https://api.github.com/users/ryelle/following{/other_user}","gists_url":"https://api.github.com/users/ryelle/gists{/gist_id}","starred_url":"https://api.github.com/users/ryelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryelle/subscriptions","organizations_url":"https://api.github.com/users/ryelle/orgs","repos_url":"https://api.github.com/users/ryelle/repos","events_url":"https://api.github.com/users/ryelle/events{/privacy}","received_events_url":"https://api.github.com/users/ryelle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/.org%20Plans","name":".org Plans","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20In%20Progress","name":"[Status] In Progress","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"ryelle","id":541093,"avatar_url":"https://avatars.githubusercontent.com/u/541093?v=3","gravatar_id":"","url":"https://api.github.com/users/ryelle","html_url":"https://github.com/ryelle","followers_url":"https://api.github.com/users/ryelle/followers","following_url":"https://api.github.com/users/ryelle/following{/other_user}","gists_url":"https://api.github.com/users/ryelle/gists{/gist_id}","starred_url":"https://api.github.com/users/ryelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryelle/subscriptions","organizations_url":"https://api.github.com/users/ryelle/orgs","repos_url":"https://api.github.com/users/ryelle/repos","events_url":"https://api.github.com/users/ryelle/events{/privacy}","received_events_url":"https://api.github.com/users/ryelle/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-05T17:11:12Z","updated_at":"2016-05-09T12:45:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5244","html_url":"https://github.com/Automattic/wp-calypso/pull/5244","diff_url":"https://github.com/Automattic/wp-calypso/pull/5244.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/5244.patch"},"body":"This adds a much nicer UI for automatically setting up plugins purchased in a wordpress.org plan. After purchasing a plan, the user will be redirected to this page (redirect not set up yet), where we will try to install & set up the plugins they've just bought.\r\n\r\nPreview: https://cloudup.com/cLIJ99_Njhu\r\n\r\nThis depends on #4878 being merged first, as it uses the redux state/actions set up there.\r\n\r\nThe most basic test:\r\n\r\n- Have a connected Jetpack site with Premium or Business, and no VaultPress, Akismet, or Polldaddy installed.\r\n- Visit http://calypso.localhost:3000/plugins/setup/{site}\r\n- Watch as it installs VaultPress, Akismet, and (if you're Business) Polldaddy _(the plugins installed are controlled by a wp.com API response, and can be configured if plans change)_\r\n- Visit your website's wp-admin, you should see a \"Welcome to VaultPress\" message, and Akismet & Polldaddy will be (silently) set up.\r\n- If you'd rather check this in your database, you'll see the `vaultpress`, `wordpress_api_key`, and `polldaddy_api_key` are all set with your keys.\r\n\r\ncc @johnHackworth @rickybanister\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/217854119","html_url":"https://github.com/Automattic/wp-calypso/pull/5244#issuecomment-217854119","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5244","id":217854119,"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},"created_at":"2016-05-09T12:45:06Z","updated_at":"2016-05-09T12:45:06Z","body":"Well, I have commit some changes dealing with the cases I talked about up there:\r\n\r\nhttps://github.com/Automattic/wp-calypso/pull/5244/commits/1ef3fd8a743a08a80d5b355f16b3bb2e607d0b7e\r\n\r\nThis is how it looks when you go to /plugins/setup now with an empty sites list:\r\n\r\n![untitled screencast 13](https://cloud.githubusercontent.com/assets/1554855/15113366/22ee8126-15f4-11e6-8a3a-2ad82382620a.gif)\r\n( video for better quality... you can't tell the titles placeholder in the gif: https://cloudup.com/cmLhQmS_W72 )\r\n\r\n\r\nAnd the same, with a localStorage-cached sites list:\r\n![untitled screencast 14](https://cloud.githubusercontent.com/assets/1554855/15113379/31a55190-15f4-11e6-9a8a-fad668ebedf2.gif)\r\n\r\nIf you see anything wrong or you have any other idea on how to deal with that problem, please, don't  hesitate to rollback my commit :)\r\n\r\n"}}