Reusable list and delete button components
requested to merge 216931-convert-the-image-tag-ui-from-a-table-to-a-list-view-component into master
What does this MR do?
In the container registry to effectively convert the Image details tags table from a table
to a list
we are creating a new generalized list_item component and a new delete_button component that will work as a base for both the images list and the tags list in the container registry.
The reasoning for this are:
- less code
- the look and feel of the two list will be the same
- When the equivalent component in gitlab-ui will be ready the switch will be much easier
Screenshots
No visual changes
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers - [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
- [-] Label as security and @ mention
@gitlab-com/gl-security/appsec
- [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
- [0] Security reports checked/validated by a reviewer from the AppSec team
Part of #216931 (closed)
Edited by Nicolò Maria Mezzopera