Allow user to import project using a different project name
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=22592) </details> <!--IssueSummary end--> ### Problem #### Initial problem When a user tries to import a project using a Path that has already been taken, the UI shows an unhelpful error and a 422 error is seen on the console. ![Screen_Shot_2018-06-05_at_4.35.31_PM](/uploads/b03ceb50e58c0c008b36d101ae54f3cd/Screen_Shot_2018-06-05_at_4.35.31_PM.png) ``` Processing by Import::GithubController#create as JSON Parameters: {"repo_id"=>"16008924", "target_namespace"=>"tauriedavis", "new_name"=>"portfolio", "ci_cd_only"=>false, "github"=>{"repo_id"=>"16008924", "target_namespace"=>"tauriedavis", "new_name"=>"portfolio", "ci_cd_only"=>fals e}} Unable to save project. Error: Name has already been taken, Path has already been taken Completed 422 Unprocessable Entity in 323ms (Views: 0.3ms | ActiveRecord: 43.3ms | Elasticsearch: 0.0ms) ``` #### Initial fix We updated the error message to give the user more information in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19467. ![img](https://gitlab.com/gitlab-org/gitlab-ce/uploads/be27d4ecc67324b964df5102bad453a4/image.png) ### Proposal We should improve the UX further by providing the user with a way to import the project with a new path name.
issue