{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/379","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/379/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/379/events","html_url":"https://github.com/Automattic/wp-calypso/pull/379","id":118189580,"number":379,"title":"Framework: Create new <SitesDropdown> component.","user":{"login":"mtias","id":548849,"avatar_url":"https://avatars.githubusercontent.com/u/548849?v=3","gravatar_id":"","url":"https://api.github.com/users/mtias","html_url":"https://github.com/mtias","followers_url":"https://api.github.com/users/mtias/followers","following_url":"https://api.github.com/users/mtias/following{/other_user}","gists_url":"https://api.github.com/users/mtias/gists{/gist_id}","starred_url":"https://api.github.com/users/mtias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtias/subscriptions","organizations_url":"https://api.github.com/users/mtias/orgs","repos_url":"https://api.github.com/users/mtias/repos","events_url":"https://api.github.com/users/mtias/events{/privacy}","received_events_url":"https://api.github.com/users/mtias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Components","name":"Components","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Framework","name":"Framework","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Site%20Picker","name":"Site Picker","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":null,"milestone":null,"comments":7,"created_at":"2015-11-21T11:01:52Z","updated_at":"2015-12-10T18:23:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/379","html_url":"https://github.com/Automattic/wp-calypso/pull/379","diff_url":"https://github.com/Automattic/wp-calypso/pull/379.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/379.patch"},"body":"This should replace all usages of \"me/select-site\" and standardize all site selection with our core picker patterns.\r\n\r\n![ed0199c2-8a11-11e5-9e81-b9c2dc7fed68](https://cloud.githubusercontent.com/assets/548849/11318183/8409fa0e-9047-11e5-85ed-fc16ba0c4eac.png)\r\n\r\n### To-do\r\n\r\n- [x] Highlight selected site in list.\r\n- [x] Handle `onSelect` actions.\r\n- [x] Testing."},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/163708901","html_url":"https://github.com/Automattic/wp-calypso/pull/379#issuecomment-163708901","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/379","id":163708901,"user":{"login":"mtias","id":548849,"avatar_url":"https://avatars.githubusercontent.com/u/548849?v=3","gravatar_id":"","url":"https://api.github.com/users/mtias","html_url":"https://github.com/mtias","followers_url":"https://api.github.com/users/mtias/followers","following_url":"https://api.github.com/users/mtias/following{/other_user}","gists_url":"https://api.github.com/users/mtias/gists{/gist_id}","starred_url":"https://api.github.com/users/mtias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtias/subscriptions","organizations_url":"https://api.github.com/users/mtias/orgs","repos_url":"https://api.github.com/users/mtias/repos","events_url":"https://api.github.com/users/mtias/events{/privacy}","received_events_url":"https://api.github.com/users/mtias/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T18:23:33Z","updated_at":"2015-12-10T18:23:33Z","body":"> Thing is, I expect the site to be below too. ;)\r\n\r\nThat's v2!\r\n\r\n> Dropdowns don't remove the element that's picked. It's a standard behaviour. I just noticed now that the selected one isn't in the list. Should be.\r\n\r\nThat's what we talked about :anguished: \" It's probably superfluous given it's also at the top, eh?\" so now the selected site is hidden from the list."}}