-
Notifications
You must be signed in to change notification settings - Fork 2
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
Instead of forcing login, display a message offering users the chance to login #1082
Conversation
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.
Looks good in general 👍
Doesn't this increase the number of clicks required for users to complete common flows? Is this pattern of asking whether to log in more polite? Not sure I have a strong opinion, but I'd generally favour fewer clicks. |
It's really hostile for a new user to click "Submit" and find themselves redirected to a page to login to an account they don't even have. Mostly one handles that by not showing users buttons that don't apply to them in their current not logged in state, but here we decided we wanted to always show the button to highlight that you can submit. If so we need a pattern like this. We should keep users logged in for a good length of time. |
related to #829
preview URL: https://nice-login.loculus.org/
Summary
Now for the submit and revise pages we use a standardised Astro component to display a page, with a link to Login. In due course we can add Register to this.
Screenshot
PR Checklist