{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/2078","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2078/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2078/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2078/events","html_url":"https://github.com/CartoDB/cartodb/pull/2078","id":56552893,"number":2078,"title":"Adds map previews to the new dashboard","user":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-04T16:47:17Z","updated_at":"2015-02-11T18:29:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb/pulls/2078","html_url":"https://github.com/CartoDB/cartodb/pull/2078","diff_url":"https://github.com/CartoDB/cartodb/pull/2078.diff","patch_url":"https://github.com/CartoDB/cartodb/pull/2078.patch"},"body":"This branch adds map previews to the new dashboard using our Static Map API:\r\n\r\n- the [_renderMapThumbnail](https://github.com/CartoDB/cartodb/pull/2078/files#diff-3820350fae17cd3cc619002993d7b83eR97) method requests a thumbnail using the visualization vizjson and updates the default image placeholder with the returned URL. \r\n- In case of error, [a random error image is shown instead](https://github.com/CartoDB/cartodb/pull/2078/files#diff-3820350fae17cd3cc619002993d7b83eR116).\r\n- Adds [lib/assets/javascripts/cartodb/common/map_previews.js](https://github.com/CartoDB/cartodb/blob/1560-new-dashboard-medusa/lib/assets/javascripts/cartodb/common/map_previews.js) to render the previews cards from the [new_public_maps.html.erb](https://github.com/CartoDB/cartodb/blob/1560-new-dashboard-medusa/app/views/admin/pages/new_public_maps.html.erb#L17)"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/73935555","html_url":"https://github.com/CartoDB/cartodb/pull/2078#issuecomment-73935555","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2078","id":73935555,"user":{"login":"Cartofante","id":5066482,"avatar_url":"https://avatars.githubusercontent.com/u/5066482?v=3","gravatar_id":"","url":"https://api.github.com/users/Cartofante","html_url":"https://github.com/Cartofante","followers_url":"https://api.github.com/users/Cartofante/followers","following_url":"https://api.github.com/users/Cartofante/following{/other_user}","gists_url":"https://api.github.com/users/Cartofante/gists{/gist_id}","starred_url":"https://api.github.com/users/Cartofante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cartofante/subscriptions","organizations_url":"https://api.github.com/users/Cartofante/orgs","repos_url":"https://api.github.com/users/Cartofante/repos","events_url":"https://api.github.com/users/Cartofante/events{/privacy}","received_events_url":"https://api.github.com/users/Cartofante/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T18:29:23Z","updated_at":"2015-02-11T18:29:23Z","body":"Frontend tests were OK :+1: ([details](http://clinker.cartodb.net/jenkins/job/CartoDB-PR-testing/1538/))"}}