Commit graph

45 commits

Author SHA1 Message Date
Sean Yesmunt
36067417f5 Revert "move click listener to app only for external links"
This reverts commit b58c9709e2.
2020-08-18 12:53:07 -04:00
Sean Yesmunt
b58c9709e2 move click listener to app only for external links 2020-08-18 09:25:36 -04:00
Sean Yesmunt
0df388280e add search code from lbry-redux 2020-07-27 16:37:36 -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
Sean Yesmunt
2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
Sean Yesmunt
7138fe54bc bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
Sean Yesmunt
16fcc4c932 only set x-lbry-auth-token once user is signed in 2020-06-02 16:10:43 -04:00
Sean Yesmunt
d301102af6 call preference get after entering wallet password 2020-05-29 15:29:08 -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
Jeffrey Fisher
22da6fee69 Make embeds work without sesion or local storage
Closes #4017
2020-05-21 13:28:09 -04:00
Sean Yesmunt
c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
Sean Yesmunt
b3b403a058 fix deleted text file handling on desktop 2020-05-01 09:51:29 -04:00
Alex Grintsvayg
58d323fd97 update metrics url 2020-03-24 14:53:02 -04:00
Sean Yesmunt
4368eb4c5c Revert "update metrics url"
This reverts commit ba1cdd3882.
2020-03-24 14:33:09 -04:00
Alex Grintsvayg
ba1cdd3882
update metrics url 2020-03-24 14:15:26 -04:00
Alex Grintsvayg
1875c37ed3 send a few metrics to lbrytv api 2020-03-24 11:52:42 -04:00
Sean Yesmunt
0ca53b7e63 fix desktop login 2020-03-24 10:10:22 -04:00
Sean Yesmunt
d85a1dc67c update name 2020-03-12 12:10:42 -04:00
Sean Yesmunt
878ad61fd1 update cookies to remove leading "." in domain value 2020-03-12 12:10:42 -04:00
Sean Yesmunt
49a6a8b8d9 don't call install/new, rewards, invite status, and referral code endpoints if user isn't sharing digonostics 2020-02-24 15:45:30 -05:00
jessop
af0a814a55 not sync redux defaults after clearing app data 2020-02-24 15:44:01 -05:00
jessop
6e13fcfbd3 privacy changes:
users see welcome screen once and choose preference
SETTINGS moved to redux
took steps toward eliminating unwanted analytics in app based on preferences
settings page update to privacy controls and copy

persist welcome version

default tv on

cleanup

clean up appstrings

populate prefs app only

wallet custody, app only router

settings on startup

welcome sync, 3p share sync, emojis

bump redux

cleanup

fix app not building

fix sync bug, remove tvWelcomeVersion

cleanup

disable internalshare setting while signed in
2020-02-21 15:15:48 -05:00
Sean Yesmunt
cee44b47ea re-enable sentry for web 2020-02-14 16:42:02 -05:00
Sean Yesmunt
2eb822b33e disable sentry 2020-02-05 09:45:20 -05:00
Sean Yesmunt
e69703436a try blacklisting ads url 2020-02-05 09:28:06 -05:00
Sean Yesmunt
2c36a0642d sentry 2020-02-04 23:02:18 -05:00
Sean Yesmunt
ae1374210c Revert "sentry"
This reverts commit 4091aca554.
2020-02-04 16:57:06 -05:00
Sean Yesmunt
4091aca554 sentry 2020-02-04 16:40:33 -05:00
Sean Yesmunt
27751c5e42 downgrade sdk and fix typo 2020-01-21 14:59:05 -05:00
Sean Yesmunt
c321db4cab fallback to keychain for auth_token if desktop users don't have an auth_token cookie 2020-01-21 14:39:22 -05:00
Sean Yesmunt
5c906df371 cleanup 2020-01-21 09:50:16 -05:00
Thomas Zarebczan
939a7d7689 feat: app image + cookie
fix: password stuff
2020-01-21 09:50:16 -05:00
jessop
3c739719b4 review changes 2019-12-13 13:21:34 -05:00
jessop
a3a56e7f89 edits 2019-12-13 13:21:34 -05:00
Sean Yesmunt
3a9e215357 respond to PR feedback 2019-12-03 13:25:17 -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
8839bb08db better open.lbry.com redirect handling for lbry.tv 2019-12-03 13:25:17 -05:00
Jessop
8cb4208282 autoLaunch on startup 2019-11-18 15:00:00 -05:00
jessop
04181c8a4a passes apicall for lbrytv updates 2019-11-18 11:26:50 -05:00
Jeremy Kauffman
8a2393cb67 proper default languages 2019-11-13 09:53:01 -05:00
peterjgrainger
1d053c5302 load translations before the application starts 2019-11-13 09:53:01 -05:00
peterjgrainger
ef1f6e9836 put supported languages in one constants file 2019-11-13 09:53:01 -05:00
peterjgrainger
4a0855e074 Used OS language to default localization 2019-11-13 09:53:01 -05:00
Sean Yesmunt
3f2de50368 bring publish overrides into ui/index.jsx to fix api url being set properly 2019-11-11 13:27:29 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Renamed from src/ui/index.jsx (Browse further)