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
373d94f0
Commit
373d94f0
authored
Dec 19, 2017
by
Kushal Pandya
Committed by
Tim Zallmann
Dec 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geo: Show sync percent on bar graph and count within tooltips
parent
0a395a08
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
app/assets/javascripts/geo_nodes.js
app/assets/javascripts/geo_nodes.js
+2
-2
app/assets/stylesheets/framework/stacked-progress-bar.scss
app/assets/stylesheets/framework/stacked-progress-bar.scss
+3
-1
changelogs/unreleased-ee/4330-show-item-count-in-tooltip.yml
changelogs/unreleased-ee/4330-show-item-count-in-tooltip.yml
+5
-0
No files found.
app/assets/javascripts/geo_nodes.js
View file @
373d94f0
...
...
@@ -104,8 +104,8 @@ class GeoNodeStatus {
graphItems
.
forEach
((
item
)
=>
{
$itemEl
.
find
(
item
.
itemSel
)
.
toggleClass
(
'
has-value has-tooltip
'
,
!!
item
.
itemCount
)
.
attr
(
'
data-original-title
'
,
`
${
item
.
itemTooltip
}
:
${
item
.
item
Percent
}
%
`
)
.
text
(
item
.
itemCount
||
''
)
.
attr
(
'
data-original-title
'
,
`
${
item
.
itemTooltip
}
:
${
item
.
item
Count
}
`
)
.
text
(
`
${
item
.
itemPercent
}
%`
||
''
)
.
css
(
'
width
'
,
`
${
item
.
itemPercent
}
%`
);
});
}
...
...
app/assets/stylesheets/framework/stacked-progress-bar.scss
View file @
373d94f0
...
...
@@ -11,12 +11,14 @@
.status-neutral
,
.status-red
,
{
height
:
100%
;
font-size
:
$tooltip-font-size
;
font-weight
:
normal
;
color
:
$white-light
;
line-height
:
20px
;
&
.has-value
{
padding
:
0
10px
;
min-width
:
25px
;
padding
:
0
5px
;
}
&
:hover
{
...
...
changelogs/unreleased-ee/4330-show-item-count-in-tooltip.yml
0 → 100644
View file @
373d94f0
---
title
:
'
Geo:
Show
sync
percent
on
bar
graph
and
count
within
tooltips'
merge_request
:
3794
author
:
type
:
changed
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