Commit a06907bb authored by Russell Dickenson's avatar Russell Dickenson Committed by Kushal Pandya

Migrate web IDE component tooltip

parent ebf10530
<script> <script>
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import { GlIcon } from '@gitlab/ui'; import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { n__ } from '~/locale'; import { n__ } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip';
import ChangedFileIcon from '~/vue_shared/components/changed_file_icon.vue'; import ChangedFileIcon from '~/vue_shared/components/changed_file_icon.vue';
import NewDropdown from './new_dropdown/index.vue'; import NewDropdown from './new_dropdown/index.vue';
import MrFileIcon from './mr_file_icon.vue'; import MrFileIcon from './mr_file_icon.vue';
...@@ -10,7 +9,7 @@ import MrFileIcon from './mr_file_icon.vue'; ...@@ -10,7 +9,7 @@ import MrFileIcon from './mr_file_icon.vue';
export default { export default {
name: 'FileRowExtra', name: 'FileRowExtra',
directives: { directives: {
tooltip, GlTooltip: GlTooltipDirective,
}, },
components: { components: {
GlIcon, GlIcon,
...@@ -70,7 +69,7 @@ export default { ...@@ -70,7 +69,7 @@ export default {
<span v-if="showTreeChangesCount" class="ide-tree-changes"> <span v-if="showTreeChangesCount" class="ide-tree-changes">
{{ changesCount }} {{ changesCount }}
<gl-icon <gl-icon
v-tooltip v-gl-tooltip.left.viewport
:title="folderChangesTooltip" :title="folderChangesTooltip"
:size="12" :size="12"
data-container="body" data-container="body"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment