{"action":"created","issue":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/370","labels_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/370/comments","events_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/370/events","html_url":"https://github.com/madebymany/sir-trevor-js/issues/370","id":96767878,"number":370,"title":"Handle failed image upload in image block","user":{"login":"ilyaporopudas","id":574198,"avatar_url":"https://avatars.githubusercontent.com/u/574198?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyaporopudas","html_url":"https://github.com/ilyaporopudas","followers_url":"https://api.github.com/users/ilyaporopudas/followers","following_url":"https://api.github.com/users/ilyaporopudas/following{/other_user}","gists_url":"https://api.github.com/users/ilyaporopudas/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyaporopudas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyaporopudas/subscriptions","organizations_url":"https://api.github.com/users/ilyaporopudas/orgs","repos_url":"https://api.github.com/users/ilyaporopudas/repos","events_url":"https://api.github.com/users/ilyaporopudas/events{/privacy}","received_events_url":"https://api.github.com/users/ilyaporopudas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T09:11:41Z","updated_at":"2015-09-02T11:20:06Z","closed_at":null,"body":"If a the image upload fails, Sir Trevor will still create an empty image block, which can cause rendering problems."},"comment":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/comments/137035936","html_url":"https://github.com/madebymany/sir-trevor-js/issues/370#issuecomment-137035936","issue_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/370","id":137035936,"user":{"login":"raffij","id":28570,"avatar_url":"https://avatars.githubusercontent.com/u/28570?v=3","gravatar_id":"","url":"https://api.github.com/users/raffij","html_url":"https://github.com/raffij","followers_url":"https://api.github.com/users/raffij/followers","following_url":"https://api.github.com/users/raffij/following{/other_user}","gists_url":"https://api.github.com/users/raffij/gists{/gist_id}","starred_url":"https://api.github.com/users/raffij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffij/subscriptions","organizations_url":"https://api.github.com/users/raffij/orgs","repos_url":"https://api.github.com/users/raffij/repos","events_url":"https://api.github.com/users/raffij/events{/privacy}","received_events_url":"https://api.github.com/users/raffij/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T11:20:06Z","updated_at":"2015-09-02T11:20:06Z","body":"Going through old issues as part of a block creation / config idea i'm working on.\r\n\r\nIt'll address bad uploads and allow re-uploading without deleting the block. Also you'll be able to say whether the image element is required, which will allow us to force re-upload or the user will need to delete the block before being able to save and submit the data.\r\n\r\nAs a side note. This would make image blocks easier to build rather than replicating and editing each time someone wants to customise a field."}}