Skip to content

Update breadcrumbs and page titles for direct transfer

What does this MR do and why?

  • Update breadcrumbs and page titles to make them consistent for the "Import groups by direct transfer" feature.
  • Also update styles to make all titles look and feel the same throughout the feature.

Changelog: changed

Screenshots or screen recordings

Page Before After Changes
Bulk import status page

Bulk import status page before.png

Bulk import status page after.png

  • Add breadcrumb
  • Update page title
  • Change page title font size
  • Change page title border color
Bulk import history page

Bulk import history page before.png

Bulk import history page after.png

  • Update breadcrumb
  • Update page title
  • Change page title border color
Bulk import history page (filtered)

Bulk import history page (filtered) before.png

Bulk import history page (filtered) after.png

  • Add breadcrumbs
  • Update page title
  • Change page title border color
Bulk import details page

Bulk import details page before.png

Bulk import details page after.png

  • Add breadcrumbs
  • Update page title
  • Change page title font size
  • Add GitLab logo

Breadcrumbs and titles.mov

How to set up and validate locally

Note: See video above for full steps.

  1. In the header bar, click on + icon (Create new...) > New group.
  2. Select Import group.
  3. Fill in the GDK URL as GitLab source instance URL and a Personal Access Token. Then click Connect instance.
  4. You should be on the Import groups from GitLab page.
  5. Apply the following diff to make some import items fail intentionally:
diff --git a/lib/bulk_imports/ndjson_pipeline.rb b/lib/bulk_imports/ndjson_pipeline.rb
index 07118c3b55c0..5988e998afd2 100644
--- a/lib/bulk_imports/ndjson_pipeline.rb
+++ b/lib/bulk_imports/ndjson_pipeline.rb
@@ -35,6 +35,8 @@ def transform(context, data)
       end
 
       def load(_context, object)
+        raise StandardError.new('Error!')
+
         return unless object
 
         if object.new_record?
  1. Start a few imports with any group and let them run.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #431572 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports