FE [Import by URL] - if group/namespace was pre-selected, let it be the default in the form.
There are two ways to get to the projects/new -> import repository by URL form.
- from the projects page (and the dashboard as well), click on New project.
- from the group page (after selecting a group), click on New project.
If the user goes the first route - i.e. starting to create a new project without selecting a group, they eventually land on the page import/url/new
.
If a user takes the second route, they are directed to import/url/new?namespace_id=<id>
. However they still have to 'choose a group or namespace' again in the form.
Current state: user went from group page -> new project -> repo by url
They still have to pick a group from scratch
Proposal
- if the namespace was pre-selected should the chosen group be populated in the namespace dropdown? The user can still change to a different namespace if they want. But if they got to the form from the group page, we should save that info for them, saving the annoyance of having to search again.
Edited by Oiza Baiye