Commit Graph

15 Commits

Author SHA1 Message Date
evazion
27ca4f7cb1 post tooltips: reduce width/height, increase delay. 2018-05-07 13:18:22 -05:00
evazion
80f8a7fee4 post tooltips: add disable button inside tooltip. 2018-04-30 02:20:06 -05:00
evazion
93471c99c9 post tooltips: position tooltips above thumbnail. 2018-04-30 02:20:06 -05:00
evazion
21431892e8 post tooltips: increase delay 33%, remove gaps between tags. 2018-04-29 12:09:09 -05:00
evazion
862b1bc4c8 post tooltips: don't show if lost focus during ajax call (#3689).
Fix the tooltip appearing and getting stuck when the user mouses out
during the ajax request.
2018-04-29 01:58:39 -05:00
evazion
57203727b6 post tooltips: hide on keypresses (#3689). 2018-04-29 00:17:56 -05:00
evazion
08e25e40c5 post tooltips: disable tooltips on touchscreens (#3689).
On phones / tablets, long pressing a thumbnail sends emulated mouse events
that trigger the tooltip. Disable tooltips while touching is active.
2018-04-29 00:05:33 -05:00
evazion
a6499b5169 post tooltips: add disable option (#3689).
* Add "disable post tooltips" account setting.
* Add back title attribute for when fancy tooltips are disabled.
2018-04-28 23:50:51 -05:00
evazion
1a29b96579 post tooltips: avoid positioning tooltips offscreen (#3689).
ref: http://qtip2.com/plugins#viewport.
2018-04-28 23:49:22 -05:00
evazion
0dcd303546 post tooltips: cache html after first api call (#3689).
Avoid triggering the API call each time you hover over the same post.
Overwrite `content.text` to save the results after the first call.
2018-04-28 23:49:03 -05:00
evazion
e5db839e54 post tooltips: hide when clicking thumbnail (#3689). 2018-04-28 22:01:16 -05:00
evazion
907881aced post tooltips: increase delay, constraint height, condense tags (#3666).
* Increase hover delay to 450ms.
* Set max height and add scrollbars for long tag lists.
* Condense tag list (don't put categories on separate lines).
2018-04-27 13:55:14 -05:00
evazion
63a29247b2 post tooltips: disable on pool/favgroup order pages.
Disable to avoid tooltips appearing while trying to drag and drop.
2018-04-27 00:08:21 -05:00
evazion
ed2b89a947 post tooltips: temp fix for jquery-ui 1.11 incompatibility.
ref: https://github.com/r888888888/danbooru/pull/3666#issuecomment-384775144
2018-04-26 15:49:14 -05:00
evazion
bb3c88dbc8 thumbnails: replace browser tooltips with qtip2 tooltips (#3664). 2018-04-25 23:06:11 -05:00