Make badges in app/views/admin/background_migrations/ Pajamas-compliant
requested to merge 344378-make-badges-in-app-views-admin-background_migrations-index-html-haml-pajamas-compliant into master
What does this MR do and why?
This MR changes badges in the background migrations view to use the Pajamas-compliant component.
Screenshots or screen recordings
No visual changes, screenshot for the context:
How to set up and validate locally
- Create a migration. Example:
Gitlab::Database::BackgroundMigration::BatchedMigration.create!(
job_class_name: 'MyJobClass',
table_name: 'projects',
column_name: 'id',
interval: 300,
min_value: 5,
max_value: 1000,
batch_class_name: 'MyBatchClass',
batch_size: 100,
sub_batch_size: 10,
job_arguments: %w[],
status: 'failed',
)
- Go to Admin -> Monitoring -> Background migrations
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 #344378 (closed), #344383 (closed), #344321 (closed)
Edited by Anna Vovchenko