Wire Step 1 to redirect to Step 2 profile page

What does this MR do and why?

Wires the Step 1 Skip button to redirect to the Step 2 profile page (/admin/registrations/profile/new) instead of the dashboard.

After !233115 (merged) merged, the Continue (create) path on Step 1 already redirects to Step 2.
This MR completes the wiring so both exits from Step 1 land on Step 2.

The fall-through to dashboard now happens from Step 2 (when no project was created) via post_onboarding_redirect_path.

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/595896

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Enable the feature flag in rails console:
    Feature.enable(:self_managed_welcome_onboarding)
  2. Sign in as an admin on a fresh instance (or one without a group/project created via the welcome flow)
  3. Complete Step 1 — on the "Create your first project" page, click Skip
  4. Verify you are redirected to /admin/registrations/profile/new (Step 2) instead of the dashboard
  5. From Step 2, click Skip again — verify you land on the dashboard (since no project was created)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #595896

Edited by Buck O'Leary

Merge request reports

Loading