Commit graph

7876 commits

Author SHA1 Message Date
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
Sean Yesmunt
ab5bd33597 update og image url 2020-06-30 19:28:40 -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
fe3ef8f8e5 add User flow type from lbryinc 2020-06-30 02:04:49 -04:00
Sean Yesmunt
7a588ccecf sort by release_time for youtube row on homepage 2020-06-29 17:29:58 -04:00
Sean Yesmunt
935f5e50d9 update lbry-redux 2020-06-29 17:22:50 -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
345984f4cb add badge to readme 2020-06-29 13:48:28 -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
17d5c6d2ae put back frontend 2020-06-23 17:20:42 -04:00
Sean Yesmunt
138e1c4afe bring down frontend 2020-06-23 16:44:49 -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
08c5f3e3a6 update lbry-redux 2020-06-23 11:19:18 -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
Sean Yesmunt
87dc46019d update lbry-redux 2020-06-22 14:40:50 -04:00
jessopb
999599ddb5
Merge pull request #4422 from lbryio/dev-pending
Dev pending
2020-06-22 12:48:08 -04:00
jessop
e3a5d71e34 channel update submitting state 2020-06-22 12:42:20 -04:00
Sean Yesmunt
dcfdbd6352 use v2 endpoint for lbry.tv status 2020-06-22 12:20:26 -04:00
jessop
e065c81f88 support channel pending state 2020-06-22 11:27:03 -04:00
jessop
6ff1cfc91e bump 2020-06-22 11:25:26 -04:00
eatdostacos
684d0e302c Add three icons to help page 2020-06-22 10:49:21 -04:00