{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5117","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5117/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5117/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5117/events","html_url":"https://github.com/Automattic/wp-calypso/pull/5117","id":151853271,"number":5117,"title":"Sidebar: use the \"preview\" layoutFocus to preview the current site","user":{"login":"lsinger","id":23619,"avatar_url":"https://avatars.githubusercontent.com/u/23619?v=3","gravatar_id":"","url":"https://api.github.com/users/lsinger","html_url":"https://github.com/lsinger","followers_url":"https://api.github.com/users/lsinger/followers","following_url":"https://api.github.com/users/lsinger/following{/other_user}","gists_url":"https://api.github.com/users/lsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsinger/subscriptions","organizations_url":"https://api.github.com/users/lsinger/orgs","repos_url":"https://api.github.com/users/lsinger/repos","events_url":"https://api.github.com/users/lsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lsinger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/GuidedTours","name":"GuidedTours","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Sidebar","name":"Sidebar","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20In%20Progress","name":"[Status] In Progress","color":"207de5"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Task","name":"[Type] Task","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/83","html_url":"https://github.com/Automattic/wp-calypso/milestones/GuidedTours%20M2:%20Preview%20&%20Polish","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/83/labels","id":1738161,"number":83,"title":"GuidedTours M2: Preview & Polish","description":"","creator":{"login":"lsinger","id":23619,"avatar_url":"https://avatars.githubusercontent.com/u/23619?v=3","gravatar_id":"","url":"https://api.github.com/users/lsinger","html_url":"https://github.com/lsinger","followers_url":"https://api.github.com/users/lsinger/followers","following_url":"https://api.github.com/users/lsinger/following{/other_user}","gists_url":"https://api.github.com/users/lsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/lsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsinger/subscriptions","organizations_url":"https://api.github.com/users/lsinger/orgs","repos_url":"https://api.github.com/users/lsinger/repos","events_url":"https://api.github.com/users/lsinger/events{/privacy}","received_events_url":"https://api.github.com/users/lsinger/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-04-29T09:23:31Z","updated_at":"2016-05-19T09:44:00Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-04-29T12:19:34Z","updated_at":"2016-05-19T18:44:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/5117","html_url":"https://github.com/Automattic/wp-calypso/pull/5117","diff_url":"https://github.com/Automattic/wp-calypso/pull/5117.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/5117.patch"},"body":"Uses the `preview` layoutFocus to preview the current site when clicking it in the sidebar. \r\n\r\nTODO:\r\n- [x] Webfonts fix https://github.com/Automattic/wp-calypso/pull/4690#issuecomment-217453713 — D1790-code\r\n- [x] ~~Fix private posts not showing?~~\r\n- [x] Default to max viewport size\r\n- [x] Disable for Jetpack\r\n- [x] Stop stats from being bumped https://github.com/Automattic/wp-calypso/pull/4690#issuecomment-217471628 — D1794-code\r\n- [x] Add external link icon in toolbar, which opens a new tab\r\n- [x] ~~Display error message and fall back to new tab on empty markup/endpoint error~~\r\n- [x] Use iFrame with URL with WebPreview instead of DesignPreview? We don't need to apply customizations? YES\r\n- [ ] disable endpoint, use iframe (@ehg )\r\n- [ ] reload iframe after second card press (@ehg)\r\n- [ ] add preview step, consult with Shaun (@lsinger)\r\n- [ ] make phab diff more robust (@mcsf) — D1853-code\r\n- [ ] WebPreview external link includes query args ... remove those? (add a \"display URL\"?) (@ehg )\r\n- [ ] Enable in staging after this PR"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/220416547","html_url":"https://github.com/Automattic/wp-calypso/pull/5117#issuecomment-220416547","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/5117","id":220416547,"user":{"login":"ehg","id":215074,"avatar_url":"https://avatars.githubusercontent.com/u/215074?v=3","gravatar_id":"","url":"https://api.github.com/users/ehg","html_url":"https://github.com/ehg","followers_url":"https://api.github.com/users/ehg/followers","following_url":"https://api.github.com/users/ehg/following{/other_user}","gists_url":"https://api.github.com/users/ehg/gists{/gist_id}","starred_url":"https://api.github.com/users/ehg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehg/subscriptions","organizations_url":"https://api.github.com/users/ehg/orgs","repos_url":"https://api.github.com/users/ehg/repos","events_url":"https://api.github.com/users/ehg/events{/privacy}","received_events_url":"https://api.github.com/users/ehg/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T18:44:48Z","updated_at":"2016-05-19T18:44:48Z","body":"Fixed closing the preview in 986ee34, allowed `externalUrl` to be set in 4c0ad57, allow iframe to be 'refreshed' in 0314955. Very WIP, I imagine we'll want to split some of these up."}}