Commit graph

23 commits

Author SHA1 Message Date
infiinte-persistence 590feab1d1 Button: Enable tooltip for <a> types
The "Report Content" button was the impetus for this, as there was no way to know what that button is for unless the user clicked it (or smart enough to decipher the icon).

3465
2020-10-02 12:01:03 -04:00
Sean Yesmunt 14113f3c35 handle external pinned links 2020-09-23 11:01:56 -04:00
sanabhass 2ae3484363 Support for auto-detection of direction for component with varying content 2020-08-21 11:50:40 -04:00
Sean Yesmunt 2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
Sean Yesmunt dd47bc673d fix links in embeds 2020-06-04 10:57:31 -04:00
jessop 7fe88d86d5 strip ga calls 2020-06-02 16:52:34 -04:00
infiinte-persistence fa219af5aa Reuse available text as the tooltip where appropriate.
The best candidate is `aria-label`, followed by `description`.

Most of the existing elements already have these defined, so try to route it as the tooltip instead of having to explicitly define tooltips everywhere through a redundant `title` or <Tooltip> tag.

Minor side-effect:
This will cancel off any effect from a parent <Tooltip>, i.e. might confuse future developers who are trying to do "<Tooltip><Button></Button></Tooltip>".
2020-05-15 09:45:55 -04:00
Sean Yesmunt adfc46e81a only render largestLabel stuff if largestLabel is passed in 2020-04-17 16:33:02 -04:00
SleepingFox eb64079b9e fixed distance between button icon and label 2020-04-17 12:24:06 -04:00
SleepingFox 6cc301dd35 remove visible borders 2020-04-17 12:24:06 -04:00
SleepingFox 25fa777dd6 remove unused lines 2020-04-17 12:24:06 -04:00
SleepingFox a63d850744 Buttons no longer tall 2020-04-17 12:24:06 -04:00
SleepingFox a7990e5bab Messy PoC
state jittering still seems to be an issue on rare occasion even though the button hitbox is no longer changing size.
2020-04-17 12:24:06 -04:00
SleepingFox f77439708e hidden label parent of button content
visually on the page, label needs to be centered inside of largestLabel
2020-04-17 12:24:06 -04:00
Jeremy Kauffman 872259b73a
File downloads and refactoring (#3918)
* am I done?

* post diff

* unused selector cleanup

* missed commit

* mess with button styles

* fix flow

Co-authored-by: Jeremy Kauffman <jeremy@lbry.io>
Co-authored-by: Sean Yesmunt <sean@lbry.io>
2020-04-01 14:43:50 -04:00
Sean Yesmunt b50f1b0d8b trigger analytics view for download on lbry.tv 2020-01-13 12:42:24 -05:00
Sean Yesmunt 978871a927 enable downloads on lbry.tv 2020-01-13 12:42:24 -05:00
Sean Yesmunt 72b9f3efdd new text viewer layout 2020-01-06 16:35:43 -05:00
Sean Yesmunt bf512e8338 use same code for handling open links on lbry.tv and desktop 2019-12-03 13:25:17 -05:00
Sean Yesmunt 15815e5071 remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
jessop aeb0d7acd1 no refs in NavLink 2019-11-19 16:28:59 -05:00
jessop fe50dc7bb7 fixes button hover 2019-11-19 16:28:59 -05:00
Sean Yesmunt 6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00