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/Support unknown or unlogged users #9

Open
strategio opened this issue Jun 27, 2014 · 1 comment
Open

Add/Support unknown or unlogged users #9

strategio opened this issue Jun 27, 2014 · 1 comment

Comments

@strategio
Copy link

To give ability for unlogged users to leave comments, the name label should be editable (input field) if the user is unknown.

@aroc
Copy link
Owner

aroc commented Jun 28, 2014

The way I was planning to handle this was just like Medium where you have to log in to leave a comment, but the button "Add a comment" still shows and emits events when clicked. What might work here is that when a user clicks the "Add a Comment" button and they are not logged in (which means SideComments doesn't have a currentUser set), you can bind to the event that gets emitted (addCommentAttempted) and show a form of some kind allowing someone to put in their information. Then you can setCurrentUser(userFromForm) and allow them to post a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants