Commit graph

61 commits

Author SHA1 Message Date
infiinte-persistence
2ea66f9d8d Refactor zooming code into "effects/use-zoom.js" 2020-07-14 16:08:24 -04:00
infiinte-persistence
bc19503419 Allow zooming on Desktop
## Issue
Closes 4501 `Font size`

## New behavior
The Desktop app can now zoom the same way as browsers:
- Zoom In: "Ctrl+=" or "Ctrl+numpadPlus" or "Ctrl+WheelUp"
- Zoom Out: "Ctrl+-" or "Ctrl+numpadMinus" or "Ctrl+WheelDown"
- Zoom Reset: "Ctrl+0" or "Ctrl+numpad0"

## Code changes
(1) Electron provides this functionality through the `zoomIn|zoomOut|resetZoom` roles in the Menu, so it would have been a quick job.

However, given that Electron currently does not support having multiple accelerators for one item, we can't add `Ctrl+WheelUp` to the mix and would have to implement our own handler and use `webFrame`.

Given that we need to add code anyways, we handle both keyboard and mouse cases through the same handler, hence the existence of `zoomWindow.js`.  It also provides the opportunity to few a few quirks with Electron's default implementation (e.g. stuck at both extremes)

(2) I recall there is another Issue for adding keyboard shortcuts.  Given that these shortcuts are universally used in browsers, they are probably "reserved", so shouldn't clash with that task.
2020-07-14 16:08:24 -04:00
jessop
1881627a89 only set matomo userid if hasverifiedemail 2020-07-10 10:14:06 -04:00
infiinte-persistence
2f8af4e1fa Allow upgrade nag bar to be dismissed per session
#-4368:
"Users on third party builds may have to wait a few hours for the update and the bar is annoying."
2020-06-22 09:50:35 -04:00
Sean Yesmunt
2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
Sean Yesmunt
36d60fabe4 make sure auth token header is set before any authenticated sdk calls are made 2020-06-08 13:38:34 -04:00
jessop
e3c2919373 rename lbrytv to web
language and API consts

improve customization
custom homepages
get config from .env.default
custom title and logo

small changes

add pinned item to sidebar

rebase?
2020-05-25 17:21:02 -04:00
Cassidy
c0dd3e48a4 prevents effect from being re-ran on every render 2020-05-25 13:36:17 -04:00
Cassidy
b5f3ac0526 disables page scroll when pressing spacebar 2020-05-25 13:36:17 -04:00
Baltazar Gomez
ca4bbf53df
Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
Jeremy Kauffman
793f622d8d semi-broken 2020-04-29 11:00:42 -04:00
jessop
05aa523f3a prevent loading tv degrade components in app 2020-04-25 16:20:00 -04:00
jessop
fdd20ef350 use txo list for wallet page:
paginated
enable revoking
filtering

txo pagination changes

move constants

remove fetchTransactions() calls

review changes

final changes
2020-04-15 11:12:29 -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
Thomas Zarebczan
829c2eac50 small fixes 2020-03-30 09:05:30 -04:00
Sean Yesmunt
cc7c69eb25 embed improvements 2020-03-27 09:59:07 -04:00
Sean Yesmunt
3ca3176d28 disable fail gerbil for nag instead 2020-03-26 16:17:41 -04:00
Sean Yesmunt
46cc15a1cc improve open in app link for existing LBRY users 2020-03-26 11:57:31 -04:00
seanyesmunt
f0d2298142 update copy 2020-03-17 16:15:47 -04:00
seanyesmunt
4d2e841fcd add gerbil when apis are down and move components into lbrytv/ 2020-03-17 16:15:47 -04:00
seanyesmunt
b005ed76fe add 10 second timeout to lbrytv status call 2020-03-16 17:59:24 -04:00
jessop
d9e65e8328 select tags before channels and filter channels by tag
moartags

CS tags followed category
continue button,
Remove card header on tags select

limitShow tags count

tags limit fix

debug cs tags highlighting

bugfix

yarnlock
2020-03-16 16:47:22 -04:00
Sean Yesmunt
f755ec0bcf update error message 2020-03-13 13:00:56 -04:00
Sean Yesmunt
e2c476dbf9 add error nag when api performance is degraded 2020-03-13 12:57:32 -04:00
jessop
a07fb2514e sync tags with lbry on startup and change 2020-03-11 21:47:48 -04:00
Dalton
119bda85dc fixes #3744 by allowing the user to navigate forward and backward using the respective mouse keys 2020-02-28 16:56:21 -05:00
Sean Yesmunt
75c326c98b remove rogue rewardList call 2020-02-24 15:45:30 -05:00
jessop
12c1df2315 no nag on embeds / auth verify 2020-02-22 00:42:03 -05:00
Sean Yesmunt
03f1d91c61 fix typo 2020-02-21 17:24:37 -05:00
Sean Yesmunt
f109ceaf96 add 'more' link on mobile analytics nag too 2020-02-21 16:12:11 -05:00
Sean Yesmunt
ab4856b307 fix typo 2020-02-21 16:09:10 -05:00
Sean Yesmunt
df748878e1 update copy and add help link 2020-02-21 16:09:10 -05:00
Sean Yesmunt
c0189778d2 add basic analytics nag 2020-02-21 16:09:10 -05:00
Sean Yesmunt
776de49c15 basic repost UI 2020-02-11 11:09:55 -05:00
Sean Yesmunt
93e8616e2e referrals round 2 2020-01-14 15:50:10 -05:00
Sean Yesmunt
b15f728d16 Revert "Feat new referrals" 2020-01-14 15:01:54 -05:00
jessop
d1c4e96d60 rename setReferrerPending and Error
bump lbryinc
improve invite states
register channels with apis
fix duplicate subscriptions
2020-01-14 12:42:56 -05:00
jessop
b16688754b new referrals
enable visiting /$/CODE or /$/invite/CHANNEL
enable visiting /ANY?=[CODE|CHANNEL] to set and claim
enable /$/invite selecting channels for referral codes
add ?r=CODE to share modal
enable setting referrer and claiming reward from rewards page
2020-01-14 12:42:56 -05:00
jessop
92af68d912 new invite route 2020-01-14 12:42:55 -05:00
Sean Yesmunt
72b9f3efdd new text viewer layout 2020-01-06 16:35:43 -05:00
Sean Yesmunt
ef9b34c51f cleanup 2020-01-02 18:16:54 -05:00
Sean Yesmunt
a8711c027f navigation redesign 2020-01-02 18:16:54 -05:00
Sean Yesmunt
d9ba9ec5d4 update lbry-redux 2019-12-21 14:34:39 -05:00
Sean Yesmunt
f5d8531b8e call preference get for all users 2019-12-21 13:43:42 -05:00
Thomas Zarebczan
508f2249ba fix: unauthed users
Don't call preference get or wallet status (on settings page)
2019-12-14 11:12:33 -05:00
jessop
db9a2152fa enable wallet server management and handle some startup contingencies 2019-12-13 13:21:34 -05:00
jessop
38c954853e update splash % call to use headers_synchronization_progress 2019-12-11 10:43:34 -05:00
Sean Yesmunt
2944ed3664 add open in app link 2019-12-06 16:16:14 -05:00
Sean Yesmunt
d2a1852a8d Revert "add open in app link"
This reverts commit d980a01303.
2019-12-06 16:05:10 -05:00
Sean Yesmunt
d7d8b2f39a Revert "move upgrade prompt to a <Nag />"
This reverts commit 0c125ed2b9.
2019-12-06 16:05:10 -05:00