{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/gender-balance/issues/256","labels_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/256/comments","events_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/256/events","html_url":"https://github.com/everypolitician/gender-balance/pull/256","id":102179019,"number":256,"title":"Add an undo button","user":{"login":"andylolz","id":464193,"avatar_url":"https://avatars.githubusercontent.com/u/464193?v=3","gravatar_id":"","url":"https://api.github.com/users/andylolz","html_url":"https://github.com/andylolz","followers_url":"https://api.github.com/users/andylolz/followers","following_url":"https://api.github.com/users/andylolz/following{/other_user}","gists_url":"https://api.github.com/users/andylolz/gists{/gist_id}","starred_url":"https://api.github.com/users/andylolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andylolz/subscriptions","organizations_url":"https://api.github.com/users/andylolz/orgs","repos_url":"https://api.github.com/users/andylolz/repos","events_url":"https://api.github.com/users/andylolz/events{/privacy}","received_events_url":"https://api.github.com/users/andylolz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-20T16:36:51Z","updated_at":"2015-08-22T23:32:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/everypolitician/gender-balance/pulls/256","html_url":"https://github.com/everypolitician/gender-balance/pull/256","diff_url":"https://github.com/everypolitician/gender-balance/pull/256.diff","patch_url":"https://github.com/everypolitician/gender-balance/pull/256.patch"},"body":"Adds an undo button to the interface (though it possibly looks a bit ugly):\r\n![screen shot 2015-08-20 at 17 36 24](https://cloud.githubusercontent.com/assets/464193/9389277/1262f00a-4762-11e5-8a7e-e351d0c82b6b.png)\r\n\r\nCards are moved onto a done stack once they’re sorted. They’re moved off it again when the undo button is pressed. No API calls are currently made when undo is pressed – instead, the user just gets a second chance to classify the card. This is presumably okay, because you can currently classify a card multiple times anyway (by pressing buttons in quick succession).\r\n\r\nFixes #30."},"comment":{"url":"https://api.github.com/repos/everypolitician/gender-balance/issues/comments/133764283","html_url":"https://github.com/everypolitician/gender-balance/pull/256#issuecomment-133764283","issue_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/256","id":133764283,"user":{"login":"andylolz","id":464193,"avatar_url":"https://avatars.githubusercontent.com/u/464193?v=3","gravatar_id":"","url":"https://api.github.com/users/andylolz","html_url":"https://github.com/andylolz","followers_url":"https://api.github.com/users/andylolz/followers","following_url":"https://api.github.com/users/andylolz/following{/other_user}","gists_url":"https://api.github.com/users/andylolz/gists{/gist_id}","starred_url":"https://api.github.com/users/andylolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andylolz/subscriptions","organizations_url":"https://api.github.com/users/andylolz/orgs","repos_url":"https://api.github.com/users/andylolz/repos","events_url":"https://api.github.com/users/andylolz/events{/privacy}","received_events_url":"https://api.github.com/users/andylolz/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T23:32:04Z","updated_at":"2015-08-22T23:32:04Z","body":"Looks like this now:\r\n![screen shot 2015-08-23 at 00 14 27](https://cloud.githubusercontent.com/assets/464193/9426258/a12e8f94-492c-11e5-9248-80b0a78789a4.png)\r\n"}}