{"action":"opened","issue":{"url":"https://api.github.com/repos/taigaio/taiga-front/issues/882","repository_url":"https://api.github.com/repos/taigaio/taiga-front","labels_url":"https://api.github.com/repos/taigaio/taiga-front/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/taigaio/taiga-front/issues/882/comments","events_url":"https://api.github.com/repos/taigaio/taiga-front/issues/882/events","html_url":"https://github.com/taigaio/taiga-front/issues/882","id":134200452,"number":882,"title":"Open attachments in the browser","user":{"login":"marton78","id":1110028,"avatar_url":"https://avatars.githubusercontent.com/u/1110028?v=3","gravatar_id":"","url":"https://api.github.com/users/marton78","html_url":"https://github.com/marton78","followers_url":"https://api.github.com/users/marton78/followers","following_url":"https://api.github.com/users/marton78/following{/other_user}","gists_url":"https://api.github.com/users/marton78/gists{/gist_id}","starred_url":"https://api.github.com/users/marton78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marton78/subscriptions","organizations_url":"https://api.github.com/users/marton78/orgs","repos_url":"https://api.github.com/users/marton78/repos","events_url":"https://api.github.com/users/marton78/events{/privacy}","received_events_url":"https://api.github.com/users/marton78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T07:10:35Z","updated_at":"2016-02-17T07:10:35Z","closed_at":null,"body":"I as an user would decide myself whether I want to download attachments or view them in the browser.\r\n\r\nCurrently, attached images such as JPEG are previewed in a window (which is fine), whereas other formats, such as PDF are downloaded. However, most browsers can view PDFs perfectly well, so it would be much better if attachment links would open a new tab and display the file there. If the file is unknown to the browser, it will download it anyway."}}