Commit graph

31 commits

Author SHA1 Message Date
jessopb
b92fb03856
Remove swap (#7659)
* remove requiresAuth

* remove centralized btcswap code
2022-08-02 17:17:00 -04:00
jessopb
6ca058c3a1
support embed preference (#7114)
* support embed preference

* title color
2021-09-18 10:23:30 -04:00
btzr-io
0397617bed use aria-hidden on all icons by default 2021-07-14 13:44:22 -05:00
btzr-io
b595021a7f fix missing aria-label on links / navlinks 2021-07-13 16:38:50 -05:00
btzr-io
c11b73d117 use aria-hidden for icons indside buttons
use aria-expanded for sidebar menu button
2021-07-13 16:23:29 -05:00
btzr-io
6eca14f140 fix issue of invalid aria-label values 2021-07-13 15:19:52 -05:00
zeppi
1a30cb6586 clean 2021-06-18 10:57:19 -04:00
zeppi
2268ab01fb app works when id api fails 2021-06-18 10:57:19 -04:00
Sean Yesmunt
e5301dec04 move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
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
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
Renamed from src/ui/component/button/view.jsx (Browse further)