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

add user invite instructions #183

Merged
merged 8 commits into from Sep 23, 2019
Merged

add user invite instructions #183

merged 8 commits into from Sep 23, 2019

Conversation

ghost
Copy link

@ghost ghost commented Sep 13, 2019

this adds a new page with instructions for sharing user invites

if a user clicks the link for one of their own invite codes they are
directed to a page with clear instructions for it's use.

if a user clicks another users link they are redirectec to their account
settings witha flash telling them they do not need to register.

ref T690


  • I have signed the CLA

this adds a new page with instructions for sharing user invites

if a user clicks the link for one of their own invite codes they are
directed to a page with clear instructions for it's use.

if a user clicks another users link they are redirectec to their account
settings witha flash telling them they do not need to register.
@ghost
Copy link
Author

ghost commented Sep 13, 2019

let me know if /me/settings will not work as a redirect for logged in users trying to use an invite code from another user. I ran the chorus branch with it enabled and the endpoint didn't appear to be changed.

@ghost ghost requested a review from thebaer September 13, 2019 18:05
@thebaer thebaer added this to the 0.11 milestone Sep 20, 2019
This ensures we see a 404 page when looking up an invalid invite URL,
even if the user is logged in.

Ref T690
This uses the Invite fetched from the database to explain a bit more
about how the invite URL expires. It also reduces some space around the
input box.

Ref T690
font-size-adjust is still a flag-enabled feature in Chrome 77, and
doesn't have widespread support across browsers. So instead this uses
font-size to make the text large enough.

Ref T690
Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

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

Looks good!

I made some changes to the copy and added a bit more explanation about the expiration of links, after seeing the page in action.

I still think it'd be fine to send users to / (root path), or even the normal user invite page, if they navigate to another user's invite link. But it's enough of an edge case -- we can always revisit later. Thanks for the work on this!

@thebaer thebaer merged commit 3759f16 into develop Sep 23, 2019
@thebaer thebaer deleted the T690-invite-instructions branch September 23, 2019 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant