Container Registry: cleanup expire icon changed #359074
What does this MR do and why?
Simple change of the icon in Container Registry for Cleanup feature according to this issue.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Follow Imlementation plan in the issue
- Then go to
app/assets/javascripts/packages_and_registries/container_registry/explorer/pages/list.vue
find computed named "images" and replace its content with returning array of containers, which you can find from tests or you can take it right here:
[
{
__typename: 'ContainerRepository',
id: 'gid://gitlab/ContainerRepository/26',
name: 'rails-12009',
path: 'gitlab-org/gitlab-test/rails-12009',
status: null,
migrationState: 'default',
location: '0.0.0.0:5000/gitlab-org/gitlab-test/rails-12009',
canDelete: true,
createdAt: '2020-11-03T13:29:21Z',
expirationPolicyStartedAt: null,
expirationPolicyCleanupStatus: SCHEDULED_STATUS,
},
{
__typename: 'ContainerRepository',
id: 'gid://gitlab/ContainerRepository/11',
name: 'rails-20572',
path: 'gitlab-org/gitlab-test/rails-20572',
status: null,
migrationState: 'default',
location: '0.0.0.0:5000/gitlab-org/gitlab-test/rails-20572',
canDelete: true,
createdAt: '2020-09-21T06:57:43Z',
expirationPolicyStartedAt: null,
expirationPolicyCleanupStatus: UNFINISHED_STATUS,
},
{
__typename: 'ContainerRepository',
id: 'gid://gitlab/ContainerRepository/13',
name: 'rails-20573',
path: 'gitlab-org/gitlab-test/rails-20573',
status: null,
migrationState: 'default',
location: '0.0.0.0:5000/gitlab-org/gitlab-test/rails-20573',
canDelete: true,
createdAt: '2020-09-21T06:57:43Z',
expirationPolicyStartedAt: null,
expirationPolicyCleanupStatus: UNSCHEDULED_STATUS,
},
{
__typename: 'ContainerRepository',
id: 'gid://gitlab/ContainerRepository/14',
name: 'rails-20574',
path: 'gitlab-org/gitlab-test/rails-20574',
status: null,
migrationState: 'default',
location: '0.0.0.0:5000/gitlab-org/gitlab-test/rails-20574',
canDelete: true,
createdAt: '2020-09-21T06:57:43Z',
expirationPolicyStartedAt: null,
expirationPolicyCleanupStatus: ONGOING_STATUS,
},
];
- Then open any repository and go to Packages & Registries > Container Registry and check out the icons.
Changelog: changed
Related to #359074 (closed) Done as a part of #359743 (closed) initiative
Edited by Robert Hunt