Skip to content

Remove default pre-selection of import target namespace

What does this MR do and why?

  • Remove default pre-selection of import target namespace (to first available namespace or root namespace). Keep logic around showing last import target when a previous import exists.
  • Fix code around assumption that namespace is always selected.
  • Add validation step that is triggered when "Import" button is clicked.

Changelog: changed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Import_groups_pre-select_before Import_groups_pre-select_after

Import_groups_pre-select

How to set up and validate locally

Import groups by direct transfer

  1. On the left sidebar, at the top, select Create new... (+) and New group. Then select Import group.
  2. In GitLab source instance base URL, enter your GDK URL. For example, http://127.0.0.1:3000.
  3. In Personal access token, enter a token from your GDK.
  4. Select Connect instance.

Related to #431571 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports