Commit graph

4052 commits

Author SHA1 Message Date
jessopb 697651b0e8
pass domain to authenticate for appid (#5012) 2020-11-10 21:47:51 -05:00
zeppi 463f72ee56 channel avatar fix 2020-11-10 16:41:21 -05:00
Sean Yesmunt 94f8db4da9 update order on settings page 2020-11-10 15:32:45 -05:00
Sean Yesmunt 73e1db7bb4 allow changing language for unauth users 2020-11-10 15:32:45 -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
zeppi ad7a0c9cac reconcile more 2020-11-10 14:02:59 -05:00
Sean Yesmunt 47f45fce0c fix typos 2020-11-10 12:22:25 -05:00
Sean Yesmunt 60bac01a4a remove extra prop 2020-11-10 12:08:19 -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 e2b30b7d17 add basic dmca message on embeds page 2020-11-10 01:26:38 -05:00
Sean Yesmunt ca6ce23494 fix nudge mobile styling 2020-11-10 01:10:22 -05:00
Sean Yesmunt f63de7f930 add nudges to sign up 2020-11-10 00:33:27 -05:00
Sean Yesmunt 631d67ad0b fix typo 2020-11-09 16:07:14 -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 467d9b9f47 fix channel ellispis on claimPreview 2020-11-09 13:37:51 -05:00
infiinte-persistence a71c66bfb7 Localize the "analytics down" message. 2020-11-09 10:44:45 -05:00
Sean Yesmunt 3a96382901
add basic message for creator analytics issues (#5001)
* add basic message for creator analytics issues

Co-authored-by: Thomas Zarebczan <tzarebczan@users.noreply.github.com>
2020-11-08 10:57:02 -05:00
Sean Yesmunt e00b98226c remove old import 2020-11-06 00:02:53 -05:00
Sean Yesmunt c21fef5b24 new ads provider 2020-11-05 12:21:32 -05:00
Sean Yesmunt 98855d4fd5 fix top claim search result 2020-11-04 16:08:23 -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 8f7c16cc39 fix 'best' comment sort 2020-11-02 17:15:53 -05:00
Sean Yesmunt cb50b8a9bc Revert "Improve IOS inline experience"
This reverts commit 9b38ba6c02.
2020-11-02 17:15:02 -05:00
Sean Yesmunt 68b1a0971c Revert "remove unused style"
This reverts commit 57a69be7e8.
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 dfe1bf5c62 remove unused style 2020-10-30 00:04:59 -04:00
Sean Yesmunt 46fbcb5a0f fix autoplay countdown 2020-10-30 00:04:59 -04:00
Sean Yesmunt 419dd6431e fix exact claim not showing up when copying url 2020-10-30 00:04:59 -04:00
Sean Yesmunt b33f14cca4 make file details smaller 2020-10-30 00:04:59 -04:00
Sean Yesmunt 57a69be7e8 remove unused style 2020-10-29 17:02:40 -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 4d9731d9c2 fix url wrapping on markdown links 2020-10-28 14:45:04 -04:00
Sean Yesmunt e198caffd7 make sure comments with 0 likes are sorted to bottom 2020-10-28 14:45:04 -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
Sean Yesmunt d8aecaeb29 only call sync_apply if no wallet found 2020-10-27 10:17:11 -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 ffdac06b80 fix typo 2020-10-23 15:26:39 -04:00
Sean Yesmunt 82b460f53d add back support button on top page 2020-10-23 15:08:27 -04:00
Sean Yesmunt 6516d9ffa6 only includeSupportAction for not SIMPLE_SITE 2020-10-23 15:08:27 -04:00
Sean Yesmunt f54f4fc65d clean up markdown post style 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 1711dc6601 enable top claim on search page 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 1cb0685b61 pass is_app_readable to notification/list 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
jessop fab03d337e ad fix 2 2020-10-21 15:30:01 -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
jessop 91d034954e mark notification seen on relevant interaction 2020-10-20 13:09:08 -04:00
Sean Yesmunt 41dfd8a0f8 return early for undefined i18n messages
could happen when we map over a list of objects to create buttons and one only has an icon
2020-10-19 23:54:32 -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
jessop 2f84d94c66 related add full width 2020-10-19 22:59:24 -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
Sean Yesmunt 3bb5c06f44 openItem => openPath 2020-10-16 10:49:01 -04:00
jessop 6284f86026 fix reward rates crash 2020-10-16 00:07:30 -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
infiinte-persistence 567316cfbe Support for multiple string context + "About" as initial example.
## Issue
4796 - i18n: Allow support for string overloading (multiple contexts)

## Approach
- Minimal code and process change.
- Handle on a case-by-case basis when reported by translators.
- Split the affected key in the string json by appending the context.
- Translators need to be aware of the new format and not translate context itself. Code is added to detect bad translations and will revert to English.

Sample in json:
  "About --[About section in Help Page]--": "About",
  "About --[tab title in Channel Page]--":  "About",

Sample in client code:
  title={__('About --[About section in Help Page]--')}

- "--[ ]--" was chosen as it's unique enough (unlikely for real strings to use it) and hopefully not that distracting in the client code.
- In the key itself, spaces are allowed after the string (i.e. before '--[') for neatness. It will be trimmed by the system.

## First example
"About" is used in 3 places:
   - Channel Page
   - Help Page
   - Footer (in Odysee branch)

For Russian, the word "About" is "O" and is usually not used standalone, but requires something behind it. A translator said so, and seems to be the case in other sites as well.
   "O xxx"
   "O yyy"

## Other languages
For other languages that are not impacted, they can just clone the same translation for each of the split keys, just like in English.

## Possible enhancement in Transifex
I see that Transifex's API includes a `context` entry. It might be possible to move the context-metadata there during the upload, so translators will never see the "--[]--" messiness (it will be shown as "Context: xxx" in the Transifex GUI).

I'm not sure how to test the Transifex side, so I did not investigate further.
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 77aa580690 add spacing for ul/ol next to p elements 2020-10-14 11:33:39 -04:00
Sean Yesmunt 172e918de5 pass to 2020-10-13 15:31:07 -04:00
Sean Yesmunt 4b98cf45f3 prevent clicking through help links 2020-10-12 23:21:23 -04:00
Sean Yesmunt 88c86ff447 add help link 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 65c39cbbc8 fix mobile comments on ios devices 2020-10-12 15:21:03 -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
jessop 7678eedf4d catch claim error on referrer set 2020-10-08 10:52:44 -04:00
infiinte-persistence 1100a07108 Comment v69 strings and misc. 2020-10-08 10:37:17 -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
infiinte-persistence 4a2e9bf1c7 Fix: Videos start muted on initial session
## Issue
4831: Videos start muted on Desktop (fresh install) and web (sometimes resets)

This covers the Desktop fresh install and Web fresh session (incognito) part. It doesn't cover the "sometimes reset" part as I don't know how to reproduce that.

## Change
`sessionStorage` is always empty when that piece of code is called, even for non-fresh Desktop and even in Brave. We now fallback to `1` when `volume` is `null`. Still not sure the purpose of that code, but leaving it there just in case something relies on it.

## Tests
[/] Desktop fresh-install is not muted.
[/] Desktop return session restores previous volume level.
[/] Web* fresh session (cleared data) is not muted.
[/] Web return session restores previous volume level.

*Web = Chrome, Firefox and Brave.
2020-10-07 16:24:34 -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 9d51cee72c Correctly navigate to channel URL 2020-10-05 16:43:29 -04:00
ioancole 7f00a01c2b Check search string for web URL prefixes and remove 2020-10-05 16:43:29 -04:00
Sean Yesmunt d9acb034e1 odysee alignment 2020-10-05 14:55:52 -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
infiinte-persistence ae191afeec String corrections
- "The publisher has chosen to" -- Fix incomplete string, probably broken by linter.
- Fix hardcoded email in invite snackbar.
- Fix 'Upload Settings' to new lower-case style.
- Add few more missing ones.
- Consolidated "Claim xxx" strings together.
- Removed duplicate "Confirming..." due to branch merging.
2020-10-05 10:39:04 -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 ef12914cad Rebranding: 'Publish' --> 'Upload'; Use LBC icon 2020-10-02 10:25:17 -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 4c3728a20f Add "Publish Preview" modal 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
infiinte-persistence 6850a8f264 Remove duplicate strings
... and sneak in some corrections.
2020-10-02 10:22:55 -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
Sean Yesmunt faa4e7364f alignment with odysee branch 2020-10-01 17:10:42 -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
Alojz Jakob 859814a17b Remove background color from img.channel-thumbnail__custom
Many of the creators including myself use transparency to achieve some effect. We all love PNGs and GIFs, so please dont shoot in your leg by limiting creative potential :)
For example: you can see the effect here, you can inspect lement and remove background color from channel "profile image": https://lbry.tv/@LBRYlytics:4
2020-10-01 12:27:36 -04:00
Sean Yesmunt b5dd996bae remove ability to abandon channels + claims from tx table 2020-09-30 17:40:09 -04:00
Sean Yesmunt 5ab94e25b7 fix staked lbc amount on dark mode 2020-09-30 17:00:18 -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 1628f32fe1 fix purchase price color on dark mode 2020-09-30 14:02:45 -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
Sean Yesmunt f979d23175 default to empty array for myReactions 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 bdb3d695ee make comment thumbnail smaller 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 7a13a53bdd fix notification mobile style 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 672a79cc09 1 column 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 bf9be7c46d keep header on regular discover page 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 23f218a568 use backout mode on publish page 2020-09-29 17:12:32 -04:00
Sean Yesmunt 7d8277b4db fix homepage layout on windows/linux 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 4e1076e01b make category header clickable 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 edc30ce8bd fix icon shrinking on snackbars with a lot of text 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 cdd0a3c96f no max width on comment channel selector 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 3b9f5c17f7 fix mobile wrapping on claim list header 2020-09-29 17:12:32 -04:00
Sean Yesmunt c049274e0e improve comment reply spacing 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 baafd60f4f add back help margin 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 3f32f5a0ca make sure notifications aren't hidden 2020-09-29 17:12:32 -04:00
Sean Yesmunt 14355ed966 fix copy 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 87247feb23 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt 88fac1b30b copy changes 2020-09-29 17:12:32 -04:00
Sean Yesmunt b8430e34bf fix slim channel selector size 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 b4106b1a65 fix library page for new ClaimListDiscover styling 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
infiinte-persistence 6a73e02bf1 Fix "Price=free" giving 0 results in Following query
## Issue
Fixes 4477: `Price="free" yields nothing`

## Remarks
I didn't consult the documentation, but simply did a trial-and-error.
"=0" -- didn't work
"<=0" -- works
2020-09-21 12:22:33 -04:00
kasramp 0d3d3f49e4 Add Persian language to upload menu language dropdown 2020-09-21 12:13:21 -04:00
infiinte-persistence 631b069f9a Missing translation in the Discover page. 2020-09-21 11:57:16 -04:00
Sean Yesmunt ccd1cabe04 add option for light background on embeds 2020-09-21 11:38:56 -04:00
Sean Yesmunt 153a17af72 bring in websocket reconnect code from 'release' branch 2020-09-17 12:40:08 -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 6f515ac5f4 String update 2020-09-15 12:55:12 -04:00
infiinte-persistence 4fc5a018e5 Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR
## Issue
4749: "Password updated successfully" kept showing up

## Change
In addition to the `passwordReset*` variables, reset the `passwordSet*` variables as well for `USER_PASSWORD_SET_CLEAR`.
2020-09-15 12:52: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 bb9bde1c19 Encode automplete search string and don't autocomplete for empty query 2020-09-10 13:36:33 -04:00
ioancole 055a476d2f Hide search page URI header for invalid channel/stream name 2020-09-10 13:36:33 -04:00
ioancole 4add1f7200 Refactor wunderbar index/view and encode search query 2020-09-10 13:36:33 -04:00
Sean Yesmunt c80b28ade9 Revert "Hiding URIs header for invalid URIs"
This reverts commit 8f407a36d4.
2020-09-10 11:30:55 -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
Sean Yesmunt 813ef0e960 Revert "Encode autocomplete search query"
This reverts commit 7f8d084fa4.
2020-09-10 11:30:55 -04:00
Sean Yesmunt cb0918726e Revert "Don't autocomplete for empty string search"
This reverts commit 72187ca51e.
2020-09-10 11:30:55 -04:00
ioancole 72187ca51e Don't autocomplete for empty string search 2020-09-10 11:08:22 -04:00
ioancole 7f8d084fa4 Encode autocomplete search query 2020-09-10 11:08:22 -04:00
ioancole 323ab43889 Refactor wunderbar index/view and encode search query 2020-09-10 11:08:22 -04:00
ioancole 8f407a36d4 Hiding URIs header for invalid URIs 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
infiinte-persistence 8e76fee162 String: Usual updates 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 7edd9f7c92 Fix partially untranslated text in the Upgrade Modal
## Issue
- "See the" was not encapsulated with the translation macro.
- Split-strings are not translatable for some languages.

## Change
Combine the entire sentence into a single string with variable.
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
Mark Beamer Jr 6485e1af82 Add lbry apis to config 2020-09-03 12:58:29 -04:00
Sean Yesmunt 404f0dc195 fix first comment on post failing even when it is created successfully 2020-09-01 20:27:52 -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
ioan.cole 254a2f5138 Refactor search.js
Calling 'normalizeURI' then 'parseURI' needlessly runs the 'parseURI' function twice. This is a better way of doing it.
2020-08-31 11:25:32 -04:00
ioancole 3f598f76d1 Fix search suggestions 'View Channel' Bug 2020-08-31 11:25:32 -04:00
jessopb 3a69f47347
quick fix for sync (#4718) 2020-08-28 11:25:47 -04:00
Sean Yesmunt df9a19a9b4 always send integers to buffer api 2020-08-27 14:18:45 -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
infiinte-persistence de780a1fd8 Remove strings with trailing spaces as it's not obvious in Transifex.
## Issue
Fixes 4665 `Translated strings with trailing spaces not shown correctly`

## Changes
While there are other strings with trailing spaces, "Trending for " was the only one that mattered. The rest are standalone paragragphs or used in a single line, so it doesn't matter if the translation included the space or not.
2020-08-27 13:58:44 -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 bae146205c fix card width on rewards page 2020-08-25 14:07:12 -04:00
Sean Yesmunt 23dfddefa1 fix extra padding on unseen notifications 2020-08-25 12:25:25 -04:00
Sean Yesmunt a28ce2d3b8 pass 'only_if_expired: true' so clicking 'resend link' doesn't expire old tokens 2020-08-25 12:25:25 -04:00
Sean Yesmunt 4035c18f8e Publishes => Uploads 2020-08-25 12:25:25 -04:00
Sean Yesmunt b9fd01d7b3 fix 'Related' title size on small/medium screens 2020-08-25 12:25:25 -04:00
Sean Yesmunt 22586c802c revert redirect after signin until we can signin users from verfication token 2020-08-25 12:25:25 -04:00
jessop c78e1e2970 patch null blocked error 2020-08-25 09:53:22 -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
Thomas Zarebczan a1f5292e57
Increase polling interval (makes app lag) 2020-08-24 16:08:14 -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 cf98e65a3f redirect to homepage after signing in 2020-08-21 11:47:41 -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 ea2d040c22 increase side nav width and give extra bottom padding to deal with link preview 2020-08-20 22:33:13 -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 082ee187da hide side navigation scrollbar until hover 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 fd778adf99 remove 2020protests from the homepage 2020-08-20 11:31:35 -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
Sean Yesmunt 33d47d1d6d default sync to false on desktop 2020-08-20 01:38:48 -04:00
Sean Yesmunt cc1a8ca4e8 fix navigation button spacing 2020-08-20 01:38:48 -04:00
Franco Montenegro cbfed97853 Add app closing behavior setting 2020-08-20 01:16:11 -04:00
Sean Yesmunt 005cf1d52b fix url creation typo 2020-08-19 17:40:12 -04:00
Sean Yesmunt 6ca0796c8a handle google webcache urls 2020-08-19 17:28:08 -04:00
Sean Yesmunt f5de744641 only show notification bubble in menu button on mobile 2020-08-19 12:50:12 -04:00
Sean Yesmunt c0053a772b fix mobile video alignment 2020-08-19 10:02:00 -04:00
Sean Yesmunt 3b4ac976b6 Revert "full width homepage"
This reverts commit 0018fdaebc.
2020-08-18 12:53:07 -04:00
Sean Yesmunt 36067417f5 Revert "move click listener to app only for external links"
This reverts commit b58c9709e2.
2020-08-18 12:53:07 -04:00
Sean Yesmunt f688402748 align page contents with header width 2020-08-18 10:17:53 -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 b58c9709e2 move click listener to app only for external links 2020-08-18 09:25:36 -04:00
Sean Yesmunt 0018fdaebc full width homepage 2020-08-18 09:25:36 -04:00
Sean Yesmunt 0ec569f020 only redirect on show page if in lbry.tv land
Fixes crash when app is served from webcache.googleusercontent.com
2020-08-17 23:42:16 -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 717de53eb1 force footer to sit below file page contents 2020-08-12 17:23:04 -04:00
Sean Yesmunt abbaa8bf78 always batch resolve search results 2020-08-12 13:03:00 -04:00
Sean Yesmunt 2db2b870ff fix document layout and remove WaitUntilOnPage wrapper for related content 2020-08-12 11:47:00 -04:00
jessopb 1471511c03 Revert "check matomo and disable if necessary"
This reverts commit f88b98ea62.
2020-08-12 11:04:38 -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
jessop f88b98ea62 check matomo and disable if necessary 2020-08-11 16:47:56 -04:00
Thomas Zarebczan 7b504b5fa7
update invalid symbols 2020-08-11 11:30:23 -04:00
jessop c0be817960 support sdk feature for fast comments 2020-08-10 14:52:17 -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
Baltazar Gomez 2089a0064f add new chars limit for post 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
jessop ab56633eed prevent specific settings sync in config 2020-08-04 12:00:20 -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
Sean Yesmunt e9b7d40456 redirect to claim if entering a valid claim_id in the search bar 2020-08-03 13:58:53 -04:00
Julie Sigwart 78784f3ab6 Additional change per @eatdostacos recommendation 2020-08-03 09:43:27 -04:00
jessopb bc6cbfd5ee Revert "add imhere row at top"
This reverts commit 8e73a02863.
2020-08-01 16:55:01 -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
Sean Yesmunt 8e73a02863 add imhere row at top 2020-07-30 17:13:01 -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
Sean Yesmunt 9fc3d10d4b update copy while abandoning 2020-07-30 13:53:40 -04:00
jessop 4dbfbbee00 disable file remove/abandon while abandoning 2020-07-30 13:53:40 -04:00
Sean Yesmunt 410c3b34a2 actually fix it 2020-07-30 11:09:15 -04:00
Sean Yesmunt 60e2d14e99 fix inline player style for mobile 2020-07-30 08:33:30 -04:00
infiinte-persistence 93d26a0ebb Fix 'Comments' being loaded on Autoplay despite not visible. 2020-07-29 17:56:38 -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
Sean Yesmunt c9723082fe hide data network settings on web 2020-07-29 00:16:49 -04:00
jessop b185857eb0 trigger sync on theme change in nav menu 2020-07-28 22:52:44 -04:00
Sean Yesmunt 3aad88ebe7 revert markdown size increases so no markdown is larger than card titles 2020-07-28 16:37:59 -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 e001906443 hide exact search result for SIMPLE_SITE 2020-07-27 10:48:05 -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
jessop 5399c1941c allow signin on local using non-production SameSite=Lax 2020-07-24 16:48:05 -04:00
Sean Yesmunt 63a09c95fa shrink search bar 2020-07-24 16:14:24 -04:00
Sean Yesmunt a54790ec64 bring in styles from @lbry/components 2020-07-24 13:20:36 -04:00
infiinte-persistence 2f5beb84fa Fix sluggish Back button when navigation back to channels with lots of comments
## Issue
When navigating back and forth between a File and Channel page, the back-action will be laggy (no response) if the channel contains a lot of comments and is in the midst of resolving them.

## Changes
The "full" fix would be to batch-load comments, as this would improve the performance of fetching both Channel and File comments. For now, this commit focuses on the Back action problem only.

Skip fetching comments by not mounting 'ChannelDiscussion' until the tab is selected. I couldn't find anything in the Reach UI documentation on how to not render inactive `TabPanel`s, so I used the straight-forward state method.
2020-07-24 09:22:35 -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 aa092baec4 move claim-grid link to bottom right 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 588b9c5e32 add basic copy for delay in abandon appearing 2020-07-22 21:33:12 -04:00
Sean Yesmunt 0f51cf8986 wait to go back until claim has been abandoned 2020-07-22 18:39:24 -04:00
Sean Yesmunt de3ae8e42e remove un-needed check to allow abandoning claims from file page 2020-07-22 14:22:32 -04:00
Sean Yesmunt b7f3dcad76 remove paid content reward claim 2020-07-22 12:58:20 -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 d47e59a596 hide comments from filtered outpoints 2020-07-20 14:48:25 -04:00
Sean Yesmunt 683132b8d1 hide mature comments based on settings 2020-07-20 14:48:25 -04:00
Sean Yesmunt 9587812962 hide comments from blacklisted channels 2020-07-20 14:48:25 -04:00
Sean Yesmunt 69d010435b allow blocking channels from comment 2020-07-20 14:48:25 -04:00
Sean Yesmunt 9cfec1ce74 hide comments from blocked channels 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
Sean Yesmunt 8641a3ee1c comment out youtube badge on file page to fix mobile style 2020-07-15 20:00:18 -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 5869734a15 Remove extra button 2020-07-14 15:58:02 -04:00
eatdostacos b3606d15f7 Small typo correction 2020-07-14 15:58:02 -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
infiinte-persistence 2cba296db2 String update and fixes for 0.47.0-rcX 2020-07-13 09:51:04 -04:00
Sean Yesmunt c86ac6e587 fix password reset link 2020-07-10 11:52:23 -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
Sean Yesmunt 81344b9826 make sure lbryfirst error makes it up to UI 2020-07-09 11:01:12 -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
infiinte-persistence 7feb123a45 Improve auto string addition to produce better diffs and ease merging.
## Issue
- The diff for new strings are polluted by the need to add a comma to the previous entry.
- Having to re-add the newline at the end of file before commiting is a repetitive pain.

## Caveats to this approach
- When manually adding strings, developers need to put it above the `--end--` entry. Hopefully it is obvious without having to put verbose comments like "^--- add new string before this line ---^"
- Translators will surely ask how to translate "--end--".
2020-07-08 15:01:05 -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 47f600e797 Rename: PasswordResetPage --> PasswordSetPage
There will be an actual "Reset" page coming up next.
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
infiinte-persistence ad0d96328b Add ability to support language subsets, with only CT and CS enabled for now.
CT - Chinese Traditional
CS - Chinese Simplified

Note that if English subsets like en-GB is enabled in the future, the default 'en' value used throughout the code (including in redux.git) needs to be changed to 'en-US'.
2020-07-08 14:25:14 -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
jessop 0039b94832 add userid for matomo 2020-07-07 09:27:34 -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
Sean Yesmunt cfd5d46802 rewards redirect fix for manually approved users 2020-07-03 13:18:28 -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 d8098d8eb1 fix resolve loop 2020-07-02 12:47:36 -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
infiinte-persistence d51e52444c Allow entering Blocked Page even for 0 blocked channels.
Issue 4447 (item 2)
2020-07-02 10:33:51 -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
Jeremy Kauffman c54832c335
meh 2020-07-01 17:45:04 -04:00
Sean Yesmunt 15dec5398b update list of youtubers on homepage 2020-07-01 12:03:32 -04:00
infiinte-persistence defbdc1ca2 Fix "Notification" page button being incorrectly disabled by 0 blocked channels.
Issue 4447
2020-07-01 11:21:22 -04:00
infiinte-persistence 145acda9cc [mobile] show "time left/progress" on video player bar
## Fixes:
4220

## Changes:
For `vjs-layout-small`, there is still space to display the said controls. This layout covers devices like Galaxy S5 up to Nexus 6P.

For layouts smaller that that (e.g. 'vjs-layout-xsmall'), they will remain hidden.
2020-07-01 11:20:26 -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 3288f235fb Refresh on publish page does not have loading indicator
## Fixes:
4214

## Approach:
`ClaimList` currently only shows the loading indicator if there is a header. We could make the indicator always appear at the top of the list when `loading=true`, but that would be the list jump up and down as the indicator appears/dissapears. I assume that is too distracting and is the reason why it was not made that way in the first place.

Show the indicator in place of the Refresh button while fetching instead.
2020-06-30 10:25:53 -04:00
Sean Yesmunt 7a588ccecf sort by release_time for youtube row on homepage 2020-06-29 17:29:58 -04:00
infiinte-persistence 86bae6eaee AbandonedChannelPreview: Handle blocked channels as well.
Issue 3800
2020-06-29 16:05:23 -04:00
infiinte-persistence be7eaff6f1 Add modal to remove uri from Blocked list.
Issue 3800
2020-06-29 16:05:23 -04:00
infiinte-persistence 44ae8a64cd Blocked-Page: Set 'showUnresolvedClaims' so that 'AbandonedChannelPreview' is used instead of regular version.
Issue 3800
2020-06-29 16:05:23 -04:00
Sean Yesmunt 06ea8bf932 update homepage order 2020-06-29 16:02:21 -04:00
Sean Yesmunt 258a3e636a update homepage - remove lbrytvpaidbeta 2020-06-29 16:02:21 -04:00
Sean Yesmunt 74a18b724e fix subscribe button label not showing on mobile 2020-06-29 13:25:29 -04:00
infiinte-persistence 192bf12a0e refresh youtube creator status when switching between channels
Issue 3750
2020-06-29 10:19:05 -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
Sean Yesmunt 606a3002ae fix typo 2020-06-22 17:50: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 684d0e302c Add three icons to help page 2020-06-22 10:49:21 -04:00
eatdostacos 3d4f0a93b5 Add logos to custom logos page 2020-06-22 10:49:21 -04:00
eatdostacos 566012ed9d Add icons to constant page 2020-06-22 10:49:21 -04:00
infiinte-persistence 8e85d77c71 Add 'revoke modal' strings 2020-06-22 10:27:55 -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 feb7fb8e05 update link on help page 2020-06-22 09:48:35 -04:00
Sean Yesmunt a17610d365 update title when only 1 email address present 2020-06-22 09:45:49 -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 117ccd87e1 move repost icon to submit button instead of card for consistency 2020-06-18 12:19:21 -04:00
Sean Yesmunt a4a80ee2f6 handle language fetch failure 2020-06-18 12:19:21 -04:00
Sean Yesmunt 7f6c5c544e only add gradient to bottom of channel cover 2020-06-18 12:19:21 -04:00
Sean Yesmunt fa246a7f1f move channel search into ChannelContent component 2020-06-18 12:19:21 -04:00
Sean Yesmunt c45e5c751e use css variables for button placement 2020-06-16 17:14:22 -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 19eefdf1da adjust sizes 2020-06-16 16:24:12 -04:00
Alex Grintsvayg b26a586fb5 wider diff in header sizes for md posts 2020-06-16 16:24:12 -04:00
Sean Yesmunt ea90fd8b18 fix number width and update lbryinc 2020-06-16 09:56:32 -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
Sean Yesmunt ca988d38ae fix layout on '/$/report' 2020-06-15 14:11:15 -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
infiinte-persistence 140364cb67 Fix translation issues in the Publish modal dialog.
Two issues:
1. Values not marked with __()
2. Split sentence.

For #2, it seems like there are translations that don't make sense when combined, because the values are being translated independently from full sentence in Transifex. Decided to just make it full sentences.
2020-06-15 10:51:26 -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
Sean Yesmunt 44cfe25ac2 fix height for embedded content 2020-06-12 17:41:26 -04:00
Sean Yesmunt abc7b1298d allow vanity urls in embeds 2020-06-12 17:24:00 -04:00
eatdostacos 4ab751286f Spacing between info sentence and link 2020-06-11 13:04:52 -04:00
infiinte-persistence a461c97962 About: Remove leading dash for app version in Web.
This completes the change in [b12c297a] by handling the Web case.
2020-06-11 12:56:07 -04:00
infiinte-persistence fa6a432c9d Make library view mode [Downloads|Purchases] persistent.
Previously, the mode kept going back to 'Purchases' on every entry.
2020-06-10 10:06:24 -04:00
Sean Yesmunt 92efa2e49b make sure auth token header is set for already signed in users too 2020-06-09 13:03:47 -04:00
Sean Yesmunt 36044b9e03 make sure email is verified before setting auth token header 2020-06-09 12:37:34 -04:00
infiinte-persistence 8068279b5e Limit the Markdown Editor width in Edit (not New) Mode to prevent overflow.
The MDE used in the "new" section has a parent width parameter to limit itself, while the MDE used in the "edit" section didn't.

Fix by limiting ".comment__body_container" to 80%, which takes into account the space taken by the author's avatar. This feels a little bit dirty since it's hard-coded.  If there's a way to calculate the avatar width from here, it will be more robust.
2020-06-09 09:54:10 -04:00
infiinte-persistence d95ab2c168 Fix [ff0cc861] that broke regular word-wrap in comments.
Now, both regular text and "long text without spaces" will wrap correctly.
2020-06-09 09:39:54 -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 f11d06817f pass undefined instead of null so that default value can be used 2020-06-08 16:17:00 -04:00
Sean Yesmunt 6c12525df3 fix typo 2020-06-08 14:22:03 -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
infiinte-persistence ff0cc8610d Fix long comments without spaces not wrapping and pushing buttons to go off-screen.
#4331 (issue #2)
2020-06-08 09:45:02 -04:00
infiinte-persistence 39f13e1b3a Form-field: Wrap the label/error message when it is too long. 2020-06-08 09:45:02 -04:00
infiinte-persistence 861dd2a70f Form-field: Truncate the "read-only prefix" to 40% width so that the input field is always visible.
Currently, the input field goes off-screen if the read-only prefix is too long.

Given that the prefix is read-only, the user probably knows what the prefix is from context. e.g. In the case of the Repost Modal, the prefix is repeated in a selection field above. So, it's probably ok to just truncate the text to an ellipsis.

The input field is the more important one here, so giving it 60% width when truncation is needed.
2020-06-08 09:45:02 -04:00
eatdostacos b12c297a65 Add dash between app version and changelog link 2020-06-08 09:43:44 -04:00
eatdostacos a434002be4 Testing Changelog Button on help page 2020-06-08 09:43:44 -04:00
jessop 9758286ad8 fix channel revoke confirmation 2020-06-08 09:42:58 -04:00
jessop 91662a9d57 force https thumbs or handle img src error 2020-06-08 09:42:19 -04:00
jessopb 6a59d2b2f9
Revert "fix channel revoke confirmation" 2020-06-08 07:50:09 -04:00
jessopb e51765cd72
Merge pull request #4338 from lbryio/fix-channelDeleteConfirm
fix channel revoke confirmation
2020-06-07 16:42:26 -04:00
jessop e8576eec8c fix channel revoke confirmation 2020-06-07 15:17:18 -04:00
Sean Yesmunt fea3533b4c fix share link 2020-06-05 12:17:36 -04:00
jessop cb64522fa9 install_new domain parameter 2020-06-04 13:43:36 -04:00
Sean Yesmunt dd47bc673d fix links in embeds 2020-06-04 10:57:31 -04:00
infiinte-persistence 468efaf34e Fix css "--spacing-?" renaming that recent PRs missed during the merge. 2020-06-04 10:53:32 -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
infiinte-persistence 5d1d36d4af Fix color contrast in Markdown Editor (both light & dark).
Fixed color issues that were making things hard to read:
- selected text color, including inline code.
- HTML tags
- Horizontal rule not visible in Preview mode. While at it, I changed the color in Edit mode as well as syntax highlighting.
- blockquote (was gray over gray)

Attempted to fix uneven margins between top and bottom for inline-code and codeblock. Also, removed the extra margin to make it more nice and cosy, instead of far apart.
2020-06-04 10:22:57 -04:00
Joaquim 4aba0716dd Add Catalan language 2020-06-04 10:13:25 -04:00
Sean Yesmunt 9607a0a5f3 remove code left from rebase 2020-06-04 10:11:59 -04:00
Sean Yesmunt 2fe2b12ab6 cleanup 2020-06-03 14:16:43 -04:00
Sean Yesmunt 6ca2bfdc34 clean up strings 2020-06-03 14:16:43 -04:00
Sean Yesmunt e7cdd6c13d moonpay 2020-06-03 14:16:43 -04:00
Sean Yesmunt 78422ccfb2 fix thumbnails on desktop 2020-06-03 13:49:44 -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
Sean Yesmunt af5ee2f253 fix channel gif alignment on comments 2020-06-03 11:39:37 -04:00
Sean Yesmunt 02b67d9271 fix homepage mobile spacing 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
Thomas Zarebczan 17b8aa0202
add @MH to paid content beta 2020-06-02 10:50:34 -04:00
Sean Yesmunt 36eaf68e3a increase minimum publish bid 2020-06-01 18:15:51 -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
Jeremy Kauffman 2c61f1dd2b update homepage 2020-05-31 09:45:44 -04:00
TigerxWood 4fbc4458e7 Made texts translatable
Texts will be translated now
2020-05-29 16:52:00 -04:00
TigerxWood a89efd981b Made texts translatable
All the strings will be translated now
2020-05-29 16:49:56 -04:00
TigerxWood 2130c15132 Made texts translatable
Texts will be translated now
2020-05-29 16:47:12 -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 50bb03d140 increase brightness of cover photo 2020-05-28 23:05:40 -04:00
Sean Yesmunt af5d67a42d fix channel thumbnail gifs on file page 2020-05-28 23:02:56 -04:00
Sean Yesmunt 70b9d82070 fix thumbnail border radius on homepage 2020-05-28 15:09:21 -04:00
Sean Yesmunt 8cf6cc5125 remove un-needed style 2020-05-28 14:08:54 -04:00
Sean Yesmunt 252ca6f5a0 fix tile layout for large screens 2020-05-28 13:28:40 -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 e561ee29f3 Fix split sentence: "Join our tech forum", "Explore our technical resources"
#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 21b26ea34f add channel to list of official paid beta channels 2020-05-27 17:08:49 -04:00
Sean Yesmunt d20217a228 fix typo 2020-05-27 15:40:25 -04:00
Sean Yesmunt 424583de60 remove console log 2020-05-27 14:02:49 -04:00
Sean Yesmunt 17885eeccd disable purchase button while purchasing 2020-05-27 13:46:36 -04:00
derekyesmunt 0c10b8465c fix:css remove double border on publish cards 2020-05-26 22:34:57 -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 1210a03c3f add additional app driver on paid embeds 2020-05-26 14:29:53 -04:00
Sean Yesmunt 66468174c2 fix strings 2020-05-26 14:20:39 -04:00
Sean Yesmunt 7562fdcfd5 clean up old lbrytv reference 2020-05-26 14:20:39 -04:00
Sean Yesmunt 3480bdc4cc improve loading style for embedded videos 2020-05-26 14:20:39 -04:00
Sean Yesmunt 9f317de5b6 increase paid content to 4 rows for users with more than 6 followed channels 2020-05-26 14:14:09 -04:00
Sean Yesmunt 53043ae8b3 fix default textarea styles (broke in latest chrome) 2020-05-26 13:13:58 -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
TigerxWood c23d2a91f4 Changed code for "Blocked channels" settings
Because in some languages, like Japanese, the text start with the number first (as it mentioned in https://github.com/lbryio/lbry-desktop/pull/4215#issuecomment-633264851) I rewrote the code to be more easy and clear for translators to translate the text.
2020-05-26 10:07:19 -04:00
Sean Yesmunt 512131e527 add refund message 2020-05-26 09:45:48 -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
Sean Yesmunt 7eb759e0da don't continue to play uri if user cancels purchase 2020-05-22 16:48:24 -04:00
Sean Yesmunt 047fb24731 add age confirmation on web when setting mature content setting 2020-05-22 11:49:38 -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
jessopb 235930815e
prevent paid content in embeds (#4230) 2020-05-21 21:26:46 -04:00
jessopb d335c3b95d
Merge pull request #4227 from lbryio/fix-unintendedSignin
fix unintended signin on play
2020-05-21 17:28:29 -04:00
jessop e204659df2 fix unintended signin on play 2020-05-21 17:25:38 -04:00
jessop bb674b6e2c make embeds work 2020-05-21 17:11:56 -04:00
Jeffrey Fisher 88f4329d34 Make sure native controls appear on touch devices
Closes #4150
2020-05-21 13:28:34 -04:00
Jeffrey Fisher 22da6fee69 Make embeds work without sesion or local storage
Closes #4017
2020-05-21 13:28:09 -04:00
Jeffrey Fisher 2e407c1146 Allow selecting of text by dragging the cursor over text
Closes #4209
2020-05-21 13:24:35 -04:00
Sean Yesmunt abe4e3a128 add comment 2020-05-21 13:23:52 -04:00
Sean Yesmunt 47c19e54ef drop down purchases page to 10 2020-05-21 13:18:55 -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
TigerxWood ff035ed807 Changed how 'Blocked channels' are displayed on settings and a small typo
Problems solved (second attempt):
A. Small typo for <div className="card__title card__t itle--deprecated"> (extra space in the word **t itle**)

B. More details about problems with languages:
1. The word blocked has two forms in other languages (one for plural and one for singular) and therefore must be put together with channel and channels words. Currently it can be translated in only one form.

2. In the case there are no blocked channels there is no need to show the 0 value and is more elegant the message 'You do not have blocked channels'

3.  The link to manage the channels should not be visible in the case that there is no channel blocked, because there is no channel that need to be managed.

And about your statement: "Your change would make it harder for other languages to change this sentence." 

It's quite the opossite, it's very clear and easy. They just have to translate (with examples in Romanian):
'%count% %channels%. ',     (leave it as it is)
'You don't have' = 'Nu aveți'
'You have' = 'Aveți'
'blocked channel' = 'canal blocat'
'blocked channels' = 'canale blocat**e**'  (see the change for plural forms for the word blocked, not only for channels word?)

I hope this time I explained better the need for the changes.
Thanks

Messages displayed:
Case with 0 blocked channels: You don't have blocked channels. (No Manage button displayed)
Case with 1 blocked channel: You have 1 blocked channel. **Manage** (manage link)
Case with 2 or more blocked channels: You have 2 blocked channels. **Manage** (manage link)
2020-05-18 17:38:12 -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 730fc1a752 update typo 2020-05-18 10:13:35 -04:00
Sean Yesmunt a02fe517cb add credit card image and fake cost text 2020-05-18 10:13:35 -04:00
Sean Yesmunt 1fa3ce4e50 basic checkout page prototype 2020-05-18 10:13:35 -04:00
Jeffrey Fisher 6caa8ae4f6 Add grab cursor to pop out player header 2020-05-18 09:58:22 -04:00
Jeffrey Fisher 50c7308ee7 Allow double-clicking in header to maximize the app.
Closes #4207
2020-05-17 21:26:30 -07:00
Sean Yesmunt 75b23d5d0e disable electron-cookies in dev mode 2020-05-15 15:12:11 -04:00
Sean Yesmunt 874d7860e9 don't call api if user doesn't have any tags 2020-05-15 12:39:33 -04:00
Sean Yesmunt 25984444ca hide footer on channel pages 2020-05-15 10:27:38 -04: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 3de71db341 remove test value 2020-05-13 17:45:06 -04:00
Sean Yesmunt e0c90f866c 🤦‍♂️ 2020-05-13 17:43:50 -04:00
Sean Yesmunt 5af0cfc6c2 update footer style 2020-05-13 12:13:13 -04:00
Sean Yesmunt 59d539b362 fix mobile style 2020-05-13 12:13:13 -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 1f6dd89e55 create effect to load blob from streaming url
Use this on the web for files that need to wait for the full stream
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
Baltazar Gomez dc10a2ddf1 create effect for file stream: fix #2777
Use this effect instead of the "file://" protocol
2020-05-13 10:18:36 -04:00
Sean Yesmunt 98820ad1f4 mobile cleanup 2020-05-11 15:54:07 -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 2b0314d001 update @lbry/components 2020-05-11 12:40:49 -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
Sean Yesmunt 90be60c9b0 don't use focus mixin on mobile 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 e75bd22588 fix channel selector icon color 2020-05-08 14:16:40 -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
Baltazar Gomez 0fa5ce1035 change hyperlink color: fix #346 2020-05-07 16:38:06 -04:00
Baltazar Gomez 673a35b103 remove extra spacing in markdown quotes: fix #3522 2020-05-07 16:38:06 -04:00
Baltazar Gomez 2a308ef765 fix monopolized style of list-style 2020-05-07 16:38:06 -04:00
Baltazar Gomez b6fb22d8f8 block unknown file types from player 2020-05-07 16:37:32 -04:00
Sean Yesmunt c0b4fff5d5 remove dynamic streaming url generation 2020-05-07 10:57:00 -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
Jeremy Kauffman ab70f1c758
remove #whothinks 2020-05-05 15:03:15 -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
Sean Yesmunt 85ac7c5aac move edit button on channel pages 2020-05-04 11:38:35 -04:00
Sean Yesmunt 1b830f74a1 update button styles 2020-05-04 10:57:47 -04:00
Sean Yesmunt db94e38911 slightly improve pagination button placement 2020-05-04 10:43:05 -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
JT Turner b0ed767c27 Fix channel reply switching channels. 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 b3b403a058 fix deleted text file handling on desktop 2020-05-01 09:51: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
Sean Yesmunt 49275c298a embeds style fixes 2020-04-30 11:06:06 -04:00
Jeremy Kauffman 6b02805645 fix play button on embed end 2020-04-30 10:37:39 -04:00
Sean Yesmunt 9923df7b19 let browser validate iframe markup 2020-04-30 10:13:01 -04:00
Sean Yesmunt 1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt 0738d186a5 close modal after sending support 2020-04-29 18:02:53 -04:00
Sean Yesmunt ad6d36f2e0 add back embed title background 2020-04-29 17:45:43 -04:00
jessop 867b5eb134 two bugfixes: i18n tags, all reposts loading loop 2020-04-29 15:49:14 -04:00
Sean Yesmunt a5cc1a84aa add card style for lists of claims 2020-04-29 15:37:39 -04:00
Sean Yesmunt 52f704fa0f prevent long titles from overlapping logo in embeds 2020-04-29 14:35:55 -04:00
Sean Yesmunt dae3a517f5 fix autoplay 2020-04-29 13:55:47 -04:00
Jeffrey Fisher 122781036d Use "Purchase and Tip Confirmations" setting to determine if a confirmation dialog is needed for tipping. 2020-04-29 13:28:11 -04:00
Jeffrey Fisher cb470ad970 Do not double confirm on supports, per code review 2020-04-29 13:28:11 -04:00
Jeffrey Fisher 85a8234115 Add Confirmation when sending Tip/Support
Closes #2714
2020-04-29 13:28:11 -04:00
Thomas Zarebczan 019c3e13b2
update reward amount
(this should come from the reward call probably)
2020-04-29 12:25:21 -04:00
eatdostacos 804178dd58 Changed Correctly
I did this as a pull request earlier and then I edited some other stuff in my repo and it added that also. This is a working change.
2020-04-29 11:09:36 -04:00
Sean Yesmunt c9f5813b81 try twice when the first play fails from a timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt b61907ad22 update timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt dd4cd9314c style fixes 2020-04-29 11:00:42 -04:00
Sean Yesmunt 767c69e132 cleanup and fix flow issues 2020-04-29 11:00:42 -04:00
Sean Yesmunt 0754bb1a7f hide double video controls on ios 2020-04-29 11:00:42 -04:00
Sean Yesmunt 04ee4afdc2 test with promise.race 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 49128322d5 consistent styling 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 94a5dc47af adjust volume earlier 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e23ae63c74 disable loading screen 2020-04-29 11:00:42 -04:00
Sean Yesmunt 4a6d9c7292 add log 2020-04-29 11:00:42 -04:00
Sean Yesmunt ad8cdd130f call play() programatically instead of using autoplay flag 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 1a06ddca3b always restore player volume settings on first play 2020-04-29 11:00:42 -04:00
Jeremy Kauffman ab74052446 hackish change to get mute/volume reset working 2020-04-29 11:00:42 -04:00
Jeremy Kauffman c89b69f6fc callback player ready 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 6c8b0b2d68 maybe ready 2020-04-29 11:00:42 -04:00
Sean Yesmunt 9db9363b9f fix unwanted re-renders 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e4829c8ce1 broken demonstration 2020-04-29 11:00:42 -04:00
Jeremy Kauffman c52a88f117 fix timing 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 793f622d8d semi-broken 2020-04-29 11:00:42 -04:00
jessop a411ec9b47 reenable reposts
reenable reposts and track for emails

review changes

change showReposts to hideReposts due to persist hydrate issue

bugfix

bugfix
2020-04-28 10:25:05 -04:00
calvincodes 1d30078c90 Adding tooltip to share, block, and follow buttons. 2020-04-28 09:41:47 -04:00
Thomas Zarebczan 700df02a59
fix file delete on web 2020-04-27 18:22:09 -04:00
Baltazar Gomez a76f59999e set max-height of viewer 2020-04-27 14:27:04 -04:00
btzr-io e4d822f818 Fix and enable 3D viewer: #4035
Fix 3d viewer styles

Fix minor warnings from three.js

Remove deprecated themes

Fix #4074
2020-04-27 14:27:04 -04:00
eatdostacos c541c20c0d Changing some text on the publishing page
Changed "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming." to "Your video may not be the best format. Use MP4s in H264/AAC format and a friendly bitrate (under 5 mbps) and resolution (720p) for more reliable streaming." and changed the two times it says this "For video content, use MP4s in H264/AAC format and a friendly bitrate (720p) for more reliable streaming." to "For video content, use MP4s in H264/AAC format and a friendly bitrate (under 5 mbps) and resolution (720p) for more reliable streaming."
2020-04-27 12:07:48 -04:00
btzr-io 8b6c644415 fix comic book viewer styles: #4035 2020-04-27 10:00:08 -04:00
Jeffrey Fisher 65f4562937 Fix purchase confirmation logic
Closes #4057
2020-04-27 09:53:32 -04:00
Brendon J. Brewer 0aa62b2dff found more strings 2020-04-27 09:53:12 -04:00
jessop 05aa523f3a prevent loading tv degrade components in app 2020-04-25 16:20:00 -04:00
Sean Yesmunt dcb79685bc fix typo 2020-04-24 15:12:48 -04:00
Sean Yesmunt 468051b2a1 comment out lbc earned 2020-04-24 09:15:25 -04:00
Sean Yesmunt 594bcea01f improve flow when a user has no channels/no publishes on a channel 2020-04-24 09:15:25 -04:00
Sean Yesmunt cf4bbc3f26 update icon for lbc earned analytics card 2020-04-24 09:15:25 -04:00
Sean Yesmunt 837158218e creator analytics improvements 2020-04-24 09:15:25 -04:00
Mr. X f4c63f4fc3 fix: better subscribe button for both mobile and desktop 2020-04-23 13:10:41 -04:00
Mr. X 4efc0fbd3e fix: better hover use-effect 2020-04-23 13:10:41 -04:00
Jeffrey Fisher 3c6469f388 Show elapsed/total instead of the
countdown to the end in video player.

Closes #3813
2020-04-23 10:58:42 -04:00
Jeremy Kauffman ef437c8847 proper search parameters 2020-04-22 19:19:00 -04:00
Sean Yesmunt 2ed3623b59 make invite string more manageable for translations 2020-04-22 15:45:35 -04:00
Harsh Khandeparkar 17cf98a4bd fix: add a button in the footer of the card 2020-04-22 15:45:35 -04:00
Harsh Khandeparkar 4676799c14 fix: change page size to 3 2020-04-22 15:45:35 -04:00
Mr. X b1549c6ae2 fix: create account button inline 2020-04-22 15:45:35 -04:00
Mr. X 7893512e2b feat: Invited Link Displays Channel Content 2020-04-22 15:45:35 -04:00
Sean Yesmunt 220994eeaa no reposts for #whothinks 2020-04-22 15:17:29 -04:00
Sean Yesmunt 2504d126bd update homepage 2020-04-22 13:29:07 -04:00
Jeffrey Fisher 3535703017 Remove dead code per code review. 2020-04-22 09:34:01 -04:00
Jeffrey Fisher 7adf165f08 Fix flow error.
Partial fix for #2024
2020-04-22 09:34:01 -04:00
Mr. X 5b58a46ebd feat: header logo reloads at "/" 2020-04-21 17:18:38 -04:00
Jeffrey Fisher e6a044d8e1 Fix flow error.
Partial fix for #2024
2020-04-21 17:12:31 -04:00
Jeffrey Fisher bfb2584970 Remove defaultExpand attribute so card is not collapsable 2020-04-21 17:07:56 -04:00
Jeffrey Fisher b786ba82ae First attempt to fix #3993. Show error message
if image is not able to be displayed by browser.
2020-04-21 17:07:56 -04:00
Sean Yesmunt b112705c23 disable cad files again - file page changes needed to support 2020-04-21 11:00:19 -04:00
Sean Yesmunt d0d172ac88 fix channel thumbnail style 2020-04-21 10:34:16 -04:00
jessop 4453e2105c move help link on txo page 2020-04-21 10:21:01 -04:00
jessop 007a57b8d7 remove constriction from txo details 2020-04-21 10:10:00 -04:00
Sean Yesmunt 58e6419c7b change channel deposits to 0.01 2020-04-21 09:57:21 -04:00
Sean Yesmunt 8cf178ba79 sorta make channel pages look better with long titles 2020-04-21 09:56:03 -04:00
Sean Yesmunt fc9d81eeaa only pass in longestLabel to button if a user is following someone 2020-04-21 09:44:12 -04:00
Sean Yesmunt 46c3538c8e don't let users login if they are partway through a signup 2020-04-20 17:41:42 -04:00
Sean Yesmunt c30d158704 add sync checkbox to desktop 2020-04-20 13:16:19 -04:00
Sean Yesmunt a863cbaec5 don't fire emailProvided event for sign ins 2020-04-17 18:14:07 -04:00
Sean Yesmunt adfc46e81a only render largestLabel stuff if largestLabel is passed in 2020-04-17 16:33:02 -04:00
Sean Yesmunt 88dbcf1e2e improve ads styling on dark mode 2020-04-17 14:57:11 -04:00
jessopb bf86af2022
Merge pull request #4016 from lbryio/helpLinkTxo
add transaction-list help link
2020-04-17 12:59:17 -04:00
jessop 522ac4cfdc add transaction-list help link 2020-04-17 12:58:20 -04:00
jessopb deb5ccab85
Merge pull request #4015 from lbryio/fix-moreTxoListStatusHiding
modify status hiding in txolist
2020-04-17 12:53:08 -04:00
Jeremy Kauffman 3d6270b133 tag homepage campaign support 2020-04-17 12:24:33 -04:00
SleepingFox eb64079b9e fixed distance between button icon and label 2020-04-17 12:24:06 -04:00
SleepingFox 6cc301dd35 remove visible borders 2020-04-17 12:24:06 -04:00
SleepingFox 25fa777dd6 remove unused lines 2020-04-17 12:24:06 -04:00
SleepingFox a63d850744 Buttons no longer tall 2020-04-17 12:24:06 -04:00
SleepingFox a7990e5bab Messy PoC
state jittering still seems to be an issue on rare occasion even though the button hitbox is no longer changing size.
2020-04-17 12:24:06 -04:00
SleepingFox f77439708e hidden label parent of button content
visually on the page, label needs to be centered inside of largestLabel
2020-04-17 12:24:06 -04:00
jessop 537ca0fdf5 modify status hiding in txolist 2020-04-17 12:06:49 -04:00
jessop 867350ab0e reset status on hidden types 2020-04-17 11:20:48 -04:00
jessop d33b1c49db fix cold reload on channel select 2020-04-17 08:47:59 -04:00
jessopb 51df90fc0c
add is_my_input_or_output constant to txo list (#4010) 2020-04-16 21:47:19 -04:00
jessopb 214392c88a
fix params for payments (no spent) (#4009) 2020-04-16 21:47:10 -04:00
Baltazar Gomez f3e5cac0ea fix fileType prop 2020-04-16 16:47:00 -04:00
Baltazar Gomez d895e8d81b remove extra space 2020-04-16 16:47:00 -04:00
Baltazar Gomez e6fe6d6232 enable 3D render on desktop 2020-04-16 16:47:00 -04:00
jessop e3d29b3067 improve wallet list ui/ux 2020-04-16 16:32:35 -04:00
jessopb 6d45878d88
Merge pull request #4004 from lbryio/fix--tipUnlock
fix default unlock
2020-04-16 13:31:21 -04:00
jessop d4577d06bd fix default unlock 2020-04-16 13:21:23 -04:00
Baltazar Gomez 8f68fa59fa show comic-book files on the desktop app 2020-04-16 12:22:19 -04:00
Baltazar Gomez 3d3223eab8 fix comicbook viewer 2020-04-16 12:22:19 -04:00
Sean Yesmunt 3d6ed7b1ec only call email provided event for real sign ups 2020-04-16 09:12:59 -04:00
jessopb 4031346eb6
fix empty reducer and fix empty channelSelect creation (#4000) 2020-04-15 17:58:59 -04:00
Sean Yesmunt 7ebe8d77a7 remove card body border and add back css I didn't mean to remove 2020-04-15 15:54:39 -04:00
Sean Yesmunt 63092ce7da fix spacing on publish page when user has no lbc 2020-04-15 15:32:47 -04:00
jessopb 4cc2d00f19
exclude internal transfers on wallet txo list (#3998) 2020-04-15 14:09:22 -04:00
jessopb 0bd1421a0e
Merge pull request #3996 from lbryio/test-noSidebarAds
comment out sidebar ads for test
2020-04-15 12:46:27 -04:00
jessop 24eb0c2aea review changes 2020-04-15 11:12:29 -04:00
jessop f880922a25 improve abandon callback 2020-04-15 11:12:29 -04:00
jessop fdd20ef350 use txo list for wallet page:
paginated
enable revoking
filtering

txo pagination changes

move constants

remove fetchTransactions() calls

review changes

final changes
2020-04-15 11:12:29 -04:00
jessop a468d1b79c comment out sidebar ads for test 2020-04-15 11:07:20 -04:00
Sean Yesmunt a6000ecf0b Join => Register 2020-04-14 14:16:11 -04:00
Sean Yesmunt 382eb256f4 remove tag edit from tag following page since it was added to first run 2020-04-14 14:12:19 -04:00
Sean Yesmunt 74aab24227 fix comment reply style 2020-04-14 13:43:59 -04:00
Sean Yesmunt af0257c0d7 add spacing for .section that is next to .section__actions 2020-04-14 13:21:41 -04:00
Sean Yesmunt ff58ee53dc update string 2020-04-14 13:04:31 -04:00
TigerxWood c54ea58532 Change text displayed for blocked channels
With the current string there is a problem with the translation in other languages. For example in other languages current english text would be: "You have blocked channels 10" instead of "You have 10 channels blocked." Also, what happen when there si no blocked channel? So I think the simpler form is better in thi situation.
2020-04-14 13:04:31 -04:00
Jeffrey Fisher 6a68558d4e Make images scale properly in lbry.tv.
Closes #3948
2020-04-14 12:48:04 -04:00
jessop 63d6cdaa1a tip error tweaks 2020-04-14 08:45:04 -04:00
jessop 067615afc2 style and limit height of errors on tip unlock modal 2020-04-14 08:22:11 -04:00
Sean Yesmunt 3c41c5006c fix channel action styling 2020-04-13 16:27:34 -04:00
Sean Yesmunt 0c84e6296e fix rewards verification for users that skipped it on first run 2020-04-13 16:09:05 -04:00
Sean Yesmunt 2677cd17d8
new signin/signup (#3960)
* new signin/signup

* cleanup and password reset

* new flow working

* cleanup

* add 'autoComplete' props

* fix prop

* try to call email/confirm before resetting password

* Dont use password reset token for email confirmation.

* add password reset

* password manager improvements

* update lbryinc

* cleanup

* slightly improve close button on sign up page

* moar fixes

* fix password autofil

Co-authored-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2020-04-13 15:16:07 -04:00
Sean Yesmunt f177f2dbb9 fix expand button style on mobile 2020-04-10 16:48:31 -04:00
Jeremy Kauffman 6b4d5ce9cf table love 2020-04-09 13:32:03 -04:00
Sean Yesmunt f70887dd78 fix view counts on direct visits for non-video content 2020-04-08 17:01:47 -04:00
Jeremy Kauffman 449f117336
larger images please
for removing this entirely, but don't want to be too reckless
2020-04-08 16:40:39 -04:00
Sean Yesmunt d94610acb1 initial fix for #3723 2020-04-08 15:20:27 -04:00
Sean Yesmunt 7218b78746 fetch continent cookie on server-side and clean up video effects 2020-04-08 15:12:22 -04:00
Sean Yesmunt 7401a590cc Revert "fix streamUrl creation"
This reverts commit 338f7be78e.
2020-04-08 13:43:39 -04:00
Sean Yesmunt 338f7be78e fix streamUrl creation 2020-04-08 13:29:34 -04:00
Alex Grintsvayg c357bbdff0 wrap long lines of code 2020-04-08 11:06:42 -04:00
Sean Yesmunt 6f07f63960 use SameSite=None for auth_token cookie 2020-04-07 18:25:40 -04:00
Sean Yesmunt 39102d81ca fix viewcount being fired before video starts playing 2020-04-06 15:34:49 -04:00
Thomas Zarebczan 1387c5be40 fix: double confirmation on channel updates
Fixes https://github.com/lbryio/lbry-desktop/issues/3956
2020-04-06 14:11:24 -04:00
Sean Yesmunt 8a0a3c61a7 fix card header spacing on mobile 2020-04-03 12:33:48 -04:00
Sean Yesmunt 94168605b7 add 'audio' render mode check 2020-04-03 10:18:07 -04:00
Sean Yesmunt 508db2d38a fix publish modal button spacing 2020-04-02 17:34:48 -04:00
Thomas Zarebczan 1164525d27
fix: invite reward button 2020-04-02 15:10:16 -04:00
jessopb 33c64a9400
Merge pull request #3941 from lbryio/fix-tipSlider
fix tip select slider messaging and behavior
2020-04-02 15:08:21 -04:00
Jeremy Kauffman 2b042d1d97 new homepage searches, always show sidebar 2020-04-02 13:12:29 -04:00
jessop 33466b3364 fix tip select slider messaging and behavior 2020-04-02 13:04:40 -04:00
jessop 3e8745be90 restore repost count to file details 2020-04-02 12:32:39 -04:00
jessopb 201b47aee0
Merge pull request #3937 from lbryio/fix-jankySupportAmount
fix janky support amount on file page
2020-04-02 12:27:26 -04:00
jessop d0f0ed2796 fix janky support amount on file page 2020-04-02 12:01:37 -04:00
Sean Yesmunt 2a78ac04b0 fix broken link 2020-04-02 11:38:09 -04:00
Sean Yesmunt 618ecfb639 drop follow label for mobile inside claimPreviewTile to save space 2020-04-02 10:30:49 -04:00
jessopb ea66c116ca
Merge branch 'master' into feat-expandingCards 2020-04-02 09:19:24 -04:00
jessop 9faca8da2b adds tip unlock modal to file page
i18n messages, handle error case max

copy copy

update @lbry/components and tweak range styles

sigfigs

error catching and cleanup

apply review changes

style table and unlock button

handle tip errors

separate fileDescription from fileDetails

make expandable cards

ui tweaks

tweak copy, style, behavior

remove unused strings

forgot an important line
2020-04-02 08:54:43 -04:00
Sean Yesmunt 7ec58440ab quick fix for channel buttons 2020-04-01 17:44:13 -04:00
Sean Yesmunt 2934c8eb62 fix mobile spacing 2020-04-01 16:42:56 -04:00
Sean Yesmunt dd98a20053 fix player alignment on mobile (moved reposts link into FileDetails) 2020-04-01 16:13:22 -04:00
Sean Yesmunt ef3e9c200e mobile style cleanup 2020-04-01 16:00:09 -04:00
Sean Yesmunt 90024fc7ea fix button styles 2020-04-01 15:36:59 -04:00
Jeremy Kauffman 872259b73a
File downloads and refactoring (#3918)
* am I done?

* post diff

* unused selector cleanup

* missed commit

* mess with button styles

* fix flow

Co-authored-by: Jeremy Kauffman <jeremy@lbry.io>
Co-authored-by: Sean Yesmunt <sean@lbry.io>
2020-04-01 14:43:50 -04:00
Sean Yesmunt 8db4622c3a don't decode search params because they might contain lbry urls 2020-03-31 16:35:33 -04:00
Sean Yesmunt 10914e5350 Revert "use claim_id for reposts page instead of uri so we don't have to resolve before"
This reverts commit b494c061aa.
2020-03-31 16:30:56 -04:00
Sean Yesmunt b494c061aa use claim_id for reposts page instead of uri so we don't have to resolve before 2020-03-31 16:12:28 -04:00
jessop 50f7761bc2 save optimize check to fix publish navigation file reloading 2020-03-31 13:00:13 -04:00
Thomas Zarebczan dab354cfd7 Sync status and SDK upgrade
Check is_syncing while loading the app so we don't try to refresh the wallet / show error message.
2020-03-31 12:45:53 -04:00
Sean Yesmunt 25bf9290e1 only show timed out message when claim_search times out 2020-03-31 12:09:15 -04:00
Sean Yesmunt 1e2714723f keep search params when decoding url on frontend 2020-03-30 16:50:08 -04:00
Sean Yesmunt 27397285bc use web share api 2020-03-30 15:49:45 -04:00
Sean Yesmunt dbdef22f46 clean up links 2020-03-30 09:40:23 -04:00
Thomas Zarebczan 8c8989bc03 Add extra URLs
Can add more based on content type later?
2020-03-30 09:40:23 -04:00
Sean Yesmunt 419b3890cd improve share modal 2020-03-30 09:40:23 -04:00
Sean Yesmunt f7846e976a style cleanup 2020-03-30 09:40:10 -04:00
Sean Yesmunt c4fc2993d5 initial commit for inline video ads 2020-03-30 09:40:10 -04:00
Thomas Zarebczan 829c2eac50 small fixes 2020-03-30 09:05:30 -04:00
Thomas Zarebczan 0c042376a4
fix: actually pass claim code (#3909)
Required lbryinc changes that I pushed to master.
2020-03-27 21:54:59 -04:00
Sean Yesmunt cc7c69eb25 embed improvements 2020-03-27 09:59:07 -04:00
jessop b11262ad52 remove selected tags from suggestions 2020-03-27 09:20:41 -04:00
Sean Yesmunt 3ca3176d28 disable fail gerbil for nag instead 2020-03-26 16:17:41 -04:00
Thomas Zarebczan cc5751617c fix: multiple youtube channel reward 2020-03-26 15:19:23 -04:00
jessop d509b1c689 csvtags sliced to limit 2020-03-26 13:14:11 -04:00
jessop e50fbd4cdd gets status after ffmpeg find 2020-03-26 12:28:48 -04:00
Sean Yesmunt 4cc402e8e0 improve mobile nag style 2020-03-26 11:57:31 -04:00
Sean Yesmunt 46cc15a1cc improve open in app link for existing LBRY users 2020-03-26 11:57:31 -04:00
Jeremy Kauffman 195fb4363b only show content for tags on the homepage 2020-03-26 10:33:43 -04:00
Sean Yesmunt 0015cd909e add back play button on pause for embedded videos 2020-03-26 10:26:55 -04:00
Sean Yesmunt bd0ad7eb94 add back block on channel follow intro 2020-03-26 10:02:22 -04:00
Sean Yesmunt baa73c7329 fix download links on lbry.tv 2020-03-25 17:51:22 -04:00
Thomas Zarebczan e35fbdd86a make transcoding work
appstrings

provide optimize checkbox on publish

fix missing status

no crash on web

cleanup

better settings ui

add help and time estimate to publish transcoding

messaging

fix: Special SDK + fix config name

fix: older SDK build

fix app string, style tweak

whoops, and looks better to me this way.

bump SDK
2020-03-25 13:42:40 -04:00
Sean Yesmunt eb54d899fb only fetch channel_list when sync returns new data 2020-03-24 17:19:39 -04:00
Sean Yesmunt db438bc979 get back on master branch for lbryinc 2020-03-24 16:38:59 -04:00
Alex Grintsvayg fb2ad33871
post ui metrics 2020-03-24 15:31:00 -04:00
Alex Grintsvayg 58d323fd97 update metrics url 2020-03-24 14:53:02 -04:00
Sean Yesmunt 6c93d3caeb fix repostedUri being passed in as "null" which breaks discover pages 2020-03-24 14:49:42 -04:00
Sean Yesmunt 4368eb4c5c Revert "update metrics url"
This reverts commit ba1cdd3882.
2020-03-24 14:33:09 -04:00
Alex Grintsvayg ba1cdd3882
update metrics url 2020-03-24 14:15:26 -04:00
Sean Yesmunt 6e953c098c fix reposts page when navigating directly by url 2020-03-24 12:32:44 -04:00
Alex Grintsvayg 1875c37ed3 send a few metrics to lbrytv api 2020-03-24 11:52:42 -04:00
Sean Yesmunt 0ca53b7e63 fix desktop login 2020-03-24 10:10:22 -04:00
Sean Yesmunt cebb4dd580 add creator analytics to mobile 2020-03-23 15:16:09 -04:00
Sean Yesmunt b5ef840e1a don't remove list of tags/channels when navigating to discover page 2020-03-23 13:24:44 -04:00
Sean Yesmunt bc56691752 add wallet backup to help page 2020-03-23 12:06:43 -04:00
Sean Yesmunt e24eaa3552 hide play button when paused on desktop 2020-03-23 12:00:48 -04:00
Alex Grintsvayg 47e8339b9d more spacing between paragraphs 2020-03-23 09:24:54 -04:00
Sean Yesmunt b6cd67dbd5 add "Replying as {channel}" to reply input label for comments 2020-03-20 16:08:41 -04:00
Sean Yesmunt 8f5ac8263d require auth for replies on web 2020-03-20 15:42:23 -04:00
Sean Yesmunt 5e7ca886a8 autofocus replies 2020-03-20 15:21:39 -04:00
Sean Yesmunt 6af22e7caf only select new channels in selector if they aren't currently selected 2020-03-20 15:17:15 -04:00
Sean Yesmunt 9b5860c1bf merge CommentReply and CommentCreate 2020-03-20 15:10:20 -04:00
Kenneth Tubman V e3103747c8 Create index.js in commentReply 2020-03-20 15:10:20 -04:00
Kenneth Tubman V 613ba98676 Added the ability to reply to comments 2020-03-20 15:10:20 -04:00
Sean Yesmunt 1bb61a0bbf update copy 2020-03-20 14:37:52 -04:00
seanyesmunt 1434d13711 undo my change until I know that fixes it 2020-03-19 17:46:40 -04:00
seanyesmunt 2d56518ffe hide big play button when paused on desktop 2020-03-19 17:40:04 -04:00
Jeremy Kauffman ef4d8f5988 best 7 lines ever 2020-03-19 16:38:24 -04:00
seanyesmunt e46fd6088b prettier and update lbry-redux 2020-03-19 13:56:45 -04:00
Jeremy Kauffman 73d2eebb07 display repost counts on file pages, link to all reposts 2020-03-19 13:56:45 -04:00
seanyesmunt 3cc260e56c fix typos 2020-03-19 12:42:43 -04:00
seanyesmunt 9f40b7ff7c call publish event if report call fails 2020-03-19 12:12:19 -04:00
seanyesmunt 4420983a79 cleanup 2020-03-19 12:12:19 -04:00
seanyesmunt 73b7b45b73 improve empty states 2020-03-19 12:12:19 -04:00
seanyesmunt 2bb1e42abb downgrade @reach/menu-button 2020-03-19 12:12:19 -04:00
seanyesmunt a4f1a2e224 add badge to analytics page link 2020-03-19 12:12:19 -04:00
seanyesmunt bc32341aab initial commit for creator analytics 2020-03-19 12:12:19 -04:00
Sean Yesmunt bb1c12b050 pass trending_algorithm to ga 2020-03-18 14:20:55 -04:00
seanyesmunt 1984ee585f second attempt at localized player 2020-03-18 10:04:05 -04:00
seanyesmunt f0d2298142 update copy 2020-03-17 16:15:47 -04:00
seanyesmunt 4d2e841fcd add gerbil when apis are down and move components into lbrytv/ 2020-03-17 16:15:47 -04:00
Sean Yesmunt 48a441aae8 Revert "Localized player urls for lbry.tv" 2020-03-17 13:47:15 -04:00
Niko Storni 6d12e0da06 use only supported continents 2020-03-17 18:25:49 +01:00
Sean Yesmunt 7afaeb8333 demo with dynamic player url 2020-03-17 18:25:49 +01:00
Niko Storni 2b2607df61 drop usage of async 2020-03-17 18:25:49 +01:00
Niko Storni 167b591d21 make player url dynamic 2020-03-17 18:25:49 +01:00
YULIUS KURNIAWAN KRISTIANTO 6f86c34da4 fix wording 2020-03-17 12:08:28 -04:00
seanyesmunt b005ed76fe add 10 second timeout to lbrytv status call 2020-03-16 17:59:24 -04:00
jessop d9e65e8328 select tags before channels and filter channels by tag
moartags

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

limitShow tags count

tags limit fix

debug cs tags highlighting

bugfix

yarnlock
2020-03-16 16:47:22 -04:00
seanyesmunt f8357c4ec6 update copy 2020-03-16 15:06:10 -04:00
Sean Yesmunt 304dcf79e1 add sign out confirmation modal for desktop 2020-03-16 14:52:29 -04:00
Sean Yesmunt c154db73fd slightly improve channel edits 2020-03-16 14:52:29 -04:00
Sean Yesmunt f9284b6e1a show error message on thumbnail/cover photo upload fail 2020-03-16 14:52:29 -04:00
Sean Yesmunt 9b95b4994e show available balance on tip/support modal for mobile devices 2020-03-16 14:52:29 -04:00
seanyesmunt 691e648f6a ensure we properly track if users want to skip the rewards intro 2020-03-16 14:49:47 -04:00
seanyesmunt 292f547c59 initial commits included in #3809 2020-03-16 14:49:47 -04:00
Jeremy Kauffman 8c006225ec stake amounts on file pages 2020-03-14 12:07:36 -04:00
Sean Yesmunt 41186cd7cb Revert "only show reward intro for non identity_verified users"
This reverts commit 300b0c7c95.
2020-03-13 21:16:30 -04:00
Sean Yesmunt 80f24edcb3 Revert "skip rewards validation on future sign ins if user clicks 'skip' button"
This reverts commit 8a73cdbc0b.
2020-03-13 21:16:30 -04:00
Sean Yesmunt 8a73cdbc0b skip rewards validation on future sign ins if user clicks 'skip' button 2020-03-13 18:25:04 -04:00
Sean Yesmunt 300b0c7c95 only show reward intro for non identity_verified users 2020-03-13 18:25:04 -04:00
Sean Yesmunt 09f04b46dc remove user-select: none for labels too 2020-03-13 18:05:18 -04:00
Jeremy Kauffman a276a71d7a fix selection on firefox 2020-03-13 18:05:18 -04:00
Sean Yesmunt f755ec0bcf update error message 2020-03-13 13:00:56 -04:00
Sean Yesmunt e2c476dbf9 add error nag when api performance is degraded 2020-03-13 12:57:32 -04:00
jessop 7595458caa make user type channel name to abandon channel 2020-03-12 20:56:02 -04:00
Jeremy Kauffman 4c928c874b got frustrated about no claim id on channels and went wild
update text
2020-03-12 17:37:52 -04:00
Sean Yesmunt d85a1dc67c update name 2020-03-12 12:10:42 -04:00
Sean Yesmunt 878ad61fd1 update cookies to remove leading "." in domain value 2020-03-12 12:10:42 -04:00
jessop a1e252c463 redux bump 2020-03-11 21:47:50 -04:00
jessop a07fb2514e sync tags with lbry on startup and change 2020-03-11 21:47:48 -04:00
Sean Yesmunt 008e130dce fix react error 2020-03-11 15:57:21 -04:00
Thomas Zarebczan 46d98ff0c0 fix: valid URL handing in wunderbar
Once parseURI can handle the spaces / return if the URI is valid, we can remove that part and the try/catch.
2020-03-10 10:07:28 -07:00
Sean Yesmunt 3eae6f8fdf temporarily disable lbry-format apps 2020-03-10 10:03:20 -07:00
Sean Yesmunt 86414855b1 fix discover link on homepage 2020-03-10 10:54:22 -04:00
Jeremy Kauffman 619ab3d1de once startup has failed, stop animations and strip UI 2020-03-09 11:54:14 -07:00
Sean Yesmunt 41c9ba4869 fix links on homepage 2020-03-09 11:48:05 -07:00
Sean Yesmunt f7ab185bfe fix links on channel discovery page 2020-03-09 11:48:05 -07:00
YULIUS KURNIAWAN KRISTIANTO 66eb94891a add finnish and kannada to publish form 2020-03-09 11:47:07 -07:00
Sean Yesmunt 3884bb32ad fix exact search result not showing 2020-03-09 10:50:07 -04:00
Sean Yesmunt 80dddf8f9e update lbry-redux and fix ClaimList header alignment 2020-03-09 10:46:12 -04:00
Kenneth C b5e7912f93 Updated commentAcknowledgement modal.
Removed outdated point regarding the ability to delete/edit comments and replaced it with an at least somewhat relevant point.
2020-03-09 05:57:17 -07:00
jessop fd27fa45f6 fix bad label Followed Tags 2020-03-08 13:01:05 -04:00
jessopb 815ab193aa
update publishing messages: (#3794)
increase lbrytv limit until tv transcoding
warn about bitrate
warn about strange types
more reliably convey size limit message
2020-03-06 18:11:16 -05:00
jessop 6d2289a371 review changes 2020-03-06 17:29:06 -05:00
jessop c630482eab overhaul tags 2020-03-06 17:15:51 -05:00
jessop f7d31bda33 limit tags on publishing to 5 2020-03-06 17:15:50 -05:00
YULIUS KURNIAWAN KRISTIANTO d097a0b1ee Added Ukrainian to supported language
Based on Translators LBRY Discord channel and LBRY zone on Transifex
2020-03-05 11:31:49 -05:00
jessopb e87fabe55a
do not set comment channel anonymous, (#3787)
set to top channel if not already persisted
2020-03-02 15:41:11 -05:00
jessop 15416487e7 suggest 720p 2020-03-02 14:42:11 -05:00
Thomas Zarebczan 3ee25f8251
fixes: default channel bid and publish form (#3781)
Changes channel default bid and fixes publish form errors around bid amount.
2020-03-02 12:11:14 -05:00
jessop 60e74ad4a7 fixes defaults for channel follow intro 2020-03-01 17:56:47 -05:00
jessop 5e1ba4aaf5 claim search options tweaks
add image, bodel, binary
fix duration reset/disable
2020-02-29 12:24:13 -05:00
Sean Yesmunt 7a572f0c08 fix discover page 2020-02-28 18:13:49 -05:00
Sean Yesmunt a637df3c8c fix typo 2020-02-28 17:55:41 -05:00
Sean Yesmunt 0e1e67cb9d disable repost setting 2020-02-28 17:36:22 -05:00
Sean Yesmunt 98e0e57de7 fix typo 2020-02-28 17:13:35 -05:00
Dalton 119bda85dc fixes #3744 by allowing the user to navigate forward and backward using the respective mouse keys 2020-02-28 16:56:21 -05:00
Sean Yesmunt ffd2c4f793 hide claimList filters on channel discovery and sign in pages 2020-02-28 16:55:48 -05:00
Sean Yesmunt 89d998c9ae keep text on same line 2020-02-28 13:30:29 -05:00
jessop 8b261b57ff freshness default 2020-02-28 13:30:29 -05:00
jessop 9dc9d50e19 add options card to claim search
changes

almost done

wip

wip

more

changes after comment

detect custom qs and show options

ux and mobile styling

bugfix

console logs

appstrings
2020-02-28 13:30:29 -05:00
Sean Yesmunt ef2171e457 use lbry-redux constants for view settings 2020-02-28 12:37:43 -05:00
Sean Yesmunt 31ef391ff6 fix claimType prop on home page 2020-02-28 12:37:43 -05:00
Sean Yesmunt e430098613 add claim_type changes to ClaimTilesDiscover too 2020-02-28 12:37:43 -05:00
Sean Yesmunt 565cbb2502 default claim_type to "stream", "channel", and "repost" 2020-02-28 12:37:43 -05:00
Lukewh 26168670dd Repost settings 2020-02-28 12:37:43 -05:00
Michael Tintiuc 356611d3a7 Fixes #3200 Claim previews right-clickable 2020-02-28 12:37:43 -05:00
Sean Yesmunt d2a87f164a fix page names 2020-02-28 10:13:33 -05:00
Sean Yesmunt 8f7aea9844 update nag z-index 2020-02-28 10:13:33 -05:00
Sean Yesmunt be3105db34 move channel page to ClaimListDiscover 2020-02-28 10:13:33 -05:00
Sean Yesmunt aad0f6fef6 always show channel following section on first-run 2020-02-28 09:37:31 -05:00
Sean Yesmunt 21de13a3c2 update script 2020-02-28 09:37:31 -05:00