{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2983","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2983/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2983/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2983/events","html_url":"https://github.com/Automattic/wp-calypso/pull/2983","id":130655319,"number":2983,"title":"Site Settings: Hide the delete site notice if the site is not loaded yet","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/Site%20Settings","name":"Site Settings","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":"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":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/38","html_url":"https://github.com/Automattic/wp-calypso/milestones/Amber:%20Backlog","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/38/labels","id":1432751,"number":38,"title":"Amber: Backlog","description":null,"creator":{"login":"scruffian","id":275961,"avatar_url":"https://avatars.githubusercontent.com/u/275961?v=3","gravatar_id":"","url":"https://api.github.com/users/scruffian","html_url":"https://github.com/scruffian","followers_url":"https://api.github.com/users/scruffian/followers","following_url":"https://api.github.com/users/scruffian/following{/other_user}","gists_url":"https://api.github.com/users/scruffian/gists{/gist_id}","starred_url":"https://api.github.com/users/scruffian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scruffian/subscriptions","organizations_url":"https://api.github.com/users/scruffian/orgs","repos_url":"https://api.github.com/users/scruffian/repos","events_url":"https://api.github.com/users/scruffian/events{/privacy}","received_events_url":"https://api.github.com/users/scruffian/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":13,"state":"open","created_at":"2015-11-27T17:33:06Z","updated_at":"2016-02-02T13:01:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-02T11:37:20Z","updated_at":"2016-02-02T14:48:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/2983","html_url":"https://github.com/Automattic/wp-calypso/pull/2983","diff_url":"https://github.com/Automattic/wp-calypso/pull/2983.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/2983.patch"},"body":"This fixes an error reported by @drewblaisdell in D979:\r\n> If local storage is empty, before sites-list is loaded, we display a warning without a domain.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/230230/12748230/3c3eb480-c9a9-11e5-95c4-390120ccc354.png)\r\n\r\nTesting instructions:\r\n- Go to `http://calypso.localhost:3000/settings/delete-site/:site`\r\n- Clean your localStorage with `localStorage.clear();`\r\n- Reload the page\r\n- Assert that the notice is not displayed until the sites are loaded\r\n\r\nReview:\r\n- [ ] Code Review\r\n- [ ] Product Review"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/178609497","html_url":"https://github.com/Automattic/wp-calypso/pull/2983#issuecomment-178609497","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/2983","id":178609497,"user":{"login":"drewblaisdell","id":1130674,"avatar_url":"https://avatars.githubusercontent.com/u/1130674?v=3","gravatar_id":"","url":"https://api.github.com/users/drewblaisdell","html_url":"https://github.com/drewblaisdell","followers_url":"https://api.github.com/users/drewblaisdell/followers","following_url":"https://api.github.com/users/drewblaisdell/following{/other_user}","gists_url":"https://api.github.com/users/drewblaisdell/gists{/gist_id}","starred_url":"https://api.github.com/users/drewblaisdell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewblaisdell/subscriptions","organizations_url":"https://api.github.com/users/drewblaisdell/orgs","repos_url":"https://api.github.com/users/drewblaisdell/repos","events_url":"https://api.github.com/users/drewblaisdell/events{/privacy}","received_events_url":"https://api.github.com/users/drewblaisdell/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T14:48:45Z","updated_at":"2016-02-02T14:48:45Z","body":":+1: "}}