Skip to content

Add a login UI/page #354

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

Open
3 tasks
agjohnson opened this issue Apr 1, 2025 · 2 comments
Open
3 tasks

Add a login UI/page #354

agjohnson opened this issue Apr 1, 2025 · 2 comments
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code

Comments

@agjohnson
Copy link
Contributor

We've noticed an uptick in users authenticating to the wrong platform recently. In each case this has been a matter of the user unaware that there are two platforms and that the platforms have their own unique user accounts.

Two auxiliary things happening here are:

The website already doesn't do a great job explaining the differences during login, but search engine traffic will bypass all of our attempts to explain the differences to the user. To help guide users best, I feel we should:

  • Have a unified login UI/page that explains the differences better than the dropdown does now (just names and URLs)
  • Redirect both platform login pages here when referred to from search engines and similar traffic sources
  • Maybe delist the individual login pages to avoid these results entirely

The login page could probably mimic the signup UI/modal: it shows some differences between the platforms to guide the user to the correct login page. I'd probably start with a modal or complex dropdown, we should be able to trigger opening this directly using a URL about.readthedocs.com/#login and some custom JS. If this doesn't work, we can make a dedicated page. Buttons on the UI link to the individual /accounts/login.

In the future, a smarter UI with features like automatically detecting the last used platform would still be a benefit.

@agjohnson agjohnson added Accepted Accepted issue on our roadmap Improvement Minor improvement to code labels Apr 1, 2025
@agjohnson agjohnson changed the title Add a login page Add a login UI/page Apr 1, 2025
@humitos
Copy link
Member

humitos commented Apr 16, 2025

Currently, both login pages (.org and .com) look like:

Image

I think we should make the difference there instead of any other page. People will arrive at that page from different places and we should communicate the about Community or Business there.

@agjohnson
Copy link
Contributor Author

From the meeting, there are several paths:

  • We add a login page or a login modal on the website that explains both platforms, similar to the signup modal on the website now.
  • We add this modal into the application and show this from the application on referrers. The modal would redirect to the opposite platform if the user isn't on the right platform or dismiss the modal if the user is on the correct platform.

Either way though, we do probably want to improve the login dropdown experience on the website. This still might be the best place to start even if we end up preferring the application modal.

I wouldn't change the login UI for users that are arriving to the login page through our website though. This modal/redirection would still only be for users referred from search engines, or perhaps even any request that isn't direct or from our website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

2 participants