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
8c7474f5
Commit
8c7474f5
authored
Oct 20, 2020
by
Russell Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate tooltip component
parent
99572820
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
...s/javascripts/ide/components/commit_sidebar/list_item.vue
+3
-4
No files found.
app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
View file @
8c7474f5
<
script
>
<
script
>
import
{
mapActions
}
from
'
vuex
'
;
import
{
mapActions
}
from
'
vuex
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
FileIcon
from
'
~/vue_shared/components/file_icon.vue
'
;
import
FileIcon
from
'
~/vue_shared/components/file_icon.vue
'
;
import
{
viewerTypes
}
from
'
../../constants
'
;
import
{
viewerTypes
}
from
'
../../constants
'
;
import
getCommitIconMap
from
'
../../commit_icon
'
;
import
getCommitIconMap
from
'
../../commit_icon
'
;
...
@@ -12,7 +11,7 @@ export default {
...
@@ -12,7 +11,7 @@ export default {
FileIcon
,
FileIcon
,
},
},
directives
:
{
directives
:
{
tooltip
,
GlTooltip
:
GlTooltipDirective
,
},
},
props
:
{
props
:
{
file
:
{
file
:
{
...
@@ -77,7 +76,7 @@ export default {
...
@@ -77,7 +76,7 @@ export default {
<
template
>
<
template
>
<div
class=
"multi-file-commit-list-item position-relative"
>
<div
class=
"multi-file-commit-list-item position-relative"
>
<div
<div
v-tooltip
v-
gl-
tooltip
:title=
"tooltipTitle"
:title=
"tooltipTitle"
:class=
"
{
:class=
"
{
'is-active': isActive,
'is-active': isActive,
...
...
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