{"action":"created","issue":{"url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/45","repository_url":"https://api.github.com/repos/OpenDroneMap/WebODM","labels_url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/45/comments","events_url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/45/events","html_url":"https://github.com/OpenDroneMap/WebODM/issues/45","id":188923290,"number":45,"title":"Stop a user from mindlessly navigating away from an image upload session","user":{"login":"jjmata","id":187772,"avatar_url":"https://avatars.githubusercontent.com/u/187772?v=3","gravatar_id":"","url":"https://api.github.com/users/jjmata","html_url":"https://github.com/jjmata","followers_url":"https://api.github.com/users/jjmata/followers","following_url":"https://api.github.com/users/jjmata/following{/other_user}","gists_url":"https://api.github.com/users/jjmata/gists{/gist_id}","starred_url":"https://api.github.com/users/jjmata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjmata/subscriptions","organizations_url":"https://api.github.com/users/jjmata/orgs","repos_url":"https://api.github.com/users/jjmata/repos","events_url":"https://api.github.com/users/jjmata/events{/privacy}","received_events_url":"https://api.github.com/users/jjmata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-12T17:26:27Z","updated_at":"2016-11-12T17:35:04Z","closed_at":null,"body":"Throw some sort of JS error to confirm, and clean up the mess (since it's probably easier than trying to implement \"re-start upload\" for now).\r\n\r\nAny React pointers for me on how this could be done, @pierotofy?  Happy to take it from there ..."},"comment":{"url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/comments/260136153","html_url":"https://github.com/OpenDroneMap/WebODM/issues/45#issuecomment-260136153","issue_url":"https://api.github.com/repos/OpenDroneMap/WebODM/issues/45","id":260136153,"user":{"login":"pierotofy","id":1951843,"avatar_url":"https://avatars.githubusercontent.com/u/1951843?v=3","gravatar_id":"","url":"https://api.github.com/users/pierotofy","html_url":"https://github.com/pierotofy","followers_url":"https://api.github.com/users/pierotofy/followers","following_url":"https://api.github.com/users/pierotofy/following{/other_user}","gists_url":"https://api.github.com/users/pierotofy/gists{/gist_id}","starred_url":"https://api.github.com/users/pierotofy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierotofy/subscriptions","organizations_url":"https://api.github.com/users/pierotofy/orgs","repos_url":"https://api.github.com/users/pierotofy/repos","events_url":"https://api.github.com/users/pierotofy/events{/privacy}","received_events_url":"https://api.github.com/users/pierotofy/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T17:35:04Z","updated_at":"2016-11-12T17:35:04Z","body":"I'd read the react tutorial here https://facebook.github.io/react/tutorial/tutorial.html, it's not too long, then you'd be looking at changing the logic in `app/static/app/js/components/ProjectListItem.jsx`. Check for the browser back button event, if `state.uploading` is true, then prompt a confirm?"}}
{"actor":{"display_login":"pierotofy"}}