Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e5bccfee
Commit
e5bccfee
authored
Jul 06, 2020
by
peterhegman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move number of skeleton lines to a constant
parent
c1a65cb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue
...ripts/vue_shared/components/user_popover/user_popover.vue
+6
-1
No files found.
app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue
View file @
e5bccfee
...
...
@@ -4,8 +4,11 @@ import Icon from '~/vue_shared/components/icon.vue';
import
UserAvatarImage
from
'
../user_avatar/user_avatar_image.vue
'
;
import
{
glEmojiTag
}
from
'
../../../emoji
'
;
const
MAX_SKELETON_LINES
=
4
;
export
default
{
name
:
'
UserPopover
'
,
maxSkeletonLines
:
MAX_SKELETON_LINES
,
components
:
{
Icon
,
GlPopover
,
...
...
@@ -53,8 +56,10 @@ export default {
</div>
<div
class=
"p-1 w-100"
>
<template
v-if=
"userIsLoading"
>
<!-- `gl-skeleton-loading` does not support equal length lines -->
<!-- This can be migrated to `gl-skeleton-loader` when https://gitlab.com/gitlab-org/gitlab-ui/-/issues/872 is completed -->
<gl-skeleton-loading
v-for=
"n in
4
"
v-for=
"n in
$options.maxSkeletonLines
"
:key=
"n"
:lines=
"1"
class=
"animation-container-small mb-1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment