{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/6576","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/6576/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/6576/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/6576/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/issues/6576","id":252316468,"number":6576,"title":"Media Library: allow uploading items to be canceled/deleted","user":{"login":"mzorz","id":6597771,"avatar_url":"https://avatars0.githubusercontent.com/u/6597771?v=4","gravatar_id":"","url":"https://api.github.com/users/mzorz","html_url":"https://github.com/mzorz","followers_url":"https://api.github.com/users/mzorz/followers","following_url":"https://api.github.com/users/mzorz/following{/other_user}","gists_url":"https://api.github.com/users/mzorz/gists{/gist_id}","starred_url":"https://api.github.com/users/mzorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzorz/subscriptions","organizations_url":"https://api.github.com/users/mzorz/orgs","repos_url":"https://api.github.com/users/mzorz/repos","events_url":"https://api.github.com/users/mzorz/events{/privacy}","received_events_url":"https://api.github.com/users/mzorz/received_events","type":"User","site_admin":false},"labels":[{"id":114455495,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Media","name":"Media","color":"006b75","default":false},{"id":35106420,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":{"login":"mzorz","id":6597771,"avatar_url":"https://avatars0.githubusercontent.com/u/6597771?v=4","gravatar_id":"","url":"https://api.github.com/users/mzorz","html_url":"https://github.com/mzorz","followers_url":"https://api.github.com/users/mzorz/followers","following_url":"https://api.github.com/users/mzorz/following{/other_user}","gists_url":"https://api.github.com/users/mzorz/gists{/gist_id}","starred_url":"https://api.github.com/users/mzorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzorz/subscriptions","organizations_url":"https://api.github.com/users/mzorz/orgs","repos_url":"https://api.github.com/users/mzorz/repos","events_url":"https://api.github.com/users/mzorz/events{/privacy}","received_events_url":"https://api.github.com/users/mzorz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mzorz","id":6597771,"avatar_url":"https://avatars0.githubusercontent.com/u/6597771?v=4","gravatar_id":"","url":"https://api.github.com/users/mzorz","html_url":"https://github.com/mzorz","followers_url":"https://api.github.com/users/mzorz/followers","following_url":"https://api.github.com/users/mzorz/following{/other_user}","gists_url":"https://api.github.com/users/mzorz/gists{/gist_id}","starred_url":"https://api.github.com/users/mzorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzorz/subscriptions","organizations_url":"https://api.github.com/users/mzorz/orgs","repos_url":"https://api.github.com/users/mzorz/repos","events_url":"https://api.github.com/users/mzorz/events{/privacy}","received_events_url":"https://api.github.com/users/mzorz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-23T15:05:57Z","updated_at":"2017-08-25T22:49:44Z","closed_at":"2017-08-25T22:49:44Z","body":"### Expected behavior\r\nWhen in the Media Browser, deleting an item being uploaded should be possible, and it should also cancel its upload, \r\nAlso if the upload is attached to a given Post, a warning should be given so the user can go edit the Post and delete it from there.\r\n\r\n\r\n### Actual behavior\r\nThe item is not deleted, and continues to be uploaded, showing a Toast saying `wait until upload completes`\r\n\r\n### Steps to reproduce the behavior\r\n- start uploading a video from the Media Browser\r\n- then long press and delete it\r\n- observe it continues to be there, uploading, and the toast appears.\r\n\r\n\r\n##### Tested on [Google Pixel], Android [7.1.2]\r\n"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/comments/325050847","html_url":"https://github.com/wordpress-mobile/WordPress-Android/issues/6576#issuecomment-325050847","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/6576","id":325050847,"user":{"login":"mzorz","id":6597771,"avatar_url":"https://avatars0.githubusercontent.com/u/6597771?v=4","gravatar_id":"","url":"https://api.github.com/users/mzorz","html_url":"https://github.com/mzorz","followers_url":"https://api.github.com/users/mzorz/followers","following_url":"https://api.github.com/users/mzorz/following{/other_user}","gists_url":"https://api.github.com/users/mzorz/gists{/gist_id}","starred_url":"https://api.github.com/users/mzorz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzorz/subscriptions","organizations_url":"https://api.github.com/users/mzorz/orgs","repos_url":"https://api.github.com/users/mzorz/repos","events_url":"https://api.github.com/users/mzorz/events{/privacy}","received_events_url":"https://api.github.com/users/mzorz/received_events","type":"User","site_admin":false},"created_at":"2017-08-25T22:49:44Z","updated_at":"2017-08-25T22:49:44Z","body":"Closed via #6578 "}}
{"actor":{"display_login":"mzorz"}}