Skip to content

Add "Partially completed" state to bulk import history page

What does this MR do and why?

When hasFailures is true, we want to change the status badge to show "Partially completed" with type warning instead of"Completed" with type success.

There is also an extra link which is behind the feature flag bulk_import_details_page to show a full list of failures related to that entity.

Changelog: changed

Screenshots or screen recordings

Before After (without feature flag) After (with feature flag)
Bulk_import_history_before Bulk_import_history_without_ff Bulk_import_history_with_ff

How to set up and validate locally

Bulk import history http://127.0.0.1:3000/import/bulk_imports/history

  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 Person Access Token. Then click Connect instance.
  4. You should be on the Import groups from GitLab page.
  5. Start an import with any group.
  6. Click on the History link in the upper right corner.

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 #386138 (closed) and #394727 (closed)

Merge request reports