{"action":"created","issue":{"url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/231","repository_url":"https://api.github.com/repos/daniel-nagy/md-data-table","labels_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/231/comments","events_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/231/events","html_url":"https://github.com/daniel-nagy/md-data-table/pull/231","id":125120214,"number":231,"title":"Add optional avatars to mdSelect rows","user":{"login":"edbentinck","id":6202888,"avatar_url":"https://avatars.githubusercontent.com/u/6202888?v=3","gravatar_id":"","url":"https://api.github.com/users/edbentinck","html_url":"https://github.com/edbentinck","followers_url":"https://api.github.com/users/edbentinck/followers","following_url":"https://api.github.com/users/edbentinck/following{/other_user}","gists_url":"https://api.github.com/users/edbentinck/gists{/gist_id}","starred_url":"https://api.github.com/users/edbentinck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edbentinck/subscriptions","organizations_url":"https://api.github.com/users/edbentinck/orgs","repos_url":"https://api.github.com/users/edbentinck/repos","events_url":"https://api.github.com/users/edbentinck/events{/privacy}","received_events_url":"https://api.github.com/users/edbentinck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-06T06:21:28Z","updated_at":"2016-05-02T01:12:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/daniel-nagy/md-data-table/pulls/231","html_url":"https://github.com/daniel-nagy/md-data-table/pull/231","diff_url":"https://github.com/daniel-nagy/md-data-table/pull/231.diff","patch_url":"https://github.com/daniel-nagy/md-data-table/pull/231.patch"},"body":"Adds optional functionality to the `mdSelect` directive to allow for avatars, as seen in the gif below. Makes for a nicer UI without sacrificing any existing functionality. This is great for tables where you're displaying user information.\r\n\r\n![md-data-table](https://cloud.githubusercontent.com/assets/6202888/12136240/40324d08-b40b-11e5-93e9-fa756b76a604.gif)\r\n\r\nCurrently the input is a `string`. I also considered making it an `object` in order to allow for extra data – e.g.:\r\n```{src: 'dessert.picture', alt: 'dessert.name', fallback: 'path/to/image.png'}```\r\nbut ultimately decided against increasing the level of complexity. Would you agree?\r\n\r\nAny comments or feedback are welcome."},"comment":{"url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/comments/216088453","html_url":"https://github.com/daniel-nagy/md-data-table/pull/231#issuecomment-216088453","issue_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/231","id":216088453,"user":{"login":"flick36","id":8582529,"avatar_url":"https://avatars.githubusercontent.com/u/8582529?v=3","gravatar_id":"","url":"https://api.github.com/users/flick36","html_url":"https://github.com/flick36","followers_url":"https://api.github.com/users/flick36/followers","following_url":"https://api.github.com/users/flick36/following{/other_user}","gists_url":"https://api.github.com/users/flick36/gists{/gist_id}","starred_url":"https://api.github.com/users/flick36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flick36/subscriptions","organizations_url":"https://api.github.com/users/flick36/orgs","repos_url":"https://api.github.com/users/flick36/repos","events_url":"https://api.github.com/users/flick36/events{/privacy}","received_events_url":"https://api.github.com/users/flick36/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T01:12:56Z","updated_at":"2016-05-02T01:12:56Z","body":"Maybe adding `avatar.attr('onerror', 'this.src=fallbackVaraible');` would work best for a callback"}}