{"action":"created","issue":{"url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/26","labels_url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/26/comments","events_url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/26/events","html_url":"https://github.com/wlaurance/slack-for-linux/pull/26","id":65841361,"number":26,"title":"Fix download interaction. Fixes #25","user":{"login":"twolfson","id":902488,"avatar_url":"https://avatars.githubusercontent.com/u/902488?v=3","gravatar_id":"","url":"https://api.github.com/users/twolfson","html_url":"https://github.com/twolfson","followers_url":"https://api.github.com/users/twolfson/followers","following_url":"https://api.github.com/users/twolfson/following{/other_user}","gists_url":"https://api.github.com/users/twolfson/gists{/gist_id}","starred_url":"https://api.github.com/users/twolfson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twolfson/subscriptions","organizations_url":"https://api.github.com/users/twolfson/orgs","repos_url":"https://api.github.com/users/twolfson/repos","events_url":"https://api.github.com/users/twolfson/events{/privacy}","received_events_url":"https://api.github.com/users/twolfson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wlaurance","id":1059214,"avatar_url":"https://avatars.githubusercontent.com/u/1059214?v=3","gravatar_id":"","url":"https://api.github.com/users/wlaurance","html_url":"https://github.com/wlaurance","followers_url":"https://api.github.com/users/wlaurance/followers","following_url":"https://api.github.com/users/wlaurance/following{/other_user}","gists_url":"https://api.github.com/users/wlaurance/gists{/gist_id}","starred_url":"https://api.github.com/users/wlaurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlaurance/subscriptions","organizations_url":"https://api.github.com/users/wlaurance/orgs","repos_url":"https://api.github.com/users/wlaurance/repos","events_url":"https://api.github.com/users/wlaurance/events{/privacy}","received_events_url":"https://api.github.com/users/wlaurance/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-02T05:27:19Z","updated_at":"2015-04-06T18:38:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wlaurance/slack-for-linux/pulls/26","html_url":"https://github.com/wlaurance/slack-for-linux/pull/26","diff_url":"https://github.com/wlaurance/slack-for-linux/pull/26.diff","patch_url":"https://github.com/wlaurance/slack-for-linux/pull/26.patch"},"body":"In #25, we found that downloads are currently breaking the app. Once a download completes, the user is left on a white screen with no way to recover. This issue is being caused by too conservative of a `new-win-policy`.\r\n\r\nThis PR remedies that by detecting any requests for downloads (i.e. ones to `files.slack.com`) and opening a download prompt. Then, it will open any other new windows in the browser by default.\r\n\r\nIn this PR:\r\n\r\n- Updated from conservative `new-win-policy` to catch-all case\r\n\r\n![selection_115](https://cloud.githubusercontent.com/assets/902488/6958276/00b4b0de-d8cf-11e4-937f-13dee17753cf.png)\r\n\r\n/cc @wlaurance "},"comment":{"url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/comments/90191173","html_url":"https://github.com/wlaurance/slack-for-linux/pull/26#issuecomment-90191173","issue_url":"https://api.github.com/repos/wlaurance/slack-for-linux/issues/26","id":90191173,"user":{"login":"wlaurance","id":1059214,"avatar_url":"https://avatars.githubusercontent.com/u/1059214?v=3","gravatar_id":"","url":"https://api.github.com/users/wlaurance","html_url":"https://github.com/wlaurance","followers_url":"https://api.github.com/users/wlaurance/followers","following_url":"https://api.github.com/users/wlaurance/following{/other_user}","gists_url":"https://api.github.com/users/wlaurance/gists{/gist_id}","starred_url":"https://api.github.com/users/wlaurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlaurance/subscriptions","organizations_url":"https://api.github.com/users/wlaurance/orgs","repos_url":"https://api.github.com/users/wlaurance/repos","events_url":"https://api.github.com/users/wlaurance/events{/privacy}","received_events_url":"https://api.github.com/users/wlaurance/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T18:38:28Z","updated_at":"2015-04-06T18:38:28Z","body":"@twolfson Any chance you can merge the master in? You probably have a much better idea how to resolve the conflicts than I do."}}