{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/135","labels_url":"https://api.github.com/repos/azavea/raster-foundry/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/135/comments","events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/135/events","html_url":"https://github.com/azavea/raster-foundry/pull/135","id":109365620,"number":135,"title":"Processing Status","user":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/azavea/raster-foundry/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"milestone":null,"comments":29,"created_at":"2015-10-01T19:22:28Z","updated_at":"2015-10-08T00:53:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/135","html_url":"https://github.com/azavea/raster-foundry/pull/135","diff_url":"https://github.com/azavea/raster-foundry/pull/135.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/135.patch"},"body":"This PR incorporates the new processing block and wires it up. The app polls the backend to get layers that have a `status` field set to `uploading` or `processing` or that have been set to `complete` since the last time the frontend was refreshed. It is the responsibility of services running on the worker VM to update the `status` and `status_updated_at` fields. See #125.\r\n\r\n##### Testing\r\n* Run `migrate` and `collectstatic`\r\n* Create a new import. This should add a Processing Layers block on the map, which can be expanded with a click. The spinner should be going for uploading and processing. Try closing the page. You should see an alert, but don't actually close it.\r\n* Using `/admin/` change `status` to `processing` and save. This should change the spinner to a check for uploading.\r\n* Using `/admin/` change `status` to `complete` and update the timestamp for `status_updated_at` and save. This should change the spinner to a check for processing.\r\n* Refresh the page and the processing block should not be there.\r\n\r\nRelated Issue: #137\r\n\r\nConnects #104"},"comment":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments/146384985","html_url":"https://github.com/azavea/raster-foundry/pull/135#issuecomment-146384985","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/135","id":146384985,"user":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T00:53:45Z","updated_at":"2015-10-08T00:53:45Z","body":"I tried to address feedback in the last three commits. However I did not 1) change the migrations, 2) get ordering by created_at to work (I tried the obvious strategy though), and 3) show failed status (that will need some design work anyway).\r\n\r\nRemember to run collectstatic and --vendor and use the patch #146 if you want to use --watch."}}