{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8762","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8762/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8762/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8762/events","html_url":"https://github.com/Automattic/wp-calypso/pull/8762","id":183263761,"number":8762,"title":"Sites state: add remaining Jetpack selectors","user":{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/State","name":"State","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Author%20Reply","name":"[Status] Needs Author Reply","color":"eb6420"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-10-16T12:09:12Z","updated_at":"2016-10-26T20:18:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8762","html_url":"https://github.com/Automattic/wp-calypso/pull/8762","diff_url":"https://github.com/Automattic/wp-calypso/pull/8762.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/8762.patch"},"body":"This is a follow up of https://github.com/Automattic/wp-calypso/pull/8197 which aims at adding the last remaining selectors for Jetpack sites.\r\n\r\nSelector | matching function/prop in `lib/site`\r\n------------ | -------------\r\ncanJetpackSiteManage() | site/jetpack.js - [canManage()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L49)\r\ncanJetpackSiteUpdateFiles() | site/utils.js - [canUpdateFiles()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L97)\r\ncanJetpackSiteAutoUpdateFiles() | site/utils.js - [canAutoupdateFiles()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L124)\r\ncanJetpackSiteAutoUpdateCore() | site/utils.js - [canAutoupdateCore()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L136)\r\nhasJetpackSiteJetpackMenus() | site/jetpack.js - [hasJetpackMenus](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L40)\r\nhasJetpackSiteJetpackThemes() | site/jetpack.js - [hasJetpackThemes](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L41)\r\nisJetpackSiteMainNetworkSite() | site/utils.js - [isMainNetworkSite()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L148)\r\nisJetpackSiteSecondaryNetworkSite() | site/jetpack.js - [isSecondaryNetworkSite()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L77)\r\nverifyJetpackModulesActive() | site/jetpack.js - [verifyModulesActive()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L91)\r\ngetJetpackSiteRemoteManagementURL() | site/jetpack.js - [getRemoteManagementURL()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L105)\r\nhasJetpackSiteCustomDomain() | site/utils.js - [hasCustomDomain()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L183)\r\ngetJetpackSiteFileModDisableReasons() | site/utils.js - [getSiteFileModDisableReason()](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/utils.js#L69)\r\nsiteHasMinimumJetpackVersion() | site/jetpack.js - [hasMinimumJetpackVersion](https://github.com/Automattic/wp-calypso/blob/master/client/lib/site/jetpack.js#L33)\r\n\r\n### Testing Instructions\r\n- `git checkout update/add-jetpack-site-selectors-2`\r\n- `npm run test-client client/state/sites/test/selectors.js`\r\n\r\n### Reviews\r\n- [ ] Code\r\n- [ ] Product"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/256464551","html_url":"https://github.com/Automattic/wp-calypso/pull/8762#issuecomment-256464551","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8762","id":256464551,"user":{"login":"Tug","id":230230,"avatar_url":"https://avatars.githubusercontent.com/u/230230?v=3","gravatar_id":"","url":"https://api.github.com/users/Tug","html_url":"https://github.com/Tug","followers_url":"https://api.github.com/users/Tug/followers","following_url":"https://api.github.com/users/Tug/following{/other_user}","gists_url":"https://api.github.com/users/Tug/gists{/gist_id}","starred_url":"https://api.github.com/users/Tug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tug/subscriptions","organizations_url":"https://api.github.com/users/Tug/orgs","repos_url":"https://api.github.com/users/Tug/repos","events_url":"https://api.github.com/users/Tug/events{/privacy}","received_events_url":"https://api.github.com/users/Tug/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T20:18:03Z","updated_at":"2016-10-26T20:18:03Z","body":"Updated JSDoc comments and rebased :)\r\nThis is ready for another review!"}}
{"actor":{"display_login":"Tug"}}