{"action":"created","issue":{"url":"https://api.github.com/repos/3scale/porta/issues/319","repository_url":"https://api.github.com/repos/3scale/porta","labels_url":"https://api.github.com/repos/3scale/porta/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/3scale/porta/issues/319/comments","events_url":"https://api.github.com/repos/3scale/porta/issues/319/events","html_url":"https://github.com/3scale/porta/pull/319","id":380195647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNDUxOTI2","number":319,"title":"Fixes CSV download in IE11","user":{"login":"josemigallas","id":11672286,"node_id":"MDQ6VXNlcjExNjcyMjg2","avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"labels":[{"id":1061163922,"node_id":"MDU6TGFiZWwxMDYxMTYzOTIy","url":"https://api.github.com/repos/3scale/porta/labels/jenkins","name":"jenkins","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"josemigallas","id":11672286,"node_id":"MDQ6VXNlcjExNjcyMjg2","avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"assignees":[{"login":"josemigallas","id":11672286,"node_id":"MDQ6VXNlcjExNjcyMjg2","avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-13T12:09:20Z","updated_at":"2018-11-14T10:32:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/3scale/porta/pulls/319","html_url":"https://github.com/3scale/porta/pull/319","diff_url":"https://github.com/3scale/porta/pull/319.diff","patch_url":"https://github.com/3scale/porta/pull/319.patch"},"body":"**What this PR does / why we need it**:\r\n\r\n`download` property of anchor (`<a download />`) is not supported in IE11. This PR checks whether the browser is IE and renders a div that calls `msSaveBlob` instead.\r\n\r\n**Which issue(s) this PR fixes** \r\n\r\n[[THREESCALE-1318] Can not download Usage CSV in Internet Explorer 11](https://issues.jboss.org/browse/THREESCALE-1318)\r\n\r\n**Verification steps** \r\n\r\n* Internet Explorer: In porta, go to any Analytics > Click on Download CSV > Verify CSV is valid\r\n* Any proper browser: In porta, go to any Analytics > Click on Download CSV > Verify CSV is valid\r\n\r\n**Special notes for your reviewer**:\r\n\r\nIt doesn't work 😄 `StatsCSVLink.update()` is not called and `this.csvString` is empty.\r\n"},"comment":{"url":"https://api.github.com/repos/3scale/porta/issues/comments/438615424","html_url":"https://github.com/3scale/porta/pull/319#issuecomment-438615424","issue_url":"https://api.github.com/repos/3scale/porta/issues/319","id":438615424,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODYxNTQyNA==","user":{"login":"thomasmaas","id":54224,"node_id":"MDQ6VXNlcjU0MjI0","avatar_url":"https://avatars1.githubusercontent.com/u/54224?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasmaas","html_url":"https://github.com/thomasmaas","followers_url":"https://api.github.com/users/thomasmaas/followers","following_url":"https://api.github.com/users/thomasmaas/following{/other_user}","gists_url":"https://api.github.com/users/thomasmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmaas/subscriptions","organizations_url":"https://api.github.com/users/thomasmaas/orgs","repos_url":"https://api.github.com/users/thomasmaas/repos","events_url":"https://api.github.com/users/thomasmaas/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmaas/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T10:32:41Z","updated_at":"2018-11-14T10:32:41Z","author_association":"MEMBER","body":"@josemigallas, I see some styles have changed; could we have a screen shot?"}}
{"actor":{"display_login":"thomasmaas"}}