Add create organization section to TLG advanced settings

What does this MR do and why?

Related to #598438 (closed)

A few months ago we started building a flow to reconcile multiple organizations into one as part of onboarding onto organizations. Since then this flow has evolved into what is documented in gitlab-org#21849. We will be able to re-use a lot of the logic but the location will change to the group -> Settings -> General -> Advanced. The functionality of the modal in this MR is not correct yet and will be updated in future MRs.

Work will be split up into multiple MRs as documented below:

This MR

  • Render new Create organization section in group -> Settings -> General -> Advanced
  • Mount reconciliation modal and open when Start creating your organization button is clicked

Follow-up MRs

  • Add logic related to checking the organization associated with the TLG
    • If TLG has non-default organization
      • If organization state is unconfirmed -> show
      • Else -> do not show
    • Else
      • if :create_organization ability is enabled -> show
  • Move JavaScript from app/assets/javascripts/organizations/index/components/reconciliation to app/assets/javascripts/groups/settings/create_organization
  • Adjust steps in modal to match designs in gitlab-org#21849

References

Screenshots or screen recordings

Screenshot_2026-07-30_at_9.06.33_AM

How to set up and validate locally

  1. Go to /rails/features and enable org_stage_experimental feature flag
  2. Go to a TLG -> Settings -> General -> Advanced
  3. Click the Start creating your organization button. This should open a modal. The content in the modal is not correct and will be changed in future MRs.

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.

Edited by Peter Hegman

Merge request reports

Loading
Loading