Add repository URL, username, password fields to Import by URL form
What does this MR do and why?
This change is behind the feature flag new_project_creation_form
.
- Add repository URL, username, and password fields.
- Add logic to check the repository connection by sending API request to backend endpoint.
References
Related to #526304 (closed)
Screenshots or screen recordings
Screenshot | Video |
---|---|
![]() |
Screen_Recording_2025-04-23_at_15.40.10 |
How to set up and validate locally
- Enable the feature flag:
Feature.enable :new_project_creation_form
- In the sidebar, select + (Create new...) and click New project/repository. For example,
https://gdk.test:3443/projects/new
. - Select Import project and click Next step.
- Select Project URL and click Next step.
- Fill in URL with a valid git repo (for example,
https://gitlab.com/gitlab-org/gitlab.git
) and click Check connection.
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.