Commit graph

1819 commits

Author SHA1 Message Date
Sean Yesmunt
138d84155b fix opening files externally on desktop 2020-12-15 13:58:27 -05:00
Sean Yesmunt
d3f0e471e5 Revert "Tokenize and format timestamps in Markdown"
This reverts commit 93709fbeb8.
2020-12-14 22:31:18 -05:00
Sean Yesmunt
85f8965d44 Revert "Handle timestamp in Markdown."
This reverts commit 3f1913e5f4.
2020-12-14 22:31:18 -05:00
infiinte-persistence
3f1913e5f4 Handle timestamp in Markdown.
The videojs player is exposed through the 'window' object.
2020-12-14 12:12:50 -05:00
infiinte-persistence
93709fbeb8 Tokenize and format timestamps in Markdown
1. Find and tokenize timestamps, i.e. "XX:XX:XX" strings.
2. Transform 'timestamp' nodes to Links.
2020-12-14 12:12:50 -05:00
infinite-persistence
04fbde49ec
Video: Mobile UI + overlay for keyboard shortcut feedback (#5119)
Co-authored-by: import <>
2020-12-14 11:40:59 -05:00
Sean Yesmunt
e648f15fdc lower thumbnail quality to 80 2020-12-11 17:08:20 -05:00
Sean Yesmunt
f420785bfb fix casing 2020-12-11 17:01:59 -05:00
Sean Yesmunt
9c5ffdc1bf deal with completed transfers on youtube transfer page 2020-12-11 17:01:59 -05:00
Sean Yesmunt
38a916dcc4 fix view_count getting called multiple times 2020-12-11 17:01:59 -05:00
Sean Yesmunt
6ac3b0d6cd add sub/upload count to youtube transfer status component 2020-12-11 17:01:59 -05:00
Sean Yesmunt
a5e9557e4b enable thumbnail cdn for all file thumbnails 2020-12-11 15:47:06 -05:00
Sean Yesmunt
120300643f improved mobile-search experience 2020-12-11 14:37:06 -05:00
infiinte-persistence
b35e68c6d3 Don't parse a 'mailto:' into a lbry link.
## Issue
5130: Support mailto hyperlinks / urls in markdown

## Change
The markdown components already support mailto, just that the logic here ended up making it a 'ClaimLink'
2020-12-11 10:18:07 -05:00
Sean Yesmunt
b0026a562a pass x-lbry-auth-token to apis status call for email verified users 2020-12-10 17:35:03 -05:00
Sean Yesmunt
cffc70fb6b disable 2020-12-10 17:28:38 -05:00
Sean Yesmunt
996a5c40b1 use new cdn for images
default to using one in the env
2020-12-10 17:01:29 -05:00
Sean Yesmunt
c2213d9008 new test 2020-12-09 18:03:40 -05:00
Sean Yesmunt
dccb1c93e1 comment out cdn - need to fix env so I don't need to make this change 2020-12-09 12:48:36 -05:00
infiinte-persistence
d8787cb4c5 Handle scrolling for ClaimListDiscover that exists in the middle of a page.
## Issue
5090: When sorting channels, switching between Trending/Top/New returns viewer to the top of the page

## Approach
- Add an optional parameter to `ClaimListDiscover/Header` to add an additional anchor ID when building a new search URL.
- Clients then add the anchor ID on the desired location.
- The code that handles the scrolling then checks if the `location` contains an anchor hash. If it does, we'll scroll to that element; else, the existing behavior will be used.
2020-12-08 16:01:32 -05:00
infiinte-persistence
4b53d1267c Consolidate method of reseting scroll position
## Issues
(1) 4783: New search query does not reset to the top
(2) The current way that Tag Search resets the position can be overridden by the AppRouter's call.

## Approach
Listen to `search` changes as well. This basically covers any search param changes.

Components should probably not call `window.scrollTo` directly as the AppRouter's call might override it.
2020-12-08 16:01:32 -05:00
Sean Yesmunt
a23b3c8d26 check for thumbnail cdn in config before using 2020-12-08 15:15:29 -05:00
Sean Yesmunt
e81d11fd55 Revert "Revert "use cdn for thumbnails""
This reverts commit d257c312c1.
2020-12-08 15:15:29 -05:00
Sean Yesmunt
d257c312c1 Revert "use cdn for thumbnails"
This reverts commit f7279c1d49.
2020-12-08 14:24:49 -05:00
Sean Yesmunt
f7279c1d49 use cdn for thumbnails 2020-12-08 13:54:23 -05:00
Sean Yesmunt
caae63b44b refresh homepage if clicking 'home' while on the homepage 2020-12-08 11:45:18 -05:00
zeppi
f8d09994f6 top page selects channel tab if channel is winning 2020-12-07 22:24:08 -05:00
zeppi
cf1d051288 no tiny sidebar signup 2020-12-04 09:22:36 -05:00
Sean Yesmunt
00c6d80ec9 only search for 25 results on channel page 2020-12-03 16:42:22 -05:00
Sean Yesmunt
4e0e1e2f2b cleanup 2020-12-03 16:18:04 -05:00
Sean Yesmunt
0de87521b8 add placeholder for top wunderbar suggestion 2020-12-03 15:47:06 -05:00
Sean Yesmunt
30d8a0406d wunderbar improvements 2020-12-03 12:39:12 -05:00
zeppi
b736444306 player started event (embedded) 2020-11-30 14:52:05 -05:00
zeppi
adde73605d player loaded analytics event (for embedded/not) 2020-11-30 14:52:05 -05:00
Sean Yesmunt
919c2bd22a record channel in analytics on first run 2020-11-30 11:50:26 -05:00
zeppi
0495dff904 fix homepage and language defaults 2020-11-25 13:04:07 -05:00
zeppi
d7856b7618 settings use null when matching current browser language
default language functions

bugfix1

bugfix2

bugfix4
2020-11-23 14:12:31 -05:00
Sean Yesmunt
d0773cec4a only use custom scrollbar on non-mac 2020-11-23 14:03:51 -05:00
Sean Yesmunt
d012300fe9 remove double 'discover' link showing up in mobile side nav 2020-11-23 14:03:51 -05:00
infiinte-persistence
28e7fec338 videojs: Add shortcuts for Playback-Rate
">" (shift + .) = Speed Up
"<" (shift + ,) = Speed Down
2020-11-23 13:12:22 -05:00
infiinte-persistence
7fb7560f75 Limit scrollbar customization to: (1) web (2) linux/windows app
The only downside to this new implementation is that the top-most (or right-most?) scrollbar won't get the customization. Any other sub-components (e.g. sidebar) will get the customization.

My guess is that the "top-most" scrollbar is above the `main-wrapper`. I'm not sure if we can (or should) add another className higher than App.

The impetus for the customization was the ugly sidebar anyway, so at least we covered that.
2020-11-23 11:00:41 -05:00
Sean Yesmunt
d42586dc9e fix LbcMessage for ranges with decimals 2020-11-20 12:01:16 -05:00
Sean Yesmunt
fe2656cfa9 don't default to 'new' on discover page 2020-11-20 12:01:16 -05:00
Sean Yesmunt
c822f1702f handle malformed markdown links 2020-11-19 15:28:19 -05:00
Sean Yesmunt
aa4886344e don't allow claims from future to be rendered 2020-11-19 13:33:37 -05:00
Sean Yesmunt
9801f43d3e hack together a thumbnail message on the channel page 2020-11-19 13:33:37 -05:00
Sean Yesmunt
c4573df90f fix import 2020-11-18 17:15:18 -05:00
Sean Yesmunt
89aaf523ca keep discover page only for non SIMPLE_SITEs 2020-11-17 18:45:26 -05:00
Sean Yesmunt
e5301dec04 move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
Sean Yesmunt
29e7af5bfc move links for better odysee parity 2020-11-16 19:09:09 -05:00
Sean Yesmunt
3b6882412a enable 'discover' page for everyone 2020-11-16 14:11:52 -05:00
infiinte-persistence
18debf51cd FloatingPlayer: fix unusable volume slider in fp-mode
4913: Can't slide volume slider in pop out mode

I first tried to handle this at the floating player level, but it was impossible to hack there due to how 'react-draggable' works (it already moved the window before the "move" handler is called, so we can't do much).

Fix by overriding the dragging behavior of the videojs' VolumeBar class by not propagating the event further. It is odd that videojs didn't already do this, since it's SeekBar does stop the propagation.
2020-11-16 10:38:29 -05:00
zeppi
ef06c75e8f send none with en language 2020-11-16 10:34:16 -05:00
Sean Yesmunt
00fb833c38 fix claim_search filter dropdown style 2020-11-16 10:19:50 -05:00
Sean Yesmunt
a4c9115063 cleanup from last PR 2020-11-13 15:54:00 -05:00
Sean Yesmunt
026b416ca1 clean up claim_search filters 2020-11-13 15:51:29 -05:00
Sean Yesmunt
f1adfddded bump lbry-redux and handle other fatal sync errors 2020-11-13 14:48:04 -05:00
Sean Yesmunt
cfb10db4ea add fatal error handling when sync/get fails with unknown error 2020-11-13 14:48:04 -05:00
infiinte-persistence
dfef97d715 claim_search: Don't clear past page results if subsequent pages timeout.
## Issue
4609: If claim search on latter page fails, don't clear out all previous data

## Note
This requires an accompanying change in `lbry-redux` to mark `claimSearchResultLastPageReached` during timeout and to not purge past results.

## Change
The previous flow was: increment the page, and expect the next render to either be 0 (timeout + purge) or fill in at least 1 new item.

Since it is now possible for no results to be returned for the new page (due to timeout + no purging), the code continues to make another query. This commit stops the perpetual querying.

## Test Case:
1. https://lbry.tv/$/discover?t=imherelbry&content=video&order=top&fresh=year
2. Scroll down a few pages until it timeout happens. Past results are gone.
2020-11-13 13:23:50 -05:00
Sean Yesmunt
96e28aadf5 don't trigger sync when changing tile layout 2020-11-13 13:17:25 -05:00
Sean Yesmunt
509cbb07fe fix notification icons 2020-11-13 13:17:25 -05:00
Sean Yesmunt
64ea6e6adc fix lbc icon on notifications page 2020-11-13 00:36:23 -05:00
infiinte-persistence
fc79c87bba Fix sidebar tooltip showing string with context metadata.
## Issue
In the odysee branch, the tooltip for "Following" in the Sidebar was shown as "Following --[sidebar]--". In lbry.tv, the tooltip doesn't appear.

I believe the tooltip appeared due to the name change from 'label' to 'title' and then being passed to Button through '...passedProps'.

Fix by explicitly setting the Button's 'title' to the localized text.
2020-11-12 15:21:40 -05:00
Sean Yesmunt
fce6c17f4f remove channel preview in comments 2020-11-12 13:46:40 -05:00
Sean Yesmunt
881ce59ade add basic message for thumbnail uploads 2020-11-11 22:49:41 -05:00
zeppi
463f72ee56 channel avatar fix 2020-11-10 16:41:21 -05:00
zeppi
3da7ec5c2c fix links spread bug 2020-11-10 14:02:59 -05:00
zeppi
fe8adaaa49 hp description 2020-11-10 14:02:59 -05:00
Sean Yesmunt
47f45fce0c fix typos 2020-11-10 12:22:25 -05:00
Sean Yesmunt
4b59bd0223 add back help links for SIMPLE_SITE 2020-11-10 12:08:19 -05:00
Sean Yesmunt
1023f30b4c initial PR for custom homepages - take 2 2020-11-10 12:08:19 -05:00
Sean Yesmunt
353c1a5689 Revert "unified custom homepage"
This reverts commit 55768fc6b5.
2020-11-10 10:36:11 -05:00
Sean Yesmunt
1814733d5b Revert "add back sign up nudge"
This reverts commit f0cabbff7d.
2020-11-10 10:36:11 -05:00
Sean Yesmunt
f0cabbff7d add back sign up nudge 2020-11-10 10:24:04 -05:00
jessop
55768fc6b5 unified custom homepage 2020-11-10 10:24:04 -05:00
Sean Yesmunt
f63de7f930 add nudges to sign up 2020-11-10 00:33:27 -05:00
jessop
391ab15b15 dont set sync enabled on web on sign up 2020-11-09 15:06:14 -05:00
Sean Yesmunt
1ef587b8c2 fix typos and bump lbryinc 2020-11-09 13:37:51 -05:00
Sean Yesmunt
1cc7be746b move splash animation out of settings 2020-11-09 13:37:51 -05:00
Sean Yesmunt
6626cc1059 fix floating player location on desktop 2020-11-09 13:37:51 -05:00
Sean Yesmunt
c21fef5b24 new ads provider 2020-11-05 12:21:32 -05:00
Sean Yesmunt
d408b0fd96 fix page crash on mailto links 2020-11-04 16:08:23 -05:00
Sean Yesmunt
dc3fac6a4c don't hide lbc details if no description 2020-11-04 16:08:23 -05:00
Sean Yesmunt
fd5cde08c3 add back video player on adstest pagegaa 2020-11-04 12:00:31 -05:00
Sean Yesmunt
485a734c9b make notifications deleteable + unsub from the bell on notifications page 2020-11-04 10:25:49 -05:00
Sean Yesmunt
a836467714 content notification style cleanup 2020-11-04 10:25:49 -05:00
Sean Yesmunt
cb50b8a9bc Revert "Improve IOS inline experience"
This reverts commit 9b38ba6c02.
2020-11-02 17:15:02 -05:00
Sean Yesmunt
3f76092a3b per channel notification settings take 2 2020-11-02 15:50:53 -05:00
Sean Yesmunt
3f7d7674ff Revert "only show bell for users with notifications on"
This reverts commit c94d22994f.
2020-11-02 15:31:09 -05:00
Sean Yesmunt
c94d22994f only show bell for users with notifications on 2020-11-02 14:19:01 -05:00
Sean Yesmunt
25085fe881 update bell icon 2020-11-02 14:13:13 -05:00
Sean Yesmunt
63f1fed33c per channel notification settings 2020-11-02 14:13:13 -05:00
Sean Yesmunt
e6016538b4 add ads script to head for test 2020-11-02 12:01:58 -05:00
infiinte-persistence
591f604073 Remove translation macro on native language names.
I believe we don't translate these since this is already the translated form?

When the language is supported later, the English version will be added to the string database instead.
2020-10-30 00:21:51 -04:00
Sean Yesmunt
52eb4de7a9 add adstest page to test player ads 2020-10-30 00:20:42 -04:00
Sean Yesmunt
46fbcb5a0f fix autoplay countdown 2020-10-30 00:04:59 -04:00
Sean Yesmunt
b33f14cca4 make file details smaller 2020-10-30 00:04:59 -04:00
Thomas Zarebczan
9b38ba6c02 Improve IOS inline experience
Also puts back the video js player which has rate support - but it's hidden on smaller devices...maybe someone can fix later on.
2020-10-29 17:02:40 -04:00
jessop
734e08a209 bump and bugfix 2020-10-29 15:20:18 -04:00
jessop
c4d05a5a1a claim-search by language
setting to search only in language as default

add channel update language selection and about

bump

searchable languages
2020-10-29 15:20:18 -04:00
jessopb
54466edafc
Merge pull request #4963 from lbryio/feat-userIconIdentity
make header user icon reflect comment identity
2020-10-29 08:27:34 -04:00
jessop
91f748d566 enable owners to tag claims and channels disable-support 2020-10-29 01:11:39 -04:00
jessop
ed61ac44bf make header user icon reflect comment identity 2020-10-28 17:49:28 -04:00
Sean Yesmunt
f2c6986a6f show channels + streams as winning claim from search query 2020-10-28 16:28:36 -04:00
Sean Yesmunt
9c20a63ad5 add spinner when waiting for 'user' so page doesn't look broken 2020-10-28 14:45:04 -04:00
Sean Yesmunt
aed74c4608 fix creator reactions on file pages 2020-10-28 14:45:04 -04:00
Sean Yesmunt
cf40313383 update creator like style 2020-10-27 22:18:22 -04:00
Sean Yesmunt
e901daa849 wait to render comments until reactions are fetched 2020-10-27 22:18:22 -04:00
Thomas Zarebczan
43c2e9e0ed
Fix: channel page search limit 2020-10-27 14:51:05 -04:00
infiinte-persistence
93b1de8ed9 Fix long tag query-URL when changing between [Trending|New|Top]
## Issue
4393: Tag query URL goes on indefinitely as you change between [Trending|New|Top]

## Change
Change from `append` to `set` when building the query to remove duplicates.

Flow hates null being not a string, so the FixMe was retained.
2020-10-27 12:38:41 -04:00
Sean Yesmunt
ad20e355cf creator only like reactions 2020-10-27 12:27:30 -04:00
jessop
9d4f7dc642 sync reducer stuff
bring tags into app repo

prevent prefset until prefsReady

prefs ready on sign up

prefsReady-desktop
2020-10-27 10:17:11 -04:00
Sean Yesmunt
f54a0de797 bring in sync code from lbryinc 2020-10-27 10:17:11 -04:00
Thomas Zarebczan
19664726d6
Fix media type app crash on Publish 2020-10-26 14:56:38 -04:00
Sean Yesmunt
ca7a0794a8 lower threshold for comments slimed to death 2020-10-26 14:06:33 -04:00
Sean Yesmunt
2716d9441c add unlock button nex to expandable credits button 2020-10-26 11:36:10 -04:00
Sean Yesmunt
82b460f53d add back support button on top page 2020-10-23 15:08:27 -04:00
Sean Yesmunt
54fa36abc0 bring in lbc/file details for everyone 2020-10-23 15:08:27 -04:00
Sean Yesmunt
5a1eecfc4b fix iframe lbry links in markdown posts 2020-10-23 13:15:13 -04:00
Sean Yesmunt
33bf50e91b fix simpleLinks in MarkdownLink 2020-10-23 10:30:11 -04:00
Sean Yesmunt
6c6dacb195 fix strings 2020-10-23 01:53:09 -04:00
Sean Yesmunt
221ae5b821 fix inline player not showing up broken from previous commit 2020-10-22 18:09:17 -04:00
Sean Yesmunt
c9fdaec997 don't show external link modal for lbry links 2020-10-22 14:30:40 -04:00
Sean Yesmunt
6659ef50ff don't show ClaimLinks in file description 2020-10-22 14:16:42 -04:00
Sean Yesmunt
ad88d8993d fix app crash 2020-10-22 14:08:53 -04:00
Sean Yesmunt
851b2d13e4 remove homepage hack from ClaimListDiscover and fix order so release_time filter is set properly 2020-10-22 13:01:17 -04:00
Sean Yesmunt
cd3f30e03e don't pass fee_amount: >=0 when nothing is set to avoid timeouts 2020-10-22 13:01:17 -04:00
Sean Yesmunt
bf27692a65 use lbc icon for reward notifications 2020-10-22 12:41:29 -04:00
Sean Yesmunt
788fd153da fix thumbnail gifs in comments 2020-10-21 16:45:43 -04:00
jessop
51c94d334a set userid regardless of signin 2020-10-21 15:30:26 -04:00
Sean Yesmunt
295b8cf2e1 refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
Sean Yesmunt
3b20104261 bump allowed upload size to 2gb on web 2020-10-20 13:13:08 -04:00
jessop
14e1b6c1f7 pin only top level 2020-10-20 13:09:08 -04:00
Sean Yesmunt
a0320f8cef remove comment 2020-10-19 23:37:39 -04:00
Sean Yesmunt
a045ddf23e bump lbry-redux + pin icon tweaks 2020-10-19 23:37:39 -04:00
Sean Yesmunt
106f5a0ac2 initial comment pin PR with new commit 2020-10-19 23:37:39 -04:00
Sean Yesmunt
264a85d837 Revert "comment pin action"
This reverts commit 636ab7427d.
2020-10-19 15:01:09 -04:00
jessop
636ab7427d comment pin action
owners can pin and unpin comments

tweak pin icon styles

move commenting activeChannel from localStorage to redux
2020-10-19 14:48:01 -04:00
jessop
9fb13975b4 email resend requests limited to once per thirty seconds 2020-10-16 16:38:52 -04:00
Thomas Zarebczan
f5900795c4
Show own channels on blocked list 2020-10-15 19:10:58 -04:00
Sean Yesmunt
cfd4e8a05d rc fixes for electron 9 2020-10-15 19:06:47 -04:00
Thomas Zarebczan
ba786fa50e
Show unblock button on own blocked channels 2020-10-15 17:49:05 -04:00
Sean Yesmunt
c5a2126abe disable snapshot thumbnail on desktop to prevent desktop crashes
https://github.com/electron/electron/issues/20750\#issuecomment-709505902
2020-10-15 14:32:58 -04:00
infiinte-persistence
e947307f86 Fix typo "Logging in in as ..." 2020-10-15 00:09:01 -04:00
infiinte-persistence
511a746871 Str-context-split: "To" and "From"
## Note from Russian translator
"To/From" in the 'automatic dark mode setting' cannot be re-used for the one in the 'Tip Modal'.

## Change
Wanted to split this into "general" and "time", but I'm guessing it won't satisfy all languages, so we'll just use the usage as the context since there's just 2 instances.
2020-10-14 17:44:44 -04:00
infiinte-persistence
80b4600f60 Str-context-split: "Follow"
## Issue
4192
2020-10-14 17:44:44 -04:00
infiinte-persistence
d7a178d259 Str-context-split: "Post"
Splitting the context between "Markdown post" (noun) vs. "Post something" (verb)
2020-10-14 17:44:44 -04:00
infiinte-persistence
6dd40df93b Str-context-split: "Support"
Chinese, Spanish and other translators reported the difficulty in using "Support" as both a noun and verb in their language.
2020-10-14 17:44:44 -04:00
Sean Yesmunt
44bcc943a0 add new sort icons for new/best/controversial 2020-10-14 16:51:48 -04:00
Sean Yesmunt
4b98cf45f3 prevent clicking through help links 2020-10-12 23:21:23 -04:00
Sean Yesmunt
4815aa9ff1 add reward rate + analytics link on channels page 2020-10-12 23:21:23 -04:00
Sean Yesmunt
03f1fe3ee5 make youtube sync web only 2020-10-09 17:08:38 -04:00
Sean Yesmunt
8bb6643a41 switch back to 'slimed to death' 2020-10-09 11:38:50 -04:00
Sean Yesmunt
60569de672 hide comments that were slimed to death TM 2020-10-08 15:57:20 -04:00
Sean Yesmunt
b1bca7982a re-enable lbry:// link styles in comments
will add support for odysee/lbry.tv once the style is finalized
2020-10-08 14:19:21 -04:00
Sean Yesmunt
480d8a8786 wait to scroll to linked comments until readyToDisplay=true 2020-10-08 14:19:21 -04:00
Sean Yesmunt
6d4a92ad27 format reaction count to include commas 2020-10-08 14:19:21 -04:00
Sean Yesmunt
c1bd9ad6af update app-strings 2020-10-08 13:15:22 -04:00
Sean Yesmunt
761b93d811 add style for comments with is_pinned=true 2020-10-08 11:48:32 -04:00
Sean Yesmunt
5d2d6d2a94 always show your own comments at the top 2020-10-07 17:11:22 -04:00
Sean Yesmunt
c43eff8587 comments v69 2020-10-07 17:11:22 -04:00
infiinte-persistence
6198ab57de String: fix untranslated 'File|Post' tab
Both "File" and "Post" are already added in the database, so this should now work.
2020-10-07 16:25:03 -04:00
infiinte-persistence
4294e0109a String: fix variable-resolving problems 2020-10-07 16:25:03 -04:00
infiinte-persistence
54cdf2a7e6 Add comment sorting strings 2020-10-07 16:25:03 -04:00
Sean Yesmunt
85e2ee28a3 add referral code to embed links 2020-10-07 16:23:53 -04:00
jessop
3ca19744c4 only autoset referrer if not authenticated 2020-10-07 13:30:49 -04:00
jessop
10ce772bcb initial page view sets referring channel 2020-10-07 11:44:12 -04:00
Sean Yesmunt
ec3307320a fix controversial icon spacing 2020-10-06 17:46:32 -04:00
Sean Yesmunt
f534291767 update comment sort icons 2020-10-06 17:36:13 -04:00
Sean Yesmunt
0326e266d4 make sure comments are rendered before trying to render more 2020-10-06 16:33:51 -04:00
Sean Yesmunt
c1b5280446 move youtube badge to 'channel about' section 2020-10-06 16:30:03 -04:00
Sean Yesmunt
fc2a79242e don't add scroll listener until comments have been fetched 2020-10-06 16:13:42 -04:00
Sean Yesmunt
00c05437ca add comment sorting and improve comment focus styles 2020-10-06 16:04:52 -04:00
Thomas Zarebczan
136d73d2ff
Fix Japanese language code 2020-10-06 11:37:19 -04:00
infiinte-persistence
329f6b3da6 Comment: Change 'shift+enter' to 'ctrl|cmd+enter' for quick submit.
ctrl+enter is generally used for this action, while shift+enter generally used to insert a <br>.
2020-10-06 02:02:11 -04:00
Sean Yesmunt
c159f34b24 add infinite scroll for comments 2020-10-05 17:34:06 -04:00
ioancole
7f00a01c2b Check search string for web URL prefixes and remove 2020-10-05 16:43:29 -04:00
Sean Yesmunt
00b23cbee4 moar alignment 2020-10-05 14:28:19 -04:00
Sean Yesmunt
46a0d213fb fix channel profile img in header 2020-10-05 14:04:31 -04:00
Sean Yesmunt
2abd1ca6c2 fix invite page crashing on large screen 2020-10-05 13:56:43 -04:00
Sean Yesmunt
489a4855e9 alignment with odysee branch 2020-10-05 13:56:43 -04:00
Sean Yesmunt
61dfc2f74a handle comment time display correctly immediately after posting 2020-10-05 11:54:20 -04:00
Sean Yesmunt
d121f5c39c remove unused variable 2020-10-05 11:25:20 -04:00
Sean Yesmunt
248e7a1f9e fix lbry.tv strings 2020-10-05 10:39:24 -04:00
jessop
d4df1c8384 wait for channel fetch for reactions fetch 2020-10-05 10:39:15 -04:00
Sean Yesmunt
eb84a366d2 add file reactions code from odysee 2020-10-02 15:28:00 -04:00
Sean Yesmunt
dc42df3bf2 fix uuid import with new version 2020-10-02 14:36:22 -04:00
Sean Yesmunt
bdc7c7c666 Revert "Revert "bring in ClaimListDiscover changes from odysee""
This reverts commit 892fb6f687.
2020-10-02 14:36:22 -04:00
Sean Yesmunt
892fb6f687 Revert "bring in ClaimListDiscover changes from odysee"
This reverts commit 56cd1ddfa7.
2020-10-02 13:45:03 -04:00
Sean Yesmunt
56cd1ddfa7 bring in ClaimListDiscover changes from odysee 2020-10-02 13:35:13 -04:00
jessop
aa127e45aa debounce comment reacts on backend, not button, feedback immediate 2020-10-02 12:35:34 -04:00
jessop
3913c03163 shift enter to comment 2020-10-02 12:13:23 -04:00
infiinte-persistence
746f0db1f1 Add missing tooltips for a few buttons in the claim page
3465
2020-10-02 12:01:03 -04:00
infiinte-persistence
4053a920d9 Card: Say 'Less' (to match '-') instead of 'More' when expanded 2020-10-02 12:01:03 -04: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
jessop
57a09cd3c6 only clear comment text if confirmed 2020-10-02 12:00:23 -04:00
infiinte-persistence
108a898ebf Expandable: Fade out section when 'closed'
## Issue
The abrupt cut-off of the expandable section bugs me (looks like a rendering glitch), especially when it cuts off in the middle of a line.

## Change
In addition to the existing 'More' button, we fade out the section to provide additional visual cues.

## Approach
This solution doesn't require the background color to be known, so it will work regardless where <Expandable> is used, or whatever color-scheme is chosen.

However, it does utilize non-standard css -- for older browsers, it should simply cut-off like the before.
2020-10-02 11:54:43 -04:00
infiinte-persistence
92b211dd94 Pass the 'mode' over via UpdatePublishForm to hide some fields when Posting a Markdown. 2020-10-02 10:25:17 -04:00
infiinte-persistence
3df7ea71d3 Enable "Publish Preview" for Markdown 2020-10-02 10:25:17 -04:00
infiinte-persistence
abeb7a852c Enable "Publish Preview" on Edit Mode as well. 2020-10-02 10:25:17 -04:00
infiinte-persistence
16b1605a35 Add SETTINGS.ENABLE_PUBLISH_PREVIEW
This option allows users to bypass the "publish preview" modal. Users can disable it by checking "don't show this again" in the modal, and re-enable it in the Settings Page.
2020-10-02 10:25:17 -04:00
infiinte-persistence
3588111938 Gray out 'Upload' button when previewing.
I simply check if the Modal exists, instead of creating an ACTION state in redux.
2020-10-02 10:25:17 -04:00
infiinte-persistence
48787a1feb doPublishDesktop: Call the "preview" modal before doing the actual publish.
This requires an accompanying change in lbry-redux. Search for "SETTINGS.ENABLE_PUBLISH_PREVIEW" in the commit message to find the commit.

In Edit Mode, the preview will not appear. Not sure if it's needed, plus there are more things to handle in Edit mode (e.g. which items are changed)
2020-10-02 10:25:17 -04:00
infiinte-persistence
b666a34863 Tag: Add "type=flow" that reflows to multiline with gaps.
This will be used in Publish Preview modal, and potentially be used in the "show all tags in Claim Preview" request.
2020-10-02 10:25:17 -04:00
Sean Yesmunt
f665ed772b add back persisted tip/support selection 2020-10-02 01:34:28 -04:00
Sean Yesmunt
20c65928cb add back ability to abandon reposts on txo table 2020-10-02 00:54:37 -04:00
jessop
3fb4efb08e allow reaction list without channel
uncomment

reacts requireauth, commentReact handles missing channels

enable config, better track pending reacts
2020-10-01 15:35:01 -04:00
jessop
e954bce821 allow reaction list without channel
uncomment

reacts requireauth, commentReact handles missing channels

enable config, better track pending reacts
2020-10-01 15:23:15 -04:00
Sean Yesmunt
5f9fda0e7c put comment reactions behind flag 2020-10-01 14:46:08 -04:00
Sean Yesmunt
b5dd996bae remove ability to abandon channels + claims from tx table 2020-09-30 17:40:09 -04:00
Sean Yesmunt
a92a3305b1 align FileActions with odysee style 2020-09-30 17:00:18 -04:00
Sean Yesmunt
0138eccb60 bring in some changes from odysee 1 2020-09-30 15:26:51 -04:00
infiinte-persistence
5df4ed2783 String scrub from odysee/release merge
- More missing strings
- Moved strings around to keep related strings together (easier for translators to guess the context)
- Removed translation macro for blank string
- Fix typo for 'Neetwork'
2020-09-30 14:06:11 -04:00
Sean Yesmunt
5fb1b07d23 fix typo 2020-09-29 20:57:35 -04:00
Sean Yesmunt
bd4ac1ae8a fix rebase 2020-09-29 17:12:32 -04:00
Sean Yesmunt
848495f82a keep notifications behind flag 2020-09-29 17:12:32 -04:00
jessop
ad88f7de7f disable while reacting, dont call api twice 2020-09-29 17:12:32 -04:00
jessop
63ce107cc1 comment reactions 2020-09-29 17:12:32 -04:00
Sean Yesmunt
b0d19455c1 add placeholder upvote/downvote buttons on comments 2020-09-29 17:12:32 -04:00
Sean Yesmunt
d493a5f9ea remove un-needed user/fetch 2020-09-29 17:12:32 -04:00
Sean Yesmunt
2c1d97f759 use LbcMessage on snackbars 2020-09-29 17:12:32 -04:00
Sean Yesmunt
110ba59ea0 link style cleanup + tile mode on channels 2020-09-29 17:12:32 -04:00
Sean Yesmunt
4f770ec83e redirect to channel page if no channels when trying to repost 2020-09-29 17:12:32 -04:00
Sean Yesmunt
51d8d85c60 re-enable reposts for SIMPLE_SITE 2020-09-29 17:12:32 -04:00
Sean Yesmunt
fa2d69f943 clean up description style 2020-09-29 17:12:32 -04:00
Sean Yesmunt
40d32a6065 fix LbcMessage for single digit integers 2020-09-29 17:12:32 -04:00
Sean Yesmunt
6b8a38b894 add spinner to web upload message and fix double card issue 2020-09-29 17:12:32 -04:00
Sean Yesmunt
299301b633 make channel/tag follow intro optional 2020-09-29 17:12:32 -04:00
Sean Yesmunt
f8e01c7c99 fix target for notification for daily_watch_remind type 2020-09-29 17:12:32 -04:00
Sean Yesmunt
c6e2b54d33 hide top page behind SIMPLE_SITE flag 2020-09-29 17:12:32 -04:00
Sean Yesmunt
6ed57822d6 create <LbcMessage /> to inject lbc symbols in text from IAPIS 2020-09-29 17:12:32 -04:00
Sean Yesmunt
c1e6e90896 large claim-grid header text + optional icon 2020-09-29 17:12:32 -04:00
Sean Yesmunt
1a3e1ba003 move sync password to it's own page 2020-09-29 17:12:32 -04:00
Sean Yesmunt
cc0b1aea65 add backout option for youtube sync and fix scroll reset 2020-09-29 17:12:32 -04:00
Sean Yesmunt
0b0e92d250 add timed out message for tile view 2020-09-29 17:12:32 -04:00
Sean Yesmunt
93c2e753b2 link to following page for daily watch reward notification 2020-09-29 17:12:32 -04:00
Sean Yesmunt
ac770518bf remove old syncSettings usage 2020-09-29 17:12:32 -04:00
Sean Yesmunt
db43769cbb use LBRY Credits on RewardTile 2020-09-29 17:12:32 -04:00
Sean Yesmunt
29f524981f table alignment fixes 2020-09-29 17:12:32 -04:00
Sean Yesmunt
dd5636c2b3 prevent multiple claim_search's happening on the homepage 2020-09-29 17:12:32 -04:00
Sean Yesmunt
707abdd280 move lbc symbol to left of amount 2020-09-29 17:12:32 -04:00
Sean Yesmunt
4facd12c7c dont' show youtube intro for abandoned youtube syncs 2020-09-29 17:12:32 -04:00
Sean Yesmunt
65dfd54cdd icon tweaks 2020-09-29 17:12:32 -04:00
Sean Yesmunt
86003c73a3 handle comment reply notifications 2020-09-29 17:12:32 -04:00
Sean Yesmunt
b3d8a82897 fix page size for large screen tile layout 2020-09-29 17:12:32 -04:00
Sean Yesmunt
30e18a2d99 fix rebase 2020-09-29 17:12:32 -04:00
Sean Yesmunt
35d959208a fix first comment on claim not showing instantly 2020-09-29 17:12:32 -04:00
Sean Yesmunt
0bb129e7a6 keep 'hide replies' button always 2020-09-29 17:12:32 -04:00
Sean Yesmunt
acea7d75fb fix double card on related content 2020-09-29 17:12:32 -04:00
Sean Yesmunt
f547053ebc add yotube sync to initial sign up flow 2020-09-29 17:12:32 -04:00
Sean Yesmunt
295fec0370 copy changes 2020-09-29 17:12:32 -04:00
Sean Yesmunt
bc89d774ba add youtube sync to first run 2020-09-29 17:12:32 -04:00
Sean Yesmunt
dec63d7a2e fix lbc svg rendering issues on chrome mobile 2020-09-29 17:12:32 -04:00
Sean Yesmunt
28e27e937d new lbc icon 2020-09-29 17:12:32 -04:00
Sean Yesmunt
83a6589cd0 new lbc icon 2020-09-29 17:12:32 -04:00
Sean Yesmunt
c9d7b46372 alignment fixes 2020-09-29 17:12:32 -04:00
Sean Yesmunt
d3a8cb31ae allow continue from channel follow intro with 1 channel 2020-09-29 17:12:32 -04:00
Sean Yesmunt
5014b1a027 fix notification linking to channel page 2020-09-29 17:12:32 -04:00
Sean Yesmunt
37f18abb26 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt
e0914c68e3 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt
b26b143c31 fix comment redirect for unauth users 2020-09-29 17:12:32 -04:00
Sean Yesmunt
37383953fa use fake input for channel creation prompt in comments 2020-09-29 17:12:32 -04:00
Sean Yesmunt
6e80dbba04 use check icon on snackbars with no errors 2020-09-29 17:12:32 -04:00
Sean Yesmunt
11c797fa0c Get x LBC => Claim x LBC 2020-09-29 17:12:32 -04:00
Sean Yesmunt
7e8b2bb184 first run improvements + kill first follow modal 2020-09-29 17:12:32 -04:00
Sean Yesmunt
61b6c19320 add empty comments message 2020-09-29 17:12:32 -04:00
Sean Yesmunt
d434e62673 ensure close button always does something on authPage 2020-09-29 17:12:32 -04:00
Sean Yesmunt
49a7f30f45 fix loading state for tile layout 2020-09-29 17:12:32 -04:00
Sean Yesmunt
a386b4dc7e make sure auto subscribe works with empty value in config 2020-09-29 17:12:32 -04:00
Sean Yesmunt
8af8a97344 fix typo 2020-09-29 17:12:32 -04:00
Sean Yesmunt
6602f0505e copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt
1f2fabe81b Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
Sean Yesmunt
7f6ab894d1 create YrblWalletEmpty for generic yrbl with empty wallet message 2020-09-29 17:12:32 -04:00
Sean Yesmunt
391cc76bd8 use consitent style for 'empty wallet' message on pages that require LBC 2020-09-29 17:12:32 -04:00
Sean Yesmunt
a5107f075c wip with channel prompts on comments 2020-09-29 17:12:32 -04:00
Sean Yesmunt
5beb219ff6 fix notification link to comment not working in some cases
the router scroll handling was interefering. I turned that off if  exists as a search param
2020-09-29 17:12:32 -04:00
Sean Yesmunt
88fac1b30b copy changes 2020-09-29 17:12:32 -04:00
Sean Yesmunt
5ac404c01a comment cleanup 2020-09-29 17:12:32 -04:00
Sean Yesmunt
2dee81b624 Sign In => Log in 2020-09-29 17:12:32 -04:00
Sean Yesmunt
248e578422 new comments 2020-09-29 17:12:32 -04:00
Sean Yesmunt
61b1ca89d3 first run cleanup + sync first run acknowledgements 2020-09-29 17:12:32 -04:00
Sean Yesmunt
19fb7d7f06 new layout 🕺 2020-09-29 17:12:32 -04:00
infiinte-persistence
02d2962004 MarkdownPreview: Replace 'lbry://' link with a stub when previewing an edit.
## Issue
4797: Markdown preview breaks when using a lbry link in angle brackets

This is similar to the Embed case in commit dbcd677e.

## Change
Replaced it with a dummy link that looks like what the final outcome would be, but would not be clickable.

Again, similar to the embed case, unless there is a way to pass the store over, I don't have an alternative that makes sense: Adding a dummy router or replacing it as a regular <a> will just make React spew security errors.

Not being able to click it is not ideal as we (as a user) can't verify our links, but it's better than the current case of not rendering anything at all.
2020-09-29 12:11:25 -04:00
jessop
389fce161c advise users to check email folders on sign in 2020-09-25 11:16:09 -04:00
Sean Yesmunt
14113f3c35 handle external pinned links 2020-09-23 11:01:56 -04:00
Sean Yesmunt
51214bd246 add back pinned sidebar links 2020-09-22 18:35:13 -04:00
Sean Yesmunt
65f1339630 bump lbry-redux/inc + bring in fix from release branch 2020-09-21 14:11:25 -04:00
jessop
2403187917 clearer preference merge code? 2020-09-21 14:11:25 -04:00
jessop
df13f97588 sync error messaging 2020-09-21 14:11:25 -04:00
jessop
ee1a37a806 password error handling 2020-09-21 14:11:25 -04:00
jessop
9127266956 get sync password out of signing flow 2020-09-21 14:11:25 -04:00
jessop
99955ba59c password fix 2 2020-09-21 14:11:25 -04:00
jessop
5f54469971 fix race condition 2020-09-21 14:11:25 -04:00
jessop
3b23f09bed fix sync clean wallet bug
remove previous changes,keep syncpref in wallet, change anon wallet pref key to local

sync choices wip

dont relocate syncenable setting

bump

no prefs on web unauth

bugfix redux bump

pull after sync change

bump
2020-09-21 14:11:25 -04:00
Sean Yesmunt
2ad7088553 Revert "bump lbry-redux/inc + bring in fix from release branch"
This reverts commit 70284e5dfd.
2020-09-21 13:07:09 -04:00
Sean Yesmunt
70284e5dfd bump lbry-redux/inc + bring in fix from release branch 2020-09-21 13:06:29 -04:00
kasramp
0d3d3f49e4 Add Persian language to upload menu language dropdown 2020-09-21 12:13:21 -04:00
infiinte-persistence
dbcd677e69 MDE: Replace the iframe with a stub in "edit + preview" mode.
## Issue
4644: Markdown Preview breaks when <iframe> is present

Error: "Invariant violation: could not find 'store' ..."

## Change
Until we figure out a way to pass the store to the SimpleMDE preview formatter, just replace the embed with a stub region.
2020-09-16 16:15:27 -04:00
infiinte-persistence
5106ba59f6 FloatingPlayer: Run clamp-to-screen code when going into floating mode.
## Issue
The previous code only handled the clamping if the FP is already floating when the main window is resized.

1. In fresh Odysee session, the floating player is always clipped on the right.
2. If you resize the desktop while not floating, the FP could be clipped when you go into floating mode.

## Changes
- Factor out the clamping code.
- Add another effect to handle 'isFloating' changes.
2020-09-15 12:55:12 -04:00
infiinte-persistence
ebdf9c1b11 Fix incorrect icon for 'Sign Up' and 'Sign In' 2020-09-15 12:50:49 -04:00
Jeremy Kauffman
9c6b7bd280 add languages parameter to ClaimTilesDiscover 2020-09-11 14:21:02 -04:00
Sean Yesmunt
a8c19818ed add back sign in link on desktop 2020-09-11 12:41:04 -04:00
jessop
b5dccced6d bugfix 2020-09-10 14:20:02 -04:00
jessop
6c4842a111 sync changes 2020-09-10 14:20:02 -04:00
ioancole
4add1f7200 Refactor wunderbar index/view and encode search query 2020-09-10 13:36:33 -04:00
Sean Yesmunt
80707a37df Revert "Refactor wunderbar index/view and encode search query"
This reverts commit 323ab43889.
2020-09-10 11:30:55 -04:00
ioancole
323ab43889 Refactor wunderbar index/view and encode search query 2020-09-10 11:08:22 -04:00
infiinte-persistence
e784107a0b FloatingPlayer: Stay within screen when window is resized
## Issue
4741: `Pop out player disappears or is cut off`

## Approach:
- When dragging stops, determine the location of the floating player with respect to the main window in terms of percentage.
- When window is resized, roughly re-position based on the stored percentage.
2020-09-10 11:06:35 -04:00
infiinte-persistence
ddfc2a54b8 FloatingPlayer: Minor function-renaming for clarity 2020-09-10 11:06:35 -04:00
Sean Yesmunt
bba539f846 Revert "Revert "add logging of player point of presence""
This reverts commit 4067e1ffd8.
2020-09-09 14:55:16 -04:00
Sean Yesmunt
799c0c1f11 quick comment fix while waiting for release branch to be merged into master 2020-09-09 14:54:29 -04:00
Sean Yesmunt
4067e1ffd8 Revert "add logging of player point of presence"
This reverts commit fb142f7699.
2020-09-09 14:40:43 -04:00
Jeremy Kauffman
fb142f7699 add logging of player point of presence 2020-09-09 10:48:15 -04:00
jessop
f04cebd7b5 custom share domain defaults to url 2020-09-08 15:09:21 -04:00
infiinte-persistence
dd73e4a164 Translator-found missing strings 2020-09-08 12:17:38 -04:00
infiinte-persistence
202269ebeb Web: Fix 'Download' not triggering until second attempt
## Issue
4669: `Download doesn't trigger on web until 2nd attempt`

The issue only happens when _Autoplay_ is disabled in the User Settings and the video hasn't been loaded when _Download_ is clicked.

The following code:
   `if (didClickDownloadButton && streamingUrl)`
didn't triggered because:
1. `streamingUrl` has not resolved yet when the Effect ran.
2. When it did resolve, the parent component was also notified and unmounted things, causing `didClickDownloadButton` to reset.

## Approach
Avoid the unnecessary unmounting by not using a conditional section wrapper within a return statement. React probably couldn't do the diffs when the conditional is at a section level.
2020-09-04 11:52:38 -04:00
infiinte-persistence
d1db6fb3b3 Block Toast untranslated strings 2020-09-04 11:51:31 -04:00
infiinte-persistence
a0df0a0e0a Sidebar: Bring back the "Followed Tags" list
## Issue
4708: Bring back tag list in side bar when Tags view selected

## Approach
- Instead of displaying either Channels or Tags, both will now be displayed.
- The tags will simply be a the same button component as the "channels", but with a "#" prefix. This simplifies the CSS-side changes, and looks better overall as well.
2020-09-04 11:50:02 -04:00
Thomas Zarebczan
20f932f935 add comment stats to creator analytics
+ fix up other minor issues and added weekly change figure to recent content

app strings
2020-08-31 14:34:41 -04:00
jessop
ee217404da provide share domain url configuration 2020-08-31 11:51:25 -04:00
infiinte-persistence
2e1d7fde1a Fix floating player being paused after dragging.
## Issue
Fixes 4709 `Dragging floating player via video section pauses video`

## Changes
Don't propagate the key-up action if the window was dragged. Hopefully there isn't another sub-component that relies on the action being propagated.

## Note
If you drag at exactly the "Play" icon the control bar, the issue still happens.
2020-08-27 13:59:25 -04:00
Sean Yesmunt
6377dc86e0 fix side navigation scroll behavior on mobile 2020-08-26 11:01:33 -04:00
jessop
4a86d25891 fix react dom warning passing hideForUnauth 2020-08-26 10:25:36 -04:00
Sean Yesmunt
b9fd01d7b3 fix 'Related' title size on small/medium screens 2020-08-25 12:25:25 -04:00
btzr-io
353c57a568 fix #4686 2020-08-25 09:51:13 -04:00
Jeremy Kauffman
f201039772
copy changes made on call 2020-08-24 18:23:38 -04:00
Jeremy Kauffman
aff2ddd04d
adjust account validation text 2020-08-24 15:39:59 -04:00
Sean Yesmunt
9ee4b256fb add mark as seen to notifications 2020-08-21 16:04:27 -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
e0e33eb148 additional copy changes 2020-08-21 11:47:41 -04:00
Sean Yesmunt
7e35de3760 Register => Sign Up 2020-08-21 11:47:41 -04:00
Sean Yesmunt
764af3a5db wrap IS_MAC statements inside app ifdef 2020-08-21 11:47:41 -04:00
Sean Yesmunt
b688fc1cc0 use 'Library' label instead of 'Purchased' on desktop 2020-08-20 22:33:13 -04:00
Sean Yesmunt
3ca847ece3 show lbry link on share dialog for channels 2020-08-20 22:33:13 -04:00
Sean Yesmunt
7b23126379 fix side navigation on mac
mac has an extra header height to handle the top level menu buttons
2020-08-20 22:33:13 -04:00
Sean Yesmunt
84084a7c41 use limit_claims_per_channel on homepage 2020-08-20 11:31:35 -04:00
Sean Yesmunt
17feef93df add back sign out link on mobile 2020-08-20 11:14:51 -04:00
Sean Yesmunt
4ebb463508 add back sign in link on desktop 2020-08-20 11:14:51 -04:00
Franco Montenegro
cbfed97853 Add app closing behavior setting 2020-08-20 01:16:11 -04:00
Sean Yesmunt
f5de744641 only show notification bubble in menu button on mobile 2020-08-19 12:50:12 -04:00
Sean Yesmunt
3b4ac976b6 Revert "full width homepage"
This reverts commit 0018fdaebc.
2020-08-18 12:53:07 -04:00
infiinte-persistence
f3362c4e59 Publish: Make 'Channel' setting persistent.
## Issue
Users are annoyed with the constant reset of the 'channel' setting in the Publish page.

## Changes
1. Revert the previous attempt in ff7b4092. The `usePersistedState` method is bad, as it will clash with the Redux value.
2. Implemented the persistence in Redux -- requires "https://github.com/lbryio/lbry-redux/pull/347".
2020-08-18 09:25:57 -04:00
Sean Yesmunt
0018fdaebc full width homepage 2020-08-18 09:25:36 -04:00
Baltazar Gomez
d2ca72e246 remove debug comment 2020-08-13 11:11:23 -04:00
Baltazar Gomez
c397297dfb remove debug comment 2020-08-13 11:11:23 -04:00
btzr-io
f881f3b1c6 fix WebFile flow type 2020-08-13 11:11:23 -04:00
btzr-io
2d47dd1780 fix fileReader flow errors 2020-08-13 11:11:23 -04:00
btzr-io
334f582a4d fix publishForm flow errors 2020-08-13 11:11:23 -04:00
infiinte-persistence
b49df1fc0a Fix translation failure on the Sidebar
## Issue
The sidebar text stuck in English despite already translated.

I'm guessing the i18n macro only ran once for the global object.

## Change
Run the macro on the label when passing it to the `Button`.
2020-08-13 11:10:08 -04:00
Sean Yesmunt
2db2b870ff fix document layout and remove WaitUntilOnPage wrapper for related content 2020-08-12 11:47:00 -04:00
Sean Yesmunt
a31f14b016 cleanup 2020-08-11 17:04:14 -04:00
Sean Yesmunt
692862c769 collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
Sean Yesmunt
2f995be794 use new buffer analytics api 2020-08-07 22:54:29 -04:00
infiinte-persistence
e5b1177644 Patch 37a1fd88: Sync selectedChannel only if the channel doesn't exist
## Issue
The previous commit was over-doing the manual syncing, causing other usages like the Repost Modal to always reset to a different channel.

## Fix
Only do the manual syncing when the channel does not exist.
At this point, we could also just take `channel[0]` as the new value.
2020-08-07 16:28:41 -04:00
Sean Yesmunt
e64d925086 fix alignment 2020-08-07 16:28:09 -04:00
Sean Yesmunt
1854710093 fix app crash when file name can't be found 2020-08-07 16:28:09 -04:00
Sean Yesmunt
c4e6605ada use button group as publish file header instead of title for better app parity 2020-08-07 16:28:09 -04:00
Baltazar Gomez
3da4df6b8f increase max chars limit of post editor 2020-08-05 21:37:00 -04:00
jessop
5f5203a211 put file properties such as type and duration over thumb 2020-08-05 14:59:04 -04:00
infiinte-persistence
c75bab5979 Tip Modal: Don't do final submit when the intention is to create New Channel.
## Issue
Fixes `4544 Channel-creation in "Tip|Support" Modal shouldn't submit LBC immediately`

## Changes
`Form` seems to have already tried to stop the propagation of `onSubmit`, so I'm not sure why it was still propagated.

Fix by using the same method used in the `CommentCreate`, which is simply to check for `CHANNEL_NEW` as the current selection.
2020-08-05 13:01:29 -04:00
infiinte-persistence
37a1fd88e3 selectChannel: sync auto-resolved value during mounting.
## Issue
Fixes `4621 Can't create Comments if you recently deleted a channel`

The `channel` that the parent passes in is from a persisted state. If the channel has been deleted, `<select>` will automatically resolve to another selectable value. However, `onChange` will not be called for this scenario, so we now have a mismatch.

## Changes
- Manually check if the value has been auto-resolved and report it to the parent.
- An extra `setTimeout` was needed. It seems like `onChannelChange` needs to be called after the first `useEffect` of the parent, otherwise the call has no effect.
2020-08-05 12:59:54 -04:00
Baltazar Gomez
d64d278676 fix metadata not updating if post content doesn't change 2020-08-05 12:57:49 -04:00
Sean Yesmunt
42e989d0cc always use markdown editor for text posts 2020-08-04 11:49:12 -04:00
btzr-io
036aedd88d use redux to load post content 2020-08-04 11:49:12 -04:00
btzr-io
80e1965e46 prevent name change while editing and more fixes 2020-08-04 11:49:12 -04:00
btzr-io
8067793379 fix reselect file error 2020-08-04 11:49:12 -04:00
btzr-io
0f757bc101 fix typo 2020-08-04 11:49:12 -04:00
btzr-io
d93d97882b fix auto populate title logic 2020-08-04 11:49:12 -04:00
btzr-io
0b3fe001d0 autopopulate name from title 2020-08-04 11:49:12 -04:00
btzr-io
a565f7c5df fix labeling and rename some strings 2020-08-04 11:49:12 -04:00
btzr-io
18a6e7c7c1 generate temporal file for published story 2020-08-04 11:49:12 -04:00
btzr-io
c47c6f6034 fix story validation and content loading on web 2020-08-04 11:49:12 -04:00
btzr-io
c7ea2a14ad fix web version build 2020-08-04 11:49:12 -04:00
btzr-io
9fc2384649 fix changes not saving on edit mode 2020-08-04 11:49:12 -04:00
btzr-io
2ff1fc024c load story content from streaming url and improve form validation + minor fixes 2020-08-04 11:49:12 -04:00
btzr-io
a5d1746151 add in-app text and markdown publishing 2020-08-04 11:49:12 -04:00
Sean Yesmunt
80d8eeb4cf move ads in ClaimList behind SHOW_ADS config 2020-08-03 16:16:04 -04:00
jessop
314fb22638 pull sync on nav to settings 2020-07-31 17:09:05 -04:00
Sean Yesmunt
c65afb201d fix embedded link for encoded url 2020-07-30 17:20:39 -04:00
jessop
c33ce28805 sync settings generally based on navigation and settings paths 2020-07-30 17:05:30 -04:00
Sean Yesmunt
9acbdf9825 group comment notifications and clean up notification style 2020-07-30 16:15:02 -04:00
infiinte-persistence
0ab5ca080e Fix 'Related' being loaded on Autoplay despite not visible.
## Issue
In the `Autoplay` case, if the `WaitUntilOnPage` has already opened the gates previously, the next video's Related will be loaded regardless of scroll position.

## Changes
Add a `lastUpdateDate` prop to `WaitUntilOnPage` to allow the parent to reset the gating state.

I don't really like the `lastUpdateDate` prop since it's purpose is not intuitive. Is there a standard way to do a "one-time trigger" from the parent?
2020-07-29 17:56:38 -04:00
infiinte-persistence
c1dbb752d8 RecommendedContent: Move WaitUntilOnPage to within the component instead.
This allows `RecommendedContent` to render the Card but with an empty list, so that the area isn't totally blank while waiting for `WaitUntilOnPage` to debounce.
2020-07-29 17:56:38 -04:00
infiinte-persistence
1383b19817 WaitUntilOnPage: Debounce to fix false positives.
There are cases where `WaitUntilOnPage` will incorrectly render, such as at the beginning if the upper components hasn't expanded to full size, so `WaitUntilOnPage` would be briefly visible.

Added a 300ms debounce to fix this, which would also improve scrolling performance a bit by doing less. Hopefully 300ms is enough for the upper components to inflate to full size.
2020-07-29 17:56:38 -04:00
jessopb
2a5d87ee54
Merge pull request #4602 from lbryio/fix-syncThemeSetting
trigger sync on theme change in nav menu
2020-07-29 17:56:06 -04:00
Sean Yesmunt
ca89dab45f move claim uri under file/channel details 2020-07-29 13:04:58 -04:00
jessop
b185857eb0 trigger sync on theme change in nav menu 2020-07-28 22:52:44 -04:00
Sean Yesmunt
0df388280e add search code from lbry-redux 2020-07-27 16:37:36 -04:00
jessop
142e695150 reverse child comments 2020-07-27 16:14:23 -04:00
Sean Yesmunt
d76ece04bc group similar settings in preparation of tabular settings page 2020-07-27 14:19:18 -04:00
jessop
0b3dbfc8f8 bump redux 2020-07-27 11:53:14 -04:00
jessop
d9bf72a351 all settings constants come from redux
sync settings

backout nav cases and anon preference key

more robust backout header

put notificationSettings under backout bar

review changes
2020-07-27 11:53:14 -04:00
Sean Yesmunt
e10647b5a2 hide some file page buttons with SIMPLE_SITE flag 2020-07-27 10:48:05 -04:00
Sean Yesmunt
5ea87b76c9 use SITE_NAME from config for tos copy 2020-07-27 10:48:05 -04:00
Sean Yesmunt
312ff91994 add SIMPLE_SITE config value to disable complex UIs 2020-07-27 10:48:05 -04:00
Sean Yesmunt
4b6c772adc copy changes 2020-07-27 10:48:05 -04:00
Sean Yesmunt
201417efcf Publish => Upload 2020-07-27 10:48:05 -04:00
Sean Yesmunt
fd6be7d3af simplify share modal slightly 2020-07-27 10:48:05 -04:00
infiinte-persistence
58adba306a Block mature content: Updates based on feedback. 2020-07-24 16:59:02 -04:00
infiinte-persistence
4c57cdd99f Block mature content when accessed directly from URL
## Issue:
Fixes 4549 `Mature content + navigating to URLs directly`
_If a user navigates to mature content directly, we currently show the page even if mature content setting is not enabled. With our recent mature content verification setting, we should hide the page until the user turns it on - we can prompt directly on the file page._

## Changes:
1. Show basic info of the claim like URL and Title, so that user knows which page is being blocked.
2. Initially, I had 2 "boxes" -- one for the title and another for the message. It felt a bit messy, so `FileTitle` was augmented to house everything in one box.
2020-07-24 16:59:02 -04:00
Sean Yesmunt
f94cf9da93 Library => Purchased on web 2020-07-23 11:16:32 -04:00
Sean Yesmunt
642e3663f7 simplify floating player controls 2020-07-23 11:16:32 -04:00
Sean Yesmunt
8960a4f5cb simplify wunderbar copy 2020-07-23 11:16:32 -04:00
Sean Yesmunt
90327a72ed add comments behind a flag 2020-07-23 11:03:00 -04:00
Sean Yesmunt
ed1ee8ac98 better handle channel thumbnail upload and remove spee.ch text 2020-07-22 12:26:31 -04:00
Sean Yesmunt
69d010435b allow blocking channels from comment 2020-07-20 14:48:25 -04:00
jessop
81ffd7ae79 specify first run follow in config 2020-07-20 13:59:46 -04:00
infiinte-persistence
ca4dd9e246 New Channel: Fix incorrect GUI configuration at entry
## Issue:
Fixes 4411 `"SelectChannel=New" doesn't show all fields on re-entry`

## Code Changes:
`selectChannel`: Correct the value of `addingChannel` in the constructor based on the given props.
2020-07-20 11:36:36 -04:00
infiinte-persistence
99c1401164 Restore and fix "comment out youtube badge on file page to fix mobile style"
(1) This reverts commit 8641a3ee1c.

(2) Fix floating-player misalignment due to YT badge in mobile by hiding the badge.

At first, the suggestion to truncate the left URI to keep the entire thing single-lined was implemented, but during testing, I realized that the YT badge will take up the entire width anyway (especially on other languages). The URI is more important than the badge, and truncating both of them would be ugly.

Given the preference to not have 2 lines for this, we'll just hide the badge for the mobile case.

For the Channel Page case, let's make it single-line through "4454: URL / top claims overlap" instead. We'll keep this commit/PR limited to fixing the YT badge.
2020-07-20 10:48:32 -04:00
infiinte-persistence
ff5518e421 Fix missing str change in [0c3a3ae4] - 'updated' -> 'checked'
The json was updated but the actual usage was not.
2020-07-20 10:48:32 -04:00
infiinte-persistence
60af367b18 Fix channel file-search not available in mobile
## Issue
Fixes 4524 `[mobile] in channel search not available`

## Changes
There are currently 3 wunderbars: (1) header (2) channel list (3) downloaded list.

The additional `wrapperStyle` in the header made it hard to find a solution that works for all 3, so I split 2 and 3 into `wunderbar__input--inline`.
2020-07-20 10:37:10 -04:00
infiinte-persistence
f31369a16d Fix 'transcoding' checkbox state when switching file types.
## Issue:
Currently, the checkbox grayed-out state is only correctly updated when changing from "no-file" to "file selected". If you have selected a video file and later changed to a text file, the checkbox doesn't gray out.

## Code Changes:
`fileVid` wasn't being updated for the case of non-videos; now it does.
2020-07-20 09:57:59 -04:00
jessop
e7e7d6dba4 fix comments functions import 2020-07-16 13:18:06 -04:00
Sean Yesmunt
0e2b1b98b8 add id to iframe for easier embed styling 2020-07-15 23:33:14 -04:00
infiinte-persistence
8e7604ec33 Video: Consolidate showTapButton() into a single call since the functionality is mutually exclusive. 2020-07-15 16:10:10 -04:00
infiinte-persistence
7bef092013 Add option to retry video stream on failure
## Issue
Closes 4475 Option to retry video stream on failure
2020-07-15 16:10:10 -04:00
infiinte-persistence
115c456318 Video: Stop loading circle when there's an error. 2020-07-15 16:10:10 -04:00
infiinte-persistence
5e51016602 VideoJSOptions: Remove duplicate poster declaration 2020-07-15 16:10:10 -04:00
infiinte-persistence
cba2ccf1cb Show "YT Creator" label in File Page as well.
## Issue
Closes 3964 `Add Youtuber info to file page`

## Changes
(1) Refactor the YT-info query into `YoutubeBadge` component.
(2) For the File Page case, don't show "- last sync <date>" since the date has nothing to do with the file.

## Test
[x] YT Channel page
[x] YT Channel's claim page
[x] Non YT Channel page
[x] Non YT Channel's claim page
[x] No channel (anonymous) claim page
[x] Various RENDER_MODES
2020-07-15 15:27:03 -04:00
Sean Yesmunt
2fdc4376bf fix import statement 2020-07-15 12:33:20 -04:00
Sean Yesmunt
69cfcd81e9 bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
Sean Yesmunt
9c9530c6f3 Revert "bring in comments/blocked code from 'lbry-redux'"
This reverts commit fa7f74f979.
2020-07-14 19:23:25 -04:00
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
infiinte-persistence
2754c962a4 Inf-scroll: Fix glitch when results are exactly the page size.
## Issue
Fixes 2675 `Claim search with exactly 20 results keep fetching next page`

## Changes
Use `claimSearchResultLastPageReached` (I didn't know it existed back then).

The unnecessary "loading" refresh will still happen one time, but at least now it doesn't happen every time we scroll to the bottom (and incorrectly incrementing 'page').
2020-07-14 16:05:42 -04:00
eatdostacos
9b10b775cd Add a LBRY status card to help page with links to new FAQ page and status page 2020-07-14 15:58:02 -04:00
Sean Yesmunt
fa7f74f979 bring in comments/blocked code from 'lbry-redux' 2020-07-14 15:57:19 -04:00
infiinte-persistence
860e5f097c Inf-scroll: Handle case of "pop from claim"
This is a follow-up on PR-4392.

## Issue:
The previous PR covered "pop from within the same page but with different query/order", but missed "pop after entering a claim".

1. Click `Your Tags`.
2. Set order to `New`.
3. Restart app or reload (crucial step)
4. Click `Your Tags`.
5. Click any claim.
6. `Back`. The order incorrectly resets to `Trending` -- it should stay at `New`.
2020-07-13 14:30:58 -04:00
Sean Yesmunt
856cc41f39 comment out lbry-first code 2020-07-13 10:03:00 -04:00
jessopb
b39ff9ff7a
Merge pull request #4511 from lbryio/fix-matomo-useridemailonly
only set matomo userid if hasverifiedemail
2020-07-10 10:33:12 -04:00
jessop
1881627a89 only set matomo userid if hasverifiedemail 2020-07-10 10:14:06 -04:00
Sean Yesmunt
da7b331760 style cleanup 2020-07-09 14:49:36 -04:00
Sean Yesmunt
951d7bbb63 remove 'show both' date option in DateTime 2020-07-09 14:49:36 -04:00
Sean Yesmunt
706c4afd04 disable submit button while login is pending 2020-07-09 14:49:36 -04:00
infiinte-persistence
86484eb13f TipModal: Move "Buy More" next to price selection.
Having the "Buy More LBC" at the bottom seems out of place, since the context of LBC/amount is in the middle of the modal.
2020-07-09 13:04:18 -04:00
jessop
4131165d6a fix title 2020-07-08 18:35:49 -04:00
Sean Yesmunt
27e44b0320 update punctuation 2020-07-08 15:02:14 -04:00
Sean Yesmunt
5c6e2e96fb update title/subtitle on support modal if user is sending a tip 2020-07-08 14:57:37 -04:00
infiinte-persistence
9389b61f02 UserPasswordReset: Handle 'Cancel' and 'X' for the direct entry scenario.
The `UserPasswordReset` can be accessed in two places:
(1) While signing in
(2) From the Settings Page when changing password.

This commit:
- maintains the existing `Cancel|X` behavior for case-1, which is to remain in the Sign-in page.
- For case-2 and any future direct-entry, we'll simply call `goBack()`.
2020-07-08 14:36:04 -04:00
infiinte-persistence
3f8d447b2a Add 'Forgot Password' button when changing passwords in the Settings Page.
This will directly go into the Reset Password page. This scenario is only possible after already signed in.
2020-07-08 14:36:04 -04:00
infiinte-persistence
fdcfd3b6fc Add: PasswordResetPage (the real one) 2020-07-08 14:36:04 -04:00
infiinte-persistence
19a94d3039 Revert "Add password reset ... (4468)" to redo using redirect page method. 2020-07-08 14:36:04 -04:00
infiinte-persistence
e5c4246e15 Add password reset link to settings page (4468) 2020-07-08 14:36:04 -04:00
Sean Yesmunt
38b26f0bfc don't allow lbry-first tag to be added manually 2020-07-08 14:23:43 -04:00
Sean Yesmunt
2f1e126551 don't count 'lbry-first' towards max tag limit 2020-07-08 14:23:43 -04:00
Sean Yesmunt
d6335464d3 cleanup - broken? 2020-07-08 14:23:43 -04:00
Sean Yesmunt
f9325a816e only start lbryFirst daemon for approved users 2020-07-08 14:23:43 -04:00
Thomas Zarebczan
4291c36c58 Initial commit for LBRY-First
fix killing daemon

bump lbry-first
2020-07-08 14:23:43 -04:00
Suisse00
11c5e9a307 Normalize email place holder value
Use a more neutral exemple domain already in use
2020-07-07 09:31:08 -04:00
infiinte-persistence
92be15ae04 ShareModal: Change "..." icon to "Links" 2020-07-07 09:29:05 -04:00
infiinte-persistence
12db7c519f Revert the Links Modal; we'll augment the Share Modal to include the download link.
This reverts commit cb47ed61375b4de32adacd89ce46d5da183150b5.
2020-07-07 09:29:05 -04:00
infiinte-persistence
3a2284a244 Add dialog to copy various types of links for a claim.
## Issue
Fixes 4293 `Better download link support`

- [x] make it so you can right click a download button > copy download URL
   Given that this could be useful in mobile/web as well, I used a button+modal instead of the right-click approach.

- [ ] in share dialog, show download URL to copy for non-video content
   This is already implemented, albeit hidden in the "More..." expansion.
2020-07-07 09:29:05 -04:00
infiinte-persistence
833bceeacc Fix unmuted state lost or reverted when playing a new video.
## Issue
Fixes 4460 `unmuted state lost / reverted`

1. Play a video.
2. Press mute.
3. Drag the volume bar to unmute.
4. Play a new video --> the video starts muted.

## Fix
The `volumechange` handler was comparing against stale variables, so there are times where the state was not saved. Just save both `muted` and `volume` without additional gating (the gating is probably unnecessary in the first place, since we are in a onChange function).
2020-07-07 09:28:04 -04:00
infiinte-persistence
1a3669ca76 Patch for "7839bbf2: Fix language-change not applied to all components immediately"
- Missed the "Account Password" card that is used for authenticated case.
- For cards that are only used in Settings, listen to the language change in "select" instead of passing in as a prop. I think this is cleaner.
2020-07-06 09:52:16 -04:00
infiinte-persistence
8920b4ca75 Fix video transcode setting not reflected correctly (MP3 incorrectly transcoded to MP4)
## Issue
4332: Video transcode setting not reflected correctly (MP3 incorrectly transcoded to MP4)

2 issues here:
(1) The checkbox is mixing between user state and logic state.
(2) The variables (e.g. `optimize`, `isVid`, `filePath`, etc) will have values from the previous operation when you enter Publish Page, so GUI issues beyond Transcode can be also produced (e.g. showing Transcode enabled for an image).

## Changes
The "Transcode" checkbox state (checked vs. unchecked) will now reflect the user's desire and will be a persisted state. Whether or not this setting is used will be reflected by the checkbox's grayed-out state (i.e. it can be checked for non videos, but it will be grayed out).
2020-07-06 09:42:16 -04:00
infiinte-persistence
0fcf78a700 Minor renaming for clarity. No functional change.
updateOptimizeState --> updateFileInfo
available --> ffmpegAvail
2020-07-06 09:42:16 -04:00
Suisse00
406ca3b998 Un hardcoded price filter label options 2020-07-03 17:05:23 -04:00
jessop
70ee34f52e amount part deux 2020-07-03 11:03:29 -04:00
jessopb
64d67026cc
Merge branch 'master' into feat-newChannelCreate 2020-07-03 10:53:16 -04:00
jessop
4fa6a561ed amount 2020-07-03 10:44:29 -04:00
jessop
2315727385 tweaks 2020-07-03 10:32:48 -04:00
jessop
c91ce52be8 old channel create default bid 2020-07-03 10:27:01 -04:00
jessop
d66f2cd604 fix bid amount 2020-07-03 10:23:49 -04:00
jessop
1f32d454db error handling, ux tweaks, apiLogPublish 2020-07-02 18:27:49 -04:00
Sean Yesmunt
f4310cd3aa fix thumbnail/cover edits 2020-07-02 13:41:16 -04:00
jessop
9952359e28 fix redirect after delete 2020-07-02 13:18:06 -04:00
Sean Yesmunt
ba71d36e9a remove unused styles and add title fallback 2020-07-02 13:01:31 -04:00
jessop
ffa248a353 limit tags, new channel link 2020-07-02 12:18:59 -04:00
Sean Yesmunt
8b266ebacb fix typo 2020-07-02 11:39:12 -04:00
Sean Yesmunt
8fe618c5be fix typo 2020-07-02 11:08:58 -04:00
infiinte-persistence
16ea14887c Inf-scroll: Change region to 'main' to ignore long tag/following list.
## Issue:
2789 `Infinite scrolling should activate at end of listed claims, not subscription list`
2020-07-02 10:37:31 -04:00
eatdostacos
aede386c22 Add/Correct Strings 2020-07-02 10:34:11 -04:00
Sean Yesmunt
259f51abd6 style pass for channel edit
clean up sections and improve navigation handling

cleanup + image upload modal styling
2020-07-01 22:04:23 -04:00
jessop
36f93343f6 new channel creating and editing 2020-07-01 22:01:48 -04:00
eatdostacos
84886e4b8a Put LBC amount with 4 precision on tip menu for all versions 2020-07-01 11:19:47 -04:00
infiinte-persistence
87e53db699 Don't expand search filters automatically if popping from Back action.
The existing behavior of automatically expanding when needed && when entering the page is still maintained.
2020-07-01 11:11:47 -04:00
infiinte-persistence
defcda519e Inf-scroll: Remove history of whether we've serviced the bottom.
## Fixes:
4351: "Infinite load won't work if the same sort option clicked"

Test case:
1. Click Following
2. Click New
3. Scroll down to load at least 1 extra page.
4. Go up and click New again.

## The Issue:
`scrollBottomCbMap[page]` in this case did not reset since the `id` remained the same.

## The Fix:
I don't know how else to notify the effect to run. Perhaps "when `page=1`" is one criteria, but I found that removing `scrollBottomCbMap` can also fix it.

I don't know what scenario that `scrollBottomCbMap` was originally meant to handle, so will need to depend of reviewer to confirm I did not break something else. This fix assumes that recent inf-scroll fixes and debouncing would have addressed the "weird stuff happening with fast scrolling" problem mentioned in the comments.
2020-07-01 11:11:47 -04:00
infiinte-persistence
9c7b882fbd Properly debounce the inf-scroll handling.
The previous code was simply delaying the handler, which served the intention of the time, which is to avoid using the wrong coordinate from querying too early. However, we ended up servicing each scroll message.

This is the proper fix, and should technically make scrolling smoother. Maybe this will fix 3576 as well, although I don't see much difference.
2020-07-01 11:11:47 -04:00
infiinte-persistence
ad37edf681 Inf-scroll: Fix scroll not working when navigating back from claim.
## Fixes:
3071: "Infinite scroll stops working when navigating to file page / back"

## The Issue:
In the POP operation, the `page` value is back to 1 due to the initializer `useState(1)`. If the results cache already contained more than 1 page's worth, then the rest of the logic thinks there's nothing to do.

## The Fix:
Previous fixes to Inf-Scroll added a "page correction" code to handle the mismatch. This fix simply adds this scenario to the list of scenarios to perform the correction.
2020-07-01 11:11:47 -04:00
infiinte-persistence
86bae6eaee AbandonedChannelPreview: Handle blocked channels as well.
Issue 3800
2020-06-29 16:05:23 -04:00
Sean Yesmunt
74a18b724e fix subscribe button label not showing on mobile 2020-06-29 13:25:29 -04:00
infiinte-persistence
2673a18923 Fix unresolved translations in the Splash Screen. 2020-06-29 09:52:05 -04:00
infiinte-persistence
7839bbf2a1 Fix language-change not applied to all components immediately.
## Fixes:
3641 Language switch does not take effect right away

## Assessment:
Although `Card`s in the Settings Page are actually being re-rendered, the `actions` within them might not be getting the signal, depending on their props.

## Changes:
(1) Pass the language variable to the `actions`'s props for items that are affected.
(2) Make the Wunderbar listen to language-changes as well (the only component outside of Settings that would need an immediate update).
2020-06-29 09:48:12 -04:00
eatdostacos
ed624a1b5d Correct link to buy page 2020-06-29 09:47:26 -04:00
eatdostacos
d9a0e7c655 Add link to buy LBC when you don't have enough for paid content
I added the link and I updated the strings to accomodate updated content.
2020-06-29 09:47:26 -04:00
infiinte-persistence
adb2a60d58 Skip translating blank string; Add new strings from Settings Page. 2020-06-29 09:46:42 -04:00
infiinte-persistence
b010325618 Pause 'Autoplay': cleanup
1. Use a constant for the classname instead of being hardcoded.
2. Use existing 'debounce' function instead of introducing another.
3. Added changelog entry.
2020-06-25 00:23:47 -04:00
infiinte-persistence
2c695b8150 Pause 'Autoplay' when a Modal is present. 2020-06-25 00:23:47 -04:00
infiinte-persistence
39db18046f Pause 'Autoplay' when scrolled off screen.
Fixes #-4021.

## Changes:
When the autoplay overlay gets partially off-screen, the timer will be stopped. We can tweak how much down it needs to be scrolled.

When timer is paused, the countdown resets.

The pausing mechanism has no effect on the floating player (since the 'top' can never go negative). This behavior is the same as another big video platform.
2020-06-25 00:23:47 -04:00
Sean Yesmunt
63ce5526ca update label text 2020-06-23 17:56:41 -04:00
Sean Yesmunt
41abbcc861 Revert "bring in blocked redux code from lbry-redux"
This reverts commit b9f3146180.
2020-06-23 16:21:40 -04:00
Sean Yesmunt
0bf656f74b Revert "fix import"
This reverts commit c84c8a0288.
2020-06-23 16:21:30 -04:00
Sean Yesmunt
c84c8a0288 fix import 2020-06-23 16:10:59 -04:00
Sean Yesmunt
b9f3146180 bring in blocked redux code from lbry-redux 2020-06-23 16:01:20 -04:00
Sean Yesmunt
49bcfdce83 bring in comment code from lbry-redux 2020-06-23 16:01:20 -04:00
infiinte-persistence
d7b1cde274 Add claim-overwrite prevention.
---Fixes:
#-2882: "Fix UX around publishing to already published URL".

---Changes:
1. Improved the error message (change color to red; emphasized the URL; tweaked the sentences a bit).
2. The `Publish` button will be grayed out in this scenario, until user explicitly decides to edit existing claim instead.
2020-06-22 15:21:42 -04:00
jessop
e3a5d71e34 channel update submitting state 2020-06-22 12:42:20 -04:00
jessop
e065c81f88 support channel pending state 2020-06-22 11:27:03 -04:00
eatdostacos
3d4f0a93b5 Add logos to custom logos page 2020-06-22 10:49:21 -04:00
infiinte-persistence
391b5d2b50 Delete unused or duplicate strings. 2020-06-22 10:27:55 -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
b4851e6045 bring in email preferences page from lbry.com 2020-06-22 09:45:49 -04:00
Alex Grin
d8b4c91259 minor typo
this is the more common spelling of revocable
2020-06-22 09:35:39 -04:00
infiinte-persistence
1cd18ac9f4 Inf-scroll: (1) Reset to top (2) Fix "page vs. results" being out of sync.
--- Issues:
(1) #-2669: Page does not restore to top when navigating new tags.

(2) "Encountered children with the same key" error (duplicate entries shown).
https://github.com/lbryio/lbry-desktop/issues/4367#issuecomment-645449206

--- Changes:
(1) Ignore the history if it's a new query (i.e. explicitly clicked). The BACK history will still behave as normal (doesn't reset to top).

(2) Previously, the `page` variable will continue to increment as you scroll and stay within the page (e.g. Trending vs New, or clicked another Tag). As you move between queries, we hit a scenario where `page` is significantly under or over the latest retrieved `claimSearchResult.length`. This messes up the rest of the code.

Fix by correcting the value of `page` according to the current `claimSearchResult.length` when necessary.
2020-06-22 09:31:05 -04:00
jessopb
dbac4aca39
Revert "improve channel update" 2020-06-19 13:10:34 -04:00
jessop
99753f7717 improve channel edit 2020-06-19 12:41:45 -04:00
infiinte-persistence
644e76fd81 Tip-Modal: Add settings persistence and UX improvements.
--- Issues:
(1) #-4394 add persistence to new support modal.
(2) Should collapse the custom field when presets are selected.
Even though the Send button repeats the amount for Tip, it's still confusing to see both the Preset being active and Custom numeric field visible.
(3) Missing localization tags.
2020-06-18 22:01:49 -04:00
Sean Yesmunt
fa246a7f1f move channel search into ChannelContent component 2020-06-18 12:19:21 -04:00
infiinte-persistence
d01c20394e Fix "muted=false + volume=0" case.
We need to handle two types of "mute":
- Volume icon is pressed to mute.
- Volume slider moved to 0%.
2020-06-16 17:14:22 -04:00
infiinte-persistence
662778c47b Use 'process.env.NODE_ENV' instead of 'electron-is-dev' for spewing debug logs. 2020-06-16 17:14:22 -04:00
infiinte-persistence
a20ea08ac7 Show "unmute" option on videos automatically muted by browser.
Implementation:
- The code is placed in <VideoJs> instead of <VideoViewer> as we need to control the video itself. It's more self-contained here, rather than trying to pass refs around between parent and child.
- useState cannot be used as it will cause a re-render when the hint it clicked and dismissed. The DOM is used to hide the button.
2020-06-16 17:14:22 -04:00
infiinte-persistence
bbda69dc5f Inf-scroll: Don't add pages when no more results are available.
--- The bad scenario:
A less popular tag like 'kanji' yields only 23 results today. The code continues to increase the page count. We'll either see some blank page glitches at the bottom, or repeated entries being shown.

--- The fix:
Assume that an unfilled page means "no more results" and stop incrementing the page. This seems true based on empirical evidence.
2020-06-16 16:59:00 -04:00
infiinte-persistence
522c6ddcd6 Inf-scroll: Fix "am I at bottom" logic.
If you are at the bottom and you hit the UP_ARROW key one time, the logic still thinks we are at the bottom, despite the component has clearly moved. Similar to the issue noted in the previous commit, this causes the page to increment incorrectly.

My wild guess is that the previous logic depends on the css height, so it might got broken due to css changes. Hopefully the new calculation is more robust and works for all cases.
2020-06-16 16:59:00 -04:00
infiinte-persistence
c957b159b1 Inf-scroll: Debounce before handling 'onscroll'.
---The bad scenario:
If you're at the bottom and you go up using UP_ARROW or HOME key, the coordinate is still at the bottom if we service the callback immediately. This causes 'contentWrapperAtBottomOfPage' to be true and we ended up incrementing the page unnecessarily (even for searches that no longer yield any extra results).

---Fix:
Fix by adding a delay. The value can probably be fine-tuned further.
2020-06-16 16:59:00 -04:00
infiinte-persistence
ff7b4092c9 Publish: Make 'Channel' setting persistent.
Per discussion with Tom.
2020-06-16 16:36:23 -04:00
infiinte-persistence
9d6af38a21 Persist trending selectors between tags.
---The issue:
When switching between tags, the selector defaults back to Trending even though you had another option already selected.

---Changes:
- 'orderParamUser' will store the last user state persistently. The persistent state is also made unique for each page (i.e. Your Tags and All Content will be unique).

- If the parent component passes in a specific order, that will be respected and will also become the new persisted value. One example is "Your Following", where it always starts at 'New'.

- Handled navigation history correctly
The test case:
   - Enter "Your Tags" (assume start at 'Trending')
   - Click 'New'
   - Click 'Top'
   - Back
   - Back (it should return to 'Trending')
As the top page history does not have any "?order=" value, we ended up with a no-op for the last Back. 'orderParamEntry' is added to handle this.
2020-06-16 16:36:23 -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
eatdostacos
5a219c7b4b Add link to "Buy More LBC" button
Previously, the link was missing and the button didn't do anything.
2020-06-16 09:13:15 -04:00
Sean Yesmunt
8a825b1a83 fix typo 2020-06-15 19:18:34 -04:00
Sean Yesmunt
f13cc3c51c fix label on tx table for supports 2020-06-15 19:02:03 -04:00
infiinte-persistence
fe431c30a7 SimpleMDE: Add character-count display and standardize look with basic editor's. 2020-06-15 10:53:17 -04:00
infiinte-persistence
805904360e Set "Description" field limit to 5000 characters.
This applies to both Channel and Claim description.
2020-06-15 10:53:17 -04:00
infiinte-persistence
749b13e3eb Rename: "constants/comments.js" --> "constants/form-field.js" 2020-06-15 10:53:17 -04:00
infiinte-persistence
96041e8b09 SimpleMDE: Add character limit functionality. 2020-06-15 10:53:17 -04:00
infiinte-persistence
c197a1f230 Don't gray out on "Support/tip unlock" or "Abandon Claim" failures.
#4379
2020-06-15 10:51:50 -04:00
Sean Yesmunt
4bbd831a16 fix mobile style 2020-06-15 10:50:01 -04:00
Sean Yesmunt
c3cdc742ab fix submit button after confirming 2020-06-15 10:50:01 -04:00
Sean Yesmunt
deb4107dd0 confirmation cleanup 2020-06-15 10:50:01 -04:00
Sean Yesmunt
01e0a2a5db improve support/tip for 0 balance and own claims 2020-06-15 10:50:01 -04:00
Sean Yesmunt
019d1f9176 tip/support marriage 2020-06-15 10:50:01 -04:00
TigerxWood
8099088415 Made uniform display of text views
Too many forms of word "views" and "view" to translate, with caps and without. We need to choose the same in all places.
2020-06-09 09:26:41 -04:00
TigerxWood
bb790b4332 Removed space to sync with app-strings
Removed space to sync the text "LBRY takes privacy and choice seriously. Just a few questions before you enter the land of content freedom." with that from app-strings.jsx
2020-06-09 09:24:58 -04:00
TigerxWood
29b0111c9e Made strings from settingWalletServer translatable
Made connecting string translatable
2020-06-09 09:24:32 -04:00
TigerxWood
374323713b Make strings from fileDetails translatable
Text  for files sizes can be translated as Mo (from Mega octet) so KB, MB, GB etc will be Ko, Mo, Go etc. in other languages.
2020-06-09 09:24:15 -04:00
Sean Yesmunt
1dcf16b0b4 fix download link on desktop 2020-06-08 16:26:49 -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
91662a9d57 force https thumbs or handle img src error 2020-06-08 09:42:19 -04:00
Sean Yesmunt
fea3533b4c fix share link 2020-06-05 12:17:36 -04:00
Sean Yesmunt
dd47bc673d fix links in embeds 2020-06-04 10:57:31 -04:00
infiinte-persistence
50fc2698d6 Add StatusBar into Page for 'app' only.
#3776 #4259
2020-06-04 10:31:06 -04:00
infiinte-persistence
ae82b3fc05 Create transient "status bar" to display the hover URL.
Implementation:
- <StatusBar> listens to 'update-target-url' and will show/hide itself as needed.
- Handled the display of "lbry://" protocol.

CSS:
- The colors chosen should work on both Light and Dark Theme.
- The delay is necessary to avoid blinkies when the mouse is moving around.

#4259
2020-06-04 10:31:06 -04:00
Sean Yesmunt
e7cdd6c13d moonpay 2020-06-03 14:16:43 -04:00
Sean Yesmunt
48a707f0db fix comment replies when turning off advanced mode 2020-06-03 11:39:37 -04:00
Sean Yesmunt
1cae7a6038 fix share link so claim id isn't lost in url 2020-06-03 11:39:37 -04:00
jessopb
77971e4f1f
Merge pull request #4305 from lbryio/noGa2
strip ga calls
2020-06-03 10:37:26 -04:00
jessop
7fe88d86d5 strip ga calls 2020-06-02 16:52:34 -04:00
TigerxWood
c0fc7e5fbd Fix boolean declaration in claimInsufficientCredits 2020-06-02 16:20:36 -04:00
TigerxWood
5b4e45b0b0 Update translatable string 2020-06-02 16:19:17 -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
48eac1188f always use thumbnail from claim if it exists on web 2020-06-02 16:10:43 -04:00
Sean Yesmunt
a0ace5ca58 add refresh icon to refresh buttons 2020-06-02 16:10:43 -04:00
infiinte-persistence
cbb6fc8305 Remove unnecessary variables and strings for translation.
-- "/wallet" --
I believe this is a link and comes from redux, and shouldn't be translated.

-- "%message%" --
No point sending a variable-only to the translators -- the intended replacements are  translated correctly.

-- "%name%" --
Unused.

-- "Something something something..." ---
Unused.

-- Obsolete strings (replaced by better string) --
  "You are not able to see those stats right now. Make sure you are signed in with the correct email and have data sharing turned on."

  "You are not able to see this channel's stats right now. Make sure you are signed in with the correct email and have data sharing turned on."

  "There are no stats for this channel. Make sure you are signed in with the correct email and have data sharing turned on."
2020-06-01 10:29:16 -04:00
Sean Yesmunt
3d352593f3 defer rendering related/comments until user scrolls down 2020-06-01 10:28:13 -04:00
Jeremy Kauffman
a3d9555d38 pubish buttons get publish icons 2020-05-31 09:56:33 -04:00
TigerxWood
4fbc4458e7 Made texts translatable
Texts will be translated now
2020-05-29 16:52:00 -04:00
TigerxWood
75796901e0 Made texts translatable
Texts will be translated now
2020-05-29 16:45:58 -04:00
TigerxWood
87e369cb11 Made text translatable
Text will be translated now
2020-05-29 16:45:39 -04:00
TigerxWood
37b1caccc2 Made text translatable
Text will be translated now
2020-05-29 16:45:39 -04:00
TigerxWood
199953448c Made text translatable
Strings can be translated now
2020-05-29 16:44:41 -04:00
Sean Yesmunt
be10041ea4 disabled advanced editor for comment replies 2020-05-29 15:29:08 -04:00
Sean Yesmunt
d301102af6 call preference get after entering wallet password 2020-05-29 15:29:08 -04:00
jessopb
43e8c49dcc
Merge pull request #4285 from lbryio/matomo
initial matomo rollout
2020-05-29 15:11:16 -04:00
Sean Yesmunt
91aaceda99 re-enable gifs on homepage because i can't figure out how to get it to work 2020-05-29 13:26:06 -04:00
jessop
50089725f5 initial matomo rollout 2020-05-29 11:11:50 -04:00
Sean Yesmunt
85ec35f246 pause gifs until hover round 2 2020-05-28 13:07:51 -04:00
Sean Yesmunt
06f71f2f0d Revert "pause gifs until hover"
This reverts commit e97a03c5c9.
2020-05-28 12:31:45 -04:00
Sean Yesmunt
e97a03c5c9 pause gifs until hover 2020-05-28 11:39:39 -04:00
Sean Yesmunt
f03fe9f78b remove extra div 2020-05-28 10:47:27 -04:00
Sean Yesmunt
c2b80d3b3b fix dnd for some file types 2020-05-28 10:45:56 -04:00
infiinte-persistence
37fb7a9bf7 Consolidate variants of 'Read more' for reuse.
The version with the capitalized 'More' can probably be removed as well, but I left it as is.

#4239
2020-05-28 09:50:08 -04:00
infiinte-persistence
0cebb327c1 Fix split sentence: "%view_count% %views%"
The only issue I have with this as a translator is that I have no idea what this sentence is about, as both chunks are variables. This fix is more for clarity.

#4239
2020-05-28 09:50:08 -04:00
infiinte-persistence
1ef182ed71 Fix split sentence: "% downloaded"
#4239
2020-05-28 09:50:08 -04:00
infiinte-persistence
951300a1cd Fix split sentence: "or" in "Refresh or Skip" wasn't translated
#4239
2020-05-28 09:50:08 -04:00
infiinte-persistence
a37b00e774 Fix split sentence: "By continuing, you accept the"
#4239
2020-05-28 09:50:08 -04:00
infiinte-persistence
8bd129799e Fix split sentence: "block|follow|unfollow this channel"
Concatenating strings directly assumes that all languages have the same structure as English, which it is not. This fix allows translators to move the tokens around per their language/grammar requirements.

#4239
2020-05-28 09:50:08 -04:00
Sean Yesmunt
424583de60 remove console log 2020-05-27 14:02:49 -04:00
Sean Yesmunt
d4e2f8ffe8 change balance loading string to 'Your Wallet' 2020-05-26 22:15:03 -04:00
Sean Yesmunt
356b96941d auto follow lbrycast channel along with lbry channel 2020-05-26 17:49:01 -04:00
Sean Yesmunt
68e687ee6e moar improvements 2020-05-26 14:42:44 -04:00
Sean Yesmunt
7562fdcfd5 clean up old lbrytv reference 2020-05-26 14:20:39 -04:00
Sean Yesmunt
f64e659a7c fix autoplay 2020-05-26 13:13:58 -04:00
Clayton Hickey
a7812350ce remove manual override in formatting for credits in header 2020-05-26 12:38:56 -04:00
Sean Yesmunt
3a5549c2dc fix publish page 2020-05-26 11:48:07 -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
jessopb
1dba194b67
Merge pull request #4208 from jeffslofish/issue-4207
Allow double-clicking in header to maximize the app.
2020-05-25 15:00:36 -04:00
Sean Yesmunt
b914590a77 update lbry-redux and add loading spinner for comments 2020-05-25 14:45:43 -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
Sean Yesmunt
8b68932997 improve first time play experience for paid content in blog posts 2020-05-25 13:29:38 -04:00
Sean Yesmunt
b244261715 commas 2020-05-25 13:29:38 -04:00
Sean Yesmunt
74dc6f4469 use nativeControls for ios devices 2020-05-25 10:36:17 -04:00
infiinte-persistence
8183b5822b Update markdown-toggle style in Publish to the new quick-action style for consistency with Comments. 2020-05-25 10:32:26 -04:00
infiinte-persistence
7064793319 Fix Reply's markdown-editor appearing in Create due to 'name' clash from a prior merger. 2020-05-25 10:32:26 -04:00
infiinte-persistence
5b11cd7c65 Comments: add ability to toggle between simple and markdown editor. 2020-05-25 10:32:26 -04:00
infiinte-persistence
fffd2f1576 FormField: add an optional quick-action button for 'markdown' and 'textarea'.
Technically, the other modes can have a quick-action button as well, but for now it's not implemented since it's unlikely to be used.

The first usage will be to house the "toggle markdown editor" button, but it can be used for anything. The caller will handle the action.

It will be located at the upper-right, which is a better place for such a button. Putting the "toggle markdown editor" button on the bottom seems too far away and seems to make the 'Done|Cancel' area too busy/cluttered.
2020-05-25 10:32:26 -04:00
Baltazar Gomez
ca4bbf53df
Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
infiinte-persistence
23848dd37a Fix <i18nMessage> not localizing the message.
--- Problem (#4173) ---
Messages under <i18nMessage> weren't localized although the translation is available. However, the tokens for these messages are localized, causing a mixed-language final string.

--- Fix ---
It appears that the original message (instead of the localized) was used in the token-substitution process.
2020-05-25 10:18:08 -04:00
Sean Yesmunt
737e0ed7ab add 2257 page in footer 2020-05-22 20:19:25 -04:00
Sean Yesmunt
03518c8a5a show price on embeds in markdown 2020-05-22 16:48:24 -04:00
Thomas Zarebczan
6d888b5121 A few tweaks 2020-05-22 11:17:47 -04:00
Sean Yesmunt
21f9fc7b31 Revert "Make sure native controls appear on touch devices Closes #4150"
This reverts commit 88f4329d34.
2020-05-22 10:30:56 -04:00
jessop
e204659df2 fix unintended signin on play 2020-05-21 17:25:38 -04:00
Jeffrey Fisher
88f4329d34 Make sure native controls appear on touch devices
Closes #4150
2020-05-21 13:28:34 -04:00
Sean Yesmunt
4c768b3814 fix embed player 2020-05-21 12:53:21 -04:00
Sean Yesmunt
e4500d692f fix embed player 2020-05-21 11:55:58 -04:00
Sean Yesmunt
c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
Sean Yesmunt
50361e1edb fix link style 2020-05-18 16:46:03 -04:00
Sean Yesmunt
2dccad2247 fix embed link to open in new tab instead of iframing the entire app inside embeds 2020-05-18 13:07:42 -04:00
Sean Yesmunt
1fa3ce4e50 basic checkout page prototype 2020-05-18 10:13:35 -04:00
Jeffrey Fisher
50c7308ee7 Allow double-clicking in header to maximize the app.
Closes #4207
2020-05-17 21:26:30 -07:00
Jeffrey Fisher
9c70df72dc Only show "start at" on share page for videos/audio
Closes #4177
2020-05-15 09:51:59 -04:00
Jeffrey Fisher
394fad5754 Clear media position if video has played to the end.
Closes #4174
2020-05-15 09:51:18 -04:00
eatdostacos
f6431ac235 Small Changes to publishFile/view.jsx 2020-05-15 09:46:29 -04:00
infiinte-persistence
4643eb96cc Define tooltips for MenuButtons.
<MenuButton> is not from us, so the automatic tooltip from the previous commit does not apply here.
2020-05-15 09:45:55 -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
e0c90f866c 🤦‍♂️ 2020-05-13 17:43:50 -04:00
Sean Yesmunt
22a4255320 add footer for web 2020-05-13 12:13:13 -04:00
btzr-io
c19d04f83e fix comic-book content-type detection
always show viewer: fix #4141

minor improvements for loading indicator
2020-05-13 10:18:36 -04:00
btzr-io
036cf734c6 prevent state updates after component unmounted 2020-05-13 10:18:36 -04:00
Baltazar Gomez
c8f21025d1 initial web support 2020-05-13 10:18:36 -04:00
Baltazar Gomez
1992e78c2e update comicbook viewer
- convert to functional component
- use hooks to load stream
2020-05-13 10:18:36 -04:00
Baltazar Gomez
872fa9363d use a readable stream as file source 2020-05-13 10:18:36 -04:00
Sean Yesmunt
3decc523b0 fallback to channel name if title doesn't exist 2020-05-11 15:21:40 -04:00
infiinte-persistence
598c336b66 Refactor DateTime to allow it's translated result string to be re-used elsewhere, for consistency. 2020-05-11 14:54:05 -04:00
infiinte-persistence
2582627f25 Fix localization issue in DateTime.
The class was only returning a localized string for 'years' and 'months'; English was used for the rest.

- Fixed by handling the remaining cases.
- New strings were added (1) so that they will all be consistent language-wise until the translators handle them all (2) allows for cleaner code through variable re-use (%duration%).
2020-05-11 14:54:05 -04:00
Sean Yesmunt
919f82ba94 purchases page, cleanup on pages with <ClaimList /> 2020-05-11 12:31:22 -04:00
Sean Yesmunt
ca5f54cbfd improve mobile styles 2020-05-11 10:51:47 -04:00
btzr-io
276f42f5e7 force new lines to render on markdown preview: fix #2390 2020-05-11 09:44:29 -04:00
jessopb
e2b1ef49a5
Merge pull request #4148 from lbryio/feat-trackReflectingFiles
track reflecting files after publish
2020-05-08 15:08:18 -04:00
btzr-io
6c9538e4f5 remove unnecessary div wraper 2020-05-08 14:16:40 -04:00
btzr-io
a8f6185f12 fix channel selector styles
fix #4072
2020-05-08 14:16:40 -04:00
jessop
0fcc657783 track reflecting files after publish 2020-05-08 14:13:56 -04:00
Jeffrey Fisher
c539ab91c0 Fix code review issues 2020-05-08 14:00:59 -04:00
Jeffrey Fisher
8fe9cfafbc Allow video sharing with start timestamp
Closes #3122
2020-05-08 14:00:59 -04:00
Jeffrey Fisher
fda372e565 Open hyperlinks in new tab
Closes #3467
2020-05-06 14:23:21 -04:00
Sean Yesmunt
ff429117cd make sure player callback has access to latest desktop start time 2020-05-05 16:47:27 -04:00
Sean Yesmunt
96d9e24a4b fix time to start analytics for desktop and fix rewards link 2020-05-05 14:04:52 -04:00
Sean Yesmunt
95233c2196 remove hard coded reward amount 2020-05-05 10:56:16 -04:00
Sean Yesmunt
db51789e07 pass time in ms to analytics for view apis 2020-05-05 10:09:53 -04:00
Sean Yesmunt
d8c6300f51 fix typo 2020-05-05 09:50:34 -04:00
jessop
402710ce3b removes delete button and ensures resolve on show page 2020-05-01 17:15:15 -04:00
JT Turner
6c28ffaa18 Fix loop when value really doesn't need to be global. 2020-05-01 14:46:29 -04:00
Sean Yesmunt
f873b99875 modal consistency cleanup 2020-05-01 14:35:27 -04:00
jessop
7730ee1e3f remove dependency on full claim list
paginate claim list
improve handling of pending publishes
add abandon to publishes list previews

use bodyCard

fix publish edit notification
2020-05-01 13:56:21 -04:00
Jeffrey Fisher
7ea9c1c199 Only save media position on pause or dispose, not every timeupdate, for performance reasons. 2020-05-01 10:14:29 -04:00
Jeffrey Fisher
c1f74aba2e Save media position in video viewer
Closes #2775
2020-05-01 10:14:29 -04:00
Sean Yesmunt
f99ce16a67 improve header markup for voiceover and add aria-expanded attribute for cards 2020-04-30 15:17:32 -04:00
Sean Yesmunt
8d888d3e23 improve floating behavior when coming from embeds 2020-04-30 15:13:45 -04:00
Sean Yesmunt
554f50802e set playing uri when navigating from the floating player 2020-04-30 11:06:06 -04:00