{"action":"created","issue":{"url":"https://api.github.com/repos/almost/hubbub/issues/34","labels_url":"https://api.github.com/repos/almost/hubbub/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/almost/hubbub/issues/34/comments","events_url":"https://api.github.com/repos/almost/hubbub/issues/34/events","html_url":"https://github.com/almost/hubbub/issues/34","id":104023119,"number":34,"title":"Optimistically add pending comments to the page before they've been verified ","user":{"login":"almost","id":11125,"avatar_url":"https://avatars.githubusercontent.com/u/11125?v=3","gravatar_id":"","url":"https://api.github.com/users/almost","html_url":"https://github.com/almost","followers_url":"https://api.github.com/users/almost/followers","following_url":"https://api.github.com/users/almost/following{/other_user}","gists_url":"https://api.github.com/users/almost/gists{/gist_id}","starred_url":"https://api.github.com/users/almost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almost/subscriptions","organizations_url":"https://api.github.com/users/almost/orgs","repos_url":"https://api.github.com/users/almost/repos","events_url":"https://api.github.com/users/almost/events{/privacy}","received_events_url":"https://api.github.com/users/almost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T10:04:05Z","updated_at":"2015-12-02T15:59:58Z","closed_at":"2015-12-02T15:59:58Z","body":"We store pending comments in localStorage then on page load we check with the server to make sure they're still pending. We only display them once the server has replied. Might be nicer to add them to the page right away then remove them if the server replies that they're gone."},"comment":{"url":"https://api.github.com/repos/almost/hubbub/issues/comments/161344463","html_url":"https://github.com/almost/hubbub/issues/34#issuecomment-161344463","issue_url":"https://api.github.com/repos/almost/hubbub/issues/34","id":161344463,"user":{"login":"almost","id":11125,"avatar_url":"https://avatars.githubusercontent.com/u/11125?v=3","gravatar_id":"","url":"https://api.github.com/users/almost","html_url":"https://github.com/almost","followers_url":"https://api.github.com/users/almost/followers","following_url":"https://api.github.com/users/almost/following{/other_user}","gists_url":"https://api.github.com/users/almost/gists{/gist_id}","starred_url":"https://api.github.com/users/almost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almost/subscriptions","organizations_url":"https://api.github.com/users/almost/orgs","repos_url":"https://api.github.com/users/almost/repos","events_url":"https://api.github.com/users/almost/events{/privacy}","received_events_url":"https://api.github.com/users/almost/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T15:59:58Z","updated_at":"2015-12-02T15:59:58Z","body":"Done"}}