{"action":"created","issue":{"url":"https://api.github.com/repos/zombiezen/filedrop/issues/5","labels_url":"https://api.github.com/repos/zombiezen/filedrop/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/zombiezen/filedrop/issues/5/comments","events_url":"https://api.github.com/repos/zombiezen/filedrop/issues/5/events","html_url":"https://github.com/zombiezen/filedrop/pull/5","id":104621621,"number":5,"title":"Add support for batch file uploading #4","user":{"login":"akosel","id":5097634,"avatar_url":"https://avatars.githubusercontent.com/u/5097634?v=3","gravatar_id":"","url":"https://api.github.com/users/akosel","html_url":"https://github.com/akosel","followers_url":"https://api.github.com/users/akosel/followers","following_url":"https://api.github.com/users/akosel/following{/other_user}","gists_url":"https://api.github.com/users/akosel/gists{/gist_id}","starred_url":"https://api.github.com/users/akosel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akosel/subscriptions","organizations_url":"https://api.github.com/users/akosel/orgs","repos_url":"https://api.github.com/users/akosel/repos","events_url":"https://api.github.com/users/akosel/events{/privacy}","received_events_url":"https://api.github.com/users/akosel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T04:53:56Z","updated_at":"2015-09-27T14:51:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zombiezen/filedrop/pulls/5","html_url":"https://github.com/zombiezen/filedrop/pull/5","diff_url":"https://github.com/zombiezen/filedrop/pull/5.diff","patch_url":"https://github.com/zombiezen/filedrop/pull/5.patch"},"body":"I noticed the [open issue](https://github.com/zombiezen/filedrop/issues/4), and figured I would take a crack at it since I would like to have this functionality. Also haven't used angular in a little while, so figured I would brush up on the docs. \r\n\r\nThanks for putting together such a slick interface! Let me know if there is anything I can do to improve the PR."},"comment":{"url":"https://api.github.com/repos/zombiezen/filedrop/issues/comments/143563891","html_url":"https://github.com/zombiezen/filedrop/pull/5#issuecomment-143563891","issue_url":"https://api.github.com/repos/zombiezen/filedrop/issues/5","id":143563891,"user":{"login":"zombiezen","id":181535,"avatar_url":"https://avatars.githubusercontent.com/u/181535?v=3","gravatar_id":"","url":"https://api.github.com/users/zombiezen","html_url":"https://github.com/zombiezen","followers_url":"https://api.github.com/users/zombiezen/followers","following_url":"https://api.github.com/users/zombiezen/following{/other_user}","gists_url":"https://api.github.com/users/zombiezen/gists{/gist_id}","starred_url":"https://api.github.com/users/zombiezen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zombiezen/subscriptions","organizations_url":"https://api.github.com/users/zombiezen/orgs","repos_url":"https://api.github.com/users/zombiezen/repos","events_url":"https://api.github.com/users/zombiezen/events{/privacy}","received_events_url":"https://api.github.com/users/zombiezen/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T14:51:29Z","updated_at":"2015-09-27T14:51:29Z","body":"Hi Aaron! (Sorry for delayed response; my day job's been busy.)\r\n\r\nMy thinking at the moment is that the toast is probably too limiting for exactly the reasons you mention (and doesn't show progress, as mentioned in  #6). What would be ideal to have is an operations dialog, a la Google Drive or Cloud Console, that shows progress of all in-flight files.\r\n\r\nWhat I'm seeing as the steps for this (ideally, each would be a separate pull for easier review):\r\n- Update the `filedrop.Files.upload` method to return a promise that notifies about progress events.  This will probably need to use an `XMLHttpRequest` directly, since Angular's `$http` service doesn't appear to set it up.\r\n- Create a new `filedrop.UploadManager` service that maintains a list of all the file upload operations in progress.\r\n- Create the UI+controller that displays the information from `filedrop.UploadManager`.\r\n\r\nDo you agree with this approach? Would you be willing to tackle this?"}}