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) |
---|---|---|
How to set up and validate locally
http://127.0.0.1:3000/import/bulk_imports/history
Bulk import history - In the header bar, click on + icon (Create new...) > New group.
- Select Import group.
- Fill in the GDK URL as GitLab source instance URL and a Person Access Token. Then click Connect instance.
- You should be on the Import groups from GitLab page.
- Start an import with any group.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #386138 (closed) and #394727 (closed)