GitLab login page: Fix "Register" tab scrolling position on click/link

The GitLab user login flow can be separated via Sign-in and Registration. There are individual landing page URLs covering both cases, with "Sign in" being the default for good reasons.

  • Signing in to GitLab: https://gitlab.com/users/sign_in#login-pane
  • Registering for GitLab: https://gitlab.com/users/sign_in#register-pane

This is great and super helpful. For the "Register" tab, however, there is a detail issue that keeps this deep-link to be really useful. When opening https://gitlab.com/users/sign_in#register-pane in a new tab/window without being signed-in to GitLab, this page renders in a scrolled-down position that takes away the page overview. See attached screenshot.

Screen_Shot_2018-07-05_at_3.57.09_PM

Proposal

Let's fix this page fragment default position to make for a great GitLab instance login experience.

Original description
Hi there,

I think that allowing (as an option) to separate the Sign In from Register page would allow to provide a smoother registration user experience by for instance deep linking to a registration page for people you'd like to register. It would help provide slightly different wording on the page as well if the Appearance settings allowed to do so.

As a bonus, allowing to prefill the input fields from the deep link like with https://code.example.org/register?email=myuseremail@anotherexample.org would help make journeys from another site to a gitlab instance smooth!

Hope this is of some interest. Let me know if you'd take a pull request for this.

Cheers!

Jun

Edited Jul 05, 2018 by Andreas Kämmerle
Assignee Loading
Time tracking Loading