-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
On-demand auth #616
On-demand auth #616
Conversation
* auth block was moved to comment form * if comments on page read only auth form shows in old place * comment value in form will be saved between refreshes (it is side effect form saving comment value between unauth and auth states)
dcb5a53
to
379b23c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The visual part looks good to me, an experience like I would expect from this functionality. Good job!
looking good. So far the only thing I run into - image drag-drop (cut-paste) doesn't work in the entry box unless the user logged in. I understand this is due to the required auth for image operation, but user can be surprised. Maybe we should show some message saying "to add image pls login" or smth like this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
@akellbl4 - do you want me to merge it in or still work in progress? |
@umputun I think I should add notification about image uploading before merge. |
makes sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run "npm run generate-langs" and commit changes.
@Mavrin done |
This PR solve suggestions form #595 and #426
It is fast realization of on-demand auth.
I can have small bugs and maybe not so clean code.
I will happy with any suggestions connected with realization.
P.S. Auth block needs to refactor and maybe small redesign, I plan to do it in the near feature.
Screenshots
Top comment block:
Comment block under any comment:
Read only page: