Full page sign up and login dialogs

AI-generated summary

The discussion revolves around migrating the login and signup functionality from modals to full-page routes to improve maintainability and unify user flows. sam explains that this change aligns with past efforts to move complex features to dedicated routes, such as the recent 2FA implementation. manuel raises concerns about handling signup nudges—like when users click actions requiring an account—since full-page dialogs may disrupt the user experience. sam suggests possible solutions like interstitial dialogs or reusable components. manuel shares a visual example of a responsive signup nudge and appreciates the improved UX. darkpixlz expresses interest in a fullscreen suspension page, while BaneWilliams seeks a direct link to a fullscreen signup page for onboarding emails. sam estimates the full migration is 6–12 months away but notes that /login and /signup already trigger the login and signup dialogs, respectively. JammyDodger confirms the availability of the signup route.

Over the years we have migrated away from having complex functionality in modals. A great example is the full page category edit and create routes.

By introducing dedicated routes it is far easier to share / modify / extend and maintain pages.

We would like to migrate the login and sign up pages to top level routes, this will help unify our behavior and not carry multiple ways of handling login and invite redemption flows.

@Osama recently made some progress in this area by introducing top level routes for 2fa.

25 Likes

Right now the modal also pops up when visitors don’t specifically intend to sign up or log in, but click an action that requires an account, e.g. like a post. Then the modal can easily be dismissed by the user without being navigated away from wherever they are. How would these signup nudges be handled with full page dialogs?

8 Likes

To be honest we have not thought this edge case through, I am thinking we could introduce an interstitial dialog for the nudge case if we want to avoid a full navigation? Or maybe provide a component that does that.

5 Likes

I do think it gives a nice responsive feel to the interface. Maybe align it with the signup reminder and have one common signup nudge:

4 Likes

I would love to see this along with a fullscreen suspension page

I ended up navigating to this page as I was hoping to find a way to have a fullscreen signup page, that way I can link directly to the signup page in a “next steps” email as part of our onboarding flow.

It appears there is currently no way to do this. Is this something that is far away on the horizon?

Realistically it feels about 6-12 months out, we have a lot of prep work before we can do this.

That said, a link is very doable today https://meta.discourse.org/login will pop the login dialog open.

2 Likes

And there’s /signup too for the create account one. :+1:

2 Likes