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
619351e0
Commit
619351e0
authored
Oct 07, 2020
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tooltip to GitLab UI component
parent
36f93ead
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
app/assets/javascripts/ide/components/jobs/detail/scroll_button.vue
.../javascripts/ide/components/jobs/detail/scroll_button.vue
+3
-4
spec/frontend/ide/components/jobs/detail/scroll_button_spec.js
...frontend/ide/components/jobs/detail/scroll_button_spec.js
+1
-1
No files found.
app/assets/javascripts/ide/components/jobs/detail/scroll_button.vue
View file @
619351e0
<
script
>
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
../../../../locale
'
;
import
tooltip
from
'
../../../../vue_shared/directives/tooltip
'
;
const
directions
=
{
up
:
'
up
'
,
...
...
@@ -10,7 +9,7 @@ const directions = {
export
default
{
directives
:
{
tooltip
,
GlTooltip
:
GlTooltipDirective
,
},
components
:
{
GlIcon
,
...
...
@@ -46,7 +45,7 @@ export default {
<
template
>
<div
v-tooltip
v-
gl-
tooltip
:title=
"tooltipTitle"
class=
"controllers-buttons"
data-container=
"body"
...
...
spec/frontend/ide/components/jobs/detail/scroll_button_spec.js
View file @
619351e0
...
...
@@ -31,7 +31,7 @@ describe('IDE job log scroll button', () => {
});
it
(
'
returns proper title
'
,
()
=>
{
expect
(
wrapper
.
attributes
(
'
data-original-
title
'
)).
toBe
(
title
);
expect
(
wrapper
.
attributes
(
'
title
'
)).
toBe
(
title
);
});
});
...
...
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