Commit graph

23 commits

Author SHA1 Message Date
infinite-persistence
6f8758c819
Fix and optimize makeSelectIsSubscribed (#273)
## Issues with `makeSelectIsSubscribed`
- It will not return true if the uri provided is canonical, because the compared subscription uri is in permanent form. This was causing certain elements like the Heart to not appear in claim tiles.
- It is super slow for large subscriptions not just because of the array size + being a hot selector, but also because it is looking up the claim twice (not memo'd) and also calling `parseURI` to determine if it's a channel, which is unnecessary if you already have the claim.

## Changes
- Optimize the selector to only look up the claim once, and make operations using already-obtained info.
2021-11-12 09:47:07 -05:00
Merge
30023422b8
Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
Sean Yesmunt
0cc3af28a3 flow fixes 2020-12-16 10:52:22 -05:00
Sean Yesmunt
1f2fabe81b Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
Sean Yesmunt
2066205b8f add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -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
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
2a78ac04b0 fix broken link 2020-04-02 11:38:09 -04:00
jessop
d44e3e2783 make invite redirect to channel if appropriate 2020-01-31 17:13:49 -05:00
Thomas Zarebczan
1adede3a33 Fix double 'and' 2020-01-25 12:53:05 -05:00
jessop
b33695c295 show channelName instead of full url introducing referrer channel
clear referrer modal error on close
2020-01-17 11:23:03 -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
Jeremy Kauffman
649fff500a update invited/view copy 2020-01-14 12:42:58 -05:00
jessop
94cc7a2d9d review changes 2020-01-14 12:42:57 -05:00
jessop
f130fae214 fix shortUrl subscriptions
refactor invited page
check if subscribed first
always follow regardless of reward status
2020-01-14 12:42:57 -05:00
jessop
d1c4e96d60 rename setReferrerPending and Error
bump lbryinc
improve invite states
register channels with apis
fix duplicate subscriptions
2020-01-14 12:42:56 -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
jessop
92af68d912 new invite route 2020-01-14 12:42:55 -05:00