{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/83658208","pull_request_review_id":4486827,"id":83658208,"diff_hunk":"@@ -0,0 +1,77 @@\n+/**\n+ * External dependencies\n+ */\n+import React, { Component, PropTypes } from 'react';\n+import { localize } from 'i18n-calypso';\n+\n+/**\n+ * Internal dependencies\n+ */\n+import CompactCard from 'components/card/compact';\n+import {\n+\tEmail,\n+\tPassword,\n+\tCreateAccountTip,\n+\tSubmitSection,\n+\tWPOrgURL,\n+} from './fields';\n+\n+class Pressable extends Component {","path":"client/my-sites/guided-transfer/host-credentials-page/pressable.jsx","position":19,"original_position":19,"commit_id":"1554026a297a7d58e2c6b529bca0e60de1daafec","original_commit_id":"1554026a297a7d58e2c6b529bca0e60de1daafec","user":{"login":"omarjackman","id":1854440,"avatar_url":"https://avatars.githubusercontent.com/u/1854440?v=3","gravatar_id":"","url":"https://api.github.com/users/omarjackman","html_url":"https://github.com/omarjackman","followers_url":"https://api.github.com/users/omarjackman/followers","following_url":"https://api.github.com/users/omarjackman/following{/other_user}","gists_url":"https://api.github.com/users/omarjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/omarjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarjackman/subscriptions","organizations_url":"https://api.github.com/users/omarjackman/orgs","repos_url":"https://api.github.com/users/omarjackman/repos","events_url":"https://api.github.com/users/omarjackman/events{/privacy}","received_events_url":"https://api.github.com/users/omarjackman/received_events","type":"User","site_admin":false},"body":"I know you didn't introduce this but I think these `host-credentials-page` components could/should be stateless functions instead of classes. From what I've read React plans to add performance optimizations for stateless functions that we'll be able to take advantage of.","created_at":"2016-10-17T14:41:15Z","updated_at":"2016-10-17T14:41:15Z","html_url":"https://github.com/Automattic/wp-calypso/pull/8170#discussion_r83658208","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/83658208"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/8170#discussion_r83658208"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170","id":86367750,"html_url":"https://github.com/Automattic/wp-calypso/pull/8170","diff_url":"https://github.com/Automattic/wp-calypso/pull/8170.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/8170.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8170","number":8170,"state":"open","locked":false,"title":"Make it possible to do a Guided Transfer to Pressable.","user":{"login":"dllh","id":2738252,"avatar_url":"https://avatars.githubusercontent.com/u/2738252?v=3","gravatar_id":"","url":"https://api.github.com/users/dllh","html_url":"https://github.com/dllh","followers_url":"https://api.github.com/users/dllh/followers","following_url":"https://api.github.com/users/dllh/following{/other_user}","gists_url":"https://api.github.com/users/dllh/gists{/gist_id}","starred_url":"https://api.github.com/users/dllh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dllh/subscriptions","organizations_url":"https://api.github.com/users/dllh/orgs","repos_url":"https://api.github.com/users/dllh/repos","events_url":"https://api.github.com/users/dllh/events{/privacy}","received_events_url":"https://api.github.com/users/dllh/received_events","type":"User","site_admin":false},"body":"We've been working on adding Guided Transfer to Calypso generally, and are ready for test of that. Before we test, I'd like to get Pressable transfers into Calypso as well, so that we can test all the use cases we hope to ship with.\r\n\r\nThe code here is based on code that has already been reviewed and duplicates patterns and components in use for the hosts that have already landed, so from a code review perspective, this should be pretty simple.\r\n\r\n**To test:** \r\n\r\n1. Set up an account and a test site at pressable.com, with a domain.\r\n2. In Calypso, go to My Sites and choose a site for which you have no Guided Transfer subscription.\r\n3. Now navigate to Settings -> Export and choose the Guided Transfer option.\r\n4. Select Pressable as the host.\r\n5. Enter credentials and the domain you wish to transfer to in your Pressable account.\r\n6. Once credentials have been validated, complete the purchase (consider giving yourself a coupon to ease the testing process)\r\n\r\n**What to expect**\r\nYou should get an email letting you know that the purchase is complete and another letting you know that the GT will be started.\r\n\r\nAfter a few minutes, the transfer should complete automatically, but you can check with GT HEs or check the GT queue for your transfer to see details.\r\n\r\n**Things to test or consider**\r\n- Supply incorrect hosting credentials.\r\n- Try buying a transfer for a site that already had a transfer subscription.\r\n- Try initiating a transfer for a site with a premium theme or custom fonts.\r\n- Does the email make sense?\r\n- Does the transfer work?\r\n\r\n**Screen Shots**\r\n\r\nExport Screen:\r\n![screen shot 2016-10-12 at 2 55 31 pm](https://cloud.githubusercontent.com/assets/2738252/19323793/60b716b8-908c-11e6-9180-39a587ec50f2.png)\r\n\r\nHost Selection:\r\n![screen shot 2016-10-12 at 2 55 42 pm](https://cloud.githubusercontent.com/assets/2738252/19323804/736ab58a-908c-11e6-9369-116442db26b9.png)\r\n\r\nCredential Entry:\r\n![screen shot 2016-10-12 at 2 55 50 pm](https://cloud.githubusercontent.com/assets/2738252/19323819/823926b4-908c-11e6-868a-b58aaa2c46b0.png)\r\n\r\nPost-purchase Screen:\r\n![screen shot 2016-10-12 at 2 58 15 pm](https://cloud.githubusercontent.com/assets/2738252/19323839/955c0e00-908c-11e6-97e6-671e20eeebe7.png)\r\n","created_at":"2016-09-22T16:08:12Z","updated_at":"2016-10-17T14:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18d55599c97e5b9aa31c5fa6e398971fa9da2d85","assignee":{"login":"dllh","id":2738252,"avatar_url":"https://avatars.githubusercontent.com/u/2738252?v=3","gravatar_id":"","url":"https://api.github.com/users/dllh","html_url":"https://github.com/dllh","followers_url":"https://api.github.com/users/dllh/followers","following_url":"https://api.github.com/users/dllh/following{/other_user}","gists_url":"https://api.github.com/users/dllh/gists{/gist_id}","starred_url":"https://api.github.com/users/dllh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dllh/subscriptions","organizations_url":"https://api.github.com/users/dllh/orgs","repos_url":"https://api.github.com/users/dllh/repos","events_url":"https://api.github.com/users/dllh/events{/privacy}","received_events_url":"https://api.github.com/users/dllh/received_events","type":"User","site_admin":false},"assignees":[{"login":"dllh","id":2738252,"avatar_url":"https://avatars.githubusercontent.com/u/2738252?v=3","gravatar_id":"","url":"https://api.github.com/users/dllh","html_url":"https://github.com/dllh","followers_url":"https://api.github.com/users/dllh/followers","following_url":"https://api.github.com/users/dllh/following{/other_user}","gists_url":"https://api.github.com/users/dllh/gists{/gist_id}","starred_url":"https://api.github.com/users/dllh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dllh/subscriptions","organizations_url":"https://api.github.com/users/dllh/orgs","repos_url":"https://api.github.com/users/dllh/repos","events_url":"https://api.github.com/users/dllh/events{/privacy}","received_events_url":"https://api.github.com/users/dllh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170/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/8170/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/1554026a297a7d58e2c6b529bca0e60de1daafec","head":{"label":"Automattic:update/gt-add-pressable","ref":"update/gt-add-pressable","sha":"1554026a297a7d58e2c6b529bca0e60de1daafec","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-10-17T07:00:57Z","pushed_at":"2016-10-17T14:16:05Z","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":113027,"stargazers_count":7910,"watchers_count":7910,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":995,"mirror_url":null,"open_issues_count":1538,"forks":995,"open_issues":1538,"watchers":7910,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"59fa5c98b885aa44a236d2398df2f4b743e43e20","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-10-17T07:00:57Z","pushed_at":"2016-10-17T14:16:05Z","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":113027,"stargazers_count":7910,"watchers_count":7910,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":995,"mirror_url":null,"open_issues_count":1538,"forks":995,"open_issues":1538,"watchers":7910,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/8170"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/8170"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/8170/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8170/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/8170/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/1554026a297a7d58e2c6b529bca0e60de1daafec"}}}}
{"actor":{"display_login":"omarjackman"}}