Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat new referrals #3462

Merged
merged 11 commits into from
Jan 14, 2020
Merged

Feat new referrals #3462

merged 11 commits into from
Jan 14, 2020

Conversation

jessopb
Copy link
Member

@jessopb jessopb commented Jan 8, 2020

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number:

What is the current behavior?

What is the new behavior?

Other information

Copy link

@neb-b neb-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small comments

ui/component/commentCreate/view.jsx Outdated Show resolved Hide resolved
ui/component/inviteNew/view.jsx Outdated Show resolved Hide resolved
ui/component/inviteNew/view.jsx Outdated Show resolved Hide resolved
ui/component/invited/view.jsx Outdated Show resolved Hide resolved
ui/component/invited/view.jsx Outdated Show resolved Hide resolved
ui/component/invited/view.jsx Outdated Show resolved Hide resolved
ui/component/invited/view.jsx Outdated Show resolved Hide resolved
ui/component/rewardTile/view.jsx Outdated Show resolved Hide resolved
ui/modal/modalSetReferrer/view.jsx Outdated Show resolved Hide resolved
ui/component/inviteNew/view.jsx Show resolved Hide resolved
/>
</Form>
<div className="card__actions">
<Button button="primary" label={__('Done')} onClick={closeModal} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could just be the form submit button and it would eliminate an entire button from the modal

</Form>
<div className="card__actions">
<Button button="primary" label={__('Done')} onClick={closeModal} />
<Button button="link" label={__('Close')} onClick={closeModal} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed this from cancel to close. Be careful with labeling things cancel if it doesn't actually undo things (or prevent submission of unsaved values).


return (
<Card
title={__(`Welcome!`)}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seanyesmunt I told @jessopb it was out of scope for his work so not to worry about it, but I think this step is probably the weakest part of the new onboarding/invite system. A brand new user has clicked a link a friend sent them, gone through account creation and email confirmation, and then is kind of just... dumped on the home page (which for now is just them following a single channel).

This doesn't need to be worked out before RC, but it would be good to consider the homepage UX for this case (brand new user following one channel that may be empty or not have much in it)

@lbry-bot lbry-bot assigned jessopb and unassigned kauffj Jan 14, 2020
jessopb and others added 11 commits January 14, 2020 12:42
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
bump lbryinc
improve invite states
register channels with apis
fix duplicate subscriptions
refactor invited page
check if subscribed first
always follow regardless of reward status
@jessopb jessopb merged commit bffe218 into master Jan 14, 2020
@neb-b neb-b deleted the feat-newReferrals branch January 28, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants