{"action":"created","issue":{"url":"https://api.github.com/repos/r888888888/danbooru/issues/3666","repository_url":"https://api.github.com/repos/r888888888/danbooru","labels_url":"https://api.github.com/repos/r888888888/danbooru/issues/3666/labels{/name}","comments_url":"https://api.github.com/repos/r888888888/danbooru/issues/3666/comments","events_url":"https://api.github.com/repos/r888888888/danbooru/issues/3666/events","html_url":"https://github.com/r888888888/danbooru/pull/3666","id":317875948,"number":3666,"title":"Fix #3664: Highlight non-gentags in post tooltip","user":{"login":"evazion","id":8430473,"avatar_url":"https://avatars2.githubusercontent.com/u/8430473?v=4","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-26T04:44:03Z","updated_at":"2018-04-27T18:58:14Z","closed_at":"2018-04-26T18:41:00Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/r888888888/danbooru/pulls/3666","html_url":"https://github.com/r888888888/danbooru/pull/3666","diff_url":"https://github.com/r888888888/danbooru/pull/3666.diff","patch_url":"https://github.com/r888888888/danbooru/pull/3666.patch"},"body":"Fixes #3664. This goes a step further and replaces the default browser tooltips with HTML tooltips. This allows tags to be colorized and clickable too.\r\n\r\nThis works as follows:\r\n\r\n* After hovering over the thumbnail for enough time, we make a call to `/posts/{id}?variant=tooltip` to get the tooltip html and insert it into the tooltip. This template uses Rails' [variants system](http://guides.rubyonrails.org/4_1_release_notes.html#action-pack-variants).\r\n* [qtip2](http://qtip2.com) is used to generate the tooltips. This gives us a look and feel that's close to native browser tooltips.\r\n* To generate the tag list, we use `split_tag_list_html`, which is the same code that generates the sidebar tag list. 442964b and f299858 were refactorings to make this possible. A side effect of this is that tag lists on the /comments page and in the modqueue are now sorted by category too (previously they were just alphabetical).\r\n\r\nScreenshot:\r\n\r\n![awesomescreenshot-2018-04-26t04-04-51-291z](https://user-images.githubusercontent.com/8430473/39286146-e4a0db76-48e1-11e8-8521-3078ced1dbab.gif)"},"comment":{"url":"https://api.github.com/repos/r888888888/danbooru/issues/comments/385063486","html_url":"https://github.com/r888888888/danbooru/pull/3666#issuecomment-385063486","issue_url":"https://api.github.com/repos/r888888888/danbooru/issues/3666","id":385063486,"user":{"login":"evazion","id":8430473,"avatar_url":"https://avatars2.githubusercontent.com/u/8430473?v=4","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T18:58:14Z","updated_at":"2018-04-27T18:58:14Z","author_association":"COLLABORATOR","body":"Pushed a couple tweaks: increased the delay to 450ms, adjusted the height, and condensed the tag list. This should feel a bit better."}}
{"actor":{"display_login":"evazion"}}