Commit graph

21 commits

Author SHA1 Message Date
Sean Yesmunt 248e578422 new comments 2020-09-29 17:12:32 -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
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
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
Sean Yesmunt 2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
Sean Yesmunt 01e0a2a5db improve support/tip for 0 balance and own claims 2020-06-15 10:50:01 -04:00
jessop d33b1c49db fix cold reload on channel select 2020-04-17 08:47:59 -04:00
jessopb 4031346eb6
fix empty reducer and fix empty channelSelect creation (#4000) 2020-04-15 17:58:59 -04:00
seanyesmunt bc32341aab initial commit for creator analytics 2020-03-19 12:12:19 -04:00
Oleg Silkin 9f04dd5bfc Update CHANGELOG.md 2020-02-20 12:41:24 -05:00
Oleg Silkin e1bc577efd Removes ability to create comments anonymously 2020-02-20 12:41:24 -05:00
Sean Yesmunt 776de49c15 basic repost UI 2020-02-11 11:09:55 -05:00
Sean Yesmunt 93e8616e2e referrals round 2 2020-01-14 15:50:10 -05:00
Sean Yesmunt b15f728d16 Revert "Feat new referrals" 2020-01-14 15:01:54 -05:00
Sean Yesmunt 9af2dcac0b style cleanup 2020-01-14 12:43:00 -05:00
jessop 94cc7a2d9d review changes 2020-01-14 12:42:57 -05:00
jessop b16688754b new referrals
enable visiting /$/CODE or /$/invite/CHANNEL
enable visiting /ANY?=[CODE|CHANNEL] to set and claim
enable /$/invite selecting channels for referral codes
add ?r=CODE to share modal
enable setting referrer and claiming reward from rewards page
2020-01-14 12:42:56 -05:00
Sean Yesmunt e00f89b890 cleanup 2019-12-09 10:04:07 -05:00
Oleg Silkin dfe0a75209 Refactored SelecChannel & ChannelCreate to reduce redundancy 2019-12-09 10:04:07 -05:00
Thomas Zarebczan 2832880d45 Fix: balance / bid issues
Balance checking on publish was not working. Channel create didn't have minimum bid check.
2019-11-25 12:44:22 -05:00
Sean Yesmunt 6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00