{"action":"created","issue":{"url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/23","labels_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/23/comments","events_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/23/events","html_url":"https://github.com/stevschmid/trackobot.com/issues/23","id":103852615,"number":23,"title":"Card tooltips in Timeline view","user":{"login":"taylan","id":123144,"avatar_url":"https://avatars.githubusercontent.com/u/123144?v=3","gravatar_id":"","url":"https://api.github.com/users/taylan","html_url":"https://github.com/taylan","followers_url":"https://api.github.com/users/taylan/followers","following_url":"https://api.github.com/users/taylan/following{/other_user}","gists_url":"https://api.github.com/users/taylan/gists{/gist_id}","starred_url":"https://api.github.com/users/taylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylan/subscriptions","organizations_url":"https://api.github.com/users/taylan/orgs","repos_url":"https://api.github.com/users/taylan/repos","events_url":"https://api.github.com/users/taylan/events{/privacy}","received_events_url":"https://api.github.com/users/taylan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-29T13:46:00Z","updated_at":"2015-09-03T16:02:17Z","closed_at":null,"body":"I was thinking it would be nice if card tooltips were shown when the user hovers over a card in the timeline view. I have something like this in mind:\r\n\r\n![](http://i.imgur.com/ORa3pQR.png)\r\n\r\nI know of two sites that provide Javascript tooltip service for HS cards: [HearthPwn](http://www.hearthpwn.com/tooltips) and [Hearthhead](http://www.hearthhead.com/tooltips). Unfortunately, both of them require you to know the site-specific IDs for cards to construct the url.\r\n\r\n**However**, I might have found a bit of a loophole. The url format for Hearthhead card images contains the HearthStone card IDs. Something like:\r\n\r\n`http://wow.zamimg.com/images/hearthstone/cards/enus/original/BRMC_91.png`\r\n\r\nSo we can obtain card images using the `Cards.ref` field. The show/hide and positioning logic can be implemented with some simple Javascript (or we can use a lightweight plugin.)\r\n\r\nWhat do you think? If this sounds like a good idea to you, I would be interested in working on it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/comments/137495777","html_url":"https://github.com/stevschmid/trackobot.com/issues/23#issuecomment-137495777","issue_url":"https://api.github.com/repos/stevschmid/trackobot.com/issues/23","id":137495777,"user":{"login":"stevschmid","id":2707380,"avatar_url":"https://avatars.githubusercontent.com/u/2707380?v=3","gravatar_id":"","url":"https://api.github.com/users/stevschmid","html_url":"https://github.com/stevschmid","followers_url":"https://api.github.com/users/stevschmid/followers","following_url":"https://api.github.com/users/stevschmid/following{/other_user}","gists_url":"https://api.github.com/users/stevschmid/gists{/gist_id}","starred_url":"https://api.github.com/users/stevschmid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevschmid/subscriptions","organizations_url":"https://api.github.com/users/stevschmid/orgs","repos_url":"https://api.github.com/users/stevschmid/repos","events_url":"https://api.github.com/users/stevschmid/events{/privacy}","received_events_url":"https://api.github.com/users/stevschmid/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T16:02:16Z","updated_at":"2015-09-03T16:02:16Z","body":"With the advent of TGT I really like this idea.\r\n\r\nIt's a bummer that neither Hearthpwn nor Hearthhead allows for tooltips with the card id (`ref`). Just grabbing the image would probably violate the purpose why such tooltip services were created in the first place. I'm not a fan of a mapping either. But I don't have a good solution right now."}}