openverse-frontend icon indicating copy to clipboard operation
openverse-frontend copied to clipboard

Add loading skeleton to `VImageGrid`

Open obulat opened this issue 3 years ago • 0 comments

Problem

We don't have the skeleton loading indicator in the Image grid.

Description

We use the VSkeleton component for the audio and all content grids loading state. We should also use VSkeleton to show that VImageGrid is loading. VImageGrid is used for 'Images' view and for showing the Related images on the single result page.

Alternatives

We are currently using the spinner, but it would be more consistent to use the skeleton loader for all types.

Additional context

This issue came up in another PR that was improving the loading state for related images: https://github.com/WordPress/openverse-frontend/pull/1524#issuecomment-1154713052.

Implementation

  • [ ] 🙋 I would be interested in implementing this feature.

obulat avatar Jun 14 '22 13:06 obulat