Skip to content

Create project: Add a first step validation

What does this MR do and why?

  • Add validation for a group select.
  • Do not show a second step if the user hasn't chosen a namespace.
  • Pass namespace information on change from select component to a from component.

⚠️ ⚠️ ⚠️ These changes are behind the new_project_creation_form feature flag. They won't be available to users until all the work is done. See the plan here #514700 (closed) ⚠️ ⚠️ ⚠️

Screenshots or screen recordings

From "Your work" From a group page
CleanShot_2025-03-24_at_13.30.28 CleanShot_2025-03-24_at_13.30.45

How to set up and validate locally

  1. In rails console enable the experiment fully

    Feature.enable(:new_project_creation_form)
  2. Go to http://gdk.test:3000/projects/new

  3. Click [A project within a group]

  4. See a warning

  5. Go to any group

  6. Click [+] on top of a sidebar

  7. Choose [New project/repository]

  8. Click [A personal project]

  9. And go back to a [A project within a group]

  10. See an original group name and no warning

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.

Links

Project creation plans: #514700 (closed)

#512693 (closed)

Edited by Julia Miocene

Merge request reports

Loading