{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/75945676","id":75945676,"diff_hunk":"@@ -38,16 +38,19 @@ module.exports = React.createClass( {\n \t},\n \n \tpickTheme( theme ) {\n-\t\tconst themeSlug = theme.id;\n+\t\tconst repoSlug = `${ theme.repo }/${ theme.slug }`;\n \n-\t\tanalytics.tracks.recordEvent( 'calypso_signup_theme_select', { theme: themeSlug, headstart: true } );\n+\t\tanalytics.tracks.recordEvent( 'calypso_signup_theme_select', {\n+\t\t\ttheme: repoSlug,\n+\t\t\theadstart: true\n+\t\t} );\n \n \t\tSignupActions.submitSignupStep( {\n \t\t\tstepName: this.props.stepName,\n \t\t\tprocessingMessage: this.translate( 'Adding your theme' ),\n-\t\t\tthemeSlug\n+\t\t\trepoSlug","path":"client/signup/steps/theme-selection/index.jsx","position":17,"original_position":17,"commit_id":"6e4c0ad98d5461b5c29cd85f46b895fd7fa2d6fd","original_commit_id":"6e4c0ad98d5461b5c29cd85f46b895fd7fa2d6fd","user":{"login":"sirbrillig","id":2036909,"avatar_url":"https://avatars.githubusercontent.com/u/2036909?v=3","gravatar_id":"","url":"https://api.github.com/users/sirbrillig","html_url":"https://github.com/sirbrillig","followers_url":"https://api.github.com/users/sirbrillig/followers","following_url":"https://api.github.com/users/sirbrillig/following{/other_user}","gists_url":"https://api.github.com/users/sirbrillig/gists{/gist_id}","starred_url":"https://api.github.com/users/sirbrillig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirbrillig/subscriptions","organizations_url":"https://api.github.com/users/sirbrillig/orgs","repos_url":"https://api.github.com/users/sirbrillig/repos","events_url":"https://api.github.com/users/sirbrillig/events{/privacy}","received_events_url":"https://api.github.com/users/sirbrillig/received_events","type":"User","site_admin":false},"body":"This is the change I was talking about. Does this affect this line? https://github.com/Automattic/wp-calypso/blob/c5ec5ae2eb110663b89379b19620e5fa0fdeda8a/client/lib/signup/step-actions.js#L22","created_at":"2016-08-23T20:37:03Z","updated_at":"2016-08-23T20:37:03Z","html_url":"https://github.com/Automattic/wp-calypso/pull/7596#discussion_r75945676","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/75945676"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/7596#discussion_r75945676"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596","id":82267830,"html_url":"https://github.com/Automattic/wp-calypso/pull/7596","diff_url":"https://github.com/Automattic/wp-calypso/pull/7596.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/7596.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7596","number":7596,"state":"open","locked":false,"title":"Signup: Allow passing premium themes to the site creation API call.","user":{"login":"kwight","id":349751,"avatar_url":"https://avatars.githubusercontent.com/u/349751?v=3","gravatar_id":"","url":"https://api.github.com/users/kwight","html_url":"https://github.com/kwight","followers_url":"https://api.github.com/users/kwight/followers","following_url":"https://api.github.com/users/kwight/following{/other_user}","gists_url":"https://api.github.com/users/kwight/gists{/gist_id}","starred_url":"https://api.github.com/users/kwight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwight/subscriptions","organizations_url":"https://api.github.com/users/kwight/orgs","repos_url":"https://api.github.com/users/kwight/repos","events_url":"https://api.github.com/users/kwight/events{/privacy}","received_events_url":"https://api.github.com/users/kwight/received_events","type":"User","site_admin":false},"body":"This is in preparation for Headstart to handle premium themes.\r\n\r\n**Testing**\r\n\r\n1. Add a `debugger` call to the start of `addDomainItemsToCart()` in `lib/signup/step-actions.js`.\r\n2. Run through signup normally. Verify `dependencies. theme` has a `pub` prefix, eg. `pub/rebalance`.\r\n3. Run signup with the URL `http://calypso.localhost:3000/start/with-theme/?theme=luxury&premium=true`. Verify `themeSlugWithRepo` is `premium/luxury`.\r\n4. Change a theme in `lib/signup/themes-data.js` to have a `repo` value of `premium`. Select that theme in signup (don't worry that the screenshot is 404), and verify that `dependencies.theme` shows your theme with a `premium/` prefix.\r\n\r\nTest live: https://calypso.live/?branch=update/signup-headstart-premium-support","created_at":"2016-08-22T21:36:46Z","updated_at":"2016-08-23T20:37:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dd4f95c03a4d1bc0324aa555f26275590c9a7fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596/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/7596/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/6e4c0ad98d5461b5c29cd85f46b895fd7fa2d6fd","head":{"label":"Automattic:update/signup-headstart-premium-support","ref":"update/signup-headstart-premium-support","sha":"6e4c0ad98d5461b5c29cd85f46b895fd7fa2d6fd","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-08-23T13:49:24Z","pushed_at":"2016-08-23T20:24:30Z","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":105764,"stargazers_count":7748,"watchers_count":7748,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":973,"mirror_url":null,"open_issues_count":1435,"forks":973,"open_issues":1435,"watchers":7748,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"32ebfb64caf557329d95ce717ab4e2002227a479","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-08-23T13:49:24Z","pushed_at":"2016-08-23T20:24:30Z","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":105764,"stargazers_count":7748,"watchers_count":7748,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":973,"mirror_url":null,"open_issues_count":1435,"forks":973,"open_issues":1435,"watchers":7748,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/7596"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/7596"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/7596/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7596/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/7596/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/6e4c0ad98d5461b5c29cd85f46b895fd7fa2d6fd"}}}}
{"actor":{"display_login":"sirbrillig"}}