{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/63431494","id":63431494,"diff_hunk":"@@ -37,34 +37,31 @@ const authUrl = '/wp-admin/admin.php?page=jetpack&connect_url_redirect=true&caly\n /**\n  * Module variables\n  */\n-\n-/***\n- * Renders a header common to both the logged in and logged out forms\n- * @param {String} siteUrl A site URL to display in the header\n- * @param {Boolean} isConnected Is the connection complete\n- * @returns {Object} The JSX for the form's header\n- */\n-const renderFormHeader = ( siteUrl, isConnected = false ) => {\n-\tconst headerText = ( isConnected )\n-\t\t? i18n.translate( 'You are connected!' )\n-\t\t: i18n.translate( 'Connect your self-hosted WordPress' );\n-\tconst subHeaderText = ( isConnected )\n-\t\t? i18n.translate( 'The power of WordPress.com is yours to command.' )\n-\t\t: i18n.translate( 'Jetpack would like to connect to your WordPress.com account' );\n-\treturn(\n-\t\t<div>\n-\t\t\t<ConnectHeader headerText={ headerText }\n-\t\t\t\t\tsubHeaderText={ subHeaderText } />\n-\t\t\t<CompactCard className=\"jetpack-connect__authorize-form-header\">{ siteUrl }</CompactCard>\n-\t\t</div>\n-\t);\n-};\n-\n const JETPACK_CONNECT_TTL = 60 * 60 * 1000; // 1 Hour\n \n const LoggedOutForm = React.createClass( {\n \tdisplayName: 'LoggedOutForm',\n \n+\trenderFormHeader( siteUrl, isConnected ) {\n+\t\tconst headerText = ( isConnected )\n+\t\t\t? i18n.translate( 'You are connected!' )\n+\t\t\t: i18n.translate( 'Create a new account for Jetpack' );\n+\t\tconst subHeaderText = ( isConnected )\n+\t\t\t? i18n.translate( 'The power of WordPress.com is yours to command.' )","path":"client/signup/jetpack-connect/authorize-form.jsx","position":49,"original_position":49,"commit_id":"9002e2a1e6265993c339a43c2fa40172ea442fd6","original_commit_id":"9002e2a1e6265993c339a43c2fa40172ea442fd6","user":{"login":"beaulebens","id":108942,"avatar_url":"https://avatars.githubusercontent.com/u/108942?v=3","gravatar_id":"","url":"https://api.github.com/users/beaulebens","html_url":"https://github.com/beaulebens","followers_url":"https://api.github.com/users/beaulebens/followers","following_url":"https://api.github.com/users/beaulebens/following{/other_user}","gists_url":"https://api.github.com/users/beaulebens/gists{/gist_id}","starred_url":"https://api.github.com/users/beaulebens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beaulebens/subscriptions","organizations_url":"https://api.github.com/users/beaulebens/orgs","repos_url":"https://api.github.com/users/beaulebens/repos","events_url":"https://api.github.com/users/beaulebens/events{/privacy}","received_events_url":"https://api.github.com/users/beaulebens/received_events","type":"User","site_admin":false},"body":"How do I trigger this string? Seems like I need to be connected somehow, and then get here?\r\n\r\nI'd like to see it in context, because I think we need some better/different wording for it. It sounds a bit too dramatic :)","created_at":"2016-05-16T21:43:39Z","updated_at":"2016-05-16T21:43:39Z","html_url":"https://github.com/Automattic/wp-calypso/pull/5370#discussion_r63431494","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/63431494"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/5370#discussion_r63431494"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370","id":69989432,"html_url":"https://github.com/Automattic/wp-calypso/pull/5370","diff_url":"https://github.com/Automattic/wp-calypso/pull/5370.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/5370.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5370","number":5370,"state":"open","locked":false,"title":"Jetpack connect: changes in the copy of the authorization step","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":"More copy & layout changes in jetpack connect. This time, the connection screen:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1554855/15248111/a268195e-1918-11e6-864a-482455bea96a.png)\r\n\r\nHow to test:\r\n=========\r\n1. Go to http://calypso.localhost:3000/jetpack/connect/ and enter a site with an unconnected jetpack which is running the latest master\r\n2. You should see the above screencap","created_at":"2016-05-13T12:41:38Z","updated_at":"2016-05-16T21:43:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcc11cf135b3710dc01a0c966d2ccfa27e45ac3d","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},"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/59","html_url":"https://github.com/Automattic/wp-calypso/milestones/Jetpack-Connect%20m1","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/59/labels","id":1603137,"number":59,"title":"Jetpack-Connect m1","description":"","creator":{"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},"open_issues":43,"closed_issues":52,"state":"open","created_at":"2016-02-24T15:32:10Z","updated_at":"2016-05-16T11:28:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370/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/5370/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/9002e2a1e6265993c339a43c2fa40172ea442fd6","head":{"label":"Automattic:add/jetpack-connect-change-connection-copy","ref":"add/jetpack-connect-change-connection-copy","sha":"9002e2a1e6265993c339a43c2fa40172ea442fd6","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-05-16T18:09:38Z","pushed_at":"2016-05-16T21:43:20Z","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":76021,"stargazers_count":7292,"watchers_count":7292,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":885,"mirror_url":null,"open_issues_count":1325,"forks":885,"open_issues":1325,"watchers":7292,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"37365af16594f76dc0bc9a0a5ff20fc58c2104f4","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-05-16T18:09:38Z","pushed_at":"2016-05-16T21:43:20Z","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":76021,"stargazers_count":7292,"watchers_count":7292,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":885,"mirror_url":null,"open_issues_count":1325,"forks":885,"open_issues":1325,"watchers":7292,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/5370"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/5370"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/5370/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5370/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/5370/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/9002e2a1e6265993c339a43c2fa40172ea442fd6"}}}}