{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/1550","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/1550/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/1550/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/1550/events","html_url":"https://github.com/oppia/oppia/issues/1550","id":137820286,"number":1550,"title":"Return profile pictures together with the other data in the exploration summary tiles","user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/feature:%20minor","name":"feature: minor","color":"fef2c0"},{"url":"https://api.github.com/repos/oppia/oppia/labels/general/speed-improvements","name":"general/speed-improvements","color":"eeeeee"},{"url":"https://api.github.com/repos/oppia/oppia/labels/starter%20project","name":"starter project","color":"bfe5bf"},{"url":"https://api.github.com/repos/oppia/oppia/labels/TODO:%20code","name":"TODO: code","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-02T09:26:51Z","updated_at":"2016-03-03T04:03:37Z","closed_at":null,"body":"The exploration summary data information that is returned in core.domain.summary_services should include dataURIs of the profile pictures of the contributors, probably obtained using a get_multi() (so that only one call is made to the datastore). Otherwise, many separate calls are made to the server in order to retrieve the profile images that are shown at the top right of the exploration tiles displayed via components/exploration_summary_tile_directive.html.\r\n\r\nIt probably makes sense to change the format of the return dict of the function in summary_services accordingly, as follows: replace the 'contributor_names' key with a 'contributors' key, whose value is a list of dicts; each dict in this list has two keys: 'name' and 'profile_picture_data_uri'. The change should be propagated up the stack as needed."},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/191571653","html_url":"https://github.com/oppia/oppia/issues/1550#issuecomment-191571653","issue_url":"https://api.github.com/repos/oppia/oppia/issues/1550","id":191571653,"user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T04:03:37Z","updated_at":"2016-03-03T04:03:37Z","body":"OK, great! I'll also keep it in mind for the default profile picture stuff (#1544).\r\n\r\nIn the meantime, would you be interested in taking on this issue?"}}