{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7378","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7378/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7378/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7378/events","html_url":"https://github.com/Automattic/wp-calypso/pull/7378","id":170285297,"number":7378,"title":"Editor: hide sharing on page editor for JP sites without sharing/likes enabled","user":{"login":"timmyc","id":22080,"avatar_url":"https://avatars.githubusercontent.com/u/22080?v=3","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Editor","name":"Editor","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"timmyc","id":22080,"avatar_url":"https://avatars.githubusercontent.com/u/22080?v=3","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false},"assignees":[{"login":"timmyc","id":22080,"avatar_url":"https://avatars.githubusercontent.com/u/22080?v=3","gravatar_id":"","url":"https://api.github.com/users/timmyc","html_url":"https://github.com/timmyc","followers_url":"https://api.github.com/users/timmyc/followers","following_url":"https://api.github.com/users/timmyc/following{/other_user}","gists_url":"https://api.github.com/users/timmyc/gists{/gist_id}","starred_url":"https://api.github.com/users/timmyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmyc/subscriptions","organizations_url":"https://api.github.com/users/timmyc/orgs","repos_url":"https://api.github.com/users/timmyc/repos","events_url":"https://api.github.com/users/timmyc/events{/privacy}","received_events_url":"https://api.github.com/users/timmyc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-08-09T22:21:43Z","updated_at":"2016-08-11T00:11:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7378","html_url":"https://github.com/Automattic/wp-calypso/pull/7378","diff_url":"https://github.com/Automattic/wp-calypso/pull/7378.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/7378.patch"},"body":"Fixes #7088 - This branch fixes a minor issue that happens for Jetpack sites that have likes and sharing disabled in the page editor:\r\n\r\n<img width=\"479\" alt=\"new_page_ _haiku2_ _wordpress_com_\" src=\"https://cloud.githubusercontent.com/assets/22080/17535545/0af6439a-5e44-11e6-8e8a-662b7115d1e9.png\">\r\n\r\nTo re-create the issue, you need to disable Likes and Sharing on a Jetpack site, but keep Publicize *enabled*.\r\n\r\n__To Test__\r\n- Configure a jetpack site as outlined above\r\n- Open up a page in the editor for that site, verify that the sharing accordion is not shown\r\n- Open a post in the editor for that JP site, verify the sharing accordion is shown for publicize\r\n\r\n/cc @aduth \n\nTest live: https://calypso.live/?branch=fix/editor/7088"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/239042580","html_url":"https://github.com/Automattic/wp-calypso/pull/7378#issuecomment-239042580","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7378","id":239042580,"user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T00:11:40Z","updated_at":"2016-08-11T00:11:40Z","body":"Cleanup tasks notwithstanding, this looks and works well 👍 "}}
{"actor":{"display_login":"aduth"}}