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.
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
-
In rails console enable the experiment fully
Feature.enable(:new_project_creation_form)
-
Click [A project within a group]
-
See a warning
-
Go to any group
-
Click [+] on top of a sidebar
-
Choose [New project/repository]
-
Click [A personal project]
-
And go back to a [A project within a group]
-
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)
Edited by Julia Miocene