Merge branch '55242-skeleton-loading-releases' into 'master'
Adds skeleton loading for releases Closes #55242 See merge request gitlab-org/gitlab-ce!24264
This commit is contained in:
commit
00ac520e20
2 changed files with 8 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
<script>
|
||||
import { mapState, mapActions } from 'vuex';
|
||||
import { GlLoadingIcon, GlEmptyState } from '@gitlab/ui';
|
||||
import { GlSkeletonLoading, GlEmptyState } from '@gitlab/ui';
|
||||
import ReleaseBlock from './release_block.vue';
|
||||
|
||||
export default {
|
||||
name: 'ReleasesApp',
|
||||
components: {
|
||||
GlLoadingIcon,
|
||||
GlSkeletonLoading,
|
||||
GlEmptyState,
|
||||
ReleaseBlock,
|
||||
},
|
||||
|
@ -43,7 +43,7 @@ export default {
|
|||
</script>
|
||||
<template>
|
||||
<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
|
||||
v-else-if="shouldRenderEmptyState"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Adds skeleton loading to releases page
|
||||
merge_request:
|
||||
author:
|
||||
type: changed
|
Loading…
Reference in a new issue