Commit 00ac520e authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '55242-skeleton-loading-releases' into 'master'

Adds skeleton loading for releases

Closes #55242

See merge request gitlab-org/gitlab-ce!24264
parents 81aacf9c 4f79bd78
<script> <script>
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { GlLoadingIcon, GlEmptyState } from '@gitlab/ui'; import { GlSkeletonLoading, GlEmptyState } from '@gitlab/ui';
import ReleaseBlock from './release_block.vue'; import ReleaseBlock from './release_block.vue';
export default { export default {
name: 'ReleasesApp', name: 'ReleasesApp',
components: { components: {
GlLoadingIcon, GlSkeletonLoading,
GlEmptyState, GlEmptyState,
ReleaseBlock, ReleaseBlock,
}, },
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
</script> </script>
<template> <template>
<div class="prepend-top-default"> <div class="prepend-top-default">
<gl-loading-icon v-if="isLoading" :size="2" class="js-loading prepend-top-20" /> <gl-skeleton-loading v-if="isLoading" class="js-loading" />
<gl-empty-state <gl-empty-state
v-else-if="shouldRenderEmptyState" v-else-if="shouldRenderEmptyState"
......
---
title: Adds skeleton loading to releases page
merge_request:
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment