Migration: GlCard (gl-new-card variant) to Crud
Background
We introduced a new GlCard variant gl-new-card a while ago, which was meant as a temporary solution while we considered the different use cases between different card types.
In Adds the CRUD Container component (!156749 - merged) we introduced a new shared component called CrudComponent to replace (most) instances of gl-new-card. The CrudComponent will act as a sort of dynamic list container, while GlCard will be a static presentation of content (eg the Transfer project card in project settings)
Where are we now?
We are in the process of removing gl-new-card from the codebase entirely. Each instance will either be:
- migrated to
CrudComponent - migrated to the regular (original)
GlCard - widgets get migrated to a new shared component called
WidgetComponentwhich is based onCrudComponent
What's next?
Naming
There has been quite some discussions about what the name of the component should be. We might change the name after the migration is done to ListContainer to have a more meaningful name.
Mobile view
Check if we can improve alignment when only one action vs. multiple are used. Potentially we can leverage some container queries.
Related to #452231 (closed), #469616 (closed), #474921 (closed)